@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
|
@@ -1,413 +0,0 @@
|
|
|
1
|
-
import { Union, double, integer } from "../../utils/values.js";
|
|
2
|
-
//#region src/ir/generated/types.d.ts
|
|
3
|
-
/** A renderer-independent icon name from @party-stack/icons. */
|
|
4
|
-
export type IconName = "activity" | "add" | "airplane" | "alarm" | "alert" | "archive" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-up" | "attachment" | "award" | "bank" | "barcode" | "bell" | "book" | "bookmark" | "briefcase" | "bug" | "building" | "calculator" | "calendar" | "camera" | "chart-bar" | "chart-line" | "chart-pie" | "chat" | "check" | "check-circle" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "circle" | "clipboard" | "clock" | "cloud" | "code" | "compass" | "copy" | "credit-card" | "cube" | "database" | "delete" | "document" | "download" | "edit" | "email" | "error" | "eye" | "eye-off" | "filter" | "flag" | "folder" | "globe" | "grid" | "heart" | "help" | "history" | "home" | "image" | "info" | "key" | "layers" | "lightbulb" | "link" | "list" | "location" | "lock" | "lock-open" | "map" | "menu" | "microphone" | "minus" | "minus-circle" | "moon" | "more-horizontal" | "more-vertical" | "notification" | "package" | "pause" | "people" | "person" | "phone" | "pin" | "play" | "play-circle" | "plus-circle" | "printer" | "project" | "refresh" | "rocket" | "save" | "search" | "send" | "settings" | "share" | "shield" | "shopping-bag" | "shopping-cart" | "star" | "stop" | "sun" | "tag" | "ticket" | "tools" | "upload" | "video" | "warning" | "window" | "wrench" | "x" | "x-circle";
|
|
5
|
-
/** A portable icon descriptor with optional provider meta for lossless round trips. */
|
|
6
|
-
export type IconDescriptor = {
|
|
7
|
-
/** Renderer-independent icon name. */
|
|
8
|
-
name: IconName;
|
|
9
|
-
/** Namespaced source-provider meta. */
|
|
10
|
-
meta?: Record<string, unknown>;
|
|
11
|
-
};
|
|
12
|
-
export type Deprecation = {
|
|
13
|
-
message: string;
|
|
14
|
-
};
|
|
15
|
-
/** A suggested value for a string. */
|
|
16
|
-
export type StringSuggestion = {
|
|
17
|
-
value: string;
|
|
18
|
-
label?: string;
|
|
19
|
-
};
|
|
20
|
-
/** Constrains a string to a set of allowed values. */
|
|
21
|
-
export type StringEnumConstraint = {
|
|
22
|
-
options: Array<StringSuggestion>;
|
|
23
|
-
};
|
|
24
|
-
/** Constrains a string to a regex. */
|
|
25
|
-
export type StringRegexConstraint = {
|
|
26
|
-
regex: string;
|
|
27
|
-
};
|
|
28
|
-
/** A constraint that can be applied to a string type. */
|
|
29
|
-
export type StringConstraint = Union<{
|
|
30
|
-
enum: StringEnumConstraint;
|
|
31
|
-
regex: StringRegexConstraint;
|
|
32
|
-
}>;
|
|
33
|
-
/** A string type with optional constraints. */
|
|
34
|
-
export type StringTypeDef = {
|
|
35
|
-
constraint?: StringConstraint;
|
|
36
|
-
suggestions?: Array<StringSuggestion>;
|
|
37
|
-
};
|
|
38
|
-
/** A boolean type. */
|
|
39
|
-
export type BooleanTypeDef = Record<never, never>;
|
|
40
|
-
/** A 32-bit integer type. */
|
|
41
|
-
export type IntegerTypeDef = Record<never, never>;
|
|
42
|
-
/** A 32-bit floating point type. */
|
|
43
|
-
export type FloatTypeDef = Record<never, never>;
|
|
44
|
-
/** A 64-bit floating point type. */
|
|
45
|
-
export type DoubleTypeDef = Record<never, never>;
|
|
46
|
-
/** A date type (no time component). */
|
|
47
|
-
export type DateTypeDef = Record<never, never>;
|
|
48
|
-
/** A timestamp type (instant in time). */
|
|
49
|
-
export type TimestampTypeDef = Record<never, never>;
|
|
50
|
-
/** A geographic point (lat/lon). */
|
|
51
|
-
export type GeopointTypeDef = Record<never, never>;
|
|
52
|
-
/** An opaque type whose shape is not known at schema time. */
|
|
53
|
-
export type UnknownTypeDef = Record<never, never>;
|
|
54
|
-
/** A list/array type. */
|
|
55
|
-
export type ListTypeDef = {
|
|
56
|
-
/** The type of elements in the list. */
|
|
57
|
-
elementType: TypeDef;
|
|
58
|
-
};
|
|
59
|
-
/** A map/record type. */
|
|
60
|
-
export type MapTypeDef = {
|
|
61
|
-
/** The type of keys (must be string right now). */
|
|
62
|
-
keyType: TypeDef;
|
|
63
|
-
/** The type of values. */
|
|
64
|
-
valueType: TypeDef;
|
|
65
|
-
};
|
|
66
|
-
/** Definition of a field in a struct. */
|
|
67
|
-
export type FieldDef = {
|
|
68
|
-
/** The field name in code. */
|
|
69
|
-
name: string;
|
|
70
|
-
/** Human-readable name. */
|
|
71
|
-
displayName: string;
|
|
72
|
-
/** The field's type. */
|
|
73
|
-
type: TypeDef;
|
|
74
|
-
/** Optional description. */
|
|
75
|
-
description?: string;
|
|
76
|
-
deprecated?: Deprecation;
|
|
77
|
-
};
|
|
78
|
-
/** A struct type with named fields. */
|
|
79
|
-
export type StructTypeDef = {
|
|
80
|
-
fields: Array<FieldDef>;
|
|
81
|
-
};
|
|
82
|
-
/** Definition of a variant in a discriminated union. */
|
|
83
|
-
export type VariantDef = {
|
|
84
|
-
/** The variant's discriminator value. */
|
|
85
|
-
name: string;
|
|
86
|
-
/** The variant's payload type. */
|
|
87
|
-
type: TypeDef;
|
|
88
|
-
};
|
|
89
|
-
/** A discriminated union type. */
|
|
90
|
-
export type UnionTypeDef = {
|
|
91
|
-
variants: Array<VariantDef>;
|
|
92
|
-
};
|
|
93
|
-
/** Wraps a type to make it optional. */
|
|
94
|
-
export type OptionalTypeDef = {
|
|
95
|
-
/** The wrapped type. */
|
|
96
|
-
type: TypeDef;
|
|
97
|
-
};
|
|
98
|
-
/** A result type (ok or error). */
|
|
99
|
-
export type ResultTypeDef = {
|
|
100
|
-
/** The type of the success value. */
|
|
101
|
-
okType: TypeDef;
|
|
102
|
-
/** The type of the error value. */
|
|
103
|
-
errType: TypeDef;
|
|
104
|
-
};
|
|
105
|
-
/** A reference to a named type. */
|
|
106
|
-
export type TypeRef = {
|
|
107
|
-
/** The name of the referenced type. */
|
|
108
|
-
name: string;
|
|
109
|
-
};
|
|
110
|
-
/** A type definition. Can be a primitive, collection, struct, union, optional, result, or reference. */
|
|
111
|
-
export type TypeDef = Union<{
|
|
112
|
-
string: StringTypeDef;
|
|
113
|
-
boolean: BooleanTypeDef;
|
|
114
|
-
integer: IntegerTypeDef;
|
|
115
|
-
float: FloatTypeDef;
|
|
116
|
-
double: DoubleTypeDef;
|
|
117
|
-
date: DateTypeDef;
|
|
118
|
-
timestamp: TimestampTypeDef;
|
|
119
|
-
geopoint: GeopointTypeDef;
|
|
120
|
-
list: ListTypeDef;
|
|
121
|
-
map: MapTypeDef;
|
|
122
|
-
struct: StructTypeDef;
|
|
123
|
-
union: UnionTypeDef;
|
|
124
|
-
optional: OptionalTypeDef;
|
|
125
|
-
result: ResultTypeDef;
|
|
126
|
-
ref: TypeRef;
|
|
127
|
-
attachment: AttachmentTypeDef;
|
|
128
|
-
objectReference: ObjectReferenceTypeDef;
|
|
129
|
-
unknown: UnknownTypeDef;
|
|
130
|
-
}>;
|
|
131
|
-
/** A named type definition that can be referenced by other types. */
|
|
132
|
-
export type NamedTypeDef = {
|
|
133
|
-
/** The type's name for use in code. */
|
|
134
|
-
name: string;
|
|
135
|
-
/** Optional documentation for the type. */
|
|
136
|
-
description?: string;
|
|
137
|
-
deprecated?: Deprecation;
|
|
138
|
-
/** The type definition. */
|
|
139
|
-
type: TypeDef;
|
|
140
|
-
};
|
|
141
|
-
/** A supported image media type. */
|
|
142
|
-
export type ImageMediaType = "image/bmp" | "image/tiff" | "image/nitf" | "image/jp2" | "image/jpeg" | "image/png" | "image/gif" | "image/svg+xml" | "image/webp";
|
|
143
|
-
/** Constrains intrinsic pixel dimensions. */
|
|
144
|
-
export type DimensionsConstraint = {
|
|
145
|
-
width?: {
|
|
146
|
-
min?: integer;
|
|
147
|
-
max?: integer;
|
|
148
|
-
};
|
|
149
|
-
height?: {
|
|
150
|
-
min?: integer;
|
|
151
|
-
max?: integer;
|
|
152
|
-
};
|
|
153
|
-
};
|
|
154
|
-
/** Constraints specific to image attachments. */
|
|
155
|
-
export type ImageAttachmentConstraint = {
|
|
156
|
-
mediaTypes?: Array<ImageMediaType>;
|
|
157
|
-
dimensions?: DimensionsConstraint;
|
|
158
|
-
};
|
|
159
|
-
/** Content-specific attachment constraints. */
|
|
160
|
-
export type AttachmentContentConstraint = Union<{
|
|
161
|
-
image: ImageAttachmentConstraint;
|
|
162
|
-
}>;
|
|
163
|
-
/** Constraints applied to an attachment. */
|
|
164
|
-
export type AttachmentConstraint = {
|
|
165
|
-
size?: {
|
|
166
|
-
min?: double;
|
|
167
|
-
max?: double;
|
|
168
|
-
};
|
|
169
|
-
content?: AttachmentContentConstraint;
|
|
170
|
-
};
|
|
171
|
-
/** A file handle with optional constraints. */
|
|
172
|
-
export type AttachmentTypeDef = {
|
|
173
|
-
constraint?: AttachmentConstraint;
|
|
174
|
-
meta?: Record<string, unknown>;
|
|
175
|
-
};
|
|
176
|
-
/** A reference to an ontology object type. */
|
|
177
|
-
export type ObjectReferenceTypeDef = {
|
|
178
|
-
/** The referenced object type name. */
|
|
179
|
-
objectType: string;
|
|
180
|
-
};
|
|
181
|
-
/** A property on an Object type. */
|
|
182
|
-
export type PropertyDef = {
|
|
183
|
-
/** The property's name. */
|
|
184
|
-
name: string;
|
|
185
|
-
/** Human-readable name. */
|
|
186
|
-
displayName: string;
|
|
187
|
-
/** The property's type. */
|
|
188
|
-
type: TypeDef;
|
|
189
|
-
/** Optional description. */
|
|
190
|
-
description?: string;
|
|
191
|
-
deprecated?: Deprecation;
|
|
192
|
-
};
|
|
193
|
-
/** An object type in the ontology. */
|
|
194
|
-
export type ObjectTypeDef = {
|
|
195
|
-
/** The object type's programmatic name. */
|
|
196
|
-
name: string;
|
|
197
|
-
/** Human-readable name. */
|
|
198
|
-
displayName: string;
|
|
199
|
-
pluralDisplayName: string;
|
|
200
|
-
/** The name of the property that serves as primary key. */
|
|
201
|
-
primaryKey: string;
|
|
202
|
-
/** The optional property name used as the human-readable title for an object. */
|
|
203
|
-
title?: string;
|
|
204
|
-
/** Optional portable icon descriptor. */
|
|
205
|
-
icon?: IconDescriptor;
|
|
206
|
-
/** Optional display color independent of the icon. */
|
|
207
|
-
color?: string;
|
|
208
|
-
/** The object type's propertieo. */
|
|
209
|
-
properties: Array<PropertyDef>;
|
|
210
|
-
/** Optional description. */
|
|
211
|
-
description?: string;
|
|
212
|
-
deprecated?: Deprecation;
|
|
213
|
-
};
|
|
214
|
-
export type LinkTypeSideDef = {
|
|
215
|
-
objectType: string;
|
|
216
|
-
name: string;
|
|
217
|
-
displayName: string;
|
|
218
|
-
};
|
|
219
|
-
/** The cardinality of a link from the source's perspective. */
|
|
220
|
-
export type LinkCardinality = "one" | "many";
|
|
221
|
-
/** A relationship between two object types. */
|
|
222
|
-
export type LinkTypeDef = {
|
|
223
|
-
id: string;
|
|
224
|
-
source: LinkTypeSideDef;
|
|
225
|
-
target: LinkTypeSideDef;
|
|
226
|
-
/** The foreign key on the source. */
|
|
227
|
-
foreignKey: string;
|
|
228
|
-
/** How many sources are linked to the target. */
|
|
229
|
-
cardinality: "one" | "many";
|
|
230
|
-
};
|
|
231
|
-
/** A parameter of an Action type. */
|
|
232
|
-
export type ActionParameterDef = {
|
|
233
|
-
/** The parameter's name. */
|
|
234
|
-
name: string;
|
|
235
|
-
/** Human-readable name. */
|
|
236
|
-
displayName: string;
|
|
237
|
-
/** The parameter's type. */
|
|
238
|
-
type: TypeDef;
|
|
239
|
-
/** Optional description. */
|
|
240
|
-
description?: string;
|
|
241
|
-
deprecated?: Deprecation;
|
|
242
|
-
/** The expression used when the caller does not provide a value. */
|
|
243
|
-
defaultValue?: Expression;
|
|
244
|
-
};
|
|
245
|
-
/** Reads a named input from the root expression scope. */
|
|
246
|
-
export type InputReferenceExpression = {
|
|
247
|
-
name: string;
|
|
248
|
-
};
|
|
249
|
-
/** Reads a named lexically scoped expression binding. */
|
|
250
|
-
export type LocalReferenceExpression = {
|
|
251
|
-
name: string;
|
|
252
|
-
};
|
|
253
|
-
/** Reads a named value from the expression context. */
|
|
254
|
-
export type ContextReferenceExpression = {
|
|
255
|
-
name: string;
|
|
256
|
-
};
|
|
257
|
-
/** Reads a structural path from a source expression. */
|
|
258
|
-
export type GetAtExpression = {
|
|
259
|
-
source: Expression;
|
|
260
|
-
path: Array<string>;
|
|
261
|
-
};
|
|
262
|
-
/** Resolves an object reference to its ontology object. */
|
|
263
|
-
export type ObjectLookupExpression = {
|
|
264
|
-
reference: Expression;
|
|
265
|
-
};
|
|
266
|
-
/** Follows one named to-one ontology link from a source object. */
|
|
267
|
-
export type LinkHopExpression = {
|
|
268
|
-
source: Expression;
|
|
269
|
-
link: string;
|
|
270
|
-
};
|
|
271
|
-
/** A named field constructed by a struct expression. */
|
|
272
|
-
export type StructExpressionField = {
|
|
273
|
-
name: string;
|
|
274
|
-
value: Expression;
|
|
275
|
-
};
|
|
276
|
-
/** Constructs a struct value from field expressions. */
|
|
277
|
-
export type StructExpression = {
|
|
278
|
-
fields: Array<StructExpressionField>;
|
|
279
|
-
};
|
|
280
|
-
/** Maps each element of a list to a new value. */
|
|
281
|
-
export type MapExpression = {
|
|
282
|
-
source: Expression;
|
|
283
|
-
binding: string;
|
|
284
|
-
body: Expression;
|
|
285
|
-
};
|
|
286
|
-
/** Generates a UUID value. */
|
|
287
|
-
export type UuidExpression = Record<never, never>;
|
|
288
|
-
/** Returns the current timestamp. */
|
|
289
|
-
export type NowExpression = Record<never, never>;
|
|
290
|
-
/** A static literal value. */
|
|
291
|
-
export type LiteralExpression = {
|
|
292
|
-
/** The literal value. */
|
|
293
|
-
value: unknown;
|
|
294
|
-
};
|
|
295
|
-
/** An expression that resolves to a value. */
|
|
296
|
-
export type Expression = Union<{
|
|
297
|
-
inputReference: InputReferenceExpression;
|
|
298
|
-
contextReference: ContextReferenceExpression;
|
|
299
|
-
localReference: LocalReferenceExpression;
|
|
300
|
-
getAt: GetAtExpression;
|
|
301
|
-
objectLookup: ObjectLookupExpression;
|
|
302
|
-
linkHop: LinkHopExpression;
|
|
303
|
-
struct: StructExpression;
|
|
304
|
-
map: MapExpression;
|
|
305
|
-
uuid: UuidExpression;
|
|
306
|
-
now: NowExpression;
|
|
307
|
-
literal: LiteralExpression;
|
|
308
|
-
}>;
|
|
309
|
-
/** Assigns an expression to a property path on an object written by an action. */
|
|
310
|
-
export type PropertyAssignment = {
|
|
311
|
-
property: Array<string>;
|
|
312
|
-
value: Expression;
|
|
313
|
-
};
|
|
314
|
-
/** Creates an object and assigns property values. */
|
|
315
|
-
export type CreateObjectActionLogicStep = {
|
|
316
|
-
objectType: string;
|
|
317
|
-
values: Array<PropertyAssignment>;
|
|
318
|
-
};
|
|
319
|
-
/** Updates a referenced object and assigns property values. */
|
|
320
|
-
export type UpdateObjectActionLogicStep = {
|
|
321
|
-
object: InputReferenceExpression;
|
|
322
|
-
values: Array<PropertyAssignment>;
|
|
323
|
-
};
|
|
324
|
-
/** Deletes a referenced object. */
|
|
325
|
-
export type DeleteObjectActionLogicStep = {
|
|
326
|
-
object: InputReferenceExpression;
|
|
327
|
-
};
|
|
328
|
-
/** A logic step performed by an action. */
|
|
329
|
-
export type ActionLogicStep = Union<{
|
|
330
|
-
createObject: CreateObjectActionLogicStep;
|
|
331
|
-
updateObject: UpdateObjectActionLogicStep;
|
|
332
|
-
deleteObject: DeleteObjectActionLogicStep;
|
|
333
|
-
}>;
|
|
334
|
-
/** An action type in the ontology. */
|
|
335
|
-
export type ActionTypeDef = {
|
|
336
|
-
/** Provider-specific metadata used to execute this action. */
|
|
337
|
-
meta?: Record<string, unknown>;
|
|
338
|
-
/** The object type's programmatic name. */
|
|
339
|
-
name: string;
|
|
340
|
-
/** Human-readable name. */
|
|
341
|
-
displayName: string;
|
|
342
|
-
/** Optional portable icon descriptor. */
|
|
343
|
-
icon?: IconDescriptor;
|
|
344
|
-
/** Optional display color independent of the icon. */
|
|
345
|
-
color?: string;
|
|
346
|
-
/** The action type's parametero. */
|
|
347
|
-
parameters: Array<ActionParameterDef>;
|
|
348
|
-
/** The action type's local logic stepo. */
|
|
349
|
-
logic: Array<ActionLogicStep>;
|
|
350
|
-
/** Optional description. */
|
|
351
|
-
description?: string;
|
|
352
|
-
deprecated?: Deprecation;
|
|
353
|
-
};
|
|
354
|
-
/** A parameter accepted by a query function type. */
|
|
355
|
-
export type QueryFunctionParameterDef = {
|
|
356
|
-
/** The query function parameter's programmatic name. */
|
|
357
|
-
name: string;
|
|
358
|
-
/** Human-readable name. */
|
|
359
|
-
displayName: string;
|
|
360
|
-
type: TypeDef;
|
|
361
|
-
/** Optional description. */
|
|
362
|
-
description?: string;
|
|
363
|
-
deprecated?: Deprecation;
|
|
364
|
-
};
|
|
365
|
-
/** A runnable query function type in the ontology. */
|
|
366
|
-
export type QueryFunctionTypeDef = {
|
|
367
|
-
/** The query function type's programmatic name. */
|
|
368
|
-
name: string;
|
|
369
|
-
/** Human-readable name. */
|
|
370
|
-
displayName: string;
|
|
371
|
-
/** The query function type's parameters. */
|
|
372
|
-
parameters: Array<QueryFunctionParameterDef>;
|
|
373
|
-
/** The query function type's return type. */
|
|
374
|
-
returnType: TypeDef;
|
|
375
|
-
/** Optional description. */
|
|
376
|
-
description?: string;
|
|
377
|
-
deprecated?: Deprecation;
|
|
378
|
-
};
|
|
379
|
-
/** Moves a property from one path to another. */
|
|
380
|
-
export type MoveLensOp = {
|
|
381
|
-
from: Array<string>;
|
|
382
|
-
to: Array<string>;
|
|
383
|
-
};
|
|
384
|
-
/** Retains only the selected top-level properties. */
|
|
385
|
-
export type SelectLensOp = {
|
|
386
|
-
properties: Array<string>;
|
|
387
|
-
};
|
|
388
|
-
/** One schema and value transformation operation. */
|
|
389
|
-
export type LensOp = Union<{
|
|
390
|
-
move: MoveLensOp;
|
|
391
|
-
select: SelectLensOp;
|
|
392
|
-
}>;
|
|
393
|
-
/** An ordered sequence of source-to-target transformation operations. */
|
|
394
|
-
export type Lens = {
|
|
395
|
-
operations: Array<LensOp>;
|
|
396
|
-
};
|
|
397
|
-
/** The root ontology definition containing all type definitions. */
|
|
398
|
-
export type OntologyIR = {
|
|
399
|
-
/** Named, reusable value types. */
|
|
400
|
-
types: Array<NamedTypeDef>;
|
|
401
|
-
/** Object type definitions. */
|
|
402
|
-
objectTypes: Array<ObjectTypeDef>;
|
|
403
|
-
/** Relationship definitions between object types. */
|
|
404
|
-
linkTypes: Array<LinkTypeDef>;
|
|
405
|
-
/** Action type definitions. */
|
|
406
|
-
actionTypes: Array<ActionTypeDef>;
|
|
407
|
-
/** Query function type definitions. */
|
|
408
|
-
queryFunctionTypes: Array<QueryFunctionTypeDef>;
|
|
409
|
-
/** Optional typed execution context available to ontology expressions. */
|
|
410
|
-
contextType?: TypeDef;
|
|
411
|
-
};
|
|
412
|
-
//#endregion
|
|
413
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","names":["v.Union","v.integer","v.double"],"sources":["../../../src/ir/generated/types.ts"],"mappings":"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"}
|
package/lib/ir/index.d.ts
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { ActionLogicStep, ActionParameterDef, ActionTypeDef, AttachmentConstraint, AttachmentContentConstraint, AttachmentTypeDef, BooleanTypeDef, ContextReferenceExpression, CreateObjectActionLogicStep, DateTypeDef, DeleteObjectActionLogicStep, Deprecation, DimensionsConstraint, DoubleTypeDef, Expression, FieldDef, FloatTypeDef, GeopointTypeDef, GetAtExpression, IconDescriptor, IconName, ImageAttachmentConstraint, ImageMediaType, InputReferenceExpression, IntegerTypeDef, Lens, LensOp, LinkCardinality, LinkHopExpression, LinkTypeDef, LinkTypeSideDef, ListTypeDef, LiteralExpression, LocalReferenceExpression, MapExpression, MapTypeDef, MoveLensOp, NamedTypeDef, NowExpression, ObjectLookupExpression, ObjectReferenceTypeDef, ObjectTypeDef, OntologyIR, OptionalTypeDef, PropertyAssignment, PropertyDef, QueryFunctionParameterDef, QueryFunctionTypeDef, ResultTypeDef, SelectLensOp, StringConstraint, StringEnumConstraint, StringRegexConstraint, StringSuggestion, StringTypeDef, StructExpression, StructExpressionField, StructTypeDef, TimestampTypeDef, TypeDef, TypeRef, UnionTypeDef, UnknownTypeDef, UpdateObjectActionLogicStep, UuidExpression, VariantDef } from "./generated/types.js";
|
|
2
|
-
import { o } from "./generated/builders.js";
|
|
3
|
-
import { ValidationResult, validate } from "./validate.js";
|
|
4
|
-
export { ActionLogicStep, ActionParameterDef, ActionTypeDef, AttachmentConstraint, AttachmentContentConstraint, AttachmentTypeDef, BooleanTypeDef, ContextReferenceExpression, CreateObjectActionLogicStep, DateTypeDef, DeleteObjectActionLogicStep, Deprecation, DimensionsConstraint, DoubleTypeDef, Expression, FieldDef, FloatTypeDef, GeopointTypeDef, GetAtExpression, IconDescriptor, IconName, ImageAttachmentConstraint, ImageMediaType, InputReferenceExpression, IntegerTypeDef, Lens, LensOp, LinkCardinality, LinkHopExpression, LinkTypeDef, LinkTypeSideDef, ListTypeDef, LiteralExpression, LocalReferenceExpression, MapExpression, MapTypeDef, MoveLensOp, NamedTypeDef, NowExpression, ObjectLookupExpression, ObjectReferenceTypeDef, ObjectTypeDef, OntologyIR, OptionalTypeDef, PropertyAssignment, PropertyDef, QueryFunctionParameterDef, QueryFunctionTypeDef, ResultTypeDef, SelectLensOp, StringConstraint, StringEnumConstraint, StringRegexConstraint, StringSuggestion, StringTypeDef, StructExpression, StructExpressionField, StructTypeDef, TimestampTypeDef, TypeDef, TypeRef, UnionTypeDef, UnknownTypeDef, UpdateObjectActionLogicStep, UuidExpression, ValidationResult, VariantDef, o, validate };
|
package/lib/ir/index.js
DELETED