@constructive-sdk/cli 0.30.0 → 0.30.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/README.md +1 -0
- package/agent/cli/commands/agent-message.js +20 -0
- package/agent/cli/commands/agent-persona.js +20 -0
- package/agent/cli/commands/agent-plan.js +20 -0
- package/agent/cli/commands/agent-prompt.js +20 -0
- package/agent/cli/commands/agent-resource.js +21 -0
- package/agent/cli/commands/agent-task.js +20 -0
- package/agent/cli/commands/agent-thread.js +20 -0
- package/agent/cli/commands/agent.js +20 -0
- package/agent/orm/input-types.d.ts +96 -8
- package/api/cli/commands/database.js +22 -0
- package/api/cli/commands/field.js +44 -0
- package/api/cli/commands/policy.js +22 -0
- package/{compute/cli/commands/org-function-execution-log.d.ts → api/cli/commands/request-database.d.ts} +1 -1
- package/api/cli/commands/request-database.js +36 -0
- package/api/cli/commands/table.js +22 -0
- package/api/cli/commands.js +5 -9
- package/api/cli/executor.d.ts +4 -14
- package/api/orm/index.d.ts +5 -15
- package/api/orm/index.js +2 -2
- package/api/orm/input-types.d.ts +250 -231
- package/api/orm/models/index.d.ts +1 -1
- package/api/orm/models/index.js +3 -3
- package/api/orm/mutation/index.d.ts +11 -36
- package/api/orm/mutation/index.js +6 -30
- package/auth/cli/commands/delete-principal.d.ts +8 -0
- package/{config/cli/commands/org-secrets-rotate.js → auth/cli/commands/delete-principal.js} +3 -3
- package/auth/cli/commands/principal-scope-override.js +18 -7
- package/auth/cli/commands/principal.d.ts +1 -1
- package/auth/cli/commands/principal.js +75 -64
- package/auth/cli/commands.js +5 -3
- package/auth/cli/executor.d.ts +10 -5
- package/auth/orm/index.d.ts +10 -5
- package/auth/orm/input-types.d.ts +54 -45
- package/auth/orm/models/principal.d.ts +1 -10
- package/auth/orm/models/principal.js +0 -13
- package/auth/orm/mutation/index.d.ts +17 -9
- package/auth/orm/mutation/index.js +24 -12
- package/{esm/compute/cli/commands/secret-definition.d.ts → compute/cli/commands/db-preset.d.ts} +1 -1
- package/compute/cli/commands/db-preset.js +394 -0
- package/compute/cli/commands/function-definition.js +208 -12
- package/compute/cli/commands/function-deployment.js +42 -20
- package/compute/cli/commands/function-graph-commit.js +15 -15
- package/compute/cli/commands/function-graph-execution-node-state.js +12 -12
- package/compute/cli/commands/function-graph-execution-output.js +12 -12
- package/compute/cli/commands/function-graph-execution.js +37 -13
- package/compute/cli/commands/function-graph-object.js +15 -15
- package/compute/cli/commands/function-graph-ref.js +15 -15
- package/compute/cli/commands/function-graph-store.js +12 -12
- package/compute/cli/commands/function-graph.js +12 -12
- package/compute/cli/commands/{secret-definition.d.ts → infra-commit.d.ts} +1 -1
- package/compute/cli/commands/infra-commit.js +389 -0
- package/{esm/modules/cli/commands/config-secrets-module.d.ts → compute/cli/commands/infra-get-all-record.d.ts} +1 -1
- package/compute/cli/commands/infra-get-all-record.js +126 -0
- package/{api/cli/commands/create-user-database.d.ts → compute/cli/commands/infra-init-empty-repo.d.ts} +1 -1
- package/compute/cli/commands/infra-init-empty-repo.js +36 -0
- package/compute/cli/commands/infra-insert-node-at-path.d.ts +8 -0
- package/{config/cli/commands/org-secrets-remove-array.js → compute/cli/commands/infra-insert-node-at-path.js} +3 -3
- package/{modules/cli/commands/config-secrets-module.d.ts → compute/cli/commands/infra-object.d.ts} +1 -1
- package/compute/cli/commands/infra-object.js +309 -0
- package/compute/cli/commands/infra-ref.d.ts +8 -0
- package/compute/cli/commands/infra-ref.js +299 -0
- package/compute/cli/commands/infra-set-data-at-path.d.ts +8 -0
- package/compute/cli/commands/infra-set-data-at-path.js +36 -0
- package/compute/cli/commands/infra-store.d.ts +8 -0
- package/compute/cli/commands/infra-store.js +278 -0
- package/compute/cli/commands/integration-provider.d.ts +8 -0
- package/compute/cli/commands/integration-provider.js +416 -0
- package/compute/cli/commands/namespace-event.d.ts +8 -0
- package/compute/cli/commands/namespace-event.js +510 -0
- package/compute/cli/commands/namespace.d.ts +8 -0
- package/compute/cli/commands/{secret-definition.js → namespace.js} +106 -20
- package/compute/cli/commands/platform-function-api-binding.d.ts +8 -0
- package/compute/cli/commands/platform-function-api-binding.js +294 -0
- package/compute/cli/commands/platform-function-definition.d.ts +8 -0
- package/compute/cli/commands/platform-function-definition.js +964 -0
- package/compute/cli/commands/platform-function-deployment-event.d.ts +8 -0
- package/compute/cli/commands/platform-function-deployment-event.js +336 -0
- package/compute/cli/commands/platform-function-deployment.d.ts +8 -0
- package/compute/cli/commands/platform-function-deployment.js +614 -0
- package/compute/cli/commands/platform-function-execution-log.d.ts +8 -0
- package/compute/cli/commands/{org-function-execution-log.js → platform-function-execution-log.js} +8 -8
- package/compute/cli/commands/platform-function-invocation.d.ts +8 -0
- package/compute/cli/commands/{org-function-invocation.js → platform-function-invocation.js} +8 -8
- package/compute/cli/commands/platform-namespace-event.js +0 -20
- package/compute/cli/commands/platform-namespace.js +40 -60
- package/compute/cli/commands/platform-resource-definition.d.ts +8 -0
- package/compute/cli/commands/platform-resource-definition.js +522 -0
- package/{api/cli/commands/bootstrap-user.d.ts → compute/cli/commands/platform-resource-event.d.ts} +1 -1
- package/compute/cli/commands/platform-resource-event.js +336 -0
- package/compute/cli/commands/platform-resource-status-check.d.ts +8 -0
- package/compute/cli/commands/platform-resource-status-check.js +340 -0
- package/compute/cli/commands/platform-resource.d.ts +8 -0
- package/compute/cli/commands/platform-resource.js +588 -0
- package/{api/cli/commands/provision-database-with-user.d.ts → compute/cli/commands/platform-resources-requirements-state.d.ts} +1 -1
- package/compute/cli/commands/platform-resources-requirements-state.js +183 -0
- package/compute/cli/commands/platform-resources-resolved-requirement.d.ts +8 -0
- package/compute/cli/commands/platform-resources-resolved-requirement.js +218 -0
- package/compute/cli/commands/resource-definition.d.ts +8 -0
- package/compute/cli/commands/resource-definition.js +542 -0
- package/compute/cli/commands/resource-status-check.d.ts +8 -0
- package/{modules/cli/commands/config-secrets-org-module.js → compute/cli/commands/resource-status-check.js} +90 -70
- package/compute/cli/commands/resource.js +88 -0
- package/compute/cli/commands/resources-requirements-state.d.ts +8 -0
- package/compute/cli/commands/resources-requirements-state.js +181 -0
- package/compute/cli/commands/resources-resolved-requirement.d.ts +8 -0
- package/compute/cli/commands/resources-resolved-requirement.js +214 -0
- package/compute/cli/commands.js +65 -15
- package/compute/cli/executor.d.ts +48 -11
- package/compute/orm/index.d.ts +76 -17
- package/compute/orm/index.js +56 -12
- package/compute/orm/input-types.d.ts +5893 -1343
- package/compute/orm/input-types.js +17 -3
- package/compute/orm/models/dbPreset.d.ts +54 -0
- package/compute/orm/models/dbPreset.js +104 -0
- package/compute/orm/models/functionGraphCommit.d.ts +2 -2
- package/compute/orm/models/functionGraphCommit.js +2 -2
- package/compute/orm/models/functionGraphObject.d.ts +2 -2
- package/compute/orm/models/functionGraphObject.js +2 -2
- package/compute/orm/models/functionGraphRef.d.ts +2 -2
- package/compute/orm/models/functionGraphRef.js +2 -2
- package/compute/orm/models/index.d.ts +28 -6
- package/compute/orm/models/index.js +57 -13
- package/compute/orm/models/infraCommit.d.ts +56 -0
- package/compute/orm/models/infraCommit.js +107 -0
- package/compute/orm/models/infraGetAllRecord.d.ts +30 -0
- package/compute/orm/models/infraGetAllRecord.js +59 -0
- package/compute/orm/models/infraObject.d.ts +56 -0
- package/compute/orm/models/infraObject.js +97 -0
- package/compute/orm/models/infraRef.d.ts +56 -0
- package/compute/orm/models/infraRef.js +107 -0
- package/compute/orm/models/infraStore.d.ts +54 -0
- package/compute/orm/models/infraStore.js +104 -0
- package/compute/orm/models/integrationProvider.d.ts +54 -0
- package/{modules/orm/models/configSecretsModule.js → compute/orm/models/integrationProvider.js} +27 -27
- package/compute/orm/models/namespace.d.ts +54 -0
- package/compute/orm/models/namespace.js +104 -0
- package/compute/orm/models/namespaceEvent.d.ts +56 -0
- package/compute/orm/models/{orgFunctionExecutionLog.js → namespaceEvent.js} +27 -27
- package/compute/orm/models/platformFunctionApiBinding.d.ts +54 -0
- package/compute/orm/models/platformFunctionApiBinding.js +104 -0
- package/compute/orm/models/platformFunctionDefinition.d.ts +54 -0
- package/compute/orm/models/platformFunctionDefinition.js +104 -0
- package/compute/orm/models/platformFunctionDeployment.d.ts +54 -0
- package/compute/orm/models/platformFunctionDeployment.js +104 -0
- package/compute/orm/models/platformFunctionDeploymentEvent.d.ts +56 -0
- package/compute/orm/models/platformFunctionDeploymentEvent.js +107 -0
- package/compute/orm/models/platformFunctionExecutionLog.d.ts +56 -0
- package/compute/orm/models/platformFunctionExecutionLog.js +107 -0
- package/compute/orm/models/platformFunctionInvocation.d.ts +56 -0
- package/compute/orm/models/platformFunctionInvocation.js +107 -0
- package/compute/orm/models/platformResource.d.ts +54 -0
- package/compute/orm/models/{secretDefinition.js → platformResource.js} +27 -27
- package/compute/orm/models/platformResourceDefinition.d.ts +54 -0
- package/compute/orm/models/platformResourceDefinition.js +104 -0
- package/compute/orm/models/platformResourceEvent.d.ts +56 -0
- package/compute/orm/models/{orgFunctionInvocation.js → platformResourceEvent.js} +27 -27
- package/compute/orm/models/platformResourceStatusCheck.d.ts +54 -0
- package/compute/orm/models/platformResourceStatusCheck.js +104 -0
- package/compute/orm/models/platformResourcesRequirementsState.d.ts +30 -0
- package/compute/orm/models/platformResourcesRequirementsState.js +59 -0
- package/compute/orm/models/platformResourcesResolvedRequirement.d.ts +30 -0
- package/compute/orm/models/platformResourcesResolvedRequirement.js +59 -0
- package/compute/orm/models/resourceDefinition.d.ts +54 -0
- package/compute/orm/models/resourceDefinition.js +104 -0
- package/compute/orm/models/resourceStatusCheck.d.ts +54 -0
- package/compute/orm/models/resourceStatusCheck.js +104 -0
- package/compute/orm/models/resourcesRequirementsState.d.ts +30 -0
- package/compute/orm/models/resourcesRequirementsState.js +59 -0
- package/compute/orm/models/resourcesResolvedRequirement.d.ts +30 -0
- package/compute/orm/models/resourcesResolvedRequirement.js +59 -0
- package/compute/orm/mutation/index.d.ts +33 -9
- package/compute/orm/mutation/index.js +48 -12
- package/config/cli/commands/config.d.ts +8 -0
- package/config/cli/commands/{platform-config-definition.js → config.js} +127 -65
- package/config/cli/commands/platform-config.js +22 -0
- package/config/cli/commands/platform-internal-secret.d.ts +8 -0
- package/config/cli/commands/platform-internal-secret.js +200 -0
- package/config/cli/commands/platform-internal-secrets-del.d.ts +8 -0
- package/{api/cli/commands/provision-database-with-user.js → config/cli/commands/platform-internal-secrets-del.js} +3 -3
- package/config/cli/commands/platform-internal-secrets-remove-array.d.ts +8 -0
- package/config/cli/commands/platform-internal-secrets-remove-array.js +36 -0
- package/config/cli/commands/platform-internal-secrets-rotate.d.ts +8 -0
- package/config/cli/commands/platform-internal-secrets-rotate.js +36 -0
- package/config/cli/commands/platform-internal-secrets-set.d.ts +8 -0
- package/config/cli/commands/platform-internal-secrets-set.js +36 -0
- package/config/cli/commands/platform-secret.d.ts +8 -0
- package/config/cli/commands/platform-secret.js +212 -0
- package/config/cli/commands/secret.d.ts +8 -0
- package/config/cli/commands/secret.js +224 -0
- package/config/cli/commands/secrets-del.d.ts +8 -0
- package/{api/cli/commands/bootstrap-user.js → config/cli/commands/secrets-del.js} +3 -3
- package/config/cli/commands/secrets-remove-array.d.ts +8 -0
- package/config/cli/commands/secrets-remove-array.js +36 -0
- package/config/cli/commands/secrets-rotate.d.ts +8 -0
- package/config/cli/commands/{org-secrets-set.js → secrets-rotate.js} +3 -3
- package/config/cli/commands/secrets-set.d.ts +8 -0
- package/config/cli/commands/{org-secrets-del.js → secrets-set.js} +3 -3
- package/config/cli/commands.js +25 -11
- package/config/cli/executor.d.ts +38 -15
- package/config/orm/index.d.ts +42 -16
- package/config/orm/index.js +8 -2
- package/config/orm/input-types.d.ts +595 -154
- package/config/orm/models/config.d.ts +54 -0
- package/{modules/orm/models/configSecretsOrgModule.js → config/orm/models/config.js} +27 -27
- package/config/orm/models/index.d.ts +4 -1
- package/config/orm/models/index.js +9 -3
- package/config/orm/models/platformInternalSecret.d.ts +36 -0
- package/config/orm/models/platformInternalSecret.js +80 -0
- package/config/orm/models/platformSecret.d.ts +36 -0
- package/config/orm/models/platformSecret.js +80 -0
- package/config/orm/models/secret.d.ts +36 -0
- package/config/orm/models/secret.js +80 -0
- package/config/orm/mutation/index.d.ts +56 -24
- package/config/orm/mutation/index.js +78 -30
- package/esm/agent/cli/commands/agent-message.js +20 -0
- package/esm/agent/cli/commands/agent-persona.js +20 -0
- package/esm/agent/cli/commands/agent-plan.js +20 -0
- package/esm/agent/cli/commands/agent-prompt.js +20 -0
- package/esm/agent/cli/commands/agent-resource.js +21 -0
- package/esm/agent/cli/commands/agent-task.js +20 -0
- package/esm/agent/cli/commands/agent-thread.js +20 -0
- package/esm/agent/cli/commands/agent.js +20 -0
- package/esm/agent/orm/input-types.d.ts +96 -8
- package/esm/api/cli/commands/database.js +22 -0
- package/esm/api/cli/commands/field.js +44 -0
- package/esm/api/cli/commands/policy.js +22 -0
- package/esm/api/cli/commands/request-database.d.ts +8 -0
- package/esm/api/cli/commands/request-database.js +34 -0
- package/esm/api/cli/commands/table.js +22 -0
- package/esm/api/cli/commands.js +5 -9
- package/esm/api/cli/executor.d.ts +4 -14
- package/esm/api/orm/index.d.ts +5 -15
- package/esm/api/orm/index.js +2 -2
- package/esm/api/orm/input-types.d.ts +250 -231
- package/esm/api/orm/models/index.d.ts +1 -1
- package/esm/api/orm/models/index.js +1 -1
- package/esm/api/orm/mutation/index.d.ts +11 -36
- package/esm/api/orm/mutation/index.js +6 -30
- package/esm/auth/cli/commands/delete-principal.d.ts +8 -0
- package/esm/{config/cli/commands/org-secrets-rotate.js → auth/cli/commands/delete-principal.js} +3 -3
- package/esm/auth/cli/commands/principal-scope-override.js +18 -7
- package/esm/auth/cli/commands/principal.d.ts +1 -1
- package/esm/auth/cli/commands/principal.js +78 -67
- package/esm/auth/cli/commands.js +5 -3
- package/esm/auth/cli/executor.d.ts +10 -5
- package/esm/auth/orm/index.d.ts +10 -5
- package/esm/auth/orm/input-types.d.ts +54 -45
- package/esm/auth/orm/models/principal.d.ts +1 -10
- package/esm/auth/orm/models/principal.js +1 -14
- package/esm/auth/orm/mutation/index.d.ts +17 -9
- package/esm/auth/orm/mutation/index.js +24 -12
- package/esm/compute/cli/commands/db-preset.d.ts +8 -0
- package/esm/compute/cli/commands/db-preset.js +392 -0
- package/esm/compute/cli/commands/function-definition.js +208 -12
- package/esm/compute/cli/commands/function-deployment.js +42 -20
- package/esm/compute/cli/commands/function-graph-commit.js +15 -15
- package/esm/compute/cli/commands/function-graph-execution-node-state.js +12 -12
- package/esm/compute/cli/commands/function-graph-execution-output.js +12 -12
- package/esm/compute/cli/commands/function-graph-execution.js +37 -13
- package/esm/compute/cli/commands/function-graph-object.js +15 -15
- package/esm/compute/cli/commands/function-graph-ref.js +15 -15
- package/esm/compute/cli/commands/function-graph-store.js +12 -12
- package/esm/compute/cli/commands/function-graph.js +12 -12
- package/esm/compute/cli/commands/infra-commit.d.ts +8 -0
- package/esm/compute/cli/commands/infra-commit.js +387 -0
- package/esm/compute/cli/commands/infra-get-all-record.d.ts +8 -0
- package/esm/compute/cli/commands/infra-get-all-record.js +124 -0
- package/esm/compute/cli/commands/infra-init-empty-repo.d.ts +8 -0
- package/esm/compute/cli/commands/infra-init-empty-repo.js +34 -0
- package/esm/compute/cli/commands/infra-insert-node-at-path.d.ts +8 -0
- package/esm/{config/cli/commands/org-secrets-remove-array.js → compute/cli/commands/infra-insert-node-at-path.js} +3 -3
- package/esm/compute/cli/commands/infra-object.d.ts +8 -0
- package/esm/compute/cli/commands/infra-object.js +307 -0
- package/esm/compute/cli/commands/infra-ref.d.ts +8 -0
- package/esm/compute/cli/commands/infra-ref.js +297 -0
- package/esm/compute/cli/commands/infra-set-data-at-path.d.ts +8 -0
- package/esm/compute/cli/commands/infra-set-data-at-path.js +34 -0
- package/esm/compute/cli/commands/infra-store.d.ts +8 -0
- package/esm/compute/cli/commands/infra-store.js +276 -0
- package/esm/compute/cli/commands/integration-provider.d.ts +8 -0
- package/esm/compute/cli/commands/integration-provider.js +414 -0
- package/esm/compute/cli/commands/namespace-event.d.ts +8 -0
- package/esm/compute/cli/commands/namespace-event.js +508 -0
- package/esm/compute/cli/commands/namespace.d.ts +8 -0
- package/esm/compute/cli/commands/{secret-definition.js → namespace.js} +106 -20
- package/esm/compute/cli/commands/platform-function-api-binding.d.ts +8 -0
- package/esm/compute/cli/commands/platform-function-api-binding.js +292 -0
- package/esm/compute/cli/commands/platform-function-definition.d.ts +8 -0
- package/esm/compute/cli/commands/platform-function-definition.js +962 -0
- package/esm/compute/cli/commands/platform-function-deployment-event.d.ts +8 -0
- package/esm/compute/cli/commands/platform-function-deployment-event.js +334 -0
- package/esm/compute/cli/commands/platform-function-deployment.d.ts +8 -0
- package/esm/compute/cli/commands/platform-function-deployment.js +612 -0
- package/esm/compute/cli/commands/platform-function-execution-log.d.ts +8 -0
- package/esm/compute/cli/commands/{org-function-execution-log.js → platform-function-execution-log.js} +8 -8
- package/esm/compute/cli/commands/platform-function-invocation.d.ts +8 -0
- package/esm/compute/cli/commands/{org-function-invocation.js → platform-function-invocation.js} +8 -8
- package/esm/compute/cli/commands/platform-namespace-event.js +0 -20
- package/esm/compute/cli/commands/platform-namespace.js +40 -60
- package/esm/compute/cli/commands/platform-resource-definition.d.ts +8 -0
- package/esm/compute/cli/commands/platform-resource-definition.js +520 -0
- package/{compute/cli/commands/org-function-invocation.d.ts → esm/compute/cli/commands/platform-resource-event.d.ts} +1 -1
- package/esm/compute/cli/commands/platform-resource-event.js +334 -0
- package/esm/compute/cli/commands/platform-resource-status-check.d.ts +8 -0
- package/esm/compute/cli/commands/platform-resource-status-check.js +338 -0
- package/esm/compute/cli/commands/platform-resource.d.ts +8 -0
- package/esm/compute/cli/commands/platform-resource.js +586 -0
- package/esm/compute/cli/commands/platform-resources-requirements-state.d.ts +8 -0
- package/esm/compute/cli/commands/platform-resources-requirements-state.js +181 -0
- package/esm/compute/cli/commands/platform-resources-resolved-requirement.d.ts +8 -0
- package/esm/compute/cli/commands/platform-resources-resolved-requirement.js +216 -0
- package/esm/compute/cli/commands/resource-definition.d.ts +8 -0
- package/esm/compute/cli/commands/resource-definition.js +540 -0
- package/esm/compute/cli/commands/resource-status-check.d.ts +8 -0
- package/esm/{modules/cli/commands/config-secrets-org-module.js → compute/cli/commands/resource-status-check.js} +90 -70
- package/esm/compute/cli/commands/resource.js +88 -0
- package/esm/compute/cli/commands/resources-requirements-state.d.ts +8 -0
- package/esm/compute/cli/commands/resources-requirements-state.js +179 -0
- package/esm/compute/cli/commands/resources-resolved-requirement.d.ts +8 -0
- package/esm/compute/cli/commands/resources-resolved-requirement.js +212 -0
- package/esm/compute/cli/commands.js +65 -15
- package/esm/compute/cli/executor.d.ts +48 -11
- package/esm/compute/orm/index.d.ts +76 -17
- package/esm/compute/orm/index.js +56 -12
- package/esm/compute/orm/input-types.d.ts +5893 -1343
- package/esm/compute/orm/input-types.js +17 -3
- package/esm/compute/orm/models/dbPreset.d.ts +54 -0
- package/esm/compute/orm/models/dbPreset.js +100 -0
- package/esm/compute/orm/models/functionGraphCommit.d.ts +2 -2
- package/esm/compute/orm/models/functionGraphCommit.js +2 -2
- package/esm/compute/orm/models/functionGraphObject.d.ts +2 -2
- package/esm/compute/orm/models/functionGraphObject.js +2 -2
- package/esm/compute/orm/models/functionGraphRef.d.ts +2 -2
- package/esm/compute/orm/models/functionGraphRef.js +2 -2
- package/esm/compute/orm/models/index.d.ts +28 -6
- package/esm/compute/orm/models/index.js +28 -6
- package/esm/compute/orm/models/infraCommit.d.ts +56 -0
- package/esm/compute/orm/models/infraCommit.js +103 -0
- package/esm/compute/orm/models/infraGetAllRecord.d.ts +30 -0
- package/esm/compute/orm/models/infraGetAllRecord.js +55 -0
- package/esm/compute/orm/models/infraObject.d.ts +56 -0
- package/esm/compute/orm/models/infraObject.js +93 -0
- package/esm/compute/orm/models/infraRef.d.ts +56 -0
- package/esm/compute/orm/models/infraRef.js +103 -0
- package/esm/compute/orm/models/infraStore.d.ts +54 -0
- package/esm/compute/orm/models/infraStore.js +100 -0
- package/esm/compute/orm/models/integrationProvider.d.ts +54 -0
- package/esm/compute/orm/models/integrationProvider.js +100 -0
- package/esm/compute/orm/models/namespace.d.ts +54 -0
- package/esm/compute/orm/models/namespace.js +100 -0
- package/esm/compute/orm/models/namespaceEvent.d.ts +56 -0
- package/esm/compute/orm/models/{orgFunctionExecutionLog.js → namespaceEvent.js} +25 -25
- package/esm/compute/orm/models/platformFunctionApiBinding.d.ts +54 -0
- package/esm/compute/orm/models/platformFunctionApiBinding.js +100 -0
- package/esm/compute/orm/models/platformFunctionDefinition.d.ts +54 -0
- package/esm/compute/orm/models/platformFunctionDefinition.js +100 -0
- package/esm/compute/orm/models/platformFunctionDeployment.d.ts +54 -0
- package/esm/compute/orm/models/platformFunctionDeployment.js +100 -0
- package/esm/compute/orm/models/platformFunctionDeploymentEvent.d.ts +56 -0
- package/esm/compute/orm/models/platformFunctionDeploymentEvent.js +103 -0
- package/esm/compute/orm/models/platformFunctionExecutionLog.d.ts +56 -0
- package/esm/compute/orm/models/platformFunctionExecutionLog.js +103 -0
- package/esm/compute/orm/models/platformFunctionInvocation.d.ts +56 -0
- package/esm/compute/orm/models/platformFunctionInvocation.js +103 -0
- package/esm/compute/orm/models/platformResource.d.ts +54 -0
- package/esm/compute/orm/models/{secretDefinition.js → platformResource.js} +25 -25
- package/esm/compute/orm/models/platformResourceDefinition.d.ts +54 -0
- package/esm/compute/orm/models/platformResourceDefinition.js +100 -0
- package/esm/compute/orm/models/platformResourceEvent.d.ts +56 -0
- package/esm/compute/orm/models/{orgFunctionInvocation.js → platformResourceEvent.js} +25 -25
- package/esm/compute/orm/models/platformResourceStatusCheck.d.ts +54 -0
- package/esm/compute/orm/models/platformResourceStatusCheck.js +100 -0
- package/esm/compute/orm/models/platformResourcesRequirementsState.d.ts +30 -0
- package/esm/compute/orm/models/platformResourcesRequirementsState.js +55 -0
- package/esm/compute/orm/models/platformResourcesResolvedRequirement.d.ts +30 -0
- package/esm/compute/orm/models/platformResourcesResolvedRequirement.js +55 -0
- package/esm/compute/orm/models/resourceDefinition.d.ts +54 -0
- package/esm/{modules/orm/models/configSecretsOrgModule.js → compute/orm/models/resourceDefinition.js} +25 -25
- package/esm/compute/orm/models/resourceStatusCheck.d.ts +54 -0
- package/esm/compute/orm/models/resourceStatusCheck.js +100 -0
- package/esm/compute/orm/models/resourcesRequirementsState.d.ts +30 -0
- package/esm/compute/orm/models/resourcesRequirementsState.js +55 -0
- package/esm/compute/orm/models/resourcesResolvedRequirement.d.ts +30 -0
- package/esm/compute/orm/models/resourcesResolvedRequirement.js +55 -0
- package/esm/compute/orm/mutation/index.d.ts +33 -9
- package/esm/compute/orm/mutation/index.js +48 -12
- package/esm/config/cli/commands/config.d.ts +8 -0
- package/esm/config/cli/commands/{platform-config-definition.js → config.js} +127 -65
- package/esm/config/cli/commands/platform-config.js +22 -0
- package/esm/config/cli/commands/platform-internal-secret.d.ts +8 -0
- package/esm/config/cli/commands/platform-internal-secret.js +198 -0
- package/esm/config/cli/commands/platform-internal-secrets-del.d.ts +8 -0
- package/esm/{api/cli/commands/provision-database-with-user.js → config/cli/commands/platform-internal-secrets-del.js} +3 -3
- package/esm/config/cli/commands/platform-internal-secrets-remove-array.d.ts +8 -0
- package/esm/config/cli/commands/platform-internal-secrets-remove-array.js +34 -0
- package/esm/config/cli/commands/platform-internal-secrets-rotate.d.ts +8 -0
- package/esm/config/cli/commands/platform-internal-secrets-rotate.js +34 -0
- package/esm/config/cli/commands/platform-internal-secrets-set.d.ts +8 -0
- package/esm/config/cli/commands/platform-internal-secrets-set.js +34 -0
- package/esm/config/cli/commands/platform-secret.d.ts +8 -0
- package/esm/config/cli/commands/platform-secret.js +210 -0
- package/esm/config/cli/commands/secret.d.ts +8 -0
- package/esm/config/cli/commands/secret.js +222 -0
- package/esm/config/cli/commands/secrets-del.d.ts +8 -0
- package/esm/{api/cli/commands/bootstrap-user.js → config/cli/commands/secrets-del.js} +3 -3
- package/esm/config/cli/commands/secrets-remove-array.d.ts +8 -0
- package/esm/config/cli/commands/secrets-remove-array.js +34 -0
- package/esm/config/cli/commands/secrets-rotate.d.ts +8 -0
- package/esm/config/cli/commands/{org-secrets-del.js → secrets-rotate.js} +3 -3
- package/esm/config/cli/commands/secrets-set.d.ts +8 -0
- package/esm/config/cli/commands/{org-secrets-set.js → secrets-set.js} +3 -3
- package/esm/config/cli/commands.js +25 -11
- package/esm/config/cli/executor.d.ts +38 -15
- package/esm/config/orm/index.d.ts +42 -16
- package/esm/config/orm/index.js +8 -2
- package/esm/config/orm/input-types.d.ts +595 -154
- package/esm/config/orm/models/config.d.ts +54 -0
- package/esm/{modules/orm/models/configSecretsModule.js → config/orm/models/config.js} +25 -25
- package/esm/config/orm/models/index.d.ts +4 -1
- package/esm/config/orm/models/index.js +4 -1
- package/esm/config/orm/models/platformInternalSecret.d.ts +36 -0
- package/esm/config/orm/models/platformInternalSecret.js +76 -0
- package/esm/config/orm/models/platformSecret.d.ts +36 -0
- package/esm/config/orm/models/platformSecret.js +76 -0
- package/esm/config/orm/models/secret.d.ts +36 -0
- package/esm/config/orm/models/secret.js +76 -0
- package/esm/config/orm/mutation/index.d.ts +56 -24
- package/esm/config/orm/mutation/index.js +78 -30
- package/esm/index.d.ts +1 -0
- package/esm/index.js +1 -0
- package/esm/infra/cli/commands/auth.d.ts +8 -0
- package/esm/infra/cli/commands/auth.js +105 -0
- package/esm/infra/cli/commands/context.d.ts +8 -0
- package/esm/infra/cli/commands/context.js +156 -0
- package/esm/infra/cli/commands/db-preset.d.ts +8 -0
- package/esm/infra/cli/commands/db-preset.js +392 -0
- package/esm/infra/cli/commands/infra-commit.d.ts +8 -0
- package/esm/infra/cli/commands/infra-commit.js +387 -0
- package/esm/infra/cli/commands/infra-get-all-record.d.ts +8 -0
- package/esm/infra/cli/commands/infra-get-all-record.js +124 -0
- package/esm/infra/cli/commands/infra-init-empty-repo.d.ts +8 -0
- package/esm/infra/cli/commands/infra-init-empty-repo.js +34 -0
- package/esm/infra/cli/commands/infra-insert-node-at-path.d.ts +8 -0
- package/esm/infra/cli/commands/infra-insert-node-at-path.js +34 -0
- package/esm/infra/cli/commands/infra-object.d.ts +8 -0
- package/esm/infra/cli/commands/infra-object.js +307 -0
- package/esm/infra/cli/commands/infra-ref.d.ts +8 -0
- package/esm/infra/cli/commands/infra-ref.js +297 -0
- package/esm/infra/cli/commands/infra-set-data-at-path.d.ts +8 -0
- package/esm/infra/cli/commands/infra-set-data-at-path.js +34 -0
- package/esm/infra/cli/commands/infra-store.d.ts +8 -0
- package/esm/infra/cli/commands/infra-store.js +276 -0
- package/esm/infra/cli/commands/namespace-event.d.ts +8 -0
- package/esm/infra/cli/commands/namespace-event.js +508 -0
- package/esm/infra/cli/commands/namespace.d.ts +8 -0
- package/esm/infra/cli/commands/namespace.js +434 -0
- package/esm/infra/cli/commands/platform-namespace-event.d.ts +8 -0
- package/esm/infra/cli/commands/platform-namespace-event.js +488 -0
- package/esm/infra/cli/commands/platform-namespace.d.ts +8 -0
- package/esm/infra/cli/commands/platform-namespace.js +414 -0
- package/esm/infra/cli/commands/provision-bucket.d.ts +8 -0
- package/esm/infra/cli/commands/provision-bucket.js +34 -0
- package/esm/infra/cli/commands.d.ts +7 -0
- package/esm/infra/cli/commands.js +69 -0
- package/esm/infra/cli/executor.d.ts +35 -0
- package/esm/infra/cli/executor.js +35 -0
- package/esm/infra/cli/index.d.ts +1 -0
- package/esm/infra/cli/index.js +24 -0
- package/esm/infra/cli/utils.d.ts +88 -0
- package/esm/infra/cli/utils.js +281 -0
- package/esm/infra/index.d.ts +6 -0
- package/esm/infra/index.js +6 -0
- package/esm/infra/orm/client.d.ts +97 -0
- package/esm/infra/orm/client.js +145 -0
- package/esm/infra/orm/index.d.ts +74 -0
- package/esm/infra/orm/index.js +61 -0
- package/esm/infra/orm/input-types.d.ts +1953 -0
- package/esm/infra/orm/input-types.js +2 -0
- package/esm/infra/orm/models/dbPreset.d.ts +54 -0
- package/esm/infra/orm/models/dbPreset.js +100 -0
- package/esm/infra/orm/models/index.d.ts +15 -0
- package/esm/infra/orm/models/index.js +15 -0
- package/esm/infra/orm/models/infraCommit.d.ts +56 -0
- package/esm/infra/orm/models/infraCommit.js +103 -0
- package/esm/infra/orm/models/infraGetAllRecord.d.ts +30 -0
- package/esm/infra/orm/models/infraGetAllRecord.js +55 -0
- package/esm/infra/orm/models/infraObject.d.ts +56 -0
- package/esm/infra/orm/models/infraObject.js +93 -0
- package/esm/infra/orm/models/infraRef.d.ts +56 -0
- package/esm/infra/orm/models/infraRef.js +103 -0
- package/esm/infra/orm/models/infraStore.d.ts +54 -0
- package/esm/infra/orm/models/infraStore.js +100 -0
- package/esm/infra/orm/models/namespace.d.ts +54 -0
- package/esm/infra/orm/models/namespace.js +100 -0
- package/esm/infra/orm/models/namespaceEvent.d.ts +56 -0
- package/esm/infra/orm/models/namespaceEvent.js +103 -0
- package/esm/infra/orm/models/platformNamespace.d.ts +54 -0
- package/esm/{config/orm/models/platformConfigDefinition.js → infra/orm/models/platformNamespace.js} +25 -25
- package/esm/infra/orm/models/platformNamespaceEvent.d.ts +56 -0
- package/esm/infra/orm/models/platformNamespaceEvent.js +103 -0
- package/esm/infra/orm/mutation/index.d.ts +50 -0
- package/esm/infra/orm/mutation/index.js +54 -0
- package/esm/infra/orm/query-builder.d.ts +110 -0
- package/esm/infra/orm/query-builder.js +705 -0
- package/esm/infra/orm/realtime.d.ts +142 -0
- package/esm/infra/orm/realtime.js +100 -0
- package/esm/infra/orm/select-types.d.ts +125 -0
- package/esm/infra/orm/select-types.js +1 -0
- package/esm/infra/orm/types.d.ts +6 -0
- package/esm/infra/orm/types.js +7 -0
- package/esm/modules/cli/commands/agent-module.js +22 -0
- package/esm/modules/cli/commands/billing-module.js +44 -0
- package/esm/modules/cli/commands/compute-log-module.js +22 -0
- package/esm/modules/cli/commands/config-secrets-user-module.js +22 -22
- package/esm/modules/cli/commands/database-provision-module.js +88 -0
- package/esm/modules/cli/commands/db-pool-config.d.ts +8 -0
- package/esm/modules/cli/commands/db-pool-config.js +368 -0
- package/esm/modules/cli/commands/db-pool.d.ts +8 -0
- package/esm/modules/cli/commands/db-pool.js +438 -0
- package/esm/modules/cli/commands/db-preset-module.d.ts +8 -0
- package/esm/modules/cli/commands/db-preset-module.js +534 -0
- package/esm/modules/cli/commands/db-usage-module.js +110 -0
- package/esm/modules/cli/commands/entity-type-provision.js +0 -22
- package/esm/modules/cli/commands/events-module.js +22 -22
- package/esm/modules/cli/commands/function-deployment-module.js +22 -0
- package/esm/modules/cli/commands/function-invocation-module.js +22 -0
- package/esm/modules/cli/commands/function-module.js +22 -44
- package/esm/modules/cli/commands/graph-execution-module.js +22 -0
- package/esm/modules/cli/commands/graph-module.js +22 -0
- package/esm/modules/cli/commands/hierarchy-module.js +22 -0
- package/esm/modules/cli/commands/identity-providers-module.js +22 -0
- package/esm/modules/cli/commands/inference-log-module.js +22 -0
- package/esm/modules/cli/commands/infra-config-module.d.ts +8 -0
- package/esm/modules/cli/commands/infra-config-module.js +536 -0
- package/esm/modules/cli/commands/infra-secrets-module.d.ts +8 -0
- package/esm/modules/cli/commands/{config-secrets-module.js → infra-secrets-module.js} +54 -76
- package/esm/modules/cli/commands/integration-providers-module.d.ts +8 -0
- package/esm/modules/cli/commands/integration-providers-module.js +492 -0
- package/{config/cli/commands/org-secrets-del.d.ts → esm/modules/cli/commands/internal-secrets-module.d.ts} +1 -1
- package/esm/modules/cli/commands/internal-secrets-module.js +536 -0
- package/esm/modules/cli/commands/invites-module.js +22 -0
- package/esm/modules/cli/commands/limits-module.js +22 -0
- package/esm/modules/cli/commands/memberships-module.js +22 -0
- package/esm/modules/cli/commands/merkle-store-module.js +22 -0
- package/esm/modules/cli/commands/namespace-module.js +22 -22
- package/esm/modules/cli/commands/notifications-module.js +22 -0
- package/esm/modules/cli/commands/permissions-module.js +22 -0
- package/esm/modules/cli/commands/profiles-module.js +22 -0
- package/esm/modules/cli/commands/resource-module.js +154 -0
- package/esm/modules/cli/commands/storage-log-module.js +22 -0
- package/esm/modules/cli/commands/storage-module.js +22 -0
- package/esm/modules/cli/commands/transfer-log-module.js +22 -0
- package/esm/modules/cli/commands/user-credentials-module.js +22 -22
- package/esm/modules/cli/commands/user-state-module.js +22 -0
- package/esm/modules/cli/commands.js +49 -39
- package/esm/modules/cli/executor.d.ts +24 -19
- package/esm/modules/orm/index.d.ts +48 -38
- package/esm/modules/orm/index.js +48 -38
- package/esm/modules/orm/input-types.d.ts +5378 -4022
- package/esm/modules/orm/input-types.js +1 -0
- package/esm/modules/orm/models/dbPool.d.ts +54 -0
- package/esm/modules/orm/models/dbPool.js +100 -0
- package/esm/modules/orm/models/dbPoolConfig.d.ts +54 -0
- package/esm/modules/orm/models/dbPoolConfig.js +100 -0
- package/esm/modules/orm/models/dbPresetModule.d.ts +54 -0
- package/esm/modules/orm/models/dbPresetModule.js +100 -0
- package/esm/modules/orm/models/index.d.ts +24 -19
- package/esm/modules/orm/models/index.js +24 -19
- package/esm/modules/orm/models/infraConfigModule.d.ts +54 -0
- package/esm/modules/orm/models/infraConfigModule.js +100 -0
- package/esm/modules/orm/models/infraSecretsModule.d.ts +54 -0
- package/esm/modules/orm/models/infraSecretsModule.js +100 -0
- package/esm/modules/orm/models/integrationProvidersModule.d.ts +54 -0
- package/esm/modules/orm/models/integrationProvidersModule.js +100 -0
- package/esm/modules/orm/models/internalSecretsModule.d.ts +54 -0
- package/esm/modules/orm/models/internalSecretsModule.js +100 -0
- package/index.d.ts +1 -0
- package/index.js +2 -1
- package/infra/cli/commands/auth.d.ts +8 -0
- package/infra/cli/commands/auth.js +107 -0
- package/infra/cli/commands/context.d.ts +8 -0
- package/infra/cli/commands/context.js +158 -0
- package/infra/cli/commands/db-preset.d.ts +8 -0
- package/infra/cli/commands/db-preset.js +394 -0
- package/infra/cli/commands/infra-commit.d.ts +8 -0
- package/infra/cli/commands/infra-commit.js +389 -0
- package/infra/cli/commands/infra-get-all-record.d.ts +8 -0
- package/infra/cli/commands/infra-get-all-record.js +126 -0
- package/infra/cli/commands/infra-init-empty-repo.d.ts +8 -0
- package/infra/cli/commands/infra-init-empty-repo.js +36 -0
- package/infra/cli/commands/infra-insert-node-at-path.d.ts +8 -0
- package/infra/cli/commands/infra-insert-node-at-path.js +36 -0
- package/infra/cli/commands/infra-object.d.ts +8 -0
- package/infra/cli/commands/infra-object.js +309 -0
- package/infra/cli/commands/infra-ref.d.ts +8 -0
- package/infra/cli/commands/infra-ref.js +299 -0
- package/infra/cli/commands/infra-set-data-at-path.d.ts +8 -0
- package/infra/cli/commands/infra-set-data-at-path.js +36 -0
- package/infra/cli/commands/infra-store.d.ts +8 -0
- package/infra/cli/commands/infra-store.js +278 -0
- package/infra/cli/commands/namespace-event.d.ts +8 -0
- package/infra/cli/commands/namespace-event.js +510 -0
- package/infra/cli/commands/namespace.d.ts +8 -0
- package/infra/cli/commands/namespace.js +436 -0
- package/infra/cli/commands/platform-namespace-event.d.ts +8 -0
- package/infra/cli/commands/platform-namespace-event.js +490 -0
- package/infra/cli/commands/platform-namespace.d.ts +8 -0
- package/infra/cli/commands/platform-namespace.js +416 -0
- package/infra/cli/commands/provision-bucket.d.ts +8 -0
- package/infra/cli/commands/provision-bucket.js +36 -0
- package/infra/cli/commands.d.ts +7 -0
- package/infra/cli/commands.js +76 -0
- package/infra/cli/executor.d.ts +35 -0
- package/infra/cli/executor.js +40 -0
- package/infra/cli/index.d.ts +1 -0
- package/infra/cli/index.js +26 -0
- package/infra/cli/utils.d.ts +88 -0
- package/infra/cli/utils.js +297 -0
- package/infra/index.d.ts +6 -0
- package/infra/index.js +22 -0
- package/infra/orm/client.d.ts +97 -0
- package/infra/orm/client.js +152 -0
- package/infra/orm/index.d.ts +74 -0
- package/infra/orm/index.js +83 -0
- package/infra/orm/input-types.d.ts +1953 -0
- package/infra/orm/input-types.js +5 -0
- package/infra/orm/models/dbPreset.d.ts +54 -0
- package/infra/orm/models/dbPreset.js +104 -0
- package/infra/orm/models/index.d.ts +15 -0
- package/infra/orm/models/index.js +28 -0
- package/infra/orm/models/infraCommit.d.ts +56 -0
- package/infra/orm/models/infraCommit.js +107 -0
- package/infra/orm/models/infraGetAllRecord.d.ts +30 -0
- package/infra/orm/models/infraGetAllRecord.js +59 -0
- package/infra/orm/models/infraObject.d.ts +56 -0
- package/infra/orm/models/infraObject.js +97 -0
- package/infra/orm/models/infraRef.d.ts +56 -0
- package/infra/orm/models/infraRef.js +107 -0
- package/infra/orm/models/infraStore.d.ts +54 -0
- package/infra/orm/models/infraStore.js +104 -0
- package/infra/orm/models/namespace.d.ts +54 -0
- package/infra/orm/models/namespace.js +104 -0
- package/infra/orm/models/namespaceEvent.d.ts +56 -0
- package/infra/orm/models/namespaceEvent.js +107 -0
- package/infra/orm/models/platformNamespace.d.ts +54 -0
- package/infra/orm/models/platformNamespace.js +104 -0
- package/infra/orm/models/platformNamespaceEvent.d.ts +56 -0
- package/{config/orm/models/platformConfigDefinition.js → infra/orm/models/platformNamespaceEvent.js} +30 -27
- package/infra/orm/mutation/index.d.ts +50 -0
- package/infra/orm/mutation/index.js +57 -0
- package/infra/orm/query-builder.d.ts +110 -0
- package/infra/orm/query-builder.js +757 -0
- package/infra/orm/realtime.d.ts +142 -0
- package/infra/orm/realtime.js +104 -0
- package/infra/orm/select-types.d.ts +125 -0
- package/infra/orm/select-types.js +2 -0
- package/infra/orm/types.d.ts +6 -0
- package/infra/orm/types.js +23 -0
- package/modules/cli/commands/agent-module.js +22 -0
- package/modules/cli/commands/billing-module.js +44 -0
- package/modules/cli/commands/compute-log-module.js +22 -0
- package/modules/cli/commands/config-secrets-user-module.js +22 -22
- package/modules/cli/commands/database-provision-module.js +88 -0
- package/modules/cli/commands/db-pool-config.d.ts +8 -0
- package/modules/cli/commands/db-pool-config.js +370 -0
- package/modules/cli/commands/db-pool.d.ts +8 -0
- package/modules/cli/commands/db-pool.js +440 -0
- package/modules/cli/commands/db-preset-module.d.ts +8 -0
- package/modules/cli/commands/db-preset-module.js +536 -0
- package/modules/cli/commands/db-usage-module.js +110 -0
- package/modules/cli/commands/entity-type-provision.js +0 -22
- package/modules/cli/commands/events-module.js +22 -22
- package/modules/cli/commands/function-deployment-module.js +22 -0
- package/modules/cli/commands/function-invocation-module.js +22 -0
- package/modules/cli/commands/function-module.js +22 -44
- package/modules/cli/commands/graph-execution-module.js +22 -0
- package/modules/cli/commands/graph-module.js +22 -0
- package/modules/cli/commands/hierarchy-module.js +22 -0
- package/modules/cli/commands/identity-providers-module.js +22 -0
- package/modules/cli/commands/inference-log-module.js +22 -0
- package/modules/cli/commands/infra-config-module.d.ts +8 -0
- package/modules/cli/commands/infra-config-module.js +538 -0
- package/modules/cli/commands/infra-secrets-module.d.ts +8 -0
- package/modules/cli/commands/{config-secrets-module.js → infra-secrets-module.js} +54 -76
- package/modules/cli/commands/integration-providers-module.d.ts +8 -0
- package/modules/cli/commands/integration-providers-module.js +494 -0
- package/modules/cli/commands/internal-secrets-module.d.ts +8 -0
- package/modules/cli/commands/internal-secrets-module.js +538 -0
- package/modules/cli/commands/invites-module.js +22 -0
- package/modules/cli/commands/limits-module.js +22 -0
- package/modules/cli/commands/memberships-module.js +22 -0
- package/modules/cli/commands/merkle-store-module.js +22 -0
- package/modules/cli/commands/namespace-module.js +22 -22
- package/modules/cli/commands/notifications-module.js +22 -0
- package/modules/cli/commands/permissions-module.js +22 -0
- package/modules/cli/commands/profiles-module.js +22 -0
- package/modules/cli/commands/resource-module.js +154 -0
- package/modules/cli/commands/storage-log-module.js +22 -0
- package/modules/cli/commands/storage-module.js +22 -0
- package/modules/cli/commands/transfer-log-module.js +22 -0
- package/modules/cli/commands/user-credentials-module.js +22 -22
- package/modules/cli/commands/user-state-module.js +22 -0
- package/modules/cli/commands.js +49 -39
- package/modules/cli/executor.d.ts +24 -19
- package/modules/orm/index.d.ts +48 -38
- package/modules/orm/index.js +48 -38
- package/modules/orm/input-types.d.ts +5378 -4022
- package/modules/orm/input-types.js +1 -0
- package/modules/orm/models/dbPool.d.ts +54 -0
- package/modules/orm/models/dbPool.js +104 -0
- package/modules/orm/models/dbPoolConfig.d.ts +54 -0
- package/modules/orm/models/dbPoolConfig.js +104 -0
- package/modules/orm/models/dbPresetModule.d.ts +54 -0
- package/modules/orm/models/dbPresetModule.js +104 -0
- package/modules/orm/models/index.d.ts +24 -19
- package/modules/orm/models/index.js +50 -40
- package/modules/orm/models/infraConfigModule.d.ts +54 -0
- package/modules/orm/models/infraConfigModule.js +104 -0
- package/modules/orm/models/infraSecretsModule.d.ts +54 -0
- package/modules/orm/models/infraSecretsModule.js +104 -0
- package/modules/orm/models/integrationProvidersModule.d.ts +54 -0
- package/modules/orm/models/integrationProvidersModule.js +104 -0
- package/modules/orm/models/internalSecretsModule.d.ts +54 -0
- package/modules/orm/models/internalSecretsModule.js +104 -0
- package/package.json +4 -4
- package/api/cli/commands/create-user-database.js +0 -36
- package/compute/orm/models/orgFunctionExecutionLog.d.ts +0 -56
- package/compute/orm/models/orgFunctionInvocation.d.ts +0 -56
- package/compute/orm/models/secretDefinition.d.ts +0 -54
- package/config/cli/commands/org-secrets-remove-array.d.ts +0 -8
- package/config/cli/commands/org-secrets-rotate.d.ts +0 -8
- package/config/cli/commands/org-secrets-set.d.ts +0 -8
- package/config/cli/commands/platform-config-definition.d.ts +0 -8
- package/config/orm/models/platformConfigDefinition.d.ts +0 -54
- package/esm/api/cli/commands/bootstrap-user.d.ts +0 -8
- package/esm/api/cli/commands/create-user-database.d.ts +0 -8
- package/esm/api/cli/commands/create-user-database.js +0 -34
- package/esm/api/cli/commands/provision-database-with-user.d.ts +0 -8
- package/esm/compute/cli/commands/org-function-execution-log.d.ts +0 -8
- package/esm/compute/cli/commands/org-function-invocation.d.ts +0 -8
- package/esm/compute/orm/models/orgFunctionExecutionLog.d.ts +0 -56
- package/esm/compute/orm/models/orgFunctionInvocation.d.ts +0 -56
- package/esm/compute/orm/models/secretDefinition.d.ts +0 -54
- package/esm/config/cli/commands/org-secrets-del.d.ts +0 -8
- package/esm/config/cli/commands/org-secrets-remove-array.d.ts +0 -8
- package/esm/config/cli/commands/org-secrets-rotate.d.ts +0 -8
- package/esm/config/cli/commands/org-secrets-set.d.ts +0 -8
- package/esm/config/cli/commands/platform-config-definition.d.ts +0 -8
- package/esm/config/orm/models/platformConfigDefinition.d.ts +0 -54
- package/esm/modules/cli/commands/config-secrets-org-module.d.ts +0 -8
- package/esm/modules/orm/models/configSecretsModule.d.ts +0 -54
- package/esm/modules/orm/models/configSecretsOrgModule.d.ts +0 -54
- package/modules/cli/commands/config-secrets-org-module.d.ts +0 -8
- package/modules/orm/models/configSecretsModule.d.ts +0 -54
- package/modules/orm/models/configSecretsOrgModule.d.ts +0 -54
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CLI commands for ResourcesResolvedRequirement
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import { extractFirst } from 'inquirerer';
|
|
7
|
+
import { getClient } from '../executor';
|
|
8
|
+
import { coerceAnswers, parseFindFirstArgs, parseFindManyArgs, stripUndefined } from '../utils';
|
|
9
|
+
const fieldSchema = {
|
|
10
|
+
resourceId: 'uuid',
|
|
11
|
+
slug: 'string',
|
|
12
|
+
namespaceId: 'uuid',
|
|
13
|
+
requirementKind: 'string',
|
|
14
|
+
name: 'string',
|
|
15
|
+
required: 'boolean',
|
|
16
|
+
atomId: 'uuid',
|
|
17
|
+
present: 'boolean',
|
|
18
|
+
secretsObjectName: 'string',
|
|
19
|
+
configObjectName: 'string',
|
|
20
|
+
};
|
|
21
|
+
const usage = '\nresources-resolved-requirement <command>\n\nCommands:\n list List resourcesResolvedRequirement records\n find-first Find first matching resourcesResolvedRequirement record\n create Create a new resourcesResolvedRequirement\n\nList Options:\n --limit <n> Max number of records to return (forward pagination)\n --last <n> Number of records from the end (backward pagination)\n --after <cursor> Cursor for forward pagination\n --before <cursor> Cursor for backward pagination\n --offset <n> Number of records to skip\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.name.equalTo foo)\n --condition.<f>.<op> Condition filter (dot-notation)\n --orderBy <values> Comma-separated ordering values (e.g. NAME_ASC,CREATED_AT_DESC)\n\nFind-First Options:\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.status.equalTo active)\n --condition.<f>.<op> Condition filter (dot-notation)\n --orderBy <values> Comma-separated ordering values (e.g. NAME_ASC,CREATED_AT_DESC)\n\n --help, -h Show this help message\n';
|
|
22
|
+
export default async (argv, prompter, _options) => {
|
|
23
|
+
if (argv.help || argv.h) {
|
|
24
|
+
console.log(usage);
|
|
25
|
+
process.exit(0);
|
|
26
|
+
}
|
|
27
|
+
const { first: subcommand, newArgv } = extractFirst(argv);
|
|
28
|
+
if (!subcommand) {
|
|
29
|
+
const answer = await prompter.prompt(argv, [
|
|
30
|
+
{
|
|
31
|
+
type: 'autocomplete',
|
|
32
|
+
name: 'subcommand',
|
|
33
|
+
message: 'What do you want to do?',
|
|
34
|
+
options: ['list', 'find-first', 'create'],
|
|
35
|
+
},
|
|
36
|
+
]);
|
|
37
|
+
return handleTableSubcommand(answer.subcommand, newArgv, prompter);
|
|
38
|
+
}
|
|
39
|
+
return handleTableSubcommand(subcommand, newArgv, prompter);
|
|
40
|
+
};
|
|
41
|
+
async function handleTableSubcommand(subcommand, argv, prompter) {
|
|
42
|
+
switch (subcommand) {
|
|
43
|
+
case 'list':
|
|
44
|
+
return handleList(argv, prompter);
|
|
45
|
+
case 'find-first':
|
|
46
|
+
return handleFindFirst(argv, prompter);
|
|
47
|
+
case 'create':
|
|
48
|
+
return handleCreate(argv, prompter);
|
|
49
|
+
default:
|
|
50
|
+
console.log(usage);
|
|
51
|
+
process.exit(1);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
async function handleList(argv, _prompter) {
|
|
55
|
+
try {
|
|
56
|
+
const defaultSelect = {
|
|
57
|
+
resourceId: true,
|
|
58
|
+
slug: true,
|
|
59
|
+
namespaceId: true,
|
|
60
|
+
requirementKind: true,
|
|
61
|
+
name: true,
|
|
62
|
+
required: true,
|
|
63
|
+
atomId: true,
|
|
64
|
+
present: true,
|
|
65
|
+
secretsObjectName: true,
|
|
66
|
+
configObjectName: true,
|
|
67
|
+
};
|
|
68
|
+
const findManyArgs = parseFindManyArgs(argv, defaultSelect);
|
|
69
|
+
const client = getClient();
|
|
70
|
+
const result = await client.resourcesResolvedRequirement.findMany(findManyArgs).execute();
|
|
71
|
+
console.log(JSON.stringify(result, null, 2));
|
|
72
|
+
}
|
|
73
|
+
catch (error) {
|
|
74
|
+
console.error('Failed to list records.');
|
|
75
|
+
if (error instanceof Error) {
|
|
76
|
+
console.error(error.message);
|
|
77
|
+
}
|
|
78
|
+
process.exit(1);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
async function handleFindFirst(argv, _prompter) {
|
|
82
|
+
try {
|
|
83
|
+
const defaultSelect = {
|
|
84
|
+
resourceId: true,
|
|
85
|
+
slug: true,
|
|
86
|
+
namespaceId: true,
|
|
87
|
+
requirementKind: true,
|
|
88
|
+
name: true,
|
|
89
|
+
required: true,
|
|
90
|
+
atomId: true,
|
|
91
|
+
present: true,
|
|
92
|
+
secretsObjectName: true,
|
|
93
|
+
configObjectName: true,
|
|
94
|
+
};
|
|
95
|
+
const findFirstArgs = parseFindFirstArgs(argv, defaultSelect);
|
|
96
|
+
const client = getClient();
|
|
97
|
+
const result = await client.resourcesResolvedRequirement.findFirst(findFirstArgs).execute();
|
|
98
|
+
console.log(JSON.stringify(result, null, 2));
|
|
99
|
+
}
|
|
100
|
+
catch (error) {
|
|
101
|
+
console.error('Failed to find record.');
|
|
102
|
+
if (error instanceof Error) {
|
|
103
|
+
console.error(error.message);
|
|
104
|
+
}
|
|
105
|
+
process.exit(1);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
async function handleCreate(argv, prompter) {
|
|
109
|
+
try {
|
|
110
|
+
const rawAnswers = await prompter.prompt(argv, [
|
|
111
|
+
{
|
|
112
|
+
type: 'text',
|
|
113
|
+
name: 'resourceId',
|
|
114
|
+
message: 'resourceId',
|
|
115
|
+
required: true,
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
type: 'text',
|
|
119
|
+
name: 'slug',
|
|
120
|
+
message: 'slug',
|
|
121
|
+
required: true,
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
type: 'text',
|
|
125
|
+
name: 'namespaceId',
|
|
126
|
+
message: 'namespaceId',
|
|
127
|
+
required: true,
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
type: 'text',
|
|
131
|
+
name: 'requirementKind',
|
|
132
|
+
message: 'requirementKind',
|
|
133
|
+
required: true,
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
type: 'text',
|
|
137
|
+
name: 'name',
|
|
138
|
+
message: 'name',
|
|
139
|
+
required: true,
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
type: 'boolean',
|
|
143
|
+
name: 'required',
|
|
144
|
+
message: 'required',
|
|
145
|
+
required: true,
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
type: 'text',
|
|
149
|
+
name: 'atomId',
|
|
150
|
+
message: 'atomId',
|
|
151
|
+
required: true,
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
type: 'boolean',
|
|
155
|
+
name: 'present',
|
|
156
|
+
message: 'present',
|
|
157
|
+
required: true,
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
type: 'text',
|
|
161
|
+
name: 'secretsObjectName',
|
|
162
|
+
message: 'secretsObjectName',
|
|
163
|
+
required: true,
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
type: 'text',
|
|
167
|
+
name: 'configObjectName',
|
|
168
|
+
message: 'configObjectName',
|
|
169
|
+
required: true,
|
|
170
|
+
},
|
|
171
|
+
]);
|
|
172
|
+
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
173
|
+
const cleanedData = stripUndefined(answers, fieldSchema);
|
|
174
|
+
const client = getClient();
|
|
175
|
+
const result = await client.resourcesResolvedRequirement
|
|
176
|
+
.create({
|
|
177
|
+
data: {
|
|
178
|
+
resourceId: cleanedData.resourceId,
|
|
179
|
+
slug: cleanedData.slug,
|
|
180
|
+
namespaceId: cleanedData.namespaceId,
|
|
181
|
+
requirementKind: cleanedData.requirementKind,
|
|
182
|
+
name: cleanedData.name,
|
|
183
|
+
required: cleanedData.required,
|
|
184
|
+
atomId: cleanedData.atomId,
|
|
185
|
+
present: cleanedData.present,
|
|
186
|
+
secretsObjectName: cleanedData.secretsObjectName,
|
|
187
|
+
configObjectName: cleanedData.configObjectName,
|
|
188
|
+
},
|
|
189
|
+
select: {
|
|
190
|
+
resourceId: true,
|
|
191
|
+
slug: true,
|
|
192
|
+
namespaceId: true,
|
|
193
|
+
requirementKind: true,
|
|
194
|
+
name: true,
|
|
195
|
+
required: true,
|
|
196
|
+
atomId: true,
|
|
197
|
+
present: true,
|
|
198
|
+
secretsObjectName: true,
|
|
199
|
+
configObjectName: true,
|
|
200
|
+
},
|
|
201
|
+
})
|
|
202
|
+
.execute();
|
|
203
|
+
console.log(JSON.stringify(result, null, 2));
|
|
204
|
+
}
|
|
205
|
+
catch (error) {
|
|
206
|
+
console.error('Failed to create record.');
|
|
207
|
+
if (error instanceof Error) {
|
|
208
|
+
console.error(error.message);
|
|
209
|
+
}
|
|
210
|
+
process.exit(1);
|
|
211
|
+
}
|
|
212
|
+
}
|
|
@@ -6,33 +6,57 @@
|
|
|
6
6
|
import { extractFirst } from 'inquirerer';
|
|
7
7
|
import contextCmd from './commands/context';
|
|
8
8
|
import authCmd from './commands/auth';
|
|
9
|
+
import infraGetAllRecordCmd from './commands/infra-get-all-record';
|
|
9
10
|
import getAllRecordCmd from './commands/get-all-record';
|
|
11
|
+
import infraRefCmd from './commands/infra-ref';
|
|
12
|
+
import infraStoreCmd from './commands/infra-store';
|
|
10
13
|
import functionApiBindingCmd from './commands/function-api-binding';
|
|
11
|
-
import functionDeploymentCmd from './commands/function-deployment';
|
|
12
|
-
import resourceCmd from './commands/resource';
|
|
13
14
|
import functionGraphRefCmd from './commands/function-graph-ref';
|
|
14
15
|
import functionGraphStoreCmd from './commands/function-graph-store';
|
|
16
|
+
import platformFunctionApiBindingCmd from './commands/platform-function-api-binding';
|
|
17
|
+
import platformResourcesRequirementsStateCmd from './commands/platform-resources-requirements-state';
|
|
18
|
+
import resourcesRequirementsStateCmd from './commands/resources-requirements-state';
|
|
19
|
+
import platformResourceStatusCheckCmd from './commands/platform-resource-status-check';
|
|
20
|
+
import platformFunctionDeploymentCmd from './commands/platform-function-deployment';
|
|
21
|
+
import platformResourceCmd from './commands/platform-resource';
|
|
22
|
+
import platformResourceDefinitionCmd from './commands/platform-resource-definition';
|
|
23
|
+
import infraObjectCmd from './commands/infra-object';
|
|
15
24
|
import functionGraphObjectCmd from './commands/function-graph-object';
|
|
25
|
+
import platformFunctionDeploymentEventCmd from './commands/platform-function-deployment-event';
|
|
26
|
+
import platformResourceEventCmd from './commands/platform-resource-event';
|
|
27
|
+
import resourceStatusCheckCmd from './commands/resource-status-check';
|
|
28
|
+
import functionDeploymentCmd from './commands/function-deployment';
|
|
29
|
+
import resourceCmd from './commands/resource';
|
|
30
|
+
import resourceDefinitionCmd from './commands/resource-definition';
|
|
16
31
|
import functionDeploymentEventCmd from './commands/function-deployment-event';
|
|
17
|
-
import
|
|
32
|
+
import platformFunctionExecutionLogCmd from './commands/platform-function-execution-log';
|
|
18
33
|
import resourceEventCmd from './commands/resource-event';
|
|
19
34
|
import functionGraphExecutionOutputCmd from './commands/function-graph-execution-output';
|
|
35
|
+
import infraCommitCmd from './commands/infra-commit';
|
|
20
36
|
import functionGraphCommitCmd from './commands/function-graph-commit';
|
|
21
|
-
import secretDefinitionCmd from './commands/secret-definition';
|
|
22
37
|
import functionExecutionLogCmd from './commands/function-execution-log';
|
|
38
|
+
import platformResourcesResolvedRequirementCmd from './commands/platform-resources-resolved-requirement';
|
|
39
|
+
import resourcesResolvedRequirementCmd from './commands/resources-resolved-requirement';
|
|
40
|
+
import dbPresetCmd from './commands/db-preset';
|
|
41
|
+
import platformNamespaceCmd from './commands/platform-namespace';
|
|
23
42
|
import functionGraphCmd from './commands/function-graph';
|
|
24
43
|
import functionGraphExecutionNodeStateCmd from './commands/function-graph-execution-node-state';
|
|
25
|
-
import
|
|
26
|
-
import
|
|
44
|
+
import namespaceCmd from './commands/namespace';
|
|
45
|
+
import platformFunctionInvocationCmd from './commands/platform-function-invocation';
|
|
27
46
|
import functionInvocationCmd from './commands/function-invocation';
|
|
28
47
|
import platformNamespaceEventCmd from './commands/platform-namespace-event';
|
|
48
|
+
import integrationProviderCmd from './commands/integration-provider';
|
|
49
|
+
import namespaceEventCmd from './commands/namespace-event';
|
|
29
50
|
import functionGraphExecutionCmd from './commands/function-graph-execution';
|
|
51
|
+
import platformFunctionDefinitionCmd from './commands/platform-function-definition';
|
|
30
52
|
import functionDefinitionCmd from './commands/function-definition';
|
|
31
53
|
import readFunctionGraphCmd from './commands/read-function-graph';
|
|
32
54
|
import validateFunctionGraphCmd from './commands/validate-function-graph';
|
|
55
|
+
import infraInitEmptyRepoCmd from './commands/infra-init-empty-repo';
|
|
33
56
|
import initEmptyRepoCmd from './commands/init-empty-repo';
|
|
34
|
-
import setDataAtPathCmd from './commands/set-data-at-path';
|
|
35
57
|
import importDefinitionsCmd from './commands/import-definitions';
|
|
58
|
+
import infraSetDataAtPathCmd from './commands/infra-set-data-at-path';
|
|
59
|
+
import setDataAtPathCmd from './commands/set-data-at-path';
|
|
36
60
|
import copyGraphCmd from './commands/copy-graph';
|
|
37
61
|
import saveGraphCmd from './commands/save-graph';
|
|
38
62
|
import addEdgeAndSaveCmd from './commands/add-edge-and-save';
|
|
@@ -40,39 +64,64 @@ import addNodeAndSaveCmd from './commands/add-node-and-save';
|
|
|
40
64
|
import importGraphJsonCmd from './commands/import-graph-json';
|
|
41
65
|
import addEdgeCmd from './commands/add-edge';
|
|
42
66
|
import addNodeCmd from './commands/add-node';
|
|
67
|
+
import infraInsertNodeAtPathCmd from './commands/infra-insert-node-at-path';
|
|
43
68
|
import insertNodeAtPathCmd from './commands/insert-node-at-path';
|
|
44
69
|
import startExecutionCmd from './commands/start-execution';
|
|
45
70
|
import provisionBucketCmd from './commands/provision-bucket';
|
|
46
71
|
const createCommandMap = () => ({
|
|
47
72
|
context: contextCmd,
|
|
48
73
|
auth: authCmd,
|
|
74
|
+
'infra-get-all-record': infraGetAllRecordCmd,
|
|
49
75
|
'get-all-record': getAllRecordCmd,
|
|
76
|
+
'infra-ref': infraRefCmd,
|
|
77
|
+
'infra-store': infraStoreCmd,
|
|
50
78
|
'function-api-binding': functionApiBindingCmd,
|
|
51
|
-
'function-deployment': functionDeploymentCmd,
|
|
52
|
-
resource: resourceCmd,
|
|
53
79
|
'function-graph-ref': functionGraphRefCmd,
|
|
54
80
|
'function-graph-store': functionGraphStoreCmd,
|
|
81
|
+
'platform-function-api-binding': platformFunctionApiBindingCmd,
|
|
82
|
+
'platform-resources-requirements-state': platformResourcesRequirementsStateCmd,
|
|
83
|
+
'resources-requirements-state': resourcesRequirementsStateCmd,
|
|
84
|
+
'platform-resource-status-check': platformResourceStatusCheckCmd,
|
|
85
|
+
'platform-function-deployment': platformFunctionDeploymentCmd,
|
|
86
|
+
'platform-resource': platformResourceCmd,
|
|
87
|
+
'platform-resource-definition': platformResourceDefinitionCmd,
|
|
88
|
+
'infra-object': infraObjectCmd,
|
|
55
89
|
'function-graph-object': functionGraphObjectCmd,
|
|
90
|
+
'platform-function-deployment-event': platformFunctionDeploymentEventCmd,
|
|
91
|
+
'platform-resource-event': platformResourceEventCmd,
|
|
92
|
+
'resource-status-check': resourceStatusCheckCmd,
|
|
93
|
+
'function-deployment': functionDeploymentCmd,
|
|
94
|
+
resource: resourceCmd,
|
|
95
|
+
'resource-definition': resourceDefinitionCmd,
|
|
56
96
|
'function-deployment-event': functionDeploymentEventCmd,
|
|
57
|
-
'
|
|
97
|
+
'platform-function-execution-log': platformFunctionExecutionLogCmd,
|
|
58
98
|
'resource-event': resourceEventCmd,
|
|
59
99
|
'function-graph-execution-output': functionGraphExecutionOutputCmd,
|
|
100
|
+
'infra-commit': infraCommitCmd,
|
|
60
101
|
'function-graph-commit': functionGraphCommitCmd,
|
|
61
|
-
'secret-definition': secretDefinitionCmd,
|
|
62
102
|
'function-execution-log': functionExecutionLogCmd,
|
|
103
|
+
'platform-resources-resolved-requirement': platformResourcesResolvedRequirementCmd,
|
|
104
|
+
'resources-resolved-requirement': resourcesResolvedRequirementCmd,
|
|
105
|
+
'db-preset': dbPresetCmd,
|
|
106
|
+
'platform-namespace': platformNamespaceCmd,
|
|
63
107
|
'function-graph': functionGraphCmd,
|
|
64
108
|
'function-graph-execution-node-state': functionGraphExecutionNodeStateCmd,
|
|
65
|
-
|
|
66
|
-
'
|
|
109
|
+
namespace: namespaceCmd,
|
|
110
|
+
'platform-function-invocation': platformFunctionInvocationCmd,
|
|
67
111
|
'function-invocation': functionInvocationCmd,
|
|
68
112
|
'platform-namespace-event': platformNamespaceEventCmd,
|
|
113
|
+
'integration-provider': integrationProviderCmd,
|
|
114
|
+
'namespace-event': namespaceEventCmd,
|
|
69
115
|
'function-graph-execution': functionGraphExecutionCmd,
|
|
116
|
+
'platform-function-definition': platformFunctionDefinitionCmd,
|
|
70
117
|
'function-definition': functionDefinitionCmd,
|
|
71
118
|
'read-function-graph': readFunctionGraphCmd,
|
|
72
119
|
'validate-function-graph': validateFunctionGraphCmd,
|
|
120
|
+
'infra-init-empty-repo': infraInitEmptyRepoCmd,
|
|
73
121
|
'init-empty-repo': initEmptyRepoCmd,
|
|
74
|
-
'set-data-at-path': setDataAtPathCmd,
|
|
75
122
|
'import-definitions': importDefinitionsCmd,
|
|
123
|
+
'infra-set-data-at-path': infraSetDataAtPathCmd,
|
|
124
|
+
'set-data-at-path': setDataAtPathCmd,
|
|
76
125
|
'copy-graph': copyGraphCmd,
|
|
77
126
|
'save-graph': saveGraphCmd,
|
|
78
127
|
'add-edge-and-save': addEdgeAndSaveCmd,
|
|
@@ -80,11 +129,12 @@ const createCommandMap = () => ({
|
|
|
80
129
|
'import-graph-json': importGraphJsonCmd,
|
|
81
130
|
'add-edge': addEdgeCmd,
|
|
82
131
|
'add-node': addNodeCmd,
|
|
132
|
+
'infra-insert-node-at-path': infraInsertNodeAtPathCmd,
|
|
83
133
|
'insert-node-at-path': insertNodeAtPathCmd,
|
|
84
134
|
'start-execution': startExecutionCmd,
|
|
85
135
|
'provision-bucket': provisionBucketCmd,
|
|
86
136
|
});
|
|
87
|
-
const usage = '\ncsdk <command>\n\nCommands:\n context Manage API contexts\n auth Manage authentication\n get-all-record getAllRecord CRUD operations\n function-api-binding functionApiBinding CRUD operations\n function-
|
|
137
|
+
const usage = '\ncsdk <command>\n\nCommands:\n context Manage API contexts\n auth Manage authentication\n infra-get-all-record infraGetAllRecord CRUD operations\n get-all-record getAllRecord CRUD operations\n infra-ref infraRef CRUD operations\n infra-store infraStore CRUD operations\n function-api-binding functionApiBinding CRUD operations\n function-graph-ref functionGraphRef CRUD operations\n function-graph-store functionGraphStore CRUD operations\n platform-function-api-binding platformFunctionApiBinding CRUD operations\n platform-resources-requirements-state platformResourcesRequirementsState CRUD operations\n resources-requirements-state resourcesRequirementsState CRUD operations\n platform-resource-status-check platformResourceStatusCheck CRUD operations\n platform-function-deployment platformFunctionDeployment CRUD operations\n platform-resource platformResource CRUD operations\n platform-resource-definition platformResourceDefinition CRUD operations\n infra-object infraObject CRUD operations\n function-graph-object functionGraphObject CRUD operations\n platform-function-deployment-event platformFunctionDeploymentEvent CRUD operations\n platform-resource-event platformResourceEvent CRUD operations\n resource-status-check resourceStatusCheck CRUD operations\n function-deployment functionDeployment CRUD operations\n resource resource CRUD operations\n resource-definition resourceDefinition CRUD operations\n function-deployment-event functionDeploymentEvent CRUD operations\n platform-function-execution-log platformFunctionExecutionLog CRUD operations\n resource-event resourceEvent CRUD operations\n function-graph-execution-output functionGraphExecutionOutput CRUD operations\n infra-commit infraCommit CRUD operations\n function-graph-commit functionGraphCommit CRUD operations\n function-execution-log functionExecutionLog CRUD operations\n platform-resources-resolved-requirement platformResourcesResolvedRequirement CRUD operations\n resources-resolved-requirement resourcesResolvedRequirement CRUD operations\n db-preset dbPreset CRUD operations\n platform-namespace platformNamespace CRUD operations\n function-graph functionGraph CRUD operations\n function-graph-execution-node-state functionGraphExecutionNodeState CRUD operations\n namespace namespace CRUD operations\n platform-function-invocation platformFunctionInvocation CRUD operations\n function-invocation functionInvocation CRUD operations\n platform-namespace-event platformNamespaceEvent CRUD operations\n integration-provider integrationProvider CRUD operations\n namespace-event namespaceEvent CRUD operations\n function-graph-execution functionGraphExecution CRUD operations\n platform-function-definition platformFunctionDefinition CRUD operations\n function-definition functionDefinition CRUD operations\n read-function-graph readFunctionGraph\n validate-function-graph validateFunctionGraph\n infra-init-empty-repo infraInitEmptyRepo\n init-empty-repo initEmptyRepo\n import-definitions importDefinitions\n infra-set-data-at-path infraSetDataAtPath\n set-data-at-path setDataAtPath\n copy-graph copyGraph\n save-graph saveGraph\n add-edge-and-save addEdgeAndSave\n add-node-and-save addNodeAndSave\n import-graph-json importGraphJson\n add-edge addEdge\n add-node addNode\n infra-insert-node-at-path infraInsertNodeAtPath\n insert-node-at-path insertNodeAtPath\n start-execution startExecution\n provision-bucket Provision an S3 bucket for a logical bucket in the database.\nReads the bucket config via RLS, then creates and configures\nthe S3 bucket with the appropriate privacy policies, CORS rules,\nand lifecycle settings.\n\n --help, -h Show this help message\n --version, -v Show version\n';
|
|
88
138
|
export const commands = async (argv, prompter, options) => {
|
|
89
139
|
if (argv.help || argv.h) {
|
|
90
140
|
console.log(usage);
|
|
@@ -1,26 +1,48 @@
|
|
|
1
1
|
export declare const getStore: () => import("appstash").ConfigStore;
|
|
2
2
|
export declare function getClient(contextName?: string): {
|
|
3
|
+
infraGetAllRecord: import("..").InfraGetAllRecordModel;
|
|
3
4
|
getAllRecord: import("..").GetAllRecordModel;
|
|
5
|
+
infraRef: import("..").InfraRefModel;
|
|
6
|
+
infraStore: import("..").InfraStoreModel;
|
|
4
7
|
functionApiBinding: import("..").FunctionApiBindingModel;
|
|
5
|
-
functionDeployment: import("..").FunctionDeploymentModel;
|
|
6
|
-
resource: import("..").ResourceModel;
|
|
7
8
|
functionGraphRef: import("..").FunctionGraphRefModel;
|
|
8
9
|
functionGraphStore: import("..").FunctionGraphStoreModel;
|
|
10
|
+
platformFunctionApiBinding: import("..").PlatformFunctionApiBindingModel;
|
|
11
|
+
platformResourcesRequirementsState: import("..").PlatformResourcesRequirementsStateModel;
|
|
12
|
+
resourcesRequirementsState: import("..").ResourcesRequirementsStateModel;
|
|
13
|
+
platformResourceStatusCheck: import("..").PlatformResourceStatusCheckModel;
|
|
14
|
+
platformFunctionDeployment: import("..").PlatformFunctionDeploymentModel;
|
|
15
|
+
platformResource: import("..").PlatformResourceModel;
|
|
16
|
+
platformResourceDefinition: import("..").PlatformResourceDefinitionModel;
|
|
17
|
+
infraObject: import("..").InfraObjectModel;
|
|
9
18
|
functionGraphObject: import("..").FunctionGraphObjectModel;
|
|
19
|
+
platformFunctionDeploymentEvent: import("..").PlatformFunctionDeploymentEventModel;
|
|
20
|
+
platformResourceEvent: import("..").PlatformResourceEventModel;
|
|
21
|
+
resourceStatusCheck: import("..").ResourceStatusCheckModel;
|
|
22
|
+
functionDeployment: import("..").FunctionDeploymentModel;
|
|
23
|
+
resource: import("..").ResourceModel;
|
|
24
|
+
resourceDefinition: import("..").ResourceDefinitionModel;
|
|
10
25
|
functionDeploymentEvent: import("..").FunctionDeploymentEventModel;
|
|
11
|
-
|
|
26
|
+
platformFunctionExecutionLog: import("..").PlatformFunctionExecutionLogModel;
|
|
12
27
|
resourceEvent: import("..").ResourceEventModel;
|
|
13
28
|
functionGraphExecutionOutput: import("..").FunctionGraphExecutionOutputModel;
|
|
29
|
+
infraCommit: import("..").InfraCommitModel;
|
|
14
30
|
functionGraphCommit: import("..").FunctionGraphCommitModel;
|
|
15
|
-
secretDefinition: import("..").SecretDefinitionModel;
|
|
16
31
|
functionExecutionLog: import("..").FunctionExecutionLogModel;
|
|
32
|
+
platformResourcesResolvedRequirement: import("..").PlatformResourcesResolvedRequirementModel;
|
|
33
|
+
resourcesResolvedRequirement: import("..").ResourcesResolvedRequirementModel;
|
|
34
|
+
dbPreset: import("..").DbPresetModel;
|
|
35
|
+
platformNamespace: import("..").PlatformNamespaceModel;
|
|
17
36
|
functionGraph: import("..").FunctionGraphModel;
|
|
18
37
|
functionGraphExecutionNodeState: import("..").FunctionGraphExecutionNodeStateModel;
|
|
19
|
-
|
|
20
|
-
|
|
38
|
+
namespace: import("..").NamespaceModel;
|
|
39
|
+
platformFunctionInvocation: import("..").PlatformFunctionInvocationModel;
|
|
21
40
|
functionInvocation: import("..").FunctionInvocationModel;
|
|
22
41
|
platformNamespaceEvent: import("..").PlatformNamespaceEventModel;
|
|
42
|
+
integrationProvider: import("..").IntegrationProviderModel;
|
|
43
|
+
namespaceEvent: import("..").NamespaceEventModel;
|
|
23
44
|
functionGraphExecution: import("..").FunctionGraphExecutionModel;
|
|
45
|
+
platformFunctionDefinition: import("..").PlatformFunctionDefinitionModel;
|
|
24
46
|
functionDefinition: import("..").FunctionDefinitionModel;
|
|
25
47
|
query: {
|
|
26
48
|
readFunctionGraph: (args: import("../orm/query").ReadFunctionGraphVariables, options?: {
|
|
@@ -35,21 +57,31 @@ export declare function getClient(contextName?: string): {
|
|
|
35
57
|
} & import("..").StrictSelect<S, import("../orm/input-types").ValidateFunctionGraphPayloadSelect>) => import("..").QueryBuilder<{
|
|
36
58
|
validateFunctionGraph: import("..").InferSelectResult<import("../orm/input-types").ValidateFunctionGraphPayload, S> | null;
|
|
37
59
|
}>;
|
|
60
|
+
infraInitEmptyRepo: <S extends import("../orm/input-types").InfraInitEmptyRepoPayloadSelect>(args: import("../orm/mutation").InfraInitEmptyRepoVariables, options: {
|
|
61
|
+
select: S;
|
|
62
|
+
} & import("..").StrictSelect<S, import("../orm/input-types").InfraInitEmptyRepoPayloadSelect>) => import("..").QueryBuilder<{
|
|
63
|
+
infraInitEmptyRepo: import("..").InferSelectResult<import("../orm/input-types").InfraInitEmptyRepoPayload, S> | null;
|
|
64
|
+
}>;
|
|
38
65
|
initEmptyRepo: <S extends import("../orm/input-types").InitEmptyRepoPayloadSelect>(args: import("../orm/mutation").InitEmptyRepoVariables, options: {
|
|
39
66
|
select: S;
|
|
40
67
|
} & import("..").StrictSelect<S, import("../orm/input-types").InitEmptyRepoPayloadSelect>) => import("..").QueryBuilder<{
|
|
41
68
|
initEmptyRepo: import("..").InferSelectResult<import("../orm/input-types").InitEmptyRepoPayload, S> | null;
|
|
42
69
|
}>;
|
|
43
|
-
setDataAtPath: <S extends import("../orm/input-types").SetDataAtPathPayloadSelect>(args: import("../orm/mutation").SetDataAtPathVariables, options: {
|
|
44
|
-
select: S;
|
|
45
|
-
} & import("..").StrictSelect<S, import("../orm/input-types").SetDataAtPathPayloadSelect>) => import("..").QueryBuilder<{
|
|
46
|
-
setDataAtPath: import("..").InferSelectResult<import("../orm/input-types").SetDataAtPathPayload, S> | null;
|
|
47
|
-
}>;
|
|
48
70
|
importDefinitions: <S extends import("../orm/input-types").ImportDefinitionsPayloadSelect>(args: import("../orm/mutation").ImportDefinitionsVariables, options: {
|
|
49
71
|
select: S;
|
|
50
72
|
} & import("..").StrictSelect<S, import("../orm/input-types").ImportDefinitionsPayloadSelect>) => import("..").QueryBuilder<{
|
|
51
73
|
importDefinitions: import("..").InferSelectResult<import("../orm/input-types").ImportDefinitionsPayload, S> | null;
|
|
52
74
|
}>;
|
|
75
|
+
infraSetDataAtPath: <S extends import("../orm/input-types").InfraSetDataAtPathPayloadSelect>(args: import("../orm/mutation").InfraSetDataAtPathVariables, options: {
|
|
76
|
+
select: S;
|
|
77
|
+
} & import("..").StrictSelect<S, import("../orm/input-types").InfraSetDataAtPathPayloadSelect>) => import("..").QueryBuilder<{
|
|
78
|
+
infraSetDataAtPath: import("..").InferSelectResult<import("../orm/input-types").InfraSetDataAtPathPayload, S> | null;
|
|
79
|
+
}>;
|
|
80
|
+
setDataAtPath: <S extends import("../orm/input-types").SetDataAtPathPayloadSelect>(args: import("../orm/mutation").SetDataAtPathVariables, options: {
|
|
81
|
+
select: S;
|
|
82
|
+
} & import("..").StrictSelect<S, import("../orm/input-types").SetDataAtPathPayloadSelect>) => import("..").QueryBuilder<{
|
|
83
|
+
setDataAtPath: import("..").InferSelectResult<import("../orm/input-types").SetDataAtPathPayload, S> | null;
|
|
84
|
+
}>;
|
|
53
85
|
copyGraph: <S extends import("../orm/input-types").CopyGraphPayloadSelect>(args: import("../orm/mutation").CopyGraphVariables, options: {
|
|
54
86
|
select: S;
|
|
55
87
|
} & import("..").StrictSelect<S, import("../orm/input-types").CopyGraphPayloadSelect>) => import("..").QueryBuilder<{
|
|
@@ -85,6 +117,11 @@ export declare function getClient(contextName?: string): {
|
|
|
85
117
|
} & import("..").StrictSelect<S, import("../orm/input-types").AddNodePayloadSelect>) => import("..").QueryBuilder<{
|
|
86
118
|
addNode: import("..").InferSelectResult<import("../orm/input-types").AddNodePayload, S> | null;
|
|
87
119
|
}>;
|
|
120
|
+
infraInsertNodeAtPath: <S extends import("../orm/input-types").InfraInsertNodeAtPathPayloadSelect>(args: import("../orm/mutation").InfraInsertNodeAtPathVariables, options: {
|
|
121
|
+
select: S;
|
|
122
|
+
} & import("..").StrictSelect<S, import("../orm/input-types").InfraInsertNodeAtPathPayloadSelect>) => import("..").QueryBuilder<{
|
|
123
|
+
infraInsertNodeAtPath: import("..").InferSelectResult<import("../orm/input-types").InfraInsertNodeAtPathPayload, S> | null;
|
|
124
|
+
}>;
|
|
88
125
|
insertNodeAtPath: <S extends import("../orm/input-types").InsertNodeAtPathPayloadSelect>(args: import("../orm/mutation").InsertNodeAtPathVariables, options: {
|
|
89
126
|
select: S;
|
|
90
127
|
} & import("..").StrictSelect<S, import("../orm/input-types").InsertNodeAtPathPayloadSelect>) => import("..").QueryBuilder<{
|
|
@@ -1,25 +1,47 @@
|
|
|
1
1
|
import type { OrmClientConfig } from './client';
|
|
2
|
+
import { InfraGetAllRecordModel } from './models/infraGetAllRecord';
|
|
2
3
|
import { GetAllRecordModel } from './models/getAllRecord';
|
|
4
|
+
import { InfraRefModel } from './models/infraRef';
|
|
5
|
+
import { InfraStoreModel } from './models/infraStore';
|
|
3
6
|
import { FunctionApiBindingModel } from './models/functionApiBinding';
|
|
4
|
-
import { FunctionDeploymentModel } from './models/functionDeployment';
|
|
5
|
-
import { ResourceModel } from './models/resource';
|
|
6
7
|
import { FunctionGraphRefModel } from './models/functionGraphRef';
|
|
7
8
|
import { FunctionGraphStoreModel } from './models/functionGraphStore';
|
|
9
|
+
import { PlatformFunctionApiBindingModel } from './models/platformFunctionApiBinding';
|
|
10
|
+
import { PlatformResourcesRequirementsStateModel } from './models/platformResourcesRequirementsState';
|
|
11
|
+
import { ResourcesRequirementsStateModel } from './models/resourcesRequirementsState';
|
|
12
|
+
import { PlatformResourceStatusCheckModel } from './models/platformResourceStatusCheck';
|
|
13
|
+
import { PlatformFunctionDeploymentModel } from './models/platformFunctionDeployment';
|
|
14
|
+
import { PlatformResourceModel } from './models/platformResource';
|
|
15
|
+
import { PlatformResourceDefinitionModel } from './models/platformResourceDefinition';
|
|
16
|
+
import { InfraObjectModel } from './models/infraObject';
|
|
8
17
|
import { FunctionGraphObjectModel } from './models/functionGraphObject';
|
|
18
|
+
import { PlatformFunctionDeploymentEventModel } from './models/platformFunctionDeploymentEvent';
|
|
19
|
+
import { PlatformResourceEventModel } from './models/platformResourceEvent';
|
|
20
|
+
import { ResourceStatusCheckModel } from './models/resourceStatusCheck';
|
|
21
|
+
import { FunctionDeploymentModel } from './models/functionDeployment';
|
|
22
|
+
import { ResourceModel } from './models/resource';
|
|
23
|
+
import { ResourceDefinitionModel } from './models/resourceDefinition';
|
|
9
24
|
import { FunctionDeploymentEventModel } from './models/functionDeploymentEvent';
|
|
10
|
-
import {
|
|
25
|
+
import { PlatformFunctionExecutionLogModel } from './models/platformFunctionExecutionLog';
|
|
11
26
|
import { ResourceEventModel } from './models/resourceEvent';
|
|
12
27
|
import { FunctionGraphExecutionOutputModel } from './models/functionGraphExecutionOutput';
|
|
28
|
+
import { InfraCommitModel } from './models/infraCommit';
|
|
13
29
|
import { FunctionGraphCommitModel } from './models/functionGraphCommit';
|
|
14
|
-
import { SecretDefinitionModel } from './models/secretDefinition';
|
|
15
30
|
import { FunctionExecutionLogModel } from './models/functionExecutionLog';
|
|
31
|
+
import { PlatformResourcesResolvedRequirementModel } from './models/platformResourcesResolvedRequirement';
|
|
32
|
+
import { ResourcesResolvedRequirementModel } from './models/resourcesResolvedRequirement';
|
|
33
|
+
import { DbPresetModel } from './models/dbPreset';
|
|
34
|
+
import { PlatformNamespaceModel } from './models/platformNamespace';
|
|
16
35
|
import { FunctionGraphModel } from './models/functionGraph';
|
|
17
36
|
import { FunctionGraphExecutionNodeStateModel } from './models/functionGraphExecutionNodeState';
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
37
|
+
import { NamespaceModel } from './models/namespace';
|
|
38
|
+
import { PlatformFunctionInvocationModel } from './models/platformFunctionInvocation';
|
|
20
39
|
import { FunctionInvocationModel } from './models/functionInvocation';
|
|
21
40
|
import { PlatformNamespaceEventModel } from './models/platformNamespaceEvent';
|
|
41
|
+
import { IntegrationProviderModel } from './models/integrationProvider';
|
|
42
|
+
import { NamespaceEventModel } from './models/namespaceEvent';
|
|
22
43
|
import { FunctionGraphExecutionModel } from './models/functionGraphExecution';
|
|
44
|
+
import { PlatformFunctionDefinitionModel } from './models/platformFunctionDefinition';
|
|
23
45
|
import { FunctionDefinitionModel } from './models/functionDefinition';
|
|
24
46
|
export type { OrmClientConfig, QueryResult, GraphQLError, GraphQLAdapter } from './client';
|
|
25
47
|
export { GraphQLRequestError, FetchAdapter } from './client';
|
|
@@ -52,27 +74,49 @@ export { createMutationOperations } from './mutation';
|
|
|
52
74
|
* ```
|
|
53
75
|
*/
|
|
54
76
|
export declare function createClient(config: OrmClientConfig): {
|
|
77
|
+
infraGetAllRecord: InfraGetAllRecordModel;
|
|
55
78
|
getAllRecord: GetAllRecordModel;
|
|
79
|
+
infraRef: InfraRefModel;
|
|
80
|
+
infraStore: InfraStoreModel;
|
|
56
81
|
functionApiBinding: FunctionApiBindingModel;
|
|
57
|
-
functionDeployment: FunctionDeploymentModel;
|
|
58
|
-
resource: ResourceModel;
|
|
59
82
|
functionGraphRef: FunctionGraphRefModel;
|
|
60
83
|
functionGraphStore: FunctionGraphStoreModel;
|
|
84
|
+
platformFunctionApiBinding: PlatformFunctionApiBindingModel;
|
|
85
|
+
platformResourcesRequirementsState: PlatformResourcesRequirementsStateModel;
|
|
86
|
+
resourcesRequirementsState: ResourcesRequirementsStateModel;
|
|
87
|
+
platformResourceStatusCheck: PlatformResourceStatusCheckModel;
|
|
88
|
+
platformFunctionDeployment: PlatformFunctionDeploymentModel;
|
|
89
|
+
platformResource: PlatformResourceModel;
|
|
90
|
+
platformResourceDefinition: PlatformResourceDefinitionModel;
|
|
91
|
+
infraObject: InfraObjectModel;
|
|
61
92
|
functionGraphObject: FunctionGraphObjectModel;
|
|
93
|
+
platformFunctionDeploymentEvent: PlatformFunctionDeploymentEventModel;
|
|
94
|
+
platformResourceEvent: PlatformResourceEventModel;
|
|
95
|
+
resourceStatusCheck: ResourceStatusCheckModel;
|
|
96
|
+
functionDeployment: FunctionDeploymentModel;
|
|
97
|
+
resource: ResourceModel;
|
|
98
|
+
resourceDefinition: ResourceDefinitionModel;
|
|
62
99
|
functionDeploymentEvent: FunctionDeploymentEventModel;
|
|
63
|
-
|
|
100
|
+
platformFunctionExecutionLog: PlatformFunctionExecutionLogModel;
|
|
64
101
|
resourceEvent: ResourceEventModel;
|
|
65
102
|
functionGraphExecutionOutput: FunctionGraphExecutionOutputModel;
|
|
103
|
+
infraCommit: InfraCommitModel;
|
|
66
104
|
functionGraphCommit: FunctionGraphCommitModel;
|
|
67
|
-
secretDefinition: SecretDefinitionModel;
|
|
68
105
|
functionExecutionLog: FunctionExecutionLogModel;
|
|
106
|
+
platformResourcesResolvedRequirement: PlatformResourcesResolvedRequirementModel;
|
|
107
|
+
resourcesResolvedRequirement: ResourcesResolvedRequirementModel;
|
|
108
|
+
dbPreset: DbPresetModel;
|
|
109
|
+
platformNamespace: PlatformNamespaceModel;
|
|
69
110
|
functionGraph: FunctionGraphModel;
|
|
70
111
|
functionGraphExecutionNodeState: FunctionGraphExecutionNodeStateModel;
|
|
71
|
-
|
|
72
|
-
|
|
112
|
+
namespace: NamespaceModel;
|
|
113
|
+
platformFunctionInvocation: PlatformFunctionInvocationModel;
|
|
73
114
|
functionInvocation: FunctionInvocationModel;
|
|
74
115
|
platformNamespaceEvent: PlatformNamespaceEventModel;
|
|
116
|
+
integrationProvider: IntegrationProviderModel;
|
|
117
|
+
namespaceEvent: NamespaceEventModel;
|
|
75
118
|
functionGraphExecution: FunctionGraphExecutionModel;
|
|
119
|
+
platformFunctionDefinition: PlatformFunctionDefinitionModel;
|
|
76
120
|
functionDefinition: FunctionDefinitionModel;
|
|
77
121
|
query: {
|
|
78
122
|
readFunctionGraph: (args: import("./query").ReadFunctionGraphVariables, options?: {
|
|
@@ -87,21 +131,31 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
87
131
|
} & import("./select-types").StrictSelect<S, import("./input-types").ValidateFunctionGraphPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
88
132
|
validateFunctionGraph: import("./select-types").InferSelectResult<import("./input-types").ValidateFunctionGraphPayload, S> | null;
|
|
89
133
|
}>;
|
|
134
|
+
infraInitEmptyRepo: <S extends import("./input-types").InfraInitEmptyRepoPayloadSelect>(args: import("./mutation").InfraInitEmptyRepoVariables, options: {
|
|
135
|
+
select: S;
|
|
136
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").InfraInitEmptyRepoPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
137
|
+
infraInitEmptyRepo: import("./select-types").InferSelectResult<import("./input-types").InfraInitEmptyRepoPayload, S> | null;
|
|
138
|
+
}>;
|
|
90
139
|
initEmptyRepo: <S extends import("./input-types").InitEmptyRepoPayloadSelect>(args: import("./mutation").InitEmptyRepoVariables, options: {
|
|
91
140
|
select: S;
|
|
92
141
|
} & import("./select-types").StrictSelect<S, import("./input-types").InitEmptyRepoPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
93
142
|
initEmptyRepo: import("./select-types").InferSelectResult<import("./input-types").InitEmptyRepoPayload, S> | null;
|
|
94
143
|
}>;
|
|
95
|
-
setDataAtPath: <S extends import("./input-types").SetDataAtPathPayloadSelect>(args: import("./mutation").SetDataAtPathVariables, options: {
|
|
96
|
-
select: S;
|
|
97
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").SetDataAtPathPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
98
|
-
setDataAtPath: import("./select-types").InferSelectResult<import("./input-types").SetDataAtPathPayload, S> | null;
|
|
99
|
-
}>;
|
|
100
144
|
importDefinitions: <S extends import("./input-types").ImportDefinitionsPayloadSelect>(args: import("./mutation").ImportDefinitionsVariables, options: {
|
|
101
145
|
select: S;
|
|
102
146
|
} & import("./select-types").StrictSelect<S, import("./input-types").ImportDefinitionsPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
103
147
|
importDefinitions: import("./select-types").InferSelectResult<import("./input-types").ImportDefinitionsPayload, S> | null;
|
|
104
148
|
}>;
|
|
149
|
+
infraSetDataAtPath: <S extends import("./input-types").InfraSetDataAtPathPayloadSelect>(args: import("./mutation").InfraSetDataAtPathVariables, options: {
|
|
150
|
+
select: S;
|
|
151
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").InfraSetDataAtPathPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
152
|
+
infraSetDataAtPath: import("./select-types").InferSelectResult<import("./input-types").InfraSetDataAtPathPayload, S> | null;
|
|
153
|
+
}>;
|
|
154
|
+
setDataAtPath: <S extends import("./input-types").SetDataAtPathPayloadSelect>(args: import("./mutation").SetDataAtPathVariables, options: {
|
|
155
|
+
select: S;
|
|
156
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").SetDataAtPathPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
157
|
+
setDataAtPath: import("./select-types").InferSelectResult<import("./input-types").SetDataAtPathPayload, S> | null;
|
|
158
|
+
}>;
|
|
105
159
|
copyGraph: <S extends import("./input-types").CopyGraphPayloadSelect>(args: import("./mutation").CopyGraphVariables, options: {
|
|
106
160
|
select: S;
|
|
107
161
|
} & import("./select-types").StrictSelect<S, import("./input-types").CopyGraphPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
@@ -137,6 +191,11 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
137
191
|
} & import("./select-types").StrictSelect<S, import("./input-types").AddNodePayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
138
192
|
addNode: import("./select-types").InferSelectResult<import("./input-types").AddNodePayload, S> | null;
|
|
139
193
|
}>;
|
|
194
|
+
infraInsertNodeAtPath: <S extends import("./input-types").InfraInsertNodeAtPathPayloadSelect>(args: import("./mutation").InfraInsertNodeAtPathVariables, options: {
|
|
195
|
+
select: S;
|
|
196
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").InfraInsertNodeAtPathPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
197
|
+
infraInsertNodeAtPath: import("./select-types").InferSelectResult<import("./input-types").InfraInsertNodeAtPathPayload, S> | null;
|
|
198
|
+
}>;
|
|
140
199
|
insertNodeAtPath: <S extends import("./input-types").InsertNodeAtPathPayloadSelect>(args: import("./mutation").InsertNodeAtPathVariables, options: {
|
|
141
200
|
select: S;
|
|
142
201
|
} & import("./select-types").StrictSelect<S, import("./input-types").InsertNodeAtPathPayloadSelect>) => import("./query-builder").QueryBuilder<{
|