@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/examples/blog.d.ts
CHANGED
|
@@ -1,387 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
* Example: Blog ontology with Authors, Posts, and Comments.
|
|
4
|
-
*
|
|
5
|
-
* Demonstrates:
|
|
6
|
-
* - Object types with primary keys and typed properties
|
|
7
|
-
* - Value types (reusable structured types)
|
|
8
|
-
* - Link types with cardinality
|
|
9
|
-
* - Attachment properties (e.g. author avatar)
|
|
10
|
-
* - String enum constraints (e.g. post status)
|
|
11
|
-
* - Optional properties and timestamps
|
|
12
|
-
*/
|
|
13
|
-
declare const _default: {
|
|
14
|
-
types: {
|
|
15
|
-
name: string;
|
|
16
|
-
description: string;
|
|
17
|
-
type: {
|
|
18
|
-
kind: "struct";
|
|
19
|
-
value: {
|
|
20
|
-
readonly fields: [{
|
|
21
|
-
readonly name: "line1";
|
|
22
|
-
readonly displayName: "Line 1";
|
|
23
|
-
readonly type: {
|
|
24
|
-
kind: "string";
|
|
25
|
-
value: {};
|
|
26
|
-
};
|
|
27
|
-
}, {
|
|
28
|
-
readonly name: "line2";
|
|
29
|
-
readonly displayName: "Line 2";
|
|
30
|
-
readonly type: {
|
|
31
|
-
kind: "optional";
|
|
32
|
-
value: {
|
|
33
|
-
readonly type: {
|
|
34
|
-
kind: "string";
|
|
35
|
-
value: {};
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
}, {
|
|
40
|
-
readonly name: "city";
|
|
41
|
-
readonly displayName: "City";
|
|
42
|
-
readonly type: {
|
|
43
|
-
kind: "string";
|
|
44
|
-
value: {};
|
|
45
|
-
};
|
|
46
|
-
}, {
|
|
47
|
-
readonly name: "state";
|
|
48
|
-
readonly displayName: "State";
|
|
49
|
-
readonly type: {
|
|
50
|
-
kind: "string";
|
|
51
|
-
value: {};
|
|
52
|
-
};
|
|
53
|
-
}, {
|
|
54
|
-
readonly name: "zip";
|
|
55
|
-
readonly displayName: "ZIP";
|
|
56
|
-
readonly type: {
|
|
57
|
-
kind: "string";
|
|
58
|
-
value: {};
|
|
59
|
-
};
|
|
60
|
-
}];
|
|
61
|
-
};
|
|
62
|
-
};
|
|
63
|
-
}[];
|
|
64
|
-
objectTypes: ({
|
|
65
|
-
name: string;
|
|
66
|
-
displayName: string;
|
|
67
|
-
pluralDisplayName: string;
|
|
68
|
-
description: string;
|
|
69
|
-
primaryKey: string;
|
|
70
|
-
properties: ({
|
|
71
|
-
name: string;
|
|
72
|
-
displayName: string;
|
|
73
|
-
type: {
|
|
74
|
-
kind: "string";
|
|
75
|
-
value: {};
|
|
76
|
-
};
|
|
77
|
-
description?: undefined;
|
|
78
|
-
} | {
|
|
79
|
-
name: string;
|
|
80
|
-
displayName: string;
|
|
81
|
-
type: {
|
|
82
|
-
kind: "optional";
|
|
83
|
-
value: {
|
|
84
|
-
readonly type: {
|
|
85
|
-
kind: "string";
|
|
86
|
-
value: {};
|
|
87
|
-
};
|
|
88
|
-
};
|
|
89
|
-
};
|
|
90
|
-
description?: undefined;
|
|
91
|
-
} | {
|
|
92
|
-
name: string;
|
|
93
|
-
displayName: string;
|
|
94
|
-
description: string;
|
|
95
|
-
type: {
|
|
96
|
-
kind: "optional";
|
|
97
|
-
value: {
|
|
98
|
-
readonly type: {
|
|
99
|
-
kind: "attachment";
|
|
100
|
-
value: {};
|
|
101
|
-
};
|
|
102
|
-
};
|
|
103
|
-
};
|
|
104
|
-
} | {
|
|
105
|
-
description?: undefined;
|
|
106
|
-
name: string;
|
|
107
|
-
displayName: string;
|
|
108
|
-
type: {
|
|
109
|
-
kind: "optional";
|
|
110
|
-
value: {
|
|
111
|
-
readonly type: {
|
|
112
|
-
kind: "ref";
|
|
113
|
-
value: {
|
|
114
|
-
readonly name: "Address";
|
|
115
|
-
};
|
|
116
|
-
};
|
|
117
|
-
};
|
|
118
|
-
};
|
|
119
|
-
} | {
|
|
120
|
-
description?: undefined;
|
|
121
|
-
name: string;
|
|
122
|
-
displayName: string;
|
|
123
|
-
type: {
|
|
124
|
-
kind: "timestamp";
|
|
125
|
-
value: {};
|
|
126
|
-
};
|
|
127
|
-
})[];
|
|
128
|
-
} | {
|
|
129
|
-
name: string;
|
|
130
|
-
displayName: string;
|
|
131
|
-
pluralDisplayName: string;
|
|
132
|
-
description: string;
|
|
133
|
-
primaryKey: string;
|
|
134
|
-
properties: ({
|
|
135
|
-
name: string;
|
|
136
|
-
displayName: string;
|
|
137
|
-
type: {
|
|
138
|
-
kind: "string";
|
|
139
|
-
value: {};
|
|
140
|
-
};
|
|
141
|
-
} | {
|
|
142
|
-
name: string;
|
|
143
|
-
displayName: string;
|
|
144
|
-
type: {
|
|
145
|
-
kind: "optional";
|
|
146
|
-
value: {
|
|
147
|
-
readonly type: {
|
|
148
|
-
kind: "attachment";
|
|
149
|
-
value: {};
|
|
150
|
-
};
|
|
151
|
-
};
|
|
152
|
-
};
|
|
153
|
-
} | {
|
|
154
|
-
name: string;
|
|
155
|
-
displayName: string;
|
|
156
|
-
type: {
|
|
157
|
-
kind: "list";
|
|
158
|
-
value: {
|
|
159
|
-
readonly elementType: {
|
|
160
|
-
kind: "string";
|
|
161
|
-
value: {};
|
|
162
|
-
};
|
|
163
|
-
};
|
|
164
|
-
};
|
|
165
|
-
} | {
|
|
166
|
-
name: string;
|
|
167
|
-
displayName: string;
|
|
168
|
-
type: {
|
|
169
|
-
kind: "timestamp";
|
|
170
|
-
value: {};
|
|
171
|
-
};
|
|
172
|
-
} | {
|
|
173
|
-
name: string;
|
|
174
|
-
displayName: string;
|
|
175
|
-
type: {
|
|
176
|
-
kind: "optional";
|
|
177
|
-
value: {
|
|
178
|
-
readonly type: {
|
|
179
|
-
kind: "timestamp";
|
|
180
|
-
value: {};
|
|
181
|
-
};
|
|
182
|
-
};
|
|
183
|
-
};
|
|
184
|
-
})[];
|
|
185
|
-
})[];
|
|
186
|
-
linkTypes: ({
|
|
187
|
-
id: string;
|
|
188
|
-
source: {
|
|
189
|
-
objectType: string;
|
|
190
|
-
name: string;
|
|
191
|
-
displayName: string;
|
|
192
|
-
};
|
|
193
|
-
target: {
|
|
194
|
-
objectType: string;
|
|
195
|
-
name: string;
|
|
196
|
-
displayName: string;
|
|
197
|
-
};
|
|
198
|
-
foreignKey: string;
|
|
199
|
-
cardinality: "many";
|
|
200
|
-
} | {
|
|
201
|
-
id: string;
|
|
202
|
-
source: {
|
|
203
|
-
objectType: string;
|
|
204
|
-
name: string;
|
|
205
|
-
displayName: string;
|
|
206
|
-
};
|
|
207
|
-
target: {
|
|
208
|
-
objectType: string;
|
|
209
|
-
name: string;
|
|
210
|
-
displayName: string;
|
|
211
|
-
};
|
|
212
|
-
foreignKey: string;
|
|
213
|
-
cardinality: "one";
|
|
214
|
-
})[];
|
|
215
|
-
actionTypes: {
|
|
216
|
-
name: string;
|
|
217
|
-
displayName: string;
|
|
218
|
-
description: string;
|
|
219
|
-
parameters: ({
|
|
220
|
-
name: string;
|
|
221
|
-
displayName: string;
|
|
222
|
-
type: {
|
|
223
|
-
kind: "string";
|
|
224
|
-
value: {};
|
|
225
|
-
};
|
|
226
|
-
defaultValue: {
|
|
227
|
-
kind: "uuid";
|
|
228
|
-
value: {};
|
|
229
|
-
};
|
|
230
|
-
} | {
|
|
231
|
-
name: string;
|
|
232
|
-
displayName: string;
|
|
233
|
-
type: {
|
|
234
|
-
kind: "objectReference";
|
|
235
|
-
value: {
|
|
236
|
-
readonly objectType: "Author";
|
|
237
|
-
};
|
|
238
|
-
};
|
|
239
|
-
defaultValue?: undefined;
|
|
240
|
-
} | {
|
|
241
|
-
name: string;
|
|
242
|
-
displayName: string;
|
|
243
|
-
type: {
|
|
244
|
-
kind: "string";
|
|
245
|
-
value: {};
|
|
246
|
-
};
|
|
247
|
-
defaultValue?: undefined;
|
|
248
|
-
} | {
|
|
249
|
-
name: string;
|
|
250
|
-
displayName: string;
|
|
251
|
-
type: {
|
|
252
|
-
kind: "list";
|
|
253
|
-
value: {
|
|
254
|
-
readonly elementType: {
|
|
255
|
-
kind: "string";
|
|
256
|
-
value: {};
|
|
257
|
-
};
|
|
258
|
-
};
|
|
259
|
-
};
|
|
260
|
-
defaultValue?: undefined;
|
|
261
|
-
} | {
|
|
262
|
-
name: string;
|
|
263
|
-
displayName: string;
|
|
264
|
-
type: {
|
|
265
|
-
kind: "timestamp";
|
|
266
|
-
value: {};
|
|
267
|
-
};
|
|
268
|
-
defaultValue: {
|
|
269
|
-
kind: "now";
|
|
270
|
-
value: {};
|
|
271
|
-
};
|
|
272
|
-
})[];
|
|
273
|
-
logic: {
|
|
274
|
-
kind: "createObject";
|
|
275
|
-
value: {
|
|
276
|
-
readonly objectType: "Post";
|
|
277
|
-
readonly values: [{
|
|
278
|
-
readonly property: ["postId"];
|
|
279
|
-
readonly value: {
|
|
280
|
-
kind: "inputReference";
|
|
281
|
-
value: {
|
|
282
|
-
readonly name: "postId";
|
|
283
|
-
};
|
|
284
|
-
};
|
|
285
|
-
}, {
|
|
286
|
-
readonly property: ["title"];
|
|
287
|
-
readonly value: {
|
|
288
|
-
kind: "inputReference";
|
|
289
|
-
value: {
|
|
290
|
-
readonly name: "title";
|
|
291
|
-
};
|
|
292
|
-
};
|
|
293
|
-
}, {
|
|
294
|
-
readonly property: ["body"];
|
|
295
|
-
readonly value: {
|
|
296
|
-
kind: "inputReference";
|
|
297
|
-
value: {
|
|
298
|
-
readonly name: "body";
|
|
299
|
-
};
|
|
300
|
-
};
|
|
301
|
-
}, {
|
|
302
|
-
readonly property: ["authorId"];
|
|
303
|
-
readonly value: {
|
|
304
|
-
kind: "getAt";
|
|
305
|
-
value: {
|
|
306
|
-
readonly source: {
|
|
307
|
-
kind: "objectLookup";
|
|
308
|
-
value: {
|
|
309
|
-
readonly reference: {
|
|
310
|
-
kind: "inputReference";
|
|
311
|
-
value: {
|
|
312
|
-
readonly name: "author";
|
|
313
|
-
};
|
|
314
|
-
};
|
|
315
|
-
};
|
|
316
|
-
};
|
|
317
|
-
readonly path: ["authorId"];
|
|
318
|
-
};
|
|
319
|
-
};
|
|
320
|
-
}, {
|
|
321
|
-
readonly property: ["status"];
|
|
322
|
-
readonly value: {
|
|
323
|
-
kind: "inputReference";
|
|
324
|
-
value: {
|
|
325
|
-
readonly name: "status";
|
|
326
|
-
};
|
|
327
|
-
};
|
|
328
|
-
}, {
|
|
329
|
-
readonly property: ["tags"];
|
|
330
|
-
readonly value: {
|
|
331
|
-
kind: "inputReference";
|
|
332
|
-
value: {
|
|
333
|
-
readonly name: "tags";
|
|
334
|
-
};
|
|
335
|
-
};
|
|
336
|
-
}, {
|
|
337
|
-
readonly property: ["createdAt"];
|
|
338
|
-
readonly value: {
|
|
339
|
-
kind: "inputReference";
|
|
340
|
-
value: {
|
|
341
|
-
readonly name: "createdAt";
|
|
342
|
-
};
|
|
343
|
-
};
|
|
344
|
-
}];
|
|
345
|
-
};
|
|
346
|
-
}[];
|
|
347
|
-
}[];
|
|
348
|
-
queryFunctionTypes: {
|
|
349
|
-
name: string;
|
|
350
|
-
displayName: string;
|
|
351
|
-
description: string;
|
|
352
|
-
parameters: ({
|
|
353
|
-
name: string;
|
|
354
|
-
displayName: string;
|
|
355
|
-
type: {
|
|
356
|
-
kind: "string";
|
|
357
|
-
value: {};
|
|
358
|
-
};
|
|
359
|
-
} | {
|
|
360
|
-
name: string;
|
|
361
|
-
displayName: string;
|
|
362
|
-
type: {
|
|
363
|
-
kind: "optional";
|
|
364
|
-
value: {
|
|
365
|
-
readonly type: {
|
|
366
|
-
kind: "integer";
|
|
367
|
-
value: {};
|
|
368
|
-
};
|
|
369
|
-
};
|
|
370
|
-
};
|
|
371
|
-
})[];
|
|
372
|
-
returnType: {
|
|
373
|
-
kind: "list";
|
|
374
|
-
value: {
|
|
375
|
-
readonly elementType: {
|
|
376
|
-
kind: "objectReference";
|
|
377
|
-
value: {
|
|
378
|
-
readonly objectType: "Post";
|
|
379
|
-
};
|
|
380
|
-
};
|
|
381
|
-
};
|
|
382
|
-
};
|
|
383
|
-
}[];
|
|
384
|
-
};
|
|
385
|
-
//#endregion
|
|
386
|
-
export { _default as default };
|
|
387
|
-
//# sourceMappingURL=blog.d.ts.map
|
|
1
|
+
import blog_default from "@party-stack/ontology-spec/examples/blog";
|
|
2
|
+
export { blog_default as default };
|