@party-stack/ontology 0.19.0 → 0.19.1
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/lib/OntologyPullConfig.d.ts +15 -13
- package/lib/OntologyPullConfig.d.ts.map +1 -1
- package/lib/OntologyPullConfig.js +0 -1
- package/lib/_virtual/_rolldown/runtime.js +13 -0
- package/lib/cli/format.d.ts +4 -0
- package/lib/cli/format.d.ts.map +1 -0
- package/lib/cli/format.js +19 -0
- package/lib/cli/format.js.map +1 -0
- package/lib/cli/generate.d.ts +6 -5
- package/lib/cli/generate.d.ts.map +1 -1
- package/lib/cli/generate.js +86 -110
- package/lib/cli/generate.js.map +1 -1
- package/lib/cli/index.d.ts +1 -3
- package/lib/cli/index.js +42 -59
- package/lib/cli/index.js.map +1 -1
- package/lib/cli/pull.d.ts +3 -1
- package/lib/cli/pull.d.ts.map +1 -1
- package/lib/cli/pull.js +42 -60
- package/lib/cli/pull.js.map +1 -1
- package/lib/examples/blog.d.ts +347 -345
- package/lib/examples/blog.d.ts.map +1 -1
- package/lib/examples/blog.js +350 -337
- package/lib/examples/blog.js.map +1 -1
- package/lib/examples/blog.live-queries.d.ts +8 -3
- package/lib/examples/blog.live-queries.d.ts.map +1 -1
- package/lib/examples/blog.live-queries.js +28 -44
- package/lib/examples/blog.live-queries.js.map +1 -1
- package/lib/examples/generated/constants.d.ts +1 -2
- package/lib/examples/generated/constants.js +0 -2
- package/lib/examples/generated/live.d.ts +5 -3
- package/lib/examples/generated/live.d.ts.map +1 -1
- package/lib/examples/generated/live.js +12 -8
- package/lib/examples/generated/live.js.map +1 -1
- package/lib/examples/generated/types.d.ts +52 -50
- package/lib/examples/generated/types.d.ts.map +1 -1
- package/lib/examples/generated/types.js +0 -2
- package/lib/generate/builders.d.ts +8 -5
- package/lib/generate/builders.d.ts.map +1 -1
- package/lib/generate/builders.js +53 -55
- package/lib/generate/builders.js.map +1 -1
- package/lib/generate/constants.d.ts +3 -1
- package/lib/generate/constants.d.ts.map +1 -1
- package/lib/generate/constants.js +23 -26
- package/lib/generate/constants.js.map +1 -1
- package/lib/generate/index.d.ts +6 -6
- package/lib/generate/index.js +6 -6
- package/lib/generate/live.d.ts +8 -6
- package/lib/generate/live.d.ts.map +1 -1
- package/lib/generate/live.js +43 -42
- package/lib/generate/live.js.map +1 -1
- package/lib/generate/ontology.d.ts +4 -2
- package/lib/generate/ontology.d.ts.map +1 -1
- package/lib/generate/ontology.js +453 -354
- package/lib/generate/ontology.js.map +1 -1
- package/lib/generate/types.d.ts +7 -6
- package/lib/generate/types.d.ts.map +1 -1
- package/lib/generate/types.js +190 -262
- package/lib/generate/types.js.map +1 -1
- package/lib/generate/utils/buildJsDocs.d.ts +7 -4
- package/lib/generate/utils/buildJsDocs.d.ts.map +1 -1
- package/lib/generate/utils/buildJsDocs.js +14 -10
- package/lib/generate/utils/buildJsDocs.js.map +1 -1
- package/lib/index.d.ts +30 -13
- package/lib/index.js +18 -10
- package/lib/infer.d.ts +129 -152
- package/lib/infer.d.ts.map +1 -1
- package/lib/infer.js +10 -6
- package/lib/infer.js.map +1 -1
- package/lib/installation/createMetaOntologyConfiguration.d.ts +6 -3
- package/lib/installation/createMetaOntologyConfiguration.d.ts.map +1 -1
- package/lib/installation/createMetaOntologyConfiguration.js +13 -11
- package/lib/installation/createMetaOntologyConfiguration.js.map +1 -1
- package/lib/installation/createOntologyBackendInstallation.d.ts +3 -1
- package/lib/installation/createOntologyBackendInstallation.d.ts.map +1 -1
- package/lib/installation/createOntologyBackendInstallation.js +205 -268
- package/lib/installation/createOntologyBackendInstallation.js.map +1 -1
- package/lib/installation/index.d.ts +4 -4
- package/lib/installation/index.js +3 -3
- package/lib/installation/types.d.ts +83 -80
- package/lib/installation/types.d.ts.map +1 -1
- package/lib/installation/types.js +0 -1
- package/lib/ir/generated/builders.d.ts +294 -382
- package/lib/ir/generated/builders.d.ts.map +1 -1
- package/lib/ir/generated/builders.js +180 -119
- package/lib/ir/generated/builders.js.map +1 -1
- package/lib/ir/generated/constants.d.ts +137 -135
- package/lib/ir/generated/constants.d.ts.map +1 -1
- package/lib/ir/generated/constants.js +162 -129
- package/lib/ir/generated/constants.js.map +1 -1
- package/lib/ir/generated/types.d.ts +239 -234
- package/lib/ir/generated/types.d.ts.map +1 -1
- package/lib/ir/generated/types.js +0 -2
- package/lib/ir/index.d.ts +4 -4
- package/lib/ir/index.js +3 -4
- package/lib/ir/schema.d.ts +2174 -2172
- package/lib/ir/schema.d.ts.map +1 -1
- package/lib/ir/schema.js +1184 -1343
- package/lib/ir/schema.js.map +1 -1
- package/lib/ir/validate.d.ts +5 -3
- package/lib/ir/validate.d.ts.map +1 -1
- package/lib/ir/validate.js +589 -707
- package/lib/ir/validate.js.map +1 -1
- package/lib/json/index.d.ts +10 -8
- package/lib/json/index.d.ts.map +1 -1
- package/lib/json/index.js +101 -135
- package/lib/json/index.js.map +1 -1
- package/lib/lenses.d.ts +7 -4
- package/lib/lenses.d.ts.map +1 -1
- package/lib/lenses.js +96 -132
- package/lib/lenses.js.map +1 -1
- package/lib/live/LiveOntology.d.ts +55 -60
- package/lib/live/LiveOntology.d.ts.map +1 -1
- package/lib/live/LiveOntology.js +98 -124
- package/lib/live/LiveOntology.js.map +1 -1
- package/lib/live/OntologyBackendAdapter.d.ts +79 -76
- package/lib/live/OntologyBackendAdapter.d.ts.map +1 -1
- package/lib/live/OntologyBackendAdapter.js +0 -1
- package/lib/live/actions/createLiveOntologyAction.d.ts +27 -24
- package/lib/live/actions/createLiveOntologyAction.d.ts.map +1 -1
- package/lib/live/actions/createLiveOntologyAction.js +24 -21
- package/lib/live/actions/createLiveOntologyAction.js.map +1 -1
- package/lib/live/actions/createLiveOntologyActions.d.ts +23 -20
- package/lib/live/actions/createLiveOntologyActions.d.ts.map +1 -1
- package/lib/live/actions/createLiveOntologyActions.js +131 -161
- package/lib/live/actions/createLiveOntologyActions.js.map +1 -1
- package/lib/live/actions/prepareActionParameters.d.ts +14 -11
- package/lib/live/actions/prepareActionParameters.d.ts.map +1 -1
- package/lib/live/actions/prepareActionParameters.js +190 -228
- package/lib/live/actions/prepareActionParameters.js.map +1 -1
- package/lib/live/attachments/attachmentSources.d.ts +7 -4
- package/lib/live/attachments/attachmentSources.d.ts.map +1 -1
- package/lib/live/attachments/attachmentSources.js +55 -71
- package/lib/live/attachments/attachmentSources.js.map +1 -1
- package/lib/live/attachments/createLiveOntologyAttachments.d.ts +47 -45
- package/lib/live/attachments/createLiveOntologyAttachments.d.ts.map +1 -1
- package/lib/live/attachments/createLiveOntologyAttachments.js +65 -83
- package/lib/live/attachments/createLiveOntologyAttachments.js.map +1 -1
- package/lib/live/attachments/types.d.ts +10 -9
- package/lib/live/attachments/types.d.ts.map +1 -1
- package/lib/live/attachments/types.js +0 -1
- package/lib/live/attachments/unsupportedOntologyAttachmentsAdapter.d.ts +3 -1
- package/lib/live/attachments/unsupportedOntologyAttachmentsAdapter.d.ts.map +1 -1
- package/lib/live/attachments/unsupportedOntologyAttachmentsAdapter.js +5 -3
- package/lib/live/attachments/unsupportedOntologyAttachmentsAdapter.js.map +1 -1
- package/lib/live/expression.d.ts +16 -14
- package/lib/live/expression.d.ts.map +1 -1
- package/lib/live/expression.js +142 -223
- package/lib/live/expression.js.map +1 -1
- package/lib/live/index.d.ts +12 -9
- package/lib/live/index.js +6 -8
- package/lib/live/mutators/OntologyEdits.d.ts +12 -9
- package/lib/live/mutators/OntologyEdits.d.ts.map +1 -1
- package/lib/live/mutators/OntologyEdits.js +57 -74
- package/lib/live/mutators/OntologyEdits.js.map +1 -1
- package/lib/live/mutators/createMutatorTx.d.ts +7 -5
- package/lib/live/mutators/createMutatorTx.d.ts.map +1 -1
- package/lib/live/mutators/createMutatorTx.js +53 -69
- package/lib/live/mutators/createMutatorTx.js.map +1 -1
- package/lib/live/mutators/runOptimisticAction.d.ts +16 -13
- package/lib/live/mutators/runOptimisticAction.d.ts.map +1 -1
- package/lib/live/mutators/runOptimisticAction.js +26 -26
- package/lib/live/mutators/runOptimisticAction.js.map +1 -1
- package/lib/live/mutators/types.d.ts +18 -16
- package/lib/live/mutators/types.d.ts.map +1 -1
- package/lib/live/mutators/types.js +0 -1
- package/lib/live/objects/OntologyObject.d.ts +2 -0
- package/lib/live/objects/OntologyObject.d.ts.map +1 -1
- package/lib/live/objects/OntologyObject.js +0 -1
- package/lib/live/objects/createLiveOntologyObjectCollection.d.ts +13 -10
- package/lib/live/objects/createLiveOntologyObjectCollection.d.ts.map +1 -1
- package/lib/live/objects/createLiveOntologyObjectCollection.js +48 -49
- package/lib/live/objects/createLiveOntologyObjectCollection.js.map +1 -1
- package/lib/live/objects/ontologyObjectCollectionId.d.ts +2 -0
- package/lib/live/objects/ontologyObjectCollectionId.d.ts.map +1 -1
- package/lib/live/objects/ontologyObjectCollectionId.js +6 -2
- package/lib/live/objects/ontologyObjectCollectionId.js.map +1 -1
- package/lib/live/outbox/createOntologyOutbox.d.ts +16 -14
- package/lib/live/outbox/createOntologyOutbox.d.ts.map +1 -1
- package/lib/live/outbox/createOntologyOutbox.js +275 -326
- package/lib/live/outbox/createOntologyOutbox.js.map +1 -1
- package/lib/live/outbox/leaderExecutor.d.ts +15 -13
- package/lib/live/outbox/leaderExecutor.d.ts.map +1 -1
- package/lib/live/outbox/leaderExecutor.js +114 -153
- package/lib/live/outbox/leaderExecutor.js.map +1 -1
- package/lib/live/outbox/outboxService.d.ts +4 -2
- package/lib/live/outbox/outboxService.d.ts.map +1 -1
- package/lib/live/outbox/outboxService.js +66 -71
- package/lib/live/outbox/outboxService.js.map +1 -1
- package/lib/live/outbox/projectionManager.d.ts +26 -24
- package/lib/live/outbox/projectionManager.d.ts.map +1 -1
- package/lib/live/outbox/projectionManager.js +121 -147
- package/lib/live/outbox/projectionManager.js.map +1 -1
- package/lib/live/outbox/repository.d.ts +27 -25
- package/lib/live/outbox/repository.d.ts.map +1 -1
- package/lib/live/outbox/repository.js +192 -241
- package/lib/live/outbox/repository.js.map +1 -1
- package/lib/live/outbox/service.d.ts +52 -50
- package/lib/live/outbox/service.d.ts.map +1 -1
- package/lib/live/outbox/service.js +5 -1
- package/lib/live/outbox/service.js.map +1 -1
- package/lib/live/outbox/types.d.ts +35 -33
- package/lib/live/outbox/types.d.ts.map +1 -1
- package/lib/live/outbox/types.js +10 -6
- package/lib/live/outbox/types.js.map +1 -1
- package/lib/live/waitForCollectionReady.d.ts +3 -1
- package/lib/live/waitForCollectionReady.d.ts.map +1 -1
- package/lib/live/waitForCollectionReady.js +44 -65
- package/lib/live/waitForCollectionReady.js.map +1 -1
- package/lib/meta/createLocalMetaOntologyBackendAdapter.d.ts +5 -2
- package/lib/meta/createLocalMetaOntologyBackendAdapter.d.ts.map +1 -1
- package/lib/meta/createLocalMetaOntologyBackendAdapter.js +37 -39
- package/lib/meta/createLocalMetaOntologyBackendAdapter.js.map +1 -1
- package/lib/meta/generated/constants.d.ts +137 -135
- package/lib/meta/generated/constants.d.ts.map +1 -1
- package/lib/meta/generated/constants.js +162 -129
- package/lib/meta/generated/constants.js.map +1 -1
- package/lib/meta/generated/live.d.ts +5 -2
- package/lib/meta/generated/live.d.ts.map +1 -1
- package/lib/meta/generated/live.js +12 -8
- package/lib/meta/generated/live.js.map +1 -1
- package/lib/meta/generated/types.d.ts +233 -231
- package/lib/meta/generated/types.d.ts.map +1 -1
- package/lib/meta/generated/types.js +0 -2
- package/lib/meta/ontology.d.ts +23 -21
- package/lib/meta/ontology.d.ts.map +1 -1
- package/lib/meta/ontology.js +100 -104
- package/lib/meta/ontology.js.map +1 -1
- package/lib/meta/pull.d.ts +8 -6
- package/lib/meta/pull.d.ts.map +1 -1
- package/lib/meta/pull.js +39 -52
- package/lib/meta/pull.js.map +1 -1
- package/lib/utils/index.d.ts +8 -8
- package/lib/utils/index.js +5 -6
- package/lib/utils/links.d.ts +34 -32
- package/lib/utils/links.d.ts.map +1 -1
- package/lib/utils/links.js +10 -17
- package/lib/utils/links.js.map +1 -1
- package/lib/utils/paths.d.ts +2 -0
- package/lib/utils/paths.d.ts.map +1 -1
- package/lib/utils/paths.js +32 -44
- package/lib/utils/paths.js.map +1 -1
- package/lib/utils/provide.d.ts +2 -0
- package/lib/utils/provide.d.ts.map +1 -1
- package/lib/utils/provide.js +7 -9
- package/lib/utils/provide.js.map +1 -1
- package/lib/utils/targets.d.ts +20 -18
- package/lib/utils/targets.d.ts.map +1 -1
- package/lib/utils/targets.js +0 -1
- package/lib/utils/typeNames.d.ts +10 -8
- package/lib/utils/typeNames.d.ts.map +1 -1
- package/lib/utils/typeNames.js +0 -1
- package/lib/utils/types.d.ts +6 -4
- package/lib/utils/types.d.ts.map +1 -1
- package/lib/utils/types.js +38 -38
- package/lib/utils/types.js.map +1 -1
- package/lib/utils/uncertain.d.ts +5 -3
- package/lib/utils/uncertain.d.ts.map +1 -1
- package/lib/utils/uncertain.js +11 -9
- package/lib/utils/uncertain.js.map +1 -1
- package/lib/utils/validation.d.ts +4 -2
- package/lib/utils/validation.d.ts.map +1 -1
- package/lib/utils/validation.js +0 -1
- package/lib/utils/values.d.ts +21 -18
- package/lib/utils/values.d.ts.map +1 -1
- package/lib/utils/values.js +0 -1
- package/package.json +19 -23
- package/lib/OntologyPullConfig.js.map +0 -1
- package/lib/cli/index.d.ts.map +0 -1
- package/lib/cli/index.test.d.ts +0 -2
- package/lib/cli/index.test.d.ts.map +0 -1
- package/lib/cli/index.test.js +0 -34
- package/lib/cli/index.test.js.map +0 -1
- package/lib/cli/pull.test.d.ts +0 -2
- package/lib/cli/pull.test.d.ts.map +0 -1
- package/lib/cli/pull.test.js +0 -125
- package/lib/cli/pull.test.js.map +0 -1
- package/lib/examples/generated/constants.d.ts.map +0 -1
- package/lib/examples/generated/constants.js.map +0 -1
- package/lib/examples/generated/types.js.map +0 -1
- package/lib/generate/builders.test.d.ts +0 -2
- package/lib/generate/builders.test.d.ts.map +0 -1
- package/lib/generate/builders.test.js +0 -49
- package/lib/generate/builders.test.js.map +0 -1
- package/lib/generate/index.d.ts.map +0 -1
- package/lib/generate/index.js.map +0 -1
- package/lib/generate/live.test.d.ts +0 -2
- package/lib/generate/live.test.d.ts.map +0 -1
- package/lib/generate/live.test.js +0 -22
- package/lib/generate/live.test.js.map +0 -1
- package/lib/generate/ontology.test.d.ts +0 -2
- package/lib/generate/ontology.test.d.ts.map +0 -1
- package/lib/generate/ontology.test.js +0 -157
- package/lib/generate/ontology.test.js.map +0 -1
- package/lib/generate/types.test.d.ts +0 -2
- package/lib/generate/types.test.d.ts.map +0 -1
- package/lib/generate/types.test.js +0 -304
- package/lib/generate/types.test.js.map +0 -1
- package/lib/index.d.ts.map +0 -1
- package/lib/index.js.map +0 -1
- package/lib/infer.test.d.ts +0 -2
- package/lib/infer.test.d.ts.map +0 -1
- package/lib/infer.test.js +0 -125
- package/lib/infer.test.js.map +0 -1
- package/lib/installation/createMetaOntologyConfiguration.test.d.ts +0 -2
- package/lib/installation/createMetaOntologyConfiguration.test.d.ts.map +0 -1
- package/lib/installation/createMetaOntologyConfiguration.test.js +0 -20
- package/lib/installation/createMetaOntologyConfiguration.test.js.map +0 -1
- package/lib/installation/createOntologyBackendInstallation.test.d.ts +0 -2
- package/lib/installation/createOntologyBackendInstallation.test.d.ts.map +0 -1
- package/lib/installation/createOntologyBackendInstallation.test.js +0 -320
- package/lib/installation/createOntologyBackendInstallation.test.js.map +0 -1
- package/lib/installation/index.d.ts.map +0 -1
- package/lib/installation/index.js.map +0 -1
- package/lib/installation/types.js.map +0 -1
- package/lib/ir/generated/types.js.map +0 -1
- package/lib/ir/index.d.ts.map +0 -1
- package/lib/ir/index.js.map +0 -1
- package/lib/ir/validate.test.d.ts +0 -2
- package/lib/ir/validate.test.d.ts.map +0 -1
- package/lib/ir/validate.test.js +0 -1061
- package/lib/ir/validate.test.js.map +0 -1
- package/lib/json/index.test.d.ts +0 -2
- package/lib/json/index.test.d.ts.map +0 -1
- package/lib/json/index.test.js +0 -142
- package/lib/json/index.test.js.map +0 -1
- package/lib/lenses.test.d.ts +0 -2
- package/lib/lenses.test.d.ts.map +0 -1
- package/lib/lenses.test.js +0 -80
- package/lib/lenses.test.js.map +0 -1
- package/lib/live/LiveOntology.test.d.ts +0 -2
- package/lib/live/LiveOntology.test.d.ts.map +0 -1
- package/lib/live/LiveOntology.test.js +0 -507
- package/lib/live/LiveOntology.test.js.map +0 -1
- package/lib/live/OntologyBackendAdapter.js.map +0 -1
- package/lib/live/actions/createLiveOntologyAction.test.d.ts +0 -2
- package/lib/live/actions/createLiveOntologyAction.test.d.ts.map +0 -1
- package/lib/live/actions/createLiveOntologyAction.test.js +0 -232
- package/lib/live/actions/createLiveOntologyAction.test.js.map +0 -1
- package/lib/live/actions/prepareActionParameters.test.d.ts +0 -2
- package/lib/live/actions/prepareActionParameters.test.d.ts.map +0 -1
- package/lib/live/actions/prepareActionParameters.test.js +0 -165
- package/lib/live/actions/prepareActionParameters.test.js.map +0 -1
- package/lib/live/attachments/attachmentMetadata.test.d.ts +0 -2
- package/lib/live/attachments/attachmentMetadata.test.d.ts.map +0 -1
- package/lib/live/attachments/attachmentMetadata.test.js +0 -73
- package/lib/live/attachments/attachmentMetadata.test.js.map +0 -1
- package/lib/live/attachments/createLiveOntologyAttachments.test.d.ts +0 -2
- package/lib/live/attachments/createLiveOntologyAttachments.test.d.ts.map +0 -1
- package/lib/live/attachments/createLiveOntologyAttachments.test.js +0 -363
- package/lib/live/attachments/createLiveOntologyAttachments.test.js.map +0 -1
- package/lib/live/attachments/types.js.map +0 -1
- package/lib/live/expression.test.d.ts +0 -2
- package/lib/live/expression.test.d.ts.map +0 -1
- package/lib/live/expression.test.js +0 -311
- package/lib/live/expression.test.js.map +0 -1
- package/lib/live/index.d.ts.map +0 -1
- package/lib/live/index.js.map +0 -1
- package/lib/live/mutators/OntologyEdits.test.d.ts +0 -2
- package/lib/live/mutators/OntologyEdits.test.d.ts.map +0 -1
- package/lib/live/mutators/OntologyEdits.test.js +0 -85
- package/lib/live/mutators/OntologyEdits.test.js.map +0 -1
- package/lib/live/mutators/createMutatorTx.test.d.ts +0 -2
- package/lib/live/mutators/createMutatorTx.test.d.ts.map +0 -1
- package/lib/live/mutators/createMutatorTx.test.js +0 -180
- package/lib/live/mutators/createMutatorTx.test.js.map +0 -1
- package/lib/live/mutators/types.js.map +0 -1
- package/lib/live/objects/OntologyObject.js.map +0 -1
- package/lib/live/objects/createLiveOntologyObjectCollection.test.d.ts +0 -2
- package/lib/live/objects/createLiveOntologyObjectCollection.test.d.ts.map +0 -1
- package/lib/live/objects/createLiveOntologyObjectCollection.test.js +0 -310
- package/lib/live/objects/createLiveOntologyObjectCollection.test.js.map +0 -1
- package/lib/live/outbox/createOntologyOutbox.test.d.ts +0 -2
- package/lib/live/outbox/createOntologyOutbox.test.d.ts.map +0 -1
- package/lib/live/outbox/createOntologyOutbox.test.js +0 -1030
- package/lib/live/outbox/createOntologyOutbox.test.js.map +0 -1
- package/lib/meta/generated/types.js.map +0 -1
- package/lib/meta/ontology.test.d.ts +0 -2
- package/lib/meta/ontology.test.d.ts.map +0 -1
- package/lib/meta/ontology.test.js +0 -84
- package/lib/meta/ontology.test.js.map +0 -1
- package/lib/utils/index.d.ts.map +0 -1
- package/lib/utils/index.js.map +0 -1
- package/lib/utils/links.test.d.ts +0 -2
- package/lib/utils/links.test.d.ts.map +0 -1
- package/lib/utils/links.test.js +0 -109
- package/lib/utils/links.test.js.map +0 -1
- package/lib/utils/paths.test.d.ts +0 -2
- package/lib/utils/paths.test.d.ts.map +0 -1
- package/lib/utils/paths.test.js +0 -33
- package/lib/utils/paths.test.js.map +0 -1
- package/lib/utils/targets.js.map +0 -1
- package/lib/utils/typeNames.js.map +0 -1
- package/lib/utils/types.test.d.ts +0 -2
- package/lib/utils/types.test.d.ts.map +0 -1
- package/lib/utils/types.test.js +0 -157
- package/lib/utils/types.test.js.map +0 -1
- package/lib/utils/uncertain.test.d.ts +0 -2
- package/lib/utils/uncertain.test.d.ts.map +0 -1
- package/lib/utils/uncertain.test.js +0 -14
- package/lib/utils/uncertain.test.js.map +0 -1
- package/lib/utils/validation.js.map +0 -1
- package/lib/utils/values.js.map +0 -1
|
@@ -1,468 +1,380 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { ActionLogicStep as ActionLogicStep$1, AttachmentContentConstraint as AttachmentContentConstraint$1, Expression as Expression$1, LensOp as LensOp$1, StringConstraint as StringConstraint$1, TypeDef, types_d_exports } from "./types.js";
|
|
2
|
+
//#region src/ir/generated/builders.d.ts
|
|
3
|
+
export declare const string: <const Value extends Extract<TypeDef, {
|
|
4
|
+
kind: "string";
|
|
4
5
|
}>["value"]>(value: Value) => {
|
|
5
|
-
|
|
6
|
-
|
|
6
|
+
kind: "string";
|
|
7
|
+
value: Value;
|
|
7
8
|
};
|
|
8
|
-
export declare const boolean: <const Value extends Extract<
|
|
9
|
-
|
|
9
|
+
export declare const boolean: <const Value extends Extract<TypeDef, {
|
|
10
|
+
kind: "boolean";
|
|
10
11
|
}>["value"]>(value: Value) => {
|
|
11
|
-
|
|
12
|
-
|
|
12
|
+
kind: "boolean";
|
|
13
|
+
value: Value;
|
|
13
14
|
};
|
|
14
|
-
export declare const integer: <const Value extends Extract<
|
|
15
|
-
|
|
15
|
+
export declare const integer: <const Value extends Extract<TypeDef, {
|
|
16
|
+
kind: "integer";
|
|
16
17
|
}>["value"]>(value: Value) => {
|
|
17
|
-
|
|
18
|
-
|
|
18
|
+
kind: "integer";
|
|
19
|
+
value: Value;
|
|
19
20
|
};
|
|
20
|
-
export declare const float: <const Value extends Extract<
|
|
21
|
-
|
|
21
|
+
export declare const float: <const Value extends Extract<TypeDef, {
|
|
22
|
+
kind: "float";
|
|
22
23
|
}>["value"]>(value: Value) => {
|
|
23
|
-
|
|
24
|
-
|
|
24
|
+
kind: "float";
|
|
25
|
+
value: Value;
|
|
25
26
|
};
|
|
26
|
-
export declare const double: <const Value extends Extract<
|
|
27
|
-
|
|
27
|
+
export declare const double: <const Value extends Extract<TypeDef, {
|
|
28
|
+
kind: "double";
|
|
28
29
|
}>["value"]>(value: Value) => {
|
|
29
|
-
|
|
30
|
-
|
|
30
|
+
kind: "double";
|
|
31
|
+
value: Value;
|
|
31
32
|
};
|
|
32
|
-
export declare const date: <const Value extends Extract<
|
|
33
|
-
|
|
33
|
+
export declare const date: <const Value extends Extract<TypeDef, {
|
|
34
|
+
kind: "date";
|
|
34
35
|
}>["value"]>(value: Value) => {
|
|
35
|
-
|
|
36
|
-
|
|
36
|
+
kind: "date";
|
|
37
|
+
value: Value;
|
|
37
38
|
};
|
|
38
|
-
export declare const timestamp: <const Value extends Extract<
|
|
39
|
-
|
|
39
|
+
export declare const timestamp: <const Value extends Extract<TypeDef, {
|
|
40
|
+
kind: "timestamp";
|
|
40
41
|
}>["value"]>(value: Value) => {
|
|
41
|
-
|
|
42
|
-
|
|
42
|
+
kind: "timestamp";
|
|
43
|
+
value: Value;
|
|
43
44
|
};
|
|
44
|
-
export declare const geopoint: <const Value extends Extract<
|
|
45
|
-
|
|
45
|
+
export declare const geopoint: <const Value extends Extract<TypeDef, {
|
|
46
|
+
kind: "geopoint";
|
|
46
47
|
}>["value"]>(value: Value) => {
|
|
47
|
-
|
|
48
|
-
|
|
48
|
+
kind: "geopoint";
|
|
49
|
+
value: Value;
|
|
49
50
|
};
|
|
50
|
-
export declare const list: <const Value extends Extract<
|
|
51
|
-
|
|
51
|
+
export declare const list: <const Value extends Extract<TypeDef, {
|
|
52
|
+
kind: "list";
|
|
52
53
|
}>["value"]>(value: Value) => {
|
|
53
|
-
|
|
54
|
-
|
|
54
|
+
kind: "list";
|
|
55
|
+
value: Value;
|
|
55
56
|
};
|
|
56
|
-
export declare const map: <const Value extends Extract<
|
|
57
|
-
|
|
57
|
+
export declare const map: <const Value extends Extract<TypeDef, {
|
|
58
|
+
kind: "map";
|
|
58
59
|
}>["value"]>(value: Value) => {
|
|
59
|
-
|
|
60
|
-
|
|
60
|
+
kind: "map";
|
|
61
|
+
value: Value;
|
|
61
62
|
};
|
|
62
|
-
export declare const struct: <const Value extends Extract<
|
|
63
|
-
|
|
63
|
+
export declare const struct: <const Value extends Extract<TypeDef, {
|
|
64
|
+
kind: "struct";
|
|
64
65
|
}>["value"]>(value: Value) => {
|
|
65
|
-
|
|
66
|
-
|
|
66
|
+
kind: "struct";
|
|
67
|
+
value: Value;
|
|
67
68
|
};
|
|
68
|
-
export declare const union: <const Value extends Extract<
|
|
69
|
-
|
|
69
|
+
export declare const union: <const Value extends Extract<TypeDef, {
|
|
70
|
+
kind: "union";
|
|
70
71
|
}>["value"]>(value: Value) => {
|
|
71
|
-
|
|
72
|
-
|
|
72
|
+
kind: "union";
|
|
73
|
+
value: Value;
|
|
73
74
|
};
|
|
74
|
-
export declare const optional: <const Value extends Extract<
|
|
75
|
-
|
|
75
|
+
export declare const optional: <const Value extends Extract<TypeDef, {
|
|
76
|
+
kind: "optional";
|
|
76
77
|
}>["value"]>(value: Value) => {
|
|
77
|
-
|
|
78
|
-
|
|
78
|
+
kind: "optional";
|
|
79
|
+
value: Value;
|
|
79
80
|
};
|
|
80
|
-
export declare const result: <const Value extends Extract<
|
|
81
|
-
|
|
81
|
+
export declare const result: <const Value extends Extract<TypeDef, {
|
|
82
|
+
kind: "result";
|
|
82
83
|
}>["value"]>(value: Value) => {
|
|
83
|
-
|
|
84
|
-
|
|
84
|
+
kind: "result";
|
|
85
|
+
value: Value;
|
|
85
86
|
};
|
|
86
|
-
export declare const ref: <const Value extends Extract<
|
|
87
|
-
|
|
87
|
+
export declare const ref: <const Value extends Extract<TypeDef, {
|
|
88
|
+
kind: "ref";
|
|
88
89
|
}>["value"]>(value: Value) => {
|
|
89
|
-
|
|
90
|
-
|
|
90
|
+
kind: "ref";
|
|
91
|
+
value: Value;
|
|
91
92
|
};
|
|
92
|
-
export declare const attachment: <const Value extends Extract<
|
|
93
|
-
|
|
93
|
+
export declare const attachment: <const Value extends Extract<TypeDef, {
|
|
94
|
+
kind: "attachment";
|
|
94
95
|
}>["value"]>(value: Value) => {
|
|
95
|
-
|
|
96
|
-
|
|
96
|
+
kind: "attachment";
|
|
97
|
+
value: Value;
|
|
97
98
|
};
|
|
98
|
-
export declare const objectReference: <const Value extends Extract<
|
|
99
|
-
|
|
99
|
+
export declare const objectReference: <const Value extends Extract<TypeDef, {
|
|
100
|
+
kind: "objectReference";
|
|
100
101
|
}>["value"]>(value: Value) => {
|
|
101
|
-
|
|
102
|
-
|
|
102
|
+
kind: "objectReference";
|
|
103
|
+
value: Value;
|
|
103
104
|
};
|
|
104
|
-
export declare const unknown: <const Value extends Extract<
|
|
105
|
-
|
|
105
|
+
export declare const unknown: <const Value extends Extract<TypeDef, {
|
|
106
|
+
kind: "unknown";
|
|
106
107
|
}>["value"]>(value: Value) => {
|
|
107
|
-
|
|
108
|
-
|
|
108
|
+
kind: "unknown";
|
|
109
|
+
value: Value;
|
|
109
110
|
};
|
|
110
111
|
export declare const StringConstraint: {
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
112
|
+
enum: <const Value extends Extract<StringConstraint$1, {
|
|
113
|
+
kind: "enum";
|
|
114
|
+
}>["value"]>(value: Value) => {
|
|
115
|
+
kind: "enum";
|
|
116
|
+
value: Value;
|
|
117
|
+
};
|
|
118
|
+
regex: <const Value extends Extract<StringConstraint$1, {
|
|
119
|
+
kind: "regex";
|
|
120
|
+
}>["value"]>(value: Value) => {
|
|
121
|
+
kind: "regex";
|
|
122
|
+
value: Value;
|
|
123
|
+
};
|
|
123
124
|
};
|
|
124
125
|
export declare const AttachmentContentConstraint: {
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
126
|
+
image: <const Value extends Extract<AttachmentContentConstraint$1, {
|
|
127
|
+
kind: "image";
|
|
128
|
+
}>["value"]>(value: Value) => {
|
|
129
|
+
kind: "image";
|
|
130
|
+
value: Value;
|
|
131
|
+
};
|
|
131
132
|
};
|
|
132
133
|
export declare const Expression: {
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
134
|
+
inputReference: <const Value extends Extract<Expression$1, {
|
|
135
|
+
kind: "inputReference";
|
|
136
|
+
}>["value"]>(value: Value) => {
|
|
137
|
+
kind: "inputReference";
|
|
138
|
+
value: Value;
|
|
139
|
+
};
|
|
140
|
+
contextReference: <const Value extends Extract<Expression$1, {
|
|
141
|
+
kind: "contextReference";
|
|
142
|
+
}>["value"]>(value: Value) => {
|
|
143
|
+
kind: "contextReference";
|
|
144
|
+
value: Value;
|
|
145
|
+
};
|
|
146
|
+
localReference: <const Value extends Extract<Expression$1, {
|
|
147
|
+
kind: "localReference";
|
|
148
|
+
}>["value"]>(value: Value) => {
|
|
149
|
+
kind: "localReference";
|
|
150
|
+
value: Value;
|
|
151
|
+
};
|
|
152
|
+
getAt: <const Value extends Extract<Expression$1, {
|
|
153
|
+
kind: "getAt";
|
|
154
|
+
}>["value"]>(value: Value) => {
|
|
155
|
+
kind: "getAt";
|
|
156
|
+
value: Value;
|
|
157
|
+
};
|
|
158
|
+
objectLookup: <const Value extends Extract<Expression$1, {
|
|
159
|
+
kind: "objectLookup";
|
|
160
|
+
}>["value"]>(value: Value) => {
|
|
161
|
+
kind: "objectLookup";
|
|
162
|
+
value: Value;
|
|
163
|
+
};
|
|
164
|
+
linkHop: <const Value extends Extract<Expression$1, {
|
|
165
|
+
kind: "linkHop";
|
|
166
|
+
}>["value"]>(value: Value) => {
|
|
167
|
+
kind: "linkHop";
|
|
168
|
+
value: Value;
|
|
169
|
+
};
|
|
170
|
+
struct: <const Value extends Extract<Expression$1, {
|
|
171
|
+
kind: "struct";
|
|
172
|
+
}>["value"]>(value: Value) => {
|
|
173
|
+
kind: "struct";
|
|
174
|
+
value: Value;
|
|
175
|
+
};
|
|
176
|
+
map: <const Value extends Extract<Expression$1, {
|
|
177
|
+
kind: "map";
|
|
178
|
+
}>["value"]>(value: Value) => {
|
|
179
|
+
kind: "map";
|
|
180
|
+
value: Value;
|
|
181
|
+
};
|
|
182
|
+
uuid: <const Value extends Extract<Expression$1, {
|
|
183
|
+
kind: "uuid";
|
|
184
|
+
}>["value"]>(value: Value) => {
|
|
185
|
+
kind: "uuid";
|
|
186
|
+
value: Value;
|
|
187
|
+
};
|
|
188
|
+
now: <const Value extends Extract<Expression$1, {
|
|
189
|
+
kind: "now";
|
|
190
|
+
}>["value"]>(value: Value) => {
|
|
191
|
+
kind: "now";
|
|
192
|
+
value: Value;
|
|
193
|
+
};
|
|
194
|
+
literal: <const Value extends Extract<Expression$1, {
|
|
195
|
+
kind: "literal";
|
|
196
|
+
}>["value"]>(value: Value) => {
|
|
197
|
+
kind: "literal";
|
|
198
|
+
value: Value;
|
|
199
|
+
};
|
|
199
200
|
};
|
|
200
201
|
export declare const ActionLogicStep: {
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
202
|
+
createObject: <const Value extends Extract<ActionLogicStep$1, {
|
|
203
|
+
kind: "createObject";
|
|
204
|
+
}>["value"]>(value: Value) => {
|
|
205
|
+
kind: "createObject";
|
|
206
|
+
value: Value;
|
|
207
|
+
};
|
|
208
|
+
updateObject: <const Value extends Extract<ActionLogicStep$1, {
|
|
209
|
+
kind: "updateObject";
|
|
210
|
+
}>["value"]>(value: Value) => {
|
|
211
|
+
kind: "updateObject";
|
|
212
|
+
value: Value;
|
|
213
|
+
};
|
|
214
|
+
deleteObject: <const Value extends Extract<ActionLogicStep$1, {
|
|
215
|
+
kind: "deleteObject";
|
|
216
|
+
}>["value"]>(value: Value) => {
|
|
217
|
+
kind: "deleteObject";
|
|
218
|
+
value: Value;
|
|
219
|
+
};
|
|
219
220
|
};
|
|
220
221
|
export declare const LensOp: {
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
222
|
+
move: <const Value extends Extract<LensOp$1, {
|
|
223
|
+
kind: "move";
|
|
224
|
+
}>["value"]>(value: Value) => {
|
|
225
|
+
kind: "move";
|
|
226
|
+
value: Value;
|
|
227
|
+
};
|
|
228
|
+
select: <const Value extends Extract<LensOp$1, {
|
|
229
|
+
kind: "select";
|
|
230
|
+
}>["value"]>(value: Value) => {
|
|
231
|
+
kind: "select";
|
|
232
|
+
value: Value;
|
|
233
|
+
};
|
|
233
234
|
};
|
|
234
235
|
export declare const o: {
|
|
235
|
-
|
|
236
|
-
|
|
236
|
+
string: typeof string;
|
|
237
|
+
boolean: typeof boolean;
|
|
238
|
+
integer: typeof integer;
|
|
239
|
+
float: typeof float;
|
|
240
|
+
double: typeof double;
|
|
241
|
+
date: typeof date;
|
|
242
|
+
timestamp: typeof timestamp;
|
|
243
|
+
geopoint: typeof geopoint;
|
|
244
|
+
list: typeof list;
|
|
245
|
+
map: typeof map;
|
|
246
|
+
struct: typeof struct;
|
|
247
|
+
union: typeof union;
|
|
248
|
+
optional: typeof optional;
|
|
249
|
+
result: typeof result;
|
|
250
|
+
ref: typeof ref;
|
|
251
|
+
attachment: typeof attachment;
|
|
252
|
+
objectReference: typeof objectReference;
|
|
253
|
+
unknown: typeof unknown;
|
|
254
|
+
StringConstraint: {
|
|
255
|
+
enum: <const Value extends Extract<StringConstraint$1, {
|
|
256
|
+
kind: "enum";
|
|
237
257
|
}>["value"]>(value: Value) => {
|
|
238
|
-
|
|
239
|
-
|
|
258
|
+
kind: "enum";
|
|
259
|
+
value: Value;
|
|
240
260
|
};
|
|
241
|
-
|
|
242
|
-
|
|
261
|
+
regex: <const Value extends Extract<StringConstraint$1, {
|
|
262
|
+
kind: "regex";
|
|
243
263
|
}>["value"]>(value: Value) => {
|
|
244
|
-
|
|
245
|
-
|
|
264
|
+
kind: "regex";
|
|
265
|
+
value: Value;
|
|
246
266
|
};
|
|
247
|
-
|
|
248
|
-
|
|
267
|
+
};
|
|
268
|
+
AttachmentContentConstraint: {
|
|
269
|
+
image: <const Value extends Extract<AttachmentContentConstraint$1, {
|
|
270
|
+
kind: "image";
|
|
249
271
|
}>["value"]>(value: Value) => {
|
|
250
|
-
|
|
251
|
-
|
|
272
|
+
kind: "image";
|
|
273
|
+
value: Value;
|
|
252
274
|
};
|
|
253
|
-
|
|
254
|
-
|
|
275
|
+
};
|
|
276
|
+
Expression: {
|
|
277
|
+
inputReference: <const Value extends Extract<Expression$1, {
|
|
278
|
+
kind: "inputReference";
|
|
255
279
|
}>["value"]>(value: Value) => {
|
|
256
|
-
|
|
257
|
-
|
|
280
|
+
kind: "inputReference";
|
|
281
|
+
value: Value;
|
|
258
282
|
};
|
|
259
|
-
|
|
260
|
-
|
|
283
|
+
contextReference: <const Value extends Extract<Expression$1, {
|
|
284
|
+
kind: "contextReference";
|
|
261
285
|
}>["value"]>(value: Value) => {
|
|
262
|
-
|
|
263
|
-
|
|
286
|
+
kind: "contextReference";
|
|
287
|
+
value: Value;
|
|
264
288
|
};
|
|
265
|
-
|
|
266
|
-
|
|
289
|
+
localReference: <const Value extends Extract<Expression$1, {
|
|
290
|
+
kind: "localReference";
|
|
267
291
|
}>["value"]>(value: Value) => {
|
|
268
|
-
|
|
269
|
-
|
|
292
|
+
kind: "localReference";
|
|
293
|
+
value: Value;
|
|
270
294
|
};
|
|
271
|
-
|
|
272
|
-
|
|
295
|
+
getAt: <const Value extends Extract<Expression$1, {
|
|
296
|
+
kind: "getAt";
|
|
273
297
|
}>["value"]>(value: Value) => {
|
|
274
|
-
|
|
275
|
-
|
|
298
|
+
kind: "getAt";
|
|
299
|
+
value: Value;
|
|
276
300
|
};
|
|
277
|
-
|
|
278
|
-
|
|
301
|
+
objectLookup: <const Value extends Extract<Expression$1, {
|
|
302
|
+
kind: "objectLookup";
|
|
279
303
|
}>["value"]>(value: Value) => {
|
|
280
|
-
|
|
281
|
-
|
|
304
|
+
kind: "objectLookup";
|
|
305
|
+
value: Value;
|
|
282
306
|
};
|
|
283
|
-
|
|
284
|
-
|
|
307
|
+
linkHop: <const Value extends Extract<Expression$1, {
|
|
308
|
+
kind: "linkHop";
|
|
285
309
|
}>["value"]>(value: Value) => {
|
|
286
|
-
|
|
287
|
-
|
|
310
|
+
kind: "linkHop";
|
|
311
|
+
value: Value;
|
|
288
312
|
};
|
|
289
|
-
|
|
290
|
-
|
|
313
|
+
struct: <const Value extends Extract<Expression$1, {
|
|
314
|
+
kind: "struct";
|
|
291
315
|
}>["value"]>(value: Value) => {
|
|
292
|
-
|
|
293
|
-
|
|
316
|
+
kind: "struct";
|
|
317
|
+
value: Value;
|
|
294
318
|
};
|
|
295
|
-
|
|
296
|
-
|
|
319
|
+
map: <const Value extends Extract<Expression$1, {
|
|
320
|
+
kind: "map";
|
|
297
321
|
}>["value"]>(value: Value) => {
|
|
298
|
-
|
|
299
|
-
|
|
322
|
+
kind: "map";
|
|
323
|
+
value: Value;
|
|
300
324
|
};
|
|
301
|
-
|
|
302
|
-
|
|
325
|
+
uuid: <const Value extends Extract<Expression$1, {
|
|
326
|
+
kind: "uuid";
|
|
303
327
|
}>["value"]>(value: Value) => {
|
|
304
|
-
|
|
305
|
-
|
|
328
|
+
kind: "uuid";
|
|
329
|
+
value: Value;
|
|
306
330
|
};
|
|
307
|
-
|
|
308
|
-
|
|
331
|
+
now: <const Value extends Extract<Expression$1, {
|
|
332
|
+
kind: "now";
|
|
309
333
|
}>["value"]>(value: Value) => {
|
|
310
|
-
|
|
311
|
-
|
|
334
|
+
kind: "now";
|
|
335
|
+
value: Value;
|
|
312
336
|
};
|
|
313
|
-
|
|
314
|
-
|
|
337
|
+
literal: <const Value extends Extract<Expression$1, {
|
|
338
|
+
kind: "literal";
|
|
315
339
|
}>["value"]>(value: Value) => {
|
|
316
|
-
|
|
317
|
-
|
|
340
|
+
kind: "literal";
|
|
341
|
+
value: Value;
|
|
318
342
|
};
|
|
319
|
-
|
|
320
|
-
|
|
343
|
+
};
|
|
344
|
+
ActionLogicStep: {
|
|
345
|
+
createObject: <const Value extends Extract<ActionLogicStep$1, {
|
|
346
|
+
kind: "createObject";
|
|
321
347
|
}>["value"]>(value: Value) => {
|
|
322
|
-
|
|
323
|
-
|
|
348
|
+
kind: "createObject";
|
|
349
|
+
value: Value;
|
|
324
350
|
};
|
|
325
|
-
|
|
326
|
-
|
|
351
|
+
updateObject: <const Value extends Extract<ActionLogicStep$1, {
|
|
352
|
+
kind: "updateObject";
|
|
327
353
|
}>["value"]>(value: Value) => {
|
|
328
|
-
|
|
329
|
-
|
|
354
|
+
kind: "updateObject";
|
|
355
|
+
value: Value;
|
|
330
356
|
};
|
|
331
|
-
|
|
332
|
-
|
|
357
|
+
deleteObject: <const Value extends Extract<ActionLogicStep$1, {
|
|
358
|
+
kind: "deleteObject";
|
|
333
359
|
}>["value"]>(value: Value) => {
|
|
334
|
-
|
|
335
|
-
|
|
360
|
+
kind: "deleteObject";
|
|
361
|
+
value: Value;
|
|
336
362
|
};
|
|
337
|
-
|
|
338
|
-
|
|
363
|
+
};
|
|
364
|
+
LensOp: {
|
|
365
|
+
move: <const Value extends Extract<LensOp$1, {
|
|
366
|
+
kind: "move";
|
|
339
367
|
}>["value"]>(value: Value) => {
|
|
340
|
-
|
|
341
|
-
|
|
368
|
+
kind: "move";
|
|
369
|
+
value: Value;
|
|
342
370
|
};
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
value: Value;
|
|
349
|
-
};
|
|
350
|
-
regex: <const Value extends Extract<t.StringConstraint, {
|
|
351
|
-
kind: "regex";
|
|
352
|
-
}>["value"]>(value: Value) => {
|
|
353
|
-
kind: "regex";
|
|
354
|
-
value: Value;
|
|
355
|
-
};
|
|
356
|
-
};
|
|
357
|
-
AttachmentContentConstraint: {
|
|
358
|
-
image: <const Value extends Extract<t.AttachmentContentConstraint, {
|
|
359
|
-
kind: "image";
|
|
360
|
-
}>["value"]>(value: Value) => {
|
|
361
|
-
kind: "image";
|
|
362
|
-
value: Value;
|
|
363
|
-
};
|
|
364
|
-
};
|
|
365
|
-
Expression: {
|
|
366
|
-
inputReference: <const Value extends Extract<t.Expression, {
|
|
367
|
-
kind: "inputReference";
|
|
368
|
-
}>["value"]>(value: Value) => {
|
|
369
|
-
kind: "inputReference";
|
|
370
|
-
value: Value;
|
|
371
|
-
};
|
|
372
|
-
contextReference: <const Value extends Extract<t.Expression, {
|
|
373
|
-
kind: "contextReference";
|
|
374
|
-
}>["value"]>(value: Value) => {
|
|
375
|
-
kind: "contextReference";
|
|
376
|
-
value: Value;
|
|
377
|
-
};
|
|
378
|
-
localReference: <const Value extends Extract<t.Expression, {
|
|
379
|
-
kind: "localReference";
|
|
380
|
-
}>["value"]>(value: Value) => {
|
|
381
|
-
kind: "localReference";
|
|
382
|
-
value: Value;
|
|
383
|
-
};
|
|
384
|
-
getAt: <const Value extends Extract<t.Expression, {
|
|
385
|
-
kind: "getAt";
|
|
386
|
-
}>["value"]>(value: Value) => {
|
|
387
|
-
kind: "getAt";
|
|
388
|
-
value: Value;
|
|
389
|
-
};
|
|
390
|
-
objectLookup: <const Value extends Extract<t.Expression, {
|
|
391
|
-
kind: "objectLookup";
|
|
392
|
-
}>["value"]>(value: Value) => {
|
|
393
|
-
kind: "objectLookup";
|
|
394
|
-
value: Value;
|
|
395
|
-
};
|
|
396
|
-
linkHop: <const Value extends Extract<t.Expression, {
|
|
397
|
-
kind: "linkHop";
|
|
398
|
-
}>["value"]>(value: Value) => {
|
|
399
|
-
kind: "linkHop";
|
|
400
|
-
value: Value;
|
|
401
|
-
};
|
|
402
|
-
struct: <const Value extends Extract<t.Expression, {
|
|
403
|
-
kind: "struct";
|
|
404
|
-
}>["value"]>(value: Value) => {
|
|
405
|
-
kind: "struct";
|
|
406
|
-
value: Value;
|
|
407
|
-
};
|
|
408
|
-
map: <const Value extends Extract<t.Expression, {
|
|
409
|
-
kind: "map";
|
|
410
|
-
}>["value"]>(value: Value) => {
|
|
411
|
-
kind: "map";
|
|
412
|
-
value: Value;
|
|
413
|
-
};
|
|
414
|
-
uuid: <const Value extends Extract<t.Expression, {
|
|
415
|
-
kind: "uuid";
|
|
416
|
-
}>["value"]>(value: Value) => {
|
|
417
|
-
kind: "uuid";
|
|
418
|
-
value: Value;
|
|
419
|
-
};
|
|
420
|
-
now: <const Value extends Extract<t.Expression, {
|
|
421
|
-
kind: "now";
|
|
422
|
-
}>["value"]>(value: Value) => {
|
|
423
|
-
kind: "now";
|
|
424
|
-
value: Value;
|
|
425
|
-
};
|
|
426
|
-
literal: <const Value extends Extract<t.Expression, {
|
|
427
|
-
kind: "literal";
|
|
428
|
-
}>["value"]>(value: Value) => {
|
|
429
|
-
kind: "literal";
|
|
430
|
-
value: Value;
|
|
431
|
-
};
|
|
432
|
-
};
|
|
433
|
-
ActionLogicStep: {
|
|
434
|
-
createObject: <const Value extends Extract<t.ActionLogicStep, {
|
|
435
|
-
kind: "createObject";
|
|
436
|
-
}>["value"]>(value: Value) => {
|
|
437
|
-
kind: "createObject";
|
|
438
|
-
value: Value;
|
|
439
|
-
};
|
|
440
|
-
updateObject: <const Value extends Extract<t.ActionLogicStep, {
|
|
441
|
-
kind: "updateObject";
|
|
442
|
-
}>["value"]>(value: Value) => {
|
|
443
|
-
kind: "updateObject";
|
|
444
|
-
value: Value;
|
|
445
|
-
};
|
|
446
|
-
deleteObject: <const Value extends Extract<t.ActionLogicStep, {
|
|
447
|
-
kind: "deleteObject";
|
|
448
|
-
}>["value"]>(value: Value) => {
|
|
449
|
-
kind: "deleteObject";
|
|
450
|
-
value: Value;
|
|
451
|
-
};
|
|
452
|
-
};
|
|
453
|
-
LensOp: {
|
|
454
|
-
move: <const Value extends Extract<t.LensOp, {
|
|
455
|
-
kind: "move";
|
|
456
|
-
}>["value"]>(value: Value) => {
|
|
457
|
-
kind: "move";
|
|
458
|
-
value: Value;
|
|
459
|
-
};
|
|
460
|
-
select: <const Value extends Extract<t.LensOp, {
|
|
461
|
-
kind: "select";
|
|
462
|
-
}>["value"]>(value: Value) => {
|
|
463
|
-
kind: "select";
|
|
464
|
-
value: Value;
|
|
465
|
-
};
|
|
371
|
+
select: <const Value extends Extract<LensOp$1, {
|
|
372
|
+
kind: "select";
|
|
373
|
+
}>["value"]>(value: Value) => {
|
|
374
|
+
kind: "select";
|
|
375
|
+
value: Value;
|
|
466
376
|
};
|
|
377
|
+
};
|
|
467
378
|
};
|
|
379
|
+
//#endregion
|
|
468
380
|
//# sourceMappingURL=builders.d.ts.map
|