@party-stack/ontology 0.20.0 → 0.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +31 -0
- package/lib/OntologyPullConfig.d.ts +4 -17
- package/lib/OntologyPullConfig.d.ts.map +1 -1
- package/lib/authentication.d.ts +1068 -0
- package/lib/authentication.d.ts.map +1 -0
- package/lib/authentication.js +55 -0
- package/lib/authentication.js.map +1 -0
- package/lib/cli/index.js +19 -45
- package/lib/cli/index.js.map +1 -1
- package/lib/cli/pull.d.ts.map +1 -1
- package/lib/cli/pull.js +16 -29
- package/lib/cli/pull.js.map +1 -1
- package/lib/client.d.ts +11 -0
- package/lib/client.d.ts.map +1 -0
- package/lib/client.js +21 -0
- package/lib/client.js.map +1 -0
- package/lib/examples/blog.d.ts +2 -387
- package/lib/examples/blog.js +1 -353
- package/lib/examples/blog.live-queries.d.ts +1 -1
- package/lib/examples/blog.live-queries.d.ts.map +1 -1
- package/lib/examples/blog.live-queries.js +1 -1
- package/lib/examples/blog.live-queries.js.map +1 -1
- package/lib/examples/generated/collections.d.ts +7 -0
- package/lib/examples/generated/collections.d.ts.map +1 -0
- package/lib/examples/generated/collections.js +12 -0
- package/lib/examples/generated/collections.js.map +1 -0
- package/lib/examples/generated/live.d.ts +2 -2
- package/lib/examples/generated/live.d.ts.map +1 -1
- package/lib/examples/generated/live.js.map +1 -1
- package/lib/http.d.ts +13 -0
- package/lib/http.d.ts.map +1 -0
- package/lib/http.js +29 -0
- package/lib/http.js.map +1 -0
- package/lib/index.d.ts +19 -25
- package/lib/index.js +9 -15
- package/lib/json/index.d.ts +1 -16
- package/lib/json/index.js +2 -132
- package/lib/live/LiveOntology.d.ts +114 -50
- package/lib/live/LiveOntology.d.ts.map +1 -1
- package/lib/live/LiveOntology.js +23 -103
- package/lib/live/LiveOntology.js.map +1 -1
- package/lib/live/actions/createLiveOntologyAction.d.ts +15 -16
- package/lib/live/actions/createLiveOntologyAction.d.ts.map +1 -1
- package/lib/live/actions/createLiveOntologyAction.js +3 -11
- package/lib/live/actions/createLiveOntologyAction.js.map +1 -1
- package/lib/live/actions/types.d.ts +21 -0
- package/lib/live/actions/types.d.ts.map +1 -0
- package/lib/live/attachments/createLiveOntologyAttachments.d.ts +29 -19
- package/lib/live/attachments/createLiveOntologyAttachments.d.ts.map +1 -1
- package/lib/live/attachments/createLiveOntologyAttachments.js +43 -60
- package/lib/live/attachments/createLiveOntologyAttachments.js.map +1 -1
- package/lib/live/attachments/types.d.ts +3 -3
- package/lib/live/index.d.ts +10 -10
- package/lib/live/index.js +5 -6
- package/lib/live/mutators/createReadTx.d.ts +5 -0
- package/lib/live/mutators/createReadTx.d.ts.map +1 -0
- package/lib/live/mutators/createReadTx.js +19 -0
- package/lib/live/mutators/createReadTx.js.map +1 -0
- package/lib/live/mutators/types.d.ts +7 -2
- package/lib/live/mutators/types.d.ts.map +1 -1
- package/lib/live/objects/types.d.ts +6 -0
- package/lib/live/objects/types.d.ts.map +1 -0
- package/lib/live/outbox/types.d.ts +24 -15
- package/lib/live/outbox/types.d.ts.map +1 -1
- package/lib/live/outbox/types.js +1 -11
- package/lib/live/pins.d.ts +51 -0
- package/lib/live/pins.d.ts.map +1 -0
- package/lib/live/pins.js +113 -0
- package/lib/live/pins.js.map +1 -0
- package/lib/live/storageBackend.d.ts +50 -0
- package/lib/live/storageBackend.d.ts.map +1 -0
- package/lib/live/storageBackend.js +42 -0
- package/lib/live/storageBackend.js.map +1 -0
- package/lib/local.d.ts +15 -0
- package/lib/local.d.ts.map +1 -0
- package/lib/local.js +19 -0
- package/lib/local.js.map +1 -0
- package/lib/meta/generated/collections.d.ts +7 -0
- package/lib/meta/generated/collections.d.ts.map +1 -0
- package/lib/meta/generated/collections.js +15 -0
- package/lib/meta/generated/collections.js.map +1 -0
- package/lib/meta/generated/live.d.ts +3 -3
- package/lib/meta/generated/live.d.ts.map +1 -1
- package/lib/meta/generated/live.js +2 -2
- package/lib/meta/generated/live.js.map +1 -1
- package/lib/meta/pull.d.ts +5 -9
- package/lib/meta/pull.d.ts.map +1 -1
- package/lib/meta/pull.js +5 -43
- package/lib/meta/pull.js.map +1 -1
- package/lib/query.d.ts +1 -0
- package/lib/query.js +2 -0
- package/lib/runtime/host.d.ts +35 -0
- package/lib/runtime/host.d.ts.map +1 -0
- package/lib/runtime/host.js +39 -0
- package/lib/runtime/host.js.map +1 -0
- package/lib/runtime/index.d.ts +2 -0
- package/lib/runtime/index.js +1 -0
- package/lib/runtime/live.d.ts +25 -0
- package/lib/runtime/live.d.ts.map +1 -0
- package/lib/runtime/live.js +31 -0
- package/lib/runtime/live.js.map +1 -0
- package/lib/runtime/resource.d.ts +24 -0
- package/lib/runtime/resource.d.ts.map +1 -0
- package/lib/runtime/resource.js +127 -0
- package/lib/runtime/resource.js.map +1 -0
- package/lib/runtime/transactions.d.ts +27 -0
- package/lib/runtime/transactions.d.ts.map +1 -0
- package/lib/runtime/transactions.js +188 -0
- package/lib/runtime/transactions.js.map +1 -0
- package/lib/runtime/view.d.ts +25 -0
- package/lib/runtime/view.d.ts.map +1 -0
- package/lib/runtime/view.js +256 -0
- package/lib/runtime/view.js.map +1 -0
- package/lib/tanstack/collections.d.ts +73 -0
- package/lib/tanstack/collections.d.ts.map +1 -0
- package/lib/tanstack/collections.js +495 -0
- package/lib/tanstack/collections.js.map +1 -0
- package/lib/tanstack/createLocalCollection.d.ts +14 -0
- package/lib/tanstack/createLocalCollection.d.ts.map +1 -0
- package/lib/tanstack/createLocalCollection.js +9 -0
- package/lib/tanstack/createLocalCollection.js.map +1 -0
- package/lib/tanstack/descriptors.d.ts +33 -0
- package/lib/tanstack/descriptors.d.ts.map +1 -0
- package/lib/tanstack/descriptors.js +38 -0
- package/lib/tanstack/descriptors.js.map +1 -0
- package/lib/tanstack/diagnostics.d.ts +23 -0
- package/lib/tanstack/diagnostics.d.ts.map +1 -0
- package/lib/tanstack/diagnostics.js +14 -0
- package/lib/tanstack/diagnostics.js.map +1 -0
- package/lib/tanstack/index.d.ts +6 -0
- package/lib/tanstack/index.js +6 -0
- package/lib/tanstack/localCollection.d.ts +14 -0
- package/lib/tanstack/localCollection.d.ts.map +1 -0
- package/lib/tanstack/localCollection.js +73 -0
- package/lib/tanstack/localCollection.js.map +1 -0
- package/lib/tanstack/subset.d.ts +28 -0
- package/lib/tanstack/subset.d.ts.map +1 -0
- package/lib/tanstack/subset.js +290 -0
- package/lib/tanstack/subset.js.map +1 -0
- package/lib/testing/sqlite.d.ts +40 -0
- package/lib/testing/sqlite.d.ts.map +1 -0
- package/lib/testing/sqlite.js +409 -0
- package/lib/testing/sqlite.js.map +1 -0
- package/lib/testing/sqliteBackend.d.ts +68 -0
- package/lib/testing/sqliteBackend.d.ts.map +1 -0
- package/lib/testing/sqliteBackend.js +34 -0
- package/lib/testing/sqliteBackend.js.map +1 -0
- package/lib/utils/index.d.ts +1 -8
- package/lib/utils/index.js +2 -5
- package/lib/utils/values.d.ts +1 -30
- package/lib/worker.d.ts +19 -0
- package/lib/worker.d.ts.map +1 -0
- package/lib/worker.js +46 -0
- package/lib/worker.js.map +1 -0
- package/package.json +53 -18
- package/lib/cli/format.d.ts +0 -4
- package/lib/cli/format.d.ts.map +0 -1
- package/lib/cli/format.js +0 -19
- package/lib/cli/format.js.map +0 -1
- package/lib/cli/generate.d.ts +0 -10
- package/lib/cli/generate.d.ts.map +0 -1
- package/lib/cli/generate.js +0 -108
- package/lib/cli/generate.js.map +0 -1
- package/lib/examples/blog.d.ts.map +0 -1
- package/lib/examples/blog.js.map +0 -1
- package/lib/generate/builders.d.ts +0 -12
- package/lib/generate/builders.d.ts.map +0 -1
- package/lib/generate/builders.js +0 -58
- package/lib/generate/builders.js.map +0 -1
- package/lib/generate/constants.d.ts +0 -5
- package/lib/generate/constants.d.ts.map +0 -1
- package/lib/generate/constants.js +0 -28
- package/lib/generate/constants.js.map +0 -1
- package/lib/generate/index.d.ts +0 -6
- package/lib/generate/index.js +0 -6
- package/lib/generate/live.d.ts +0 -12
- package/lib/generate/live.d.ts.map +0 -1
- package/lib/generate/live.js +0 -48
- package/lib/generate/live.js.map +0 -1
- package/lib/generate/ontology.d.ts +0 -8
- package/lib/generate/ontology.d.ts.map +0 -1
- package/lib/generate/ontology.js +0 -501
- package/lib/generate/ontology.js.map +0 -1
- package/lib/generate/types.d.ts +0 -18
- package/lib/generate/types.d.ts.map +0 -1
- package/lib/generate/types.js +0 -216
- package/lib/generate/types.js.map +0 -1
- package/lib/generate/utils/buildJsDocs.d.ts +0 -10
- package/lib/generate/utils/buildJsDocs.d.ts.map +0 -1
- package/lib/generate/utils/buildJsDocs.js +0 -16
- package/lib/generate/utils/buildJsDocs.js.map +0 -1
- package/lib/infer.d.ts +0 -223
- package/lib/infer.d.ts.map +0 -1
- package/lib/infer.js +0 -14
- package/lib/infer.js.map +0 -1
- package/lib/installation/createMetaOntologyConfiguration.d.ts +0 -10
- package/lib/installation/createMetaOntologyConfiguration.d.ts.map +0 -1
- package/lib/installation/createMetaOntologyConfiguration.js +0 -16
- package/lib/installation/createMetaOntologyConfiguration.js.map +0 -1
- package/lib/installation/createOntologyBackendInstallation.d.ts +0 -5
- package/lib/installation/createOntologyBackendInstallation.d.ts.map +0 -1
- package/lib/installation/createOntologyBackendInstallation.js +0 -221
- package/lib/installation/createOntologyBackendInstallation.js.map +0 -1
- package/lib/installation/index.d.ts +0 -4
- package/lib/installation/index.js +0 -3
- package/lib/installation/types.d.ts +0 -94
- package/lib/installation/types.d.ts.map +0 -1
- package/lib/ir/generated/builders.d.ts +0 -380
- package/lib/ir/generated/builders.d.ts.map +0 -1
- package/lib/ir/generated/builders.js +0 -186
- package/lib/ir/generated/builders.js.map +0 -1
- package/lib/ir/generated/constants.d.ts +0 -265
- package/lib/ir/generated/constants.d.ts.map +0 -1
- package/lib/ir/generated/constants.js +0 -165
- package/lib/ir/generated/constants.js.map +0 -1
- package/lib/ir/generated/types.d.ts +0 -413
- package/lib/ir/generated/types.d.ts.map +0 -1
- package/lib/ir/index.d.ts +0 -4
- package/lib/ir/index.js +0 -3
- package/lib/ir/schema.d.ts +0 -2246
- package/lib/ir/schema.d.ts.map +0 -1
- package/lib/ir/schema.js +0 -1187
- package/lib/ir/schema.js.map +0 -1
- package/lib/ir/validate.d.ts +0 -8
- package/lib/ir/validate.d.ts.map +0 -1
- package/lib/ir/validate.js +0 -623
- package/lib/ir/validate.js.map +0 -1
- package/lib/json/index.d.ts.map +0 -1
- package/lib/json/index.js.map +0 -1
- package/lib/lenses.d.ts +0 -21
- package/lib/lenses.d.ts.map +0 -1
- package/lib/lenses.js +0 -110
- package/lib/lenses.js.map +0 -1
- package/lib/live/OntologyBackendAdapter.d.ts +0 -104
- package/lib/live/OntologyBackendAdapter.d.ts.map +0 -1
- package/lib/live/OntologyBackendAdapter.js +0 -1
- package/lib/live/actions/createLiveOntologyActions.d.ts +0 -28
- package/lib/live/actions/createLiveOntologyActions.d.ts.map +0 -1
- package/lib/live/actions/createLiveOntologyActions.js +0 -139
- package/lib/live/actions/createLiveOntologyActions.js.map +0 -1
- package/lib/live/actions/prepareActionParameters.d.ts +0 -19
- package/lib/live/actions/prepareActionParameters.d.ts.map +0 -1
- package/lib/live/actions/prepareActionParameters.js +0 -213
- package/lib/live/actions/prepareActionParameters.js.map +0 -1
- package/lib/live/attachments/attachmentSources.d.ts +0 -10
- package/lib/live/attachments/attachmentSources.d.ts.map +0 -1
- package/lib/live/attachments/attachmentSources.js +0 -64
- package/lib/live/attachments/attachmentSources.js.map +0 -1
- package/lib/live/attachments/unsupportedOntologyAttachmentsAdapter.d.ts +0 -5
- package/lib/live/attachments/unsupportedOntologyAttachmentsAdapter.d.ts.map +0 -1
- package/lib/live/attachments/unsupportedOntologyAttachmentsAdapter.js +0 -6
- package/lib/live/attachments/unsupportedOntologyAttachmentsAdapter.js.map +0 -1
- package/lib/live/expression.d.ts +0 -24
- package/lib/live/expression.d.ts.map +0 -1
- package/lib/live/expression.js +0 -160
- package/lib/live/expression.js.map +0 -1
- package/lib/live/mutators/OntologyEdits.d.ts +0 -15
- package/lib/live/mutators/OntologyEdits.d.ts.map +0 -1
- package/lib/live/mutators/OntologyEdits.js +0 -65
- package/lib/live/mutators/OntologyEdits.js.map +0 -1
- package/lib/live/mutators/createMutatorTx.d.ts +0 -11
- package/lib/live/mutators/createMutatorTx.d.ts.map +0 -1
- package/lib/live/mutators/createMutatorTx.js +0 -61
- package/lib/live/mutators/createMutatorTx.js.map +0 -1
- package/lib/live/mutators/runOptimisticAction.d.ts +0 -19
- package/lib/live/mutators/runOptimisticAction.d.ts.map +0 -1
- package/lib/live/mutators/runOptimisticAction.js +0 -30
- package/lib/live/mutators/runOptimisticAction.js.map +0 -1
- package/lib/live/objects/OntologyObject.d.ts +0 -4
- package/lib/live/objects/OntologyObject.d.ts.map +0 -1
- package/lib/live/objects/OntologyObject.js +0 -1
- package/lib/live/objects/createLiveOntologyObjectCollection.d.ts +0 -17
- package/lib/live/objects/createLiveOntologyObjectCollection.d.ts.map +0 -1
- package/lib/live/objects/createLiveOntologyObjectCollection.js +0 -69
- package/lib/live/objects/createLiveOntologyObjectCollection.js.map +0 -1
- package/lib/live/objects/ontologyObjectCollectionId.d.ts +0 -4
- package/lib/live/objects/ontologyObjectCollectionId.d.ts.map +0 -1
- package/lib/live/objects/ontologyObjectCollectionId.js +0 -8
- package/lib/live/objects/ontologyObjectCollectionId.js.map +0 -1
- package/lib/live/outbox/createOntologyOutbox.d.ts +0 -23
- package/lib/live/outbox/createOntologyOutbox.d.ts.map +0 -1
- package/lib/live/outbox/createOntologyOutbox.js +0 -292
- package/lib/live/outbox/createOntologyOutbox.js.map +0 -1
- package/lib/live/outbox/leaderExecutor.d.ts +0 -20
- package/lib/live/outbox/leaderExecutor.d.ts.map +0 -1
- package/lib/live/outbox/leaderExecutor.js +0 -130
- package/lib/live/outbox/leaderExecutor.js.map +0 -1
- package/lib/live/outbox/outboxService.d.ts +0 -7
- package/lib/live/outbox/outboxService.d.ts.map +0 -1
- package/lib/live/outbox/outboxService.js +0 -68
- package/lib/live/outbox/outboxService.js.map +0 -1
- package/lib/live/outbox/projectionManager.d.ts +0 -31
- package/lib/live/outbox/projectionManager.d.ts.map +0 -1
- package/lib/live/outbox/projectionManager.js +0 -127
- package/lib/live/outbox/projectionManager.js.map +0 -1
- package/lib/live/outbox/repository.d.ts +0 -31
- package/lib/live/outbox/repository.d.ts.map +0 -1
- package/lib/live/outbox/repository.js +0 -196
- package/lib/live/outbox/repository.js.map +0 -1
- package/lib/live/outbox/service.d.ts +0 -61
- package/lib/live/outbox/service.d.ts.map +0 -1
- package/lib/live/outbox/service.js +0 -6
- package/lib/live/outbox/service.js.map +0 -1
- package/lib/live/outbox/types.js.map +0 -1
- package/lib/live/waitForCollectionReady.d.ts +0 -5
- package/lib/live/waitForCollectionReady.d.ts.map +0 -1
- package/lib/live/waitForCollectionReady.js +0 -49
- package/lib/live/waitForCollectionReady.js.map +0 -1
- package/lib/meta/createLocalMetaOntologyBackendAdapter.d.ts +0 -7
- package/lib/meta/createLocalMetaOntologyBackendAdapter.d.ts.map +0 -1
- package/lib/meta/createLocalMetaOntologyBackendAdapter.js +0 -44
- package/lib/meta/createLocalMetaOntologyBackendAdapter.js.map +0 -1
- package/lib/meta/generated/constants.d.ts +0 -265
- package/lib/meta/generated/constants.d.ts.map +0 -1
- package/lib/meta/generated/constants.js +0 -165
- package/lib/meta/generated/constants.js.map +0 -1
- package/lib/meta/generated/types.d.ts +0 -417
- package/lib/meta/generated/types.d.ts.map +0 -1
- package/lib/meta/generated/types.js +0 -1
- package/lib/meta/ontology.d.ts +0 -26
- package/lib/meta/ontology.d.ts.map +0 -1
- package/lib/meta/ontology.js +0 -111
- package/lib/meta/ontology.js.map +0 -1
- package/lib/utils/links.d.ts +0 -50
- package/lib/utils/links.d.ts.map +0 -1
- package/lib/utils/links.js +0 -13
- package/lib/utils/links.js.map +0 -1
- package/lib/utils/paths.d.ts +0 -6
- package/lib/utils/paths.d.ts.map +0 -1
- package/lib/utils/paths.js +0 -42
- package/lib/utils/paths.js.map +0 -1
- package/lib/utils/provide.d.ts +0 -4
- package/lib/utils/provide.d.ts.map +0 -1
- package/lib/utils/provide.js +0 -9
- package/lib/utils/provide.js.map +0 -1
- package/lib/utils/targets.d.ts +0 -37
- package/lib/utils/targets.d.ts.map +0 -1
- package/lib/utils/targets.js +0 -1
- package/lib/utils/typeNames.d.ts +0 -28
- package/lib/utils/typeNames.d.ts.map +0 -1
- package/lib/utils/typeNames.js +0 -1
- package/lib/utils/types.d.ts +0 -12
- package/lib/utils/types.d.ts.map +0 -1
- package/lib/utils/types.js +0 -48
- package/lib/utils/types.js.map +0 -1
- package/lib/utils/uncertain.d.ts +0 -11
- package/lib/utils/uncertain.d.ts.map +0 -1
- package/lib/utils/uncertain.js +0 -14
- package/lib/utils/uncertain.js.map +0 -1
- package/lib/utils/validation.d.ts +0 -7
- package/lib/utils/validation.d.ts.map +0 -1
- package/lib/utils/validation.js +0 -1
- package/lib/utils/values.d.ts.map +0 -1
- /package/lib/{installation → live/actions}/types.js +0 -0
- /package/lib/{ir/generated → live/objects}/types.js +0 -0
package/lib/ir/schema.js
DELETED
|
@@ -1,1187 +0,0 @@
|
|
|
1
|
-
import { o } from "./generated/builders.js";
|
|
2
|
-
import { IconNames } from "@party-stack/icons";
|
|
3
|
-
//#region src/ir/schema.ts
|
|
4
|
-
var schema_default = {
|
|
5
|
-
types: [
|
|
6
|
-
{
|
|
7
|
-
name: "IconName",
|
|
8
|
-
description: "A renderer-independent icon name from @party-stack/icons.",
|
|
9
|
-
type: o.string({ constraint: o.StringConstraint.enum({ options: IconNames.map((value) => ({ value })) }) })
|
|
10
|
-
},
|
|
11
|
-
{
|
|
12
|
-
name: "IconDescriptor",
|
|
13
|
-
description: "A portable icon descriptor with optional provider meta for lossless round trips.",
|
|
14
|
-
type: o.struct({ fields: [{
|
|
15
|
-
name: "name",
|
|
16
|
-
displayName: "Name",
|
|
17
|
-
type: o.ref({ name: "IconName" }),
|
|
18
|
-
description: "Renderer-independent icon name."
|
|
19
|
-
}, {
|
|
20
|
-
name: "meta",
|
|
21
|
-
displayName: "Meta",
|
|
22
|
-
type: o.optional({ type: o.map({
|
|
23
|
-
keyType: o.string({}),
|
|
24
|
-
valueType: o.unknown({})
|
|
25
|
-
}) }),
|
|
26
|
-
description: "Namespaced source-provider meta."
|
|
27
|
-
}] })
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
name: "Deprecation",
|
|
31
|
-
type: o.struct({ fields: [{
|
|
32
|
-
name: "message",
|
|
33
|
-
displayName: "Message",
|
|
34
|
-
type: o.string({})
|
|
35
|
-
}] })
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
name: "StringSuggestion",
|
|
39
|
-
description: "A suggested value for a string.",
|
|
40
|
-
type: o.struct({ fields: [{
|
|
41
|
-
name: "value",
|
|
42
|
-
displayName: "Value",
|
|
43
|
-
type: o.string({})
|
|
44
|
-
}, {
|
|
45
|
-
name: "label",
|
|
46
|
-
displayName: "Label",
|
|
47
|
-
type: o.optional({ type: o.string({}) })
|
|
48
|
-
}] })
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
name: "StringEnumConstraint",
|
|
52
|
-
description: "Constrains a string to a set of allowed values.",
|
|
53
|
-
type: o.struct({ fields: [{
|
|
54
|
-
name: "options",
|
|
55
|
-
displayName: "Options",
|
|
56
|
-
type: o.list({ elementType: o.ref({ name: "StringSuggestion" }) })
|
|
57
|
-
}] })
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
name: "StringRegexConstraint",
|
|
61
|
-
description: "Constrains a string to a regex.",
|
|
62
|
-
type: o.struct({ fields: [{
|
|
63
|
-
name: "regex",
|
|
64
|
-
displayName: "Regex",
|
|
65
|
-
type: o.string({})
|
|
66
|
-
}] })
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
name: "StringConstraint",
|
|
70
|
-
description: "A constraint that can be applied to a string type.",
|
|
71
|
-
type: o.union({ variants: [{
|
|
72
|
-
name: "enum",
|
|
73
|
-
type: o.ref({ name: "StringEnumConstraint" })
|
|
74
|
-
}, {
|
|
75
|
-
name: "regex",
|
|
76
|
-
type: o.ref({ name: "StringRegexConstraint" })
|
|
77
|
-
}] })
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
name: "StringTypeDef",
|
|
81
|
-
description: "A string type with optional constraints.",
|
|
82
|
-
type: o.struct({ fields: [{
|
|
83
|
-
name: "constraint",
|
|
84
|
-
displayName: "Constraint",
|
|
85
|
-
type: o.optional({ type: o.ref({ name: "StringConstraint" }) })
|
|
86
|
-
}, {
|
|
87
|
-
name: "suggestions",
|
|
88
|
-
displayName: "Suggestions",
|
|
89
|
-
type: o.optional({ type: o.list({ elementType: o.ref({ name: "StringSuggestion" }) }) })
|
|
90
|
-
}] })
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
name: "BooleanTypeDef",
|
|
94
|
-
description: "A boolean type.",
|
|
95
|
-
type: o.struct({ fields: [] })
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
name: "IntegerTypeDef",
|
|
99
|
-
description: "A 32-bit integer type.",
|
|
100
|
-
type: o.struct({ fields: [] })
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
name: "FloatTypeDef",
|
|
104
|
-
description: "A 32-bit floating point type.",
|
|
105
|
-
type: o.struct({ fields: [] })
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
name: "DoubleTypeDef",
|
|
109
|
-
description: "A 64-bit floating point type.",
|
|
110
|
-
type: o.struct({ fields: [] })
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
name: "DateTypeDef",
|
|
114
|
-
description: "A date type (no time component).",
|
|
115
|
-
type: o.struct({ fields: [] })
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
name: "TimestampTypeDef",
|
|
119
|
-
description: "A timestamp type (instant in time).",
|
|
120
|
-
type: o.struct({ fields: [] })
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
name: "GeopointTypeDef",
|
|
124
|
-
description: "A geographic point (lat/lon).",
|
|
125
|
-
type: o.struct({ fields: [] })
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
name: "UnknownTypeDef",
|
|
129
|
-
description: "An opaque type whose shape is not known at schema time.",
|
|
130
|
-
type: o.struct({ fields: [] })
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
name: "ListTypeDef",
|
|
134
|
-
description: "A list/array type.",
|
|
135
|
-
type: o.struct({ fields: [{
|
|
136
|
-
name: "elementType",
|
|
137
|
-
displayName: "Element Type",
|
|
138
|
-
type: o.ref({ name: "TypeDef" }),
|
|
139
|
-
description: "The type of elements in the list."
|
|
140
|
-
}] })
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
name: "MapTypeDef",
|
|
144
|
-
description: "A map/record type.",
|
|
145
|
-
type: o.struct({ fields: [{
|
|
146
|
-
name: "keyType",
|
|
147
|
-
displayName: "Key Type",
|
|
148
|
-
type: o.ref({ name: "TypeDef" }),
|
|
149
|
-
description: "The type of keys (must be string right now)."
|
|
150
|
-
}, {
|
|
151
|
-
name: "valueType",
|
|
152
|
-
displayName: "Value Type",
|
|
153
|
-
type: o.ref({ name: "TypeDef" }),
|
|
154
|
-
description: "The type of values."
|
|
155
|
-
}] })
|
|
156
|
-
},
|
|
157
|
-
{
|
|
158
|
-
name: "FieldDef",
|
|
159
|
-
description: "Definition of a field in a struct.",
|
|
160
|
-
type: o.struct({ fields: [
|
|
161
|
-
{
|
|
162
|
-
name: "name",
|
|
163
|
-
displayName: "Name",
|
|
164
|
-
type: o.string({}),
|
|
165
|
-
description: "The field name in code."
|
|
166
|
-
},
|
|
167
|
-
{
|
|
168
|
-
name: "displayName",
|
|
169
|
-
displayName: "Display Name",
|
|
170
|
-
type: o.string({}),
|
|
171
|
-
description: "Human-readable name."
|
|
172
|
-
},
|
|
173
|
-
{
|
|
174
|
-
name: "type",
|
|
175
|
-
displayName: "Type",
|
|
176
|
-
type: o.ref({ name: "TypeDef" }),
|
|
177
|
-
description: "The field's type."
|
|
178
|
-
},
|
|
179
|
-
{
|
|
180
|
-
name: "description",
|
|
181
|
-
displayName: "Description",
|
|
182
|
-
type: o.optional({ type: o.string({}) }),
|
|
183
|
-
description: "Optional description."
|
|
184
|
-
},
|
|
185
|
-
{
|
|
186
|
-
name: "deprecated",
|
|
187
|
-
displayName: "Deprecated?",
|
|
188
|
-
type: o.optional({ type: o.ref({ name: "Deprecation" }) })
|
|
189
|
-
}
|
|
190
|
-
] })
|
|
191
|
-
},
|
|
192
|
-
{
|
|
193
|
-
name: "StructTypeDef",
|
|
194
|
-
description: "A struct type with named fields.",
|
|
195
|
-
type: o.struct({ fields: [{
|
|
196
|
-
name: "fields",
|
|
197
|
-
displayName: "Fields",
|
|
198
|
-
type: o.list({ elementType: o.ref({ name: "FieldDef" }) })
|
|
199
|
-
}] })
|
|
200
|
-
},
|
|
201
|
-
{
|
|
202
|
-
name: "VariantDef",
|
|
203
|
-
description: "Definition of a variant in a discriminated union.",
|
|
204
|
-
type: o.struct({ fields: [{
|
|
205
|
-
name: "name",
|
|
206
|
-
displayName: "Name",
|
|
207
|
-
type: o.string({}),
|
|
208
|
-
description: "The variant's discriminator value."
|
|
209
|
-
}, {
|
|
210
|
-
name: "type",
|
|
211
|
-
displayName: "Type",
|
|
212
|
-
type: o.ref({ name: "TypeDef" }),
|
|
213
|
-
description: "The variant's payload type."
|
|
214
|
-
}] })
|
|
215
|
-
},
|
|
216
|
-
{
|
|
217
|
-
name: "UnionTypeDef",
|
|
218
|
-
description: "A discriminated union type.",
|
|
219
|
-
type: o.struct({ fields: [{
|
|
220
|
-
name: "variants",
|
|
221
|
-
displayName: "Variants",
|
|
222
|
-
type: o.list({ elementType: o.ref({ name: "VariantDef" }) })
|
|
223
|
-
}] })
|
|
224
|
-
},
|
|
225
|
-
{
|
|
226
|
-
name: "OptionalTypeDef",
|
|
227
|
-
description: "Wraps a type to make it optional.",
|
|
228
|
-
type: o.struct({ fields: [{
|
|
229
|
-
name: "type",
|
|
230
|
-
displayName: "Type",
|
|
231
|
-
type: o.ref({ name: "TypeDef" }),
|
|
232
|
-
description: "The wrapped type."
|
|
233
|
-
}] })
|
|
234
|
-
},
|
|
235
|
-
{
|
|
236
|
-
name: "ResultTypeDef",
|
|
237
|
-
description: "A result type (ok or error).",
|
|
238
|
-
type: o.struct({ fields: [{
|
|
239
|
-
name: "okType",
|
|
240
|
-
displayName: "Ok Type",
|
|
241
|
-
type: o.ref({ name: "TypeDef" }),
|
|
242
|
-
description: "The type of the success value."
|
|
243
|
-
}, {
|
|
244
|
-
name: "errType",
|
|
245
|
-
displayName: "Error Type",
|
|
246
|
-
type: o.ref({ name: "TypeDef" }),
|
|
247
|
-
description: "The type of the error value."
|
|
248
|
-
}] })
|
|
249
|
-
},
|
|
250
|
-
{
|
|
251
|
-
name: "TypeRef",
|
|
252
|
-
description: "A reference to a named type.",
|
|
253
|
-
type: o.struct({ fields: [{
|
|
254
|
-
name: "name",
|
|
255
|
-
displayName: "Name",
|
|
256
|
-
type: o.string({}),
|
|
257
|
-
description: "The name of the referenced type."
|
|
258
|
-
}] })
|
|
259
|
-
},
|
|
260
|
-
{
|
|
261
|
-
name: "TypeDef",
|
|
262
|
-
description: "A type definition. Can be a primitive, collection, struct, union, optional, result, or reference.",
|
|
263
|
-
type: o.union({ variants: [
|
|
264
|
-
{
|
|
265
|
-
name: "string",
|
|
266
|
-
type: o.ref({ name: "StringTypeDef" })
|
|
267
|
-
},
|
|
268
|
-
{
|
|
269
|
-
name: "boolean",
|
|
270
|
-
type: o.ref({ name: "BooleanTypeDef" })
|
|
271
|
-
},
|
|
272
|
-
{
|
|
273
|
-
name: "integer",
|
|
274
|
-
type: o.ref({ name: "IntegerTypeDef" })
|
|
275
|
-
},
|
|
276
|
-
{
|
|
277
|
-
name: "float",
|
|
278
|
-
type: o.ref({ name: "FloatTypeDef" })
|
|
279
|
-
},
|
|
280
|
-
{
|
|
281
|
-
name: "double",
|
|
282
|
-
type: o.ref({ name: "DoubleTypeDef" })
|
|
283
|
-
},
|
|
284
|
-
{
|
|
285
|
-
name: "date",
|
|
286
|
-
type: o.ref({ name: "DateTypeDef" })
|
|
287
|
-
},
|
|
288
|
-
{
|
|
289
|
-
name: "timestamp",
|
|
290
|
-
type: o.ref({ name: "TimestampTypeDef" })
|
|
291
|
-
},
|
|
292
|
-
{
|
|
293
|
-
name: "geopoint",
|
|
294
|
-
type: o.ref({ name: "GeopointTypeDef" })
|
|
295
|
-
},
|
|
296
|
-
{
|
|
297
|
-
name: "list",
|
|
298
|
-
type: o.ref({ name: "ListTypeDef" })
|
|
299
|
-
},
|
|
300
|
-
{
|
|
301
|
-
name: "map",
|
|
302
|
-
type: o.ref({ name: "MapTypeDef" })
|
|
303
|
-
},
|
|
304
|
-
{
|
|
305
|
-
name: "struct",
|
|
306
|
-
type: o.ref({ name: "StructTypeDef" })
|
|
307
|
-
},
|
|
308
|
-
{
|
|
309
|
-
name: "union",
|
|
310
|
-
type: o.ref({ name: "UnionTypeDef" })
|
|
311
|
-
},
|
|
312
|
-
{
|
|
313
|
-
name: "optional",
|
|
314
|
-
type: o.ref({ name: "OptionalTypeDef" })
|
|
315
|
-
},
|
|
316
|
-
{
|
|
317
|
-
name: "result",
|
|
318
|
-
type: o.ref({ name: "ResultTypeDef" })
|
|
319
|
-
},
|
|
320
|
-
{
|
|
321
|
-
name: "ref",
|
|
322
|
-
type: o.ref({ name: "TypeRef" })
|
|
323
|
-
},
|
|
324
|
-
{
|
|
325
|
-
name: "attachment",
|
|
326
|
-
type: o.ref({ name: "AttachmentTypeDef" })
|
|
327
|
-
},
|
|
328
|
-
{
|
|
329
|
-
name: "objectReference",
|
|
330
|
-
type: o.ref({ name: "ObjectReferenceTypeDef" })
|
|
331
|
-
},
|
|
332
|
-
{
|
|
333
|
-
name: "unknown",
|
|
334
|
-
type: o.ref({ name: "UnknownTypeDef" })
|
|
335
|
-
}
|
|
336
|
-
] })
|
|
337
|
-
},
|
|
338
|
-
{
|
|
339
|
-
name: "NamedTypeDef",
|
|
340
|
-
description: "A named type definition that can be referenced by other types.",
|
|
341
|
-
type: o.struct({ fields: [
|
|
342
|
-
{
|
|
343
|
-
name: "name",
|
|
344
|
-
displayName: "Name",
|
|
345
|
-
type: o.string({}),
|
|
346
|
-
description: "The type's name for use in code."
|
|
347
|
-
},
|
|
348
|
-
{
|
|
349
|
-
name: "description",
|
|
350
|
-
displayName: "Description",
|
|
351
|
-
type: o.optional({ type: o.string({}) }),
|
|
352
|
-
description: "Optional documentation for the type."
|
|
353
|
-
},
|
|
354
|
-
{
|
|
355
|
-
name: "deprecated",
|
|
356
|
-
displayName: "Deprecated?",
|
|
357
|
-
type: o.optional({ type: o.ref({ name: "Deprecation" }) })
|
|
358
|
-
},
|
|
359
|
-
{
|
|
360
|
-
name: "type",
|
|
361
|
-
displayName: "Type",
|
|
362
|
-
type: o.ref({ name: "TypeDef" }),
|
|
363
|
-
description: "The type definition."
|
|
364
|
-
}
|
|
365
|
-
] })
|
|
366
|
-
},
|
|
367
|
-
{
|
|
368
|
-
name: "ImageMediaType",
|
|
369
|
-
description: "A supported image media type.",
|
|
370
|
-
type: o.string({ constraint: o.StringConstraint.enum({ options: [
|
|
371
|
-
{
|
|
372
|
-
value: "image/bmp",
|
|
373
|
-
label: "BMP"
|
|
374
|
-
},
|
|
375
|
-
{
|
|
376
|
-
value: "image/tiff",
|
|
377
|
-
label: "TIFF"
|
|
378
|
-
},
|
|
379
|
-
{
|
|
380
|
-
value: "image/nitf",
|
|
381
|
-
label: "NITF"
|
|
382
|
-
},
|
|
383
|
-
{
|
|
384
|
-
value: "image/jp2",
|
|
385
|
-
label: "JPEG 2000"
|
|
386
|
-
},
|
|
387
|
-
{
|
|
388
|
-
value: "image/jpeg",
|
|
389
|
-
label: "JPEG"
|
|
390
|
-
},
|
|
391
|
-
{
|
|
392
|
-
value: "image/png",
|
|
393
|
-
label: "PNG"
|
|
394
|
-
},
|
|
395
|
-
{
|
|
396
|
-
value: "image/gif",
|
|
397
|
-
label: "GIF"
|
|
398
|
-
},
|
|
399
|
-
{
|
|
400
|
-
value: "image/svg+xml",
|
|
401
|
-
label: "SVG"
|
|
402
|
-
},
|
|
403
|
-
{
|
|
404
|
-
value: "image/webp",
|
|
405
|
-
label: "WebP"
|
|
406
|
-
}
|
|
407
|
-
] }) })
|
|
408
|
-
},
|
|
409
|
-
{
|
|
410
|
-
name: "DimensionsConstraint",
|
|
411
|
-
description: "Constrains intrinsic pixel dimensions.",
|
|
412
|
-
type: o.struct({ fields: [{
|
|
413
|
-
name: "width",
|
|
414
|
-
displayName: "Width",
|
|
415
|
-
type: o.optional({ type: o.struct({ fields: [{
|
|
416
|
-
name: "min",
|
|
417
|
-
displayName: "Minimum",
|
|
418
|
-
type: o.optional({ type: o.integer({}) })
|
|
419
|
-
}, {
|
|
420
|
-
name: "max",
|
|
421
|
-
displayName: "Maximum",
|
|
422
|
-
type: o.optional({ type: o.integer({}) })
|
|
423
|
-
}] }) })
|
|
424
|
-
}, {
|
|
425
|
-
name: "height",
|
|
426
|
-
displayName: "Height",
|
|
427
|
-
type: o.optional({ type: o.struct({ fields: [{
|
|
428
|
-
name: "min",
|
|
429
|
-
displayName: "Minimum",
|
|
430
|
-
type: o.optional({ type: o.integer({}) })
|
|
431
|
-
}, {
|
|
432
|
-
name: "max",
|
|
433
|
-
displayName: "Maximum",
|
|
434
|
-
type: o.optional({ type: o.integer({}) })
|
|
435
|
-
}] }) })
|
|
436
|
-
}] })
|
|
437
|
-
},
|
|
438
|
-
{
|
|
439
|
-
name: "ImageAttachmentConstraint",
|
|
440
|
-
description: "Constraints specific to image attachments.",
|
|
441
|
-
type: o.struct({ fields: [{
|
|
442
|
-
name: "mediaTypes",
|
|
443
|
-
displayName: "Media types",
|
|
444
|
-
type: o.optional({ type: o.list({ elementType: o.ref({ name: "ImageMediaType" }) }) })
|
|
445
|
-
}, {
|
|
446
|
-
name: "dimensions",
|
|
447
|
-
displayName: "Dimensions",
|
|
448
|
-
type: o.optional({ type: o.ref({ name: "DimensionsConstraint" }) })
|
|
449
|
-
}] })
|
|
450
|
-
},
|
|
451
|
-
{
|
|
452
|
-
name: "AttachmentContentConstraint",
|
|
453
|
-
description: "Content-specific attachment constraints.",
|
|
454
|
-
type: o.union({ variants: [{
|
|
455
|
-
name: "image",
|
|
456
|
-
type: o.ref({ name: "ImageAttachmentConstraint" })
|
|
457
|
-
}] })
|
|
458
|
-
},
|
|
459
|
-
{
|
|
460
|
-
name: "AttachmentConstraint",
|
|
461
|
-
description: "Constraints applied to an attachment.",
|
|
462
|
-
type: o.struct({ fields: [{
|
|
463
|
-
name: "size",
|
|
464
|
-
displayName: "Size",
|
|
465
|
-
type: o.optional({ type: o.struct({ fields: [{
|
|
466
|
-
name: "min",
|
|
467
|
-
displayName: "Minimum",
|
|
468
|
-
type: o.optional({ type: o.double({}) })
|
|
469
|
-
}, {
|
|
470
|
-
name: "max",
|
|
471
|
-
displayName: "Maximum",
|
|
472
|
-
type: o.optional({ type: o.double({}) })
|
|
473
|
-
}] }) })
|
|
474
|
-
}, {
|
|
475
|
-
name: "content",
|
|
476
|
-
displayName: "Content",
|
|
477
|
-
type: o.optional({ type: o.ref({ name: "AttachmentContentConstraint" }) })
|
|
478
|
-
}] })
|
|
479
|
-
},
|
|
480
|
-
{
|
|
481
|
-
name: "AttachmentTypeDef",
|
|
482
|
-
description: "A file handle with optional constraints.",
|
|
483
|
-
type: o.struct({ fields: [{
|
|
484
|
-
name: "constraint",
|
|
485
|
-
displayName: "Constraint",
|
|
486
|
-
type: o.optional({ type: o.ref({ name: "AttachmentConstraint" }) })
|
|
487
|
-
}, {
|
|
488
|
-
name: "meta",
|
|
489
|
-
displayName: "Meta",
|
|
490
|
-
type: o.optional({ type: o.map({
|
|
491
|
-
keyType: o.string({}),
|
|
492
|
-
valueType: o.unknown({})
|
|
493
|
-
}) })
|
|
494
|
-
}] })
|
|
495
|
-
},
|
|
496
|
-
{
|
|
497
|
-
name: "ObjectReferenceTypeDef",
|
|
498
|
-
description: "A reference to an ontology object type.",
|
|
499
|
-
type: o.struct({ fields: [{
|
|
500
|
-
name: "objectType",
|
|
501
|
-
displayName: "Object type",
|
|
502
|
-
type: o.string({}),
|
|
503
|
-
description: "The referenced object type name."
|
|
504
|
-
}] })
|
|
505
|
-
},
|
|
506
|
-
{
|
|
507
|
-
name: "PropertyDef",
|
|
508
|
-
description: "A property on an Object type.",
|
|
509
|
-
type: o.struct({ fields: [
|
|
510
|
-
{
|
|
511
|
-
name: "name",
|
|
512
|
-
displayName: "Name",
|
|
513
|
-
type: o.string({}),
|
|
514
|
-
description: "The property's name."
|
|
515
|
-
},
|
|
516
|
-
{
|
|
517
|
-
name: "displayName",
|
|
518
|
-
displayName: "Display name",
|
|
519
|
-
type: o.string({}),
|
|
520
|
-
description: "Human-readable name."
|
|
521
|
-
},
|
|
522
|
-
{
|
|
523
|
-
name: "type",
|
|
524
|
-
displayName: "Type",
|
|
525
|
-
type: o.ref({ name: "TypeDef" }),
|
|
526
|
-
description: "The property's type."
|
|
527
|
-
},
|
|
528
|
-
{
|
|
529
|
-
name: "description",
|
|
530
|
-
displayName: "Description",
|
|
531
|
-
type: o.optional({ type: o.string({}) }),
|
|
532
|
-
description: "Optional description."
|
|
533
|
-
},
|
|
534
|
-
{
|
|
535
|
-
name: "deprecated",
|
|
536
|
-
displayName: "Deprecated?",
|
|
537
|
-
type: o.optional({ type: o.ref({ name: "Deprecation" }) })
|
|
538
|
-
}
|
|
539
|
-
] })
|
|
540
|
-
},
|
|
541
|
-
{
|
|
542
|
-
name: "ObjectTypeDef",
|
|
543
|
-
description: "An object type in the ontology.",
|
|
544
|
-
type: o.struct({ fields: [
|
|
545
|
-
{
|
|
546
|
-
name: "name",
|
|
547
|
-
displayName: "Name",
|
|
548
|
-
type: o.string({}),
|
|
549
|
-
description: "The object type's programmatic name."
|
|
550
|
-
},
|
|
551
|
-
{
|
|
552
|
-
name: "displayName",
|
|
553
|
-
displayName: "Display name",
|
|
554
|
-
type: o.string({}),
|
|
555
|
-
description: "Human-readable name."
|
|
556
|
-
},
|
|
557
|
-
{
|
|
558
|
-
name: "pluralDisplayName",
|
|
559
|
-
displayName: "Plural display name",
|
|
560
|
-
type: o.string({})
|
|
561
|
-
},
|
|
562
|
-
{
|
|
563
|
-
name: "primaryKey",
|
|
564
|
-
displayName: "Primary key",
|
|
565
|
-
type: o.string({}),
|
|
566
|
-
description: "The name of the property that serves as primary key."
|
|
567
|
-
},
|
|
568
|
-
{
|
|
569
|
-
name: "title",
|
|
570
|
-
displayName: "Title",
|
|
571
|
-
type: o.optional({ type: o.string({}) }),
|
|
572
|
-
description: "The optional property name used as the human-readable title for an object."
|
|
573
|
-
},
|
|
574
|
-
{
|
|
575
|
-
name: "icon",
|
|
576
|
-
displayName: "Icon",
|
|
577
|
-
type: o.optional({ type: o.ref({ name: "IconDescriptor" }) }),
|
|
578
|
-
description: "Optional portable icon descriptor."
|
|
579
|
-
},
|
|
580
|
-
{
|
|
581
|
-
name: "color",
|
|
582
|
-
displayName: "Color",
|
|
583
|
-
type: o.optional({ type: o.string({}) }),
|
|
584
|
-
description: "Optional display color independent of the icon."
|
|
585
|
-
},
|
|
586
|
-
{
|
|
587
|
-
name: "properties",
|
|
588
|
-
displayName: "Properties",
|
|
589
|
-
type: o.list({ elementType: o.ref({ name: "PropertyDef" }) }),
|
|
590
|
-
description: "The object type's propertieo."
|
|
591
|
-
},
|
|
592
|
-
{
|
|
593
|
-
name: "description",
|
|
594
|
-
displayName: "Description",
|
|
595
|
-
type: o.optional({ type: o.string({}) }),
|
|
596
|
-
description: "Optional description."
|
|
597
|
-
},
|
|
598
|
-
{
|
|
599
|
-
name: "deprecated",
|
|
600
|
-
displayName: "Deprecated?",
|
|
601
|
-
type: o.optional({ type: o.ref({ name: "Deprecation" }) })
|
|
602
|
-
}
|
|
603
|
-
] })
|
|
604
|
-
},
|
|
605
|
-
{
|
|
606
|
-
name: "LinkTypeSideDef",
|
|
607
|
-
type: o.struct({ fields: [
|
|
608
|
-
{
|
|
609
|
-
name: "objectType",
|
|
610
|
-
displayName: "Object type",
|
|
611
|
-
type: o.string({})
|
|
612
|
-
},
|
|
613
|
-
{
|
|
614
|
-
name: "name",
|
|
615
|
-
displayName: "Name",
|
|
616
|
-
type: o.string({})
|
|
617
|
-
},
|
|
618
|
-
{
|
|
619
|
-
name: "displayName",
|
|
620
|
-
displayName: "Display name",
|
|
621
|
-
type: o.string({})
|
|
622
|
-
}
|
|
623
|
-
] })
|
|
624
|
-
},
|
|
625
|
-
{
|
|
626
|
-
name: "LinkCardinality",
|
|
627
|
-
description: "The cardinality of a link from the source's perspective.",
|
|
628
|
-
type: o.string({ constraint: o.StringConstraint.enum({ options: [{
|
|
629
|
-
value: "one",
|
|
630
|
-
label: "One"
|
|
631
|
-
}, {
|
|
632
|
-
value: "many",
|
|
633
|
-
label: "Many"
|
|
634
|
-
}] }) })
|
|
635
|
-
},
|
|
636
|
-
{
|
|
637
|
-
name: "LinkTypeDef",
|
|
638
|
-
description: "A relationship between two object types.",
|
|
639
|
-
type: o.struct({ fields: [
|
|
640
|
-
{
|
|
641
|
-
name: "id",
|
|
642
|
-
displayName: "ID",
|
|
643
|
-
type: o.string({})
|
|
644
|
-
},
|
|
645
|
-
{
|
|
646
|
-
name: "source",
|
|
647
|
-
displayName: "Source",
|
|
648
|
-
type: o.ref({ name: "LinkTypeSideDef" })
|
|
649
|
-
},
|
|
650
|
-
{
|
|
651
|
-
name: "target",
|
|
652
|
-
displayName: "Target",
|
|
653
|
-
type: o.ref({ name: "LinkTypeSideDef" })
|
|
654
|
-
},
|
|
655
|
-
{
|
|
656
|
-
name: "foreignKey",
|
|
657
|
-
displayName: "Foreign key",
|
|
658
|
-
type: o.string({}),
|
|
659
|
-
description: "The foreign key on the source."
|
|
660
|
-
},
|
|
661
|
-
{
|
|
662
|
-
name: "cardinality",
|
|
663
|
-
displayName: "Cardinality",
|
|
664
|
-
type: o.string({ constraint: o.StringConstraint.enum({ options: [{
|
|
665
|
-
value: "one",
|
|
666
|
-
label: "One"
|
|
667
|
-
}, {
|
|
668
|
-
value: "many",
|
|
669
|
-
label: "Many"
|
|
670
|
-
}] }) }),
|
|
671
|
-
description: "How many sources are linked to the target."
|
|
672
|
-
}
|
|
673
|
-
] })
|
|
674
|
-
},
|
|
675
|
-
{
|
|
676
|
-
name: "ActionParameterDef",
|
|
677
|
-
description: "A parameter of an Action type.",
|
|
678
|
-
type: o.struct({ fields: [
|
|
679
|
-
{
|
|
680
|
-
name: "name",
|
|
681
|
-
displayName: "Name",
|
|
682
|
-
type: o.string({}),
|
|
683
|
-
description: "The parameter's name."
|
|
684
|
-
},
|
|
685
|
-
{
|
|
686
|
-
name: "displayName",
|
|
687
|
-
displayName: "Display name",
|
|
688
|
-
type: o.string({}),
|
|
689
|
-
description: "Human-readable name."
|
|
690
|
-
},
|
|
691
|
-
{
|
|
692
|
-
name: "type",
|
|
693
|
-
displayName: "Type",
|
|
694
|
-
type: o.ref({ name: "TypeDef" }),
|
|
695
|
-
description: "The parameter's type."
|
|
696
|
-
},
|
|
697
|
-
{
|
|
698
|
-
name: "description",
|
|
699
|
-
displayName: "Description",
|
|
700
|
-
type: o.optional({ type: o.string({}) }),
|
|
701
|
-
description: "Optional description."
|
|
702
|
-
},
|
|
703
|
-
{
|
|
704
|
-
name: "deprecated",
|
|
705
|
-
displayName: "Deprecated?",
|
|
706
|
-
type: o.optional({ type: o.ref({ name: "Deprecation" }) })
|
|
707
|
-
},
|
|
708
|
-
{
|
|
709
|
-
name: "defaultValue",
|
|
710
|
-
displayName: "Default value",
|
|
711
|
-
type: o.optional({ type: o.ref({ name: "Expression" }) }),
|
|
712
|
-
description: "The expression used when the caller does not provide a value."
|
|
713
|
-
}
|
|
714
|
-
] })
|
|
715
|
-
},
|
|
716
|
-
{
|
|
717
|
-
name: "InputReferenceExpression",
|
|
718
|
-
description: "Reads a named input from the root expression scope.",
|
|
719
|
-
type: o.struct({ fields: [{
|
|
720
|
-
name: "name",
|
|
721
|
-
displayName: "Name",
|
|
722
|
-
type: o.string({})
|
|
723
|
-
}] })
|
|
724
|
-
},
|
|
725
|
-
{
|
|
726
|
-
name: "LocalReferenceExpression",
|
|
727
|
-
description: "Reads a named lexically scoped expression binding.",
|
|
728
|
-
type: o.struct({ fields: [{
|
|
729
|
-
name: "name",
|
|
730
|
-
displayName: "Name",
|
|
731
|
-
type: o.string({})
|
|
732
|
-
}] })
|
|
733
|
-
},
|
|
734
|
-
{
|
|
735
|
-
name: "ContextReferenceExpression",
|
|
736
|
-
description: "Reads a named value from the expression context.",
|
|
737
|
-
type: o.struct({ fields: [{
|
|
738
|
-
name: "name",
|
|
739
|
-
displayName: "Name",
|
|
740
|
-
type: o.string({})
|
|
741
|
-
}] })
|
|
742
|
-
},
|
|
743
|
-
{
|
|
744
|
-
name: "GetAtExpression",
|
|
745
|
-
description: "Reads a structural path from a source expression.",
|
|
746
|
-
type: o.struct({ fields: [{
|
|
747
|
-
name: "source",
|
|
748
|
-
displayName: "Source",
|
|
749
|
-
type: o.ref({ name: "Expression" })
|
|
750
|
-
}, {
|
|
751
|
-
name: "path",
|
|
752
|
-
displayName: "Path",
|
|
753
|
-
type: o.list({ elementType: o.string({}) })
|
|
754
|
-
}] })
|
|
755
|
-
},
|
|
756
|
-
{
|
|
757
|
-
name: "ObjectLookupExpression",
|
|
758
|
-
description: "Resolves an object reference to its ontology object.",
|
|
759
|
-
type: o.struct({ fields: [{
|
|
760
|
-
name: "reference",
|
|
761
|
-
displayName: "Reference",
|
|
762
|
-
type: o.ref({ name: "Expression" })
|
|
763
|
-
}] })
|
|
764
|
-
},
|
|
765
|
-
{
|
|
766
|
-
name: "LinkHopExpression",
|
|
767
|
-
description: "Follows one named to-one ontology link from a source object.",
|
|
768
|
-
type: o.struct({ fields: [{
|
|
769
|
-
name: "source",
|
|
770
|
-
displayName: "Source",
|
|
771
|
-
type: o.ref({ name: "Expression" })
|
|
772
|
-
}, {
|
|
773
|
-
name: "link",
|
|
774
|
-
displayName: "Link",
|
|
775
|
-
type: o.string({})
|
|
776
|
-
}] })
|
|
777
|
-
},
|
|
778
|
-
{
|
|
779
|
-
name: "StructExpressionField",
|
|
780
|
-
description: "A named field constructed by a struct expression.",
|
|
781
|
-
type: o.struct({ fields: [{
|
|
782
|
-
name: "name",
|
|
783
|
-
displayName: "Name",
|
|
784
|
-
type: o.string({})
|
|
785
|
-
}, {
|
|
786
|
-
name: "value",
|
|
787
|
-
displayName: "Value",
|
|
788
|
-
type: o.ref({ name: "Expression" })
|
|
789
|
-
}] })
|
|
790
|
-
},
|
|
791
|
-
{
|
|
792
|
-
name: "StructExpression",
|
|
793
|
-
description: "Constructs a struct value from field expressions.",
|
|
794
|
-
type: o.struct({ fields: [{
|
|
795
|
-
name: "fields",
|
|
796
|
-
displayName: "Fields",
|
|
797
|
-
type: o.list({ elementType: o.ref({ name: "StructExpressionField" }) })
|
|
798
|
-
}] })
|
|
799
|
-
},
|
|
800
|
-
{
|
|
801
|
-
name: "MapExpression",
|
|
802
|
-
description: "Maps each element of a list to a new value.",
|
|
803
|
-
type: o.struct({ fields: [
|
|
804
|
-
{
|
|
805
|
-
name: "source",
|
|
806
|
-
displayName: "Source",
|
|
807
|
-
type: o.ref({ name: "Expression" })
|
|
808
|
-
},
|
|
809
|
-
{
|
|
810
|
-
name: "binding",
|
|
811
|
-
displayName: "Binding",
|
|
812
|
-
type: o.string({})
|
|
813
|
-
},
|
|
814
|
-
{
|
|
815
|
-
name: "body",
|
|
816
|
-
displayName: "Body",
|
|
817
|
-
type: o.ref({ name: "Expression" })
|
|
818
|
-
}
|
|
819
|
-
] })
|
|
820
|
-
},
|
|
821
|
-
{
|
|
822
|
-
name: "UuidExpression",
|
|
823
|
-
description: "Generates a UUID value.",
|
|
824
|
-
type: o.struct({ fields: [] })
|
|
825
|
-
},
|
|
826
|
-
{
|
|
827
|
-
name: "NowExpression",
|
|
828
|
-
description: "Returns the current timestamp.",
|
|
829
|
-
type: o.struct({ fields: [] })
|
|
830
|
-
},
|
|
831
|
-
{
|
|
832
|
-
name: "LiteralExpression",
|
|
833
|
-
description: "A static literal value.",
|
|
834
|
-
type: o.struct({ fields: [{
|
|
835
|
-
name: "value",
|
|
836
|
-
displayName: "Value",
|
|
837
|
-
type: o.unknown({}),
|
|
838
|
-
description: "The literal value."
|
|
839
|
-
}] })
|
|
840
|
-
},
|
|
841
|
-
{
|
|
842
|
-
name: "Expression",
|
|
843
|
-
description: "An expression that resolves to a value.",
|
|
844
|
-
type: o.union({ variants: [
|
|
845
|
-
{
|
|
846
|
-
name: "inputReference",
|
|
847
|
-
type: o.ref({ name: "InputReferenceExpression" })
|
|
848
|
-
},
|
|
849
|
-
{
|
|
850
|
-
name: "contextReference",
|
|
851
|
-
type: o.ref({ name: "ContextReferenceExpression" })
|
|
852
|
-
},
|
|
853
|
-
{
|
|
854
|
-
name: "localReference",
|
|
855
|
-
type: o.ref({ name: "LocalReferenceExpression" })
|
|
856
|
-
},
|
|
857
|
-
{
|
|
858
|
-
name: "getAt",
|
|
859
|
-
type: o.ref({ name: "GetAtExpression" })
|
|
860
|
-
},
|
|
861
|
-
{
|
|
862
|
-
name: "objectLookup",
|
|
863
|
-
type: o.ref({ name: "ObjectLookupExpression" })
|
|
864
|
-
},
|
|
865
|
-
{
|
|
866
|
-
name: "linkHop",
|
|
867
|
-
type: o.ref({ name: "LinkHopExpression" })
|
|
868
|
-
},
|
|
869
|
-
{
|
|
870
|
-
name: "struct",
|
|
871
|
-
type: o.ref({ name: "StructExpression" })
|
|
872
|
-
},
|
|
873
|
-
{
|
|
874
|
-
name: "map",
|
|
875
|
-
type: o.ref({ name: "MapExpression" })
|
|
876
|
-
},
|
|
877
|
-
{
|
|
878
|
-
name: "uuid",
|
|
879
|
-
type: o.ref({ name: "UuidExpression" })
|
|
880
|
-
},
|
|
881
|
-
{
|
|
882
|
-
name: "now",
|
|
883
|
-
type: o.ref({ name: "NowExpression" })
|
|
884
|
-
},
|
|
885
|
-
{
|
|
886
|
-
name: "literal",
|
|
887
|
-
type: o.ref({ name: "LiteralExpression" })
|
|
888
|
-
}
|
|
889
|
-
] })
|
|
890
|
-
},
|
|
891
|
-
{
|
|
892
|
-
name: "PropertyAssignment",
|
|
893
|
-
description: "Assigns an expression to a property path on an object written by an action.",
|
|
894
|
-
type: o.struct({ fields: [{
|
|
895
|
-
name: "property",
|
|
896
|
-
displayName: "Property",
|
|
897
|
-
type: o.list({ elementType: o.string({}) })
|
|
898
|
-
}, {
|
|
899
|
-
name: "value",
|
|
900
|
-
displayName: "Value",
|
|
901
|
-
type: o.ref({ name: "Expression" })
|
|
902
|
-
}] })
|
|
903
|
-
},
|
|
904
|
-
{
|
|
905
|
-
name: "CreateObjectActionLogicStep",
|
|
906
|
-
description: "Creates an object and assigns property values.",
|
|
907
|
-
type: o.struct({ fields: [{
|
|
908
|
-
name: "objectType",
|
|
909
|
-
displayName: "Object type",
|
|
910
|
-
type: o.string({})
|
|
911
|
-
}, {
|
|
912
|
-
name: "values",
|
|
913
|
-
displayName: "Values",
|
|
914
|
-
type: o.list({ elementType: o.ref({ name: "PropertyAssignment" }) })
|
|
915
|
-
}] })
|
|
916
|
-
},
|
|
917
|
-
{
|
|
918
|
-
name: "UpdateObjectActionLogicStep",
|
|
919
|
-
description: "Updates a referenced object and assigns property values.",
|
|
920
|
-
type: o.struct({ fields: [{
|
|
921
|
-
name: "object",
|
|
922
|
-
displayName: "Object",
|
|
923
|
-
type: o.ref({ name: "InputReferenceExpression" })
|
|
924
|
-
}, {
|
|
925
|
-
name: "values",
|
|
926
|
-
displayName: "Values",
|
|
927
|
-
type: o.list({ elementType: o.ref({ name: "PropertyAssignment" }) })
|
|
928
|
-
}] })
|
|
929
|
-
},
|
|
930
|
-
{
|
|
931
|
-
name: "DeleteObjectActionLogicStep",
|
|
932
|
-
description: "Deletes a referenced object.",
|
|
933
|
-
type: o.struct({ fields: [{
|
|
934
|
-
name: "object",
|
|
935
|
-
displayName: "Object",
|
|
936
|
-
type: o.ref({ name: "InputReferenceExpression" })
|
|
937
|
-
}] })
|
|
938
|
-
},
|
|
939
|
-
{
|
|
940
|
-
name: "ActionLogicStep",
|
|
941
|
-
description: "A logic step performed by an action.",
|
|
942
|
-
type: o.union({ variants: [
|
|
943
|
-
{
|
|
944
|
-
name: "createObject",
|
|
945
|
-
type: o.ref({ name: "CreateObjectActionLogicStep" })
|
|
946
|
-
},
|
|
947
|
-
{
|
|
948
|
-
name: "updateObject",
|
|
949
|
-
type: o.ref({ name: "UpdateObjectActionLogicStep" })
|
|
950
|
-
},
|
|
951
|
-
{
|
|
952
|
-
name: "deleteObject",
|
|
953
|
-
type: o.ref({ name: "DeleteObjectActionLogicStep" })
|
|
954
|
-
}
|
|
955
|
-
] })
|
|
956
|
-
},
|
|
957
|
-
{
|
|
958
|
-
name: "ActionTypeDef",
|
|
959
|
-
description: "An action type in the ontology.",
|
|
960
|
-
type: o.struct({ fields: [
|
|
961
|
-
{
|
|
962
|
-
name: "meta",
|
|
963
|
-
displayName: "Meta",
|
|
964
|
-
type: o.optional({ type: o.map({
|
|
965
|
-
keyType: o.string({}),
|
|
966
|
-
valueType: o.unknown({})
|
|
967
|
-
}) }),
|
|
968
|
-
description: "Provider-specific metadata used to execute this action."
|
|
969
|
-
},
|
|
970
|
-
{
|
|
971
|
-
name: "name",
|
|
972
|
-
displayName: "Name",
|
|
973
|
-
type: o.string({}),
|
|
974
|
-
description: "The object type's programmatic name."
|
|
975
|
-
},
|
|
976
|
-
{
|
|
977
|
-
name: "displayName",
|
|
978
|
-
displayName: "Display name",
|
|
979
|
-
type: o.string({}),
|
|
980
|
-
description: "Human-readable name."
|
|
981
|
-
},
|
|
982
|
-
{
|
|
983
|
-
name: "icon",
|
|
984
|
-
displayName: "Icon",
|
|
985
|
-
type: o.optional({ type: o.ref({ name: "IconDescriptor" }) }),
|
|
986
|
-
description: "Optional portable icon descriptor."
|
|
987
|
-
},
|
|
988
|
-
{
|
|
989
|
-
name: "color",
|
|
990
|
-
displayName: "Color",
|
|
991
|
-
type: o.optional({ type: o.string({}) }),
|
|
992
|
-
description: "Optional display color independent of the icon."
|
|
993
|
-
},
|
|
994
|
-
{
|
|
995
|
-
name: "parameters",
|
|
996
|
-
displayName: "Parameters",
|
|
997
|
-
type: o.list({ elementType: o.ref({ name: "ActionParameterDef" }) }),
|
|
998
|
-
description: "The action type's parametero."
|
|
999
|
-
},
|
|
1000
|
-
{
|
|
1001
|
-
name: "logic",
|
|
1002
|
-
displayName: "Logic",
|
|
1003
|
-
type: o.list({ elementType: o.ref({ name: "ActionLogicStep" }) }),
|
|
1004
|
-
description: "The action type's local logic stepo."
|
|
1005
|
-
},
|
|
1006
|
-
{
|
|
1007
|
-
name: "description",
|
|
1008
|
-
displayName: "Description",
|
|
1009
|
-
type: o.optional({ type: o.string({}) }),
|
|
1010
|
-
description: "Optional description."
|
|
1011
|
-
},
|
|
1012
|
-
{
|
|
1013
|
-
name: "deprecated",
|
|
1014
|
-
displayName: "Deprecated?",
|
|
1015
|
-
type: o.optional({ type: o.ref({ name: "Deprecation" }) })
|
|
1016
|
-
}
|
|
1017
|
-
] })
|
|
1018
|
-
},
|
|
1019
|
-
{
|
|
1020
|
-
name: "QueryFunctionParameterDef",
|
|
1021
|
-
description: "A parameter accepted by a query function type.",
|
|
1022
|
-
type: o.struct({ fields: [
|
|
1023
|
-
{
|
|
1024
|
-
name: "name",
|
|
1025
|
-
displayName: "Name",
|
|
1026
|
-
type: o.string({}),
|
|
1027
|
-
description: "The query function parameter's programmatic name."
|
|
1028
|
-
},
|
|
1029
|
-
{
|
|
1030
|
-
name: "displayName",
|
|
1031
|
-
displayName: "Display name",
|
|
1032
|
-
type: o.string({}),
|
|
1033
|
-
description: "Human-readable name."
|
|
1034
|
-
},
|
|
1035
|
-
{
|
|
1036
|
-
name: "type",
|
|
1037
|
-
displayName: "Type",
|
|
1038
|
-
type: o.ref({ name: "TypeDef" })
|
|
1039
|
-
},
|
|
1040
|
-
{
|
|
1041
|
-
name: "description",
|
|
1042
|
-
displayName: "Description",
|
|
1043
|
-
type: o.optional({ type: o.string({}) }),
|
|
1044
|
-
description: "Optional description."
|
|
1045
|
-
},
|
|
1046
|
-
{
|
|
1047
|
-
name: "deprecated",
|
|
1048
|
-
displayName: "Deprecated?",
|
|
1049
|
-
type: o.optional({ type: o.ref({ name: "Deprecation" }) })
|
|
1050
|
-
}
|
|
1051
|
-
] })
|
|
1052
|
-
},
|
|
1053
|
-
{
|
|
1054
|
-
name: "QueryFunctionTypeDef",
|
|
1055
|
-
description: "A runnable query function type in the ontology.",
|
|
1056
|
-
type: o.struct({ fields: [
|
|
1057
|
-
{
|
|
1058
|
-
name: "name",
|
|
1059
|
-
displayName: "Name",
|
|
1060
|
-
type: o.string({}),
|
|
1061
|
-
description: "The query function type's programmatic name."
|
|
1062
|
-
},
|
|
1063
|
-
{
|
|
1064
|
-
name: "displayName",
|
|
1065
|
-
displayName: "Display name",
|
|
1066
|
-
type: o.string({}),
|
|
1067
|
-
description: "Human-readable name."
|
|
1068
|
-
},
|
|
1069
|
-
{
|
|
1070
|
-
name: "parameters",
|
|
1071
|
-
displayName: "Parameters",
|
|
1072
|
-
type: o.list({ elementType: o.ref({ name: "QueryFunctionParameterDef" }) }),
|
|
1073
|
-
description: "The query function type's parameters."
|
|
1074
|
-
},
|
|
1075
|
-
{
|
|
1076
|
-
name: "returnType",
|
|
1077
|
-
displayName: "Return type",
|
|
1078
|
-
type: o.ref({ name: "TypeDef" }),
|
|
1079
|
-
description: "The query function type's return type."
|
|
1080
|
-
},
|
|
1081
|
-
{
|
|
1082
|
-
name: "description",
|
|
1083
|
-
displayName: "Description",
|
|
1084
|
-
type: o.optional({ type: o.string({}) }),
|
|
1085
|
-
description: "Optional description."
|
|
1086
|
-
},
|
|
1087
|
-
{
|
|
1088
|
-
name: "deprecated",
|
|
1089
|
-
displayName: "Deprecated?",
|
|
1090
|
-
type: o.optional({ type: o.ref({ name: "Deprecation" }) })
|
|
1091
|
-
}
|
|
1092
|
-
] })
|
|
1093
|
-
},
|
|
1094
|
-
{
|
|
1095
|
-
name: "MoveLensOp",
|
|
1096
|
-
description: "Moves a property from one path to another.",
|
|
1097
|
-
type: o.struct({ fields: [{
|
|
1098
|
-
name: "from",
|
|
1099
|
-
displayName: "From",
|
|
1100
|
-
type: o.list({ elementType: o.string({}) })
|
|
1101
|
-
}, {
|
|
1102
|
-
name: "to",
|
|
1103
|
-
displayName: "To",
|
|
1104
|
-
type: o.list({ elementType: o.string({}) })
|
|
1105
|
-
}] })
|
|
1106
|
-
},
|
|
1107
|
-
{
|
|
1108
|
-
name: "SelectLensOp",
|
|
1109
|
-
description: "Retains only the selected top-level properties.",
|
|
1110
|
-
type: o.struct({ fields: [{
|
|
1111
|
-
name: "properties",
|
|
1112
|
-
displayName: "Properties",
|
|
1113
|
-
type: o.list({ elementType: o.string({}) })
|
|
1114
|
-
}] })
|
|
1115
|
-
},
|
|
1116
|
-
{
|
|
1117
|
-
name: "LensOp",
|
|
1118
|
-
description: "One schema and value transformation operation.",
|
|
1119
|
-
type: o.union({ variants: [{
|
|
1120
|
-
name: "move",
|
|
1121
|
-
type: o.ref({ name: "MoveLensOp" })
|
|
1122
|
-
}, {
|
|
1123
|
-
name: "select",
|
|
1124
|
-
type: o.ref({ name: "SelectLensOp" })
|
|
1125
|
-
}] })
|
|
1126
|
-
},
|
|
1127
|
-
{
|
|
1128
|
-
name: "Lens",
|
|
1129
|
-
description: "An ordered sequence of source-to-target transformation operations.",
|
|
1130
|
-
type: o.struct({ fields: [{
|
|
1131
|
-
name: "operations",
|
|
1132
|
-
displayName: "Operations",
|
|
1133
|
-
type: o.list({ elementType: o.ref({ name: "LensOp" }) })
|
|
1134
|
-
}] })
|
|
1135
|
-
},
|
|
1136
|
-
{
|
|
1137
|
-
name: "OntologyIR",
|
|
1138
|
-
description: "The root ontology definition containing all type definitions.",
|
|
1139
|
-
type: o.struct({ fields: [
|
|
1140
|
-
{
|
|
1141
|
-
name: "types",
|
|
1142
|
-
displayName: "Named types",
|
|
1143
|
-
type: o.list({ elementType: o.ref({ name: "NamedTypeDef" }) }),
|
|
1144
|
-
description: "Named, reusable value types."
|
|
1145
|
-
},
|
|
1146
|
-
{
|
|
1147
|
-
name: "objectTypes",
|
|
1148
|
-
displayName: "Object types",
|
|
1149
|
-
type: o.list({ elementType: o.ref({ name: "ObjectTypeDef" }) }),
|
|
1150
|
-
description: "Object type definitions."
|
|
1151
|
-
},
|
|
1152
|
-
{
|
|
1153
|
-
name: "linkTypes",
|
|
1154
|
-
displayName: "Link types",
|
|
1155
|
-
type: o.list({ elementType: o.ref({ name: "LinkTypeDef" }) }),
|
|
1156
|
-
description: "Relationship definitions between object types."
|
|
1157
|
-
},
|
|
1158
|
-
{
|
|
1159
|
-
name: "actionTypes",
|
|
1160
|
-
displayName: "Action types",
|
|
1161
|
-
type: o.list({ elementType: o.ref({ name: "ActionTypeDef" }) }),
|
|
1162
|
-
description: "Action type definitions."
|
|
1163
|
-
},
|
|
1164
|
-
{
|
|
1165
|
-
name: "queryFunctionTypes",
|
|
1166
|
-
displayName: "Query function types",
|
|
1167
|
-
type: o.list({ elementType: o.ref({ name: "QueryFunctionTypeDef" }) }),
|
|
1168
|
-
description: "Query function type definitions."
|
|
1169
|
-
},
|
|
1170
|
-
{
|
|
1171
|
-
name: "contextType",
|
|
1172
|
-
displayName: "Context type",
|
|
1173
|
-
type: o.optional({ type: o.ref({ name: "TypeDef" }) }),
|
|
1174
|
-
description: "Optional typed execution context available to ontology expressions."
|
|
1175
|
-
}
|
|
1176
|
-
] })
|
|
1177
|
-
}
|
|
1178
|
-
],
|
|
1179
|
-
objectTypes: [],
|
|
1180
|
-
linkTypes: [],
|
|
1181
|
-
actionTypes: [],
|
|
1182
|
-
queryFunctionTypes: []
|
|
1183
|
-
};
|
|
1184
|
-
//#endregion
|
|
1185
|
-
export { schema_default as default };
|
|
1186
|
-
|
|
1187
|
-
//# sourceMappingURL=schema.js.map
|