All checks were successful
Deploy on webserver / Build site and deploy (push) Successful in 2m19s
This brings in the necessary build, deploy, and config changes to allow the shacl-vue starter editor to be built+deployed and served from pool.psychoinformatics.de/starter, while the existing editor is still served from the '/ui' subdirectory. Necessary changes include: - The makefile includes a new build-starter command that uses shacl-vue's new ability to build the starter variant of the app by setting the VITE_SHACLVUE_VARIANT value before running the npm build command. The previous build command has been changed to build-ui. The ui variant, i.e. the previous main app, is now built into 'dist/ui' while the starter variant is built into 'dist/starter'. The clean commands have been updated/added accordingly, and the 'all' command can now be used to install dependencies and build both app variants. - The forgejo workflow now runs the 'make all' command and moves the resulting 'dist' directory (which contains 'ui' and 'starter' subdirectories) to 'deploy', such that the rest of the workflow continues the same as before - The config file is updated to include a starter app name, and also a new wizard to support the 'Quick add' feature required by the starter app. This is accompanied by the 'add-record.nunjucks' TTL template and it allows adding a minimal record with only a display name and description. The wizard is configured to be shown for all classes, using the new shacl-vue config option for wizard selection: '_classes'. Note that a single config file is still used for both app variants. This is because currently the apps don't differ substantially with regards to main configurable functionality. However, a separate starter app config file can easily be supported by updating the makefile to copy the correct config file to the correct output location in the 'build-starter' command.
49 lines
4.1 KiB
Turtle
49 lines
4.1 KiB
Turtle
@prefix dcterms: <http://purl.org/dc/terms/> .
|
|
@prefix dlthings: <https://concepts.datalad.org/s/things/v2/> .
|
|
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
|
|
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
|
|
@prefix xyzri: <https://concepts.datalad.org/s/demo-research-information/unreleased/> .
|
|
@prefix xyzrins: <https://concepts.datalad.org/s/demo-research-information/ns/>.
|
|
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
|
|
|
|
{% set recordId = _randomUUID() -%}
|
|
{% set recordPrefixes = {
|
|
'https://concepts.datalad.org/s/things/v2/AnnotationTag': 'annotation-tags/',
|
|
'https://concepts.datalad.org/s/things/v2/Property': 'properties/',
|
|
'https://concepts.datalad.org/s/things/v2/Rule': 'rules/',
|
|
'https://concepts.datalad.org/s/demo-research-information/unreleased/XYZAccolade': 'accolades/',
|
|
'https://concepts.datalad.org/s/demo-research-information/unreleased/XYZActivity': 'activities/',
|
|
'https://concepts.datalad.org/s/demo-research-information/unreleased/XYZActivityRole': 'activity-roles/',
|
|
'https://concepts.datalad.org/s/demo-research-information/unreleased/XYZAgentRole': 'agent-roles/',
|
|
'https://concepts.datalad.org/s/demo-research-information/unreleased/XYZBibliographicType': 'bibliographic-types/',
|
|
'https://concepts.datalad.org/s/demo-research-information/unreleased/XYZCompetition': 'competitions/',
|
|
'https://concepts.datalad.org/s/demo-research-information/unreleased/XYZCompetitionType': 'competition-types/',
|
|
'https://concepts.datalad.org/s/demo-research-information/unreleased/XYZConcept': 'concepts/',
|
|
'https://concepts.datalad.org/s/demo-research-information/unreleased/XYZConvention': 'conventions/',
|
|
'https://concepts.datalad.org/s/demo-research-information/unreleased/XYZDataItem': 'dataitems/',
|
|
'https://concepts.datalad.org/s/demo-research-information/unreleased/XYZDataType': 'datatypes/',
|
|
'https://concepts.datalad.org/s/demo-research-information/unreleased/XYZDataset': 'datasets/',
|
|
'https://concepts.datalad.org/s/demo-research-information/unreleased/XYZDepiction': 'depictions/',
|
|
'https://concepts.datalad.org/s/demo-research-information/unreleased/XYZDepictionType': 'depiction-types/',
|
|
'https://concepts.datalad.org/s/demo-research-information/unreleased/XYZDocument': 'documents/',
|
|
'https://concepts.datalad.org/s/demo-research-information/unreleased/XYZEntityRole': 'entity-roles/',
|
|
'https://concepts.datalad.org/s/demo-research-information/unreleased/XYZFile': 'files/',
|
|
'https://concepts.datalad.org/s/demo-research-information/unreleased/XYZGrant': 'grants/',
|
|
'https://concepts.datalad.org/s/demo-research-information/unreleased/XYZInstrument': 'instruments/',
|
|
'https://concepts.datalad.org/s/demo-research-information/unreleased/XYZInstrumentType': 'instrument-types/',
|
|
'https://concepts.datalad.org/s/demo-research-information/unreleased/XYZObjective': 'objectives/',
|
|
'https://concepts.datalad.org/s/demo-research-information/unreleased/XYZOrganization': 'organizations/',
|
|
'https://concepts.datalad.org/s/demo-research-information/unreleased/XYZPerson': 'persons/',
|
|
'https://concepts.datalad.org/s/demo-research-information/unreleased/XYZProject': 'projects/',
|
|
'https://concepts.datalad.org/s/demo-research-information/unreleased/XYZPublication': 'publications/',
|
|
'https://concepts.datalad.org/s/demo-research-information/unreleased/XYZPublicationVenue': 'publication-venues/',
|
|
'https://concepts.datalad.org/s/demo-research-information/unreleased/XYZQuality': 'qualities/',
|
|
'https://concepts.datalad.org/s/demo-research-information/unreleased/XYZStudy': 'studies/',
|
|
'https://concepts.datalad.org/s/demo-research-information/unreleased/XYZSubject': 'subjects/',
|
|
'https://concepts.datalad.org/s/demo-research-information/unreleased/XYZSubjectType': 'subject-types/',
|
|
'https://concepts.datalad.org/s/demo-research-information/unreleased/XYZTopic': 'topics/'} -%}
|
|
{% set recordPre = recordPrefixes[class_uri] -%}
|
|
{% set recordURI = 'https://concepts.datalad.org/s/demo-research-information/unreleased/' + recordPre + recordId -%}
|
|
<{{ recordURI }}> a <{{ class_uri }}>;
|
|
dcterms:description {{ description | ttl}};
|
|
skos:prefLabel {{ name | ttl }}.
|