Skip to content

The app ​

Generated

Generated by elody-ui reference from the Elody UI vocabulary 0.6.0 (elody-ui.ttl), its meta-shapes (elody-ui.shapes.ttl) and the generator's bindings. Edit the ontology, not this page.

The client's platform file: the platform documents it carries, their settings, the menu and the type entries.

Each section is one kind of node: the terms it may carry, the type of each value, how many values it takes and what it means. "unchecked" marks a term the vocabulary defines on this kind of node that the meta-shapes do not constrain yet. "Used by" counts the client declarations that use the term.

App ​

elody:App: The client's app-level declaration: the platform document (queries/<client>.queries.ts) rendered from the declared types and these settings. It names the platform documents it carries (elody:platformDocument), the type-wide ones (getEntities, fullEntity, getEntityById, getAdvancedFilters, GetSortOptions, GetBulkOperations, getPreviewComponents, FetchMediafilesOfEntity, getTenants) being derived from the EntityUis; it carries the base sort options and bulk operations, the pagination limits, the dropzone options and the flags the platform documents vary by; like an EntityUi it may declare list queries, sort documents, custom bulk operations, forms and guided flows of the app's own. elody:App: The client's app-level declaration: the platform document (queries/<client>.queries.ts) rendered from the declared types and these settings. It names the platform documents it carries (elody:platformDocument), the type-wide ones (getEntities, fullEntity, getEntityById, getAdvancedFilters, GetSortOptions, GetBulkOperations, getPreviewComponents, FetchMediafilesOfEntity, getTenants) being derived from the EntityUis; it carries the base sort options and bulk operations, the pagination limits, the dropzone options and the flags the platform documents vary by; like an EntityUi it may declare list queries, sort documents, custom bulk operations, forms and guided flows of the app's own.

TermTypeHow manyMeaningUsed by
elody:documentNamexsd:stringexactly oneBase name of the generated fragments and documents (minimal<Name>, full<Name>, <name>.queries.ts). Defaults to elody:graphqlType; needed when several declarations render the same GraphQL type, such as a showcase on BaseEntity.8 of 8
elody:filePathxsd:stringexactly oneThe file the documents are written to, relative to src/ (default queries/entities/<name>.queries.ts).8 of 8
elody:platformDocumentxsd:stringany numberThe name of a platform document the app carries: a constant (getDirectories, getFilterOptions, getUserPermissions, mutateEntityValues, ...) or one derived from the declared types (getEntities, fullEntity, ...). The generator renders the ones named.8 of 8
elody:paginationLimita listat most oneThe page sizes offered (GetPaginationLimitOptions), an RDF list of integers.8 of 8
elody:dropzoneOptiona Dropzone Option nodeany numberAn option of the dropzone, in sh:order.7 of 8
elody:bulkDeleteSkipsRelatedxsd:booleanat most onetrue passes skipItemsWithRelationDuringBulkDelete to bulkDeleteEntities.2 of 8
elody:csvExportKeysRequiredxsd:booleanat most onetrue asks required back on GetBulkOperationCsvExportKeys.3 of 8
elody:preferredLanguagexsd:booleanat most onetrue passes $preferredLanguage to getEntityById and mutateEntityValues.1 of 8
elody:readsPermissionsxsd:booleanat most onetrue reads canUpdate and canDelete with the detail page's initial values: the PWA shows the edit and delete actions by them. Default false.5 of 8
elody:importJobIdxsd:booleanat most onetrue asks job_id back on postStartImport.1 of 8
elody:filterMatcherQueryNamexsd:stringat most oneThe name of the filter matcher mapping document (getFilterMatcherMapping or GetFilterMatcherMapping).8 of 8
elody:filterMatcherKeysa listat most oneThe filter kinds whose matchers the mapping document asks for (keys), an RDF list of strings.7 of 8
elody:filterMatcherLegacyxsd:booleanat most onetrue asks the mapping back as fields per kind (the old form), without keys.1 of 8
elody:panelHeaderLegacyxsd:booleanat most onetrue heads every detail panel with label(input: ...), the form of baseGraphql before panelHeaderContent: the client runs that version. A dialect of the client, not a choice per panel.1 of 8
elody:bulkModalFormQueryLegacyxsd:booleanat most onetrue opens a bulk operation's modal with formQuery: "..." (singular), the BulkOperationInputModal of baseGraphql before formQueries: [...]: the client runs that version. A dialect of the client; a modal offering several forms is not expressible in it.1 of 8
elody:relationFormFlatPanelxsd:booleanat most onetrue writes the panel of the bulk-edit relation form (GetBulkOperationsRelationForm) without the ... on WindowElementPanel inline fragment, the form before the panel union. A dialect of the client.2 of 8
elody:relationFormFielda Relation Form Field nodeany numberA field of the client's own in the bulk-edit relation form's panel, in sh:order: elody:alias, elody:key, elody:labelKey, elody:clientInputField (e.g. the garage that owns the entity).1 of 8
elody:geoFilterKeyxsd:stringat most oneThe key the map's geo filter buckets on (GetGeoFilterForMap, advancedFilter(type: geo, key: ...)); the document is carried when the app names it.1 of 8
elody:typeEntrya Type Entry nodeany numberAn entry of a type-wide document: elody:platformDocument names the document, elody:graphqlType the type, elody:fragmentName the fragment spread for it, or elody:operation nodes when GetBulkOperations holds the type's options inline (none with elody:excluded true).5 of 8
elody:menuItema Menu Item nodeany numberAn item of the menu, in sh:order; elody:alias names it. The app's items are the top level; a sub-menu's are nested.8 of 8
elody:bulkDocumenta Bulk Document nodeany numberA bulk operations document with operations of its own: elody:queryName names it, elody:operation lists the operations in sh:order (none for an empty list).3 of 8
elody:sortOptiona Sort Option nodeany numberAn option of the document, in sh:order.7 of 8
elody:bulkOperationa Bulk Operation nodeany numberAn operation in the listing's action bar.7 of 8
elody:listQuerya List Query nodeany numberThe declared entities and filters documents the list loads; sets customQuery and customQueryFilters. On an EntityUi: list queries the type's documents name without a list element (the documents of the delete flow), and the type's orphan documents, an entities or filters document nothing references but the client keeps; a filters document alone names only elody:filtersQuery.8 of 8
elody:sortDocumenta Sort Document nodeany numberA sort options document of the type with options of its own: elody:queryName names it, elody:sortOption lists the options in sh:order.3 of 8
elody:customBulkOperationsa Custom Bulk Operations nodeany numberA named operation set (on an EntityUi: declares it; on a list element: uses it, as a node reference).8 of 8
elody:forma Form nodeany numberThe form an action, a modal or a flow step opens, as a node (R3): the generator derives the document name. Replaces the string references elody:formQuery and elody:createForm. An EntityUi lists its forms with the same property.8 of 8
elody:guidedFlowa Guided Flow nodeany numberA stepper flow declared for the type. Replaces elody:repetitiveForm.4 of 8

Type Entry ​

elody:TypeEntry: What a type-wide platform document says about one GraphQL type beyond what the types derive: a type the platform declares (Job, SavedSearch, with the platform's fragment), a fragment other than the derived one, or a type left out (elody:excluded).

Declared under elody:typeEntry of App.

TermTypeHow manyMeaningUsed by
elody:platformDocumentxsd:stringexactly oneThe name of a platform document the app carries: a constant (getDirectories, getFilterOptions, getUserPermissions, mutateEntityValues, ...) or one derived from the declared types (getEntities, fullEntity, ...). The generator renders the ones named.8 of 8
elody:graphqlTypexsd:stringexactly oneThe GraphQL object type this UI (or picker result) is rendered for. Directive: it will be derived from sh:targetClass through the application profile's class-to-type register.8 of 8
elody:fragmentNamexsd:stringat most oneThe GraphQL name of a shared fragment (basicCreateWorkFields, workTitleDataWindowElement, workTitleDataIntialValues).5 of 8
elody:operationa Bulk Operation nodeany numberAn operation in a custom set, or offered on a list's result (elody:ActionsOnResult).8 of 8
elody:excludedxsd:booleanat most onetrue leaves the type out of the document although the declared types would put it in.4 of 8
elody:barexsd:booleanat most onetrue lists the type in the platform document without a fragment: the document reads only its own fields (FetchMediafilesOfEntity reading id alone).1 of 8

Relation Form Field ​

Declared under elody:relationFormField of App.

TermTypeHow manyMeaningUsed by
sh:orderat most oneThe position among its siblings; order never comes from the position in the file.8 of 8
elody:aliasxsd:stringat most oneThe GraphQL alias under which a filter (a filter without one is emitted unaliased), action, panel, element, form tab (on an elody:Form; default "name"), submit action (on an elody:submit node; default "createAction") or property is emitted. On a property shape: the field name the fragment reads the value under when it is not the metadata key (title: keyValue(key: "email")); several property shapes may share one sh:path under different aliases. Open string by design.8 of 8
elody:keyxsd:stringexactly oneA platform key: a config entry's name, a filter's document key, a step's key, a card field's value key when it differs from sh:name.8 of 8
elody:labelKeyxsd:stringat most oneThe Elody translation key under which the label is shown. The label text itself is sh:name (property shapes) or rdfs:label (property groups), language-tagged; generate writes those texts into the client's translation bundles under this key. Without elody:labelKey the generator mints ui.<type>.<key>. No standard term: SHACL carries label texts, not an application's translation keys. Left out on a property shape that carries no label text: the label key the key itself carries (em:x elody:labelKey, once per client), else metadata.labels.<key>, the key in kebab-case (elody:defaultRule in the meta-shapes).8 of 8
elody:clientInputFieldxsd:stringat most oneThe input field the client registers itself under this name (its module's inputFields; inputField(type: keywordTypeField)) for editing this property; the generator uses the name and mints no field. Prefer sh:class, sh:in or an editor, which generate the field.8 of 8

elody:MenuItem: An item of the app's menu (GetMenu menuItem): its label, the entity type it lists, its icon, who sees it, where it links (a route, or a modal opening a form or flow), and its sub-menu.

Declared under elody:menuItem of App, elody:menuItem of Sub Menu.

Constraint

a menu item links to a route (elody:route) or opens a modal (elody:modal), not both

TermTypeHow manyMeaningUsed by
sh:orderat most oneThe position among its siblings; order never comes from the position in the file.8 of 8
elody:aliasxsd:stringexactly oneThe GraphQL alias under which a filter (a filter without one is emitted unaliased), action, panel, element, form tab (on an elody:Form; default "name"), submit action (on an elody:submit node; default "createAction") or property is emitted. On a property shape: the field name the fragment reads the value under when it is not the metadata key (title: keyValue(key: "email")); several property shapes may share one sh:path under different aliases. Open string by design.8 of 8
elody:labelKeyxsd:stringexactly oneThe Elody translation key under which the label is shown. The label text itself is sh:name (property shapes) or rdfs:label (property groups), language-tagged; generate writes those texts into the client's translation bundles under this key. Without elody:labelKey the generator mints ui.<type>.<key>. No standard term: SHACL carries label texts, not an application's translation keys. Left out on a property shape that carries no label text: the label key the key itself carries (em:x elody:labelKey, once per client), else metadata.labels.<key>, the key in kebab-case (elody:defaultRule in the meta-shapes).8 of 8
elody:entityTypexsd:stringat most oneThe Elody entity type the step creates or picks; on a taggable, the type tagged.8 of 8
elody:iconxsd:stringat most oneA DamsIcons name. Open string: the icon set is the platform's and grows.8 of 8
elody:isLoggedInxsd:booleanat most oneWhether the item shows only to a signed-in user (isLoggedIn).4 of 8
elody:requiresAuthxsd:booleanat most oneWhether the item requires authentication (requiresAuth).7 of 8
elody:canxsd:stringany numberA fine-grained permission string ("update:workOrder:assigned-to"). On a bulk operation or a list element: the permissions it needs; on a panel: the permission editing it needs (can(input: "update:part")). Open string: permissions are client-defined.5 of 8
elody:routexsd:stringat most oneThe PWA route the item links to (typeLink route destination); an item without it links to a modal (elody:modal).8 of 8
elody:modala Bulk Operation Modal nodeat most oneThe modal the operation opens.8 of 8
elody:subMenua Sub Menu nodeat most oneThe item's sub-menu.5 of 8

elody:SubMenu: The sub-menu an item opens (subMenu): its name and its items.

Declared under elody:subMenu of Menu Item.

TermTypeHow manyMeaningUsed by
elody:menuNamexsd:stringexactly oneThe name the PWA asks the sub-menu by (subMenu(name: "sub-menu-entities")).5 of 8
elody:menuItema Menu Item nodeone or moreAn item of the menu, in sh:order; elody:alias names it. The app's items are the top level; a sub-menu's are nested.8 of 8

Dropzone Option ​

elody:DropzoneOption: A type a dropped file creates (GetDropzoneEntityToCreate): elody:labelKey, elody:value, elody:icon.

Declared under elody:dropzoneOption of App.

TermTypeHow manyMeaningUsed by
sh:orderat most oneThe position among its siblings; order never comes from the position in the file.8 of 8
elody:labelKeyxsd:stringexactly oneThe Elody translation key under which the label is shown. The label text itself is sh:name (property shapes) or rdfs:label (property groups), language-tagged; generate writes those texts into the client's translation bundles under this key. Without elody:labelKey the generator mints ui.<type>.<key>. No standard term: SHACL carries label texts, not an application's translation keys. Left out on a property shape that carries no label text: the label key the key itself carries (em:x elody:labelKey, once per client), else metadata.labels.<key>, the key in kebab-case (elody:defaultRule in the meta-shapes).8 of 8
elody:valuexsd:stringexactly oneA config entry's value: string, number, boolean, an RDF list of strings, a node holding elody:config entries (an object value), or an elody: enumeration instance (rendered as its enum value, e.g. elody:WktMap). On an elody:FilterOption: the option's value.8 of 8
elody:iconxsd:stringat most oneA DamsIcons name. Open string: the icon set is the platform's and grows.8 of 8

Powered by Elody - Open Source Semantic Data Platform