@constructive-sdk/cli 0.29.8 → 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 +7 -7
- 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
|
@@ -9,7 +9,7 @@ import { coerceAnswers, parseFindFirstArgs, parseFindManyArgs, stripUndefined }
|
|
|
9
9
|
const fieldSchema = {
|
|
10
10
|
id: 'uuid',
|
|
11
11
|
message: 'string',
|
|
12
|
-
|
|
12
|
+
scopeId: 'uuid',
|
|
13
13
|
storeId: 'uuid',
|
|
14
14
|
parentIds: 'uuid',
|
|
15
15
|
authorId: 'uuid',
|
|
@@ -61,7 +61,7 @@ async function handleList(argv, _prompter) {
|
|
|
61
61
|
const defaultSelect = {
|
|
62
62
|
id: true,
|
|
63
63
|
message: true,
|
|
64
|
-
|
|
64
|
+
scopeId: true,
|
|
65
65
|
storeId: true,
|
|
66
66
|
parentIds: true,
|
|
67
67
|
authorId: true,
|
|
@@ -87,7 +87,7 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
87
87
|
const defaultSelect = {
|
|
88
88
|
id: true,
|
|
89
89
|
message: true,
|
|
90
|
-
|
|
90
|
+
scopeId: true,
|
|
91
91
|
storeId: true,
|
|
92
92
|
parentIds: true,
|
|
93
93
|
authorId: true,
|
|
@@ -125,7 +125,7 @@ async function handleGet(argv, prompter) {
|
|
|
125
125
|
select: {
|
|
126
126
|
id: true,
|
|
127
127
|
message: true,
|
|
128
|
-
|
|
128
|
+
scopeId: true,
|
|
129
129
|
storeId: true,
|
|
130
130
|
parentIds: true,
|
|
131
131
|
authorId: true,
|
|
@@ -157,8 +157,8 @@ async function handleCreate(argv, prompter) {
|
|
|
157
157
|
},
|
|
158
158
|
{
|
|
159
159
|
type: 'text',
|
|
160
|
-
name: '
|
|
161
|
-
message: '
|
|
160
|
+
name: 'scopeId',
|
|
161
|
+
message: 'scopeId',
|
|
162
162
|
required: true,
|
|
163
163
|
},
|
|
164
164
|
{
|
|
@@ -210,7 +210,7 @@ async function handleCreate(argv, prompter) {
|
|
|
210
210
|
.create({
|
|
211
211
|
data: {
|
|
212
212
|
message: cleanedData.message,
|
|
213
|
-
|
|
213
|
+
scopeId: cleanedData.scopeId,
|
|
214
214
|
storeId: cleanedData.storeId,
|
|
215
215
|
parentIds: cleanedData.parentIds,
|
|
216
216
|
authorId: cleanedData.authorId,
|
|
@@ -221,7 +221,7 @@ async function handleCreate(argv, prompter) {
|
|
|
221
221
|
select: {
|
|
222
222
|
id: true,
|
|
223
223
|
message: true,
|
|
224
|
-
|
|
224
|
+
scopeId: true,
|
|
225
225
|
storeId: true,
|
|
226
226
|
parentIds: true,
|
|
227
227
|
authorId: true,
|
|
@@ -252,8 +252,8 @@ async function handleUpdate(argv, prompter) {
|
|
|
252
252
|
},
|
|
253
253
|
{
|
|
254
254
|
type: 'text',
|
|
255
|
-
name: '
|
|
256
|
-
message: '
|
|
255
|
+
name: 'scopeId',
|
|
256
|
+
message: 'scopeId',
|
|
257
257
|
required: true,
|
|
258
258
|
},
|
|
259
259
|
{
|
|
@@ -312,7 +312,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
312
312
|
.update({
|
|
313
313
|
where: {
|
|
314
314
|
id: answers.id,
|
|
315
|
-
|
|
315
|
+
scopeId: answers.scopeId,
|
|
316
316
|
},
|
|
317
317
|
data: {
|
|
318
318
|
message: cleanedData.message,
|
|
@@ -326,7 +326,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
326
326
|
select: {
|
|
327
327
|
id: true,
|
|
328
328
|
message: true,
|
|
329
|
-
|
|
329
|
+
scopeId: true,
|
|
330
330
|
storeId: true,
|
|
331
331
|
parentIds: true,
|
|
332
332
|
authorId: true,
|
|
@@ -357,8 +357,8 @@ async function handleDelete(argv, prompter) {
|
|
|
357
357
|
},
|
|
358
358
|
{
|
|
359
359
|
type: 'text',
|
|
360
|
-
name: '
|
|
361
|
-
message: '
|
|
360
|
+
name: 'scopeId',
|
|
361
|
+
message: 'scopeId',
|
|
362
362
|
required: true,
|
|
363
363
|
},
|
|
364
364
|
]);
|
|
@@ -368,7 +368,7 @@ async function handleDelete(argv, prompter) {
|
|
|
368
368
|
.delete({
|
|
369
369
|
where: {
|
|
370
370
|
id: answers.id,
|
|
371
|
-
|
|
371
|
+
scopeId: answers.scopeId,
|
|
372
372
|
},
|
|
373
373
|
select: {
|
|
374
374
|
id: true,
|
|
@@ -10,7 +10,7 @@ const fieldSchema = {
|
|
|
10
10
|
createdAt: 'string',
|
|
11
11
|
id: 'uuid',
|
|
12
12
|
executionId: 'uuid',
|
|
13
|
-
|
|
13
|
+
scopeId: 'uuid',
|
|
14
14
|
nodeName: 'string',
|
|
15
15
|
nodePath: 'string',
|
|
16
16
|
status: 'string',
|
|
@@ -65,7 +65,7 @@ async function handleList(argv, _prompter) {
|
|
|
65
65
|
createdAt: true,
|
|
66
66
|
id: true,
|
|
67
67
|
executionId: true,
|
|
68
|
-
|
|
68
|
+
scopeId: true,
|
|
69
69
|
nodeName: true,
|
|
70
70
|
nodePath: true,
|
|
71
71
|
status: true,
|
|
@@ -94,7 +94,7 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
94
94
|
createdAt: true,
|
|
95
95
|
id: true,
|
|
96
96
|
executionId: true,
|
|
97
|
-
|
|
97
|
+
scopeId: true,
|
|
98
98
|
nodeName: true,
|
|
99
99
|
nodePath: true,
|
|
100
100
|
status: true,
|
|
@@ -135,7 +135,7 @@ async function handleGet(argv, prompter) {
|
|
|
135
135
|
createdAt: true,
|
|
136
136
|
id: true,
|
|
137
137
|
executionId: true,
|
|
138
|
-
|
|
138
|
+
scopeId: true,
|
|
139
139
|
nodeName: true,
|
|
140
140
|
nodePath: true,
|
|
141
141
|
status: true,
|
|
@@ -168,8 +168,8 @@ async function handleCreate(argv, prompter) {
|
|
|
168
168
|
},
|
|
169
169
|
{
|
|
170
170
|
type: 'text',
|
|
171
|
-
name: '
|
|
172
|
-
message: '
|
|
171
|
+
name: 'scopeId',
|
|
172
|
+
message: 'scopeId',
|
|
173
173
|
required: true,
|
|
174
174
|
},
|
|
175
175
|
{
|
|
@@ -235,7 +235,7 @@ async function handleCreate(argv, prompter) {
|
|
|
235
235
|
.create({
|
|
236
236
|
data: {
|
|
237
237
|
executionId: cleanedData.executionId,
|
|
238
|
-
|
|
238
|
+
scopeId: cleanedData.scopeId,
|
|
239
239
|
nodeName: cleanedData.nodeName,
|
|
240
240
|
nodePath: cleanedData.nodePath,
|
|
241
241
|
status: cleanedData.status,
|
|
@@ -249,7 +249,7 @@ async function handleCreate(argv, prompter) {
|
|
|
249
249
|
createdAt: true,
|
|
250
250
|
id: true,
|
|
251
251
|
executionId: true,
|
|
252
|
-
|
|
252
|
+
scopeId: true,
|
|
253
253
|
nodeName: true,
|
|
254
254
|
nodePath: true,
|
|
255
255
|
status: true,
|
|
@@ -294,8 +294,8 @@ async function handleUpdate(argv, prompter) {
|
|
|
294
294
|
},
|
|
295
295
|
{
|
|
296
296
|
type: 'text',
|
|
297
|
-
name: '
|
|
298
|
-
message: '
|
|
297
|
+
name: 'scopeId',
|
|
298
|
+
message: 'scopeId',
|
|
299
299
|
required: false,
|
|
300
300
|
},
|
|
301
301
|
{
|
|
@@ -365,7 +365,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
365
365
|
},
|
|
366
366
|
data: {
|
|
367
367
|
executionId: cleanedData.executionId,
|
|
368
|
-
|
|
368
|
+
scopeId: cleanedData.scopeId,
|
|
369
369
|
nodeName: cleanedData.nodeName,
|
|
370
370
|
nodePath: cleanedData.nodePath,
|
|
371
371
|
status: cleanedData.status,
|
|
@@ -379,7 +379,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
379
379
|
createdAt: true,
|
|
380
380
|
id: true,
|
|
381
381
|
executionId: true,
|
|
382
|
-
|
|
382
|
+
scopeId: true,
|
|
383
383
|
nodeName: true,
|
|
384
384
|
nodePath: true,
|
|
385
385
|
status: true,
|
|
@@ -9,7 +9,7 @@ import { coerceAnswers, parseFindFirstArgs, parseFindManyArgs, stripUndefined }
|
|
|
9
9
|
const fieldSchema = {
|
|
10
10
|
createdAt: 'string',
|
|
11
11
|
id: 'uuid',
|
|
12
|
-
|
|
12
|
+
scopeId: 'uuid',
|
|
13
13
|
hash: 'string',
|
|
14
14
|
data: 'json',
|
|
15
15
|
};
|
|
@@ -57,7 +57,7 @@ async function handleList(argv, _prompter) {
|
|
|
57
57
|
const defaultSelect = {
|
|
58
58
|
createdAt: true,
|
|
59
59
|
id: true,
|
|
60
|
-
|
|
60
|
+
scopeId: true,
|
|
61
61
|
hash: true,
|
|
62
62
|
data: true,
|
|
63
63
|
};
|
|
@@ -79,7 +79,7 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
79
79
|
const defaultSelect = {
|
|
80
80
|
createdAt: true,
|
|
81
81
|
id: true,
|
|
82
|
-
|
|
82
|
+
scopeId: true,
|
|
83
83
|
hash: true,
|
|
84
84
|
data: true,
|
|
85
85
|
};
|
|
@@ -113,7 +113,7 @@ async function handleGet(argv, prompter) {
|
|
|
113
113
|
select: {
|
|
114
114
|
createdAt: true,
|
|
115
115
|
id: true,
|
|
116
|
-
|
|
116
|
+
scopeId: true,
|
|
117
117
|
hash: true,
|
|
118
118
|
data: true,
|
|
119
119
|
},
|
|
@@ -134,8 +134,8 @@ async function handleCreate(argv, prompter) {
|
|
|
134
134
|
const rawAnswers = await prompter.prompt(argv, [
|
|
135
135
|
{
|
|
136
136
|
type: 'text',
|
|
137
|
-
name: '
|
|
138
|
-
message: '
|
|
137
|
+
name: 'scopeId',
|
|
138
|
+
message: 'scopeId',
|
|
139
139
|
required: true,
|
|
140
140
|
},
|
|
141
141
|
{
|
|
@@ -157,14 +157,14 @@ async function handleCreate(argv, prompter) {
|
|
|
157
157
|
const result = await client.functionGraphExecutionOutput
|
|
158
158
|
.create({
|
|
159
159
|
data: {
|
|
160
|
-
|
|
160
|
+
scopeId: cleanedData.scopeId,
|
|
161
161
|
hash: cleanedData.hash,
|
|
162
162
|
data: cleanedData.data,
|
|
163
163
|
},
|
|
164
164
|
select: {
|
|
165
165
|
createdAt: true,
|
|
166
166
|
id: true,
|
|
167
|
-
|
|
167
|
+
scopeId: true,
|
|
168
168
|
hash: true,
|
|
169
169
|
data: true,
|
|
170
170
|
},
|
|
@@ -197,8 +197,8 @@ async function handleUpdate(argv, prompter) {
|
|
|
197
197
|
},
|
|
198
198
|
{
|
|
199
199
|
type: 'text',
|
|
200
|
-
name: '
|
|
201
|
-
message: '
|
|
200
|
+
name: 'scopeId',
|
|
201
|
+
message: 'scopeId',
|
|
202
202
|
required: false,
|
|
203
203
|
},
|
|
204
204
|
{
|
|
@@ -224,14 +224,14 @@ async function handleUpdate(argv, prompter) {
|
|
|
224
224
|
createdAt: answers.createdAt,
|
|
225
225
|
},
|
|
226
226
|
data: {
|
|
227
|
-
|
|
227
|
+
scopeId: cleanedData.scopeId,
|
|
228
228
|
hash: cleanedData.hash,
|
|
229
229
|
data: cleanedData.data,
|
|
230
230
|
},
|
|
231
231
|
select: {
|
|
232
232
|
createdAt: true,
|
|
233
233
|
id: true,
|
|
234
|
-
|
|
234
|
+
scopeId: true,
|
|
235
235
|
hash: true,
|
|
236
236
|
data: true,
|
|
237
237
|
},
|
|
@@ -11,7 +11,7 @@ const fieldSchema = {
|
|
|
11
11
|
id: 'uuid',
|
|
12
12
|
graphId: 'uuid',
|
|
13
13
|
invocationId: 'uuid',
|
|
14
|
-
|
|
14
|
+
scopeId: 'uuid',
|
|
15
15
|
outputNode: 'string',
|
|
16
16
|
outputPort: 'string',
|
|
17
17
|
status: 'string',
|
|
@@ -28,6 +28,7 @@ const fieldSchema = {
|
|
|
28
28
|
maxTicks: 'int',
|
|
29
29
|
maxPendingJobs: 'int',
|
|
30
30
|
timeoutAt: 'string',
|
|
31
|
+
lastProgressAt: 'string',
|
|
31
32
|
errorCode: 'string',
|
|
32
33
|
errorMessage: 'string',
|
|
33
34
|
};
|
|
@@ -77,7 +78,7 @@ async function handleList(argv, _prompter) {
|
|
|
77
78
|
id: true,
|
|
78
79
|
graphId: true,
|
|
79
80
|
invocationId: true,
|
|
80
|
-
|
|
81
|
+
scopeId: true,
|
|
81
82
|
outputNode: true,
|
|
82
83
|
outputPort: true,
|
|
83
84
|
status: true,
|
|
@@ -94,6 +95,7 @@ async function handleList(argv, _prompter) {
|
|
|
94
95
|
maxTicks: true,
|
|
95
96
|
maxPendingJobs: true,
|
|
96
97
|
timeoutAt: true,
|
|
98
|
+
lastProgressAt: true,
|
|
97
99
|
errorCode: true,
|
|
98
100
|
errorMessage: true,
|
|
99
101
|
};
|
|
@@ -117,7 +119,7 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
117
119
|
id: true,
|
|
118
120
|
graphId: true,
|
|
119
121
|
invocationId: true,
|
|
120
|
-
|
|
122
|
+
scopeId: true,
|
|
121
123
|
outputNode: true,
|
|
122
124
|
outputPort: true,
|
|
123
125
|
status: true,
|
|
@@ -134,6 +136,7 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
134
136
|
maxTicks: true,
|
|
135
137
|
maxPendingJobs: true,
|
|
136
138
|
timeoutAt: true,
|
|
139
|
+
lastProgressAt: true,
|
|
137
140
|
errorCode: true,
|
|
138
141
|
errorMessage: true,
|
|
139
142
|
};
|
|
@@ -169,7 +172,7 @@ async function handleGet(argv, prompter) {
|
|
|
169
172
|
id: true,
|
|
170
173
|
graphId: true,
|
|
171
174
|
invocationId: true,
|
|
172
|
-
|
|
175
|
+
scopeId: true,
|
|
173
176
|
outputNode: true,
|
|
174
177
|
outputPort: true,
|
|
175
178
|
status: true,
|
|
@@ -186,6 +189,7 @@ async function handleGet(argv, prompter) {
|
|
|
186
189
|
maxTicks: true,
|
|
187
190
|
maxPendingJobs: true,
|
|
188
191
|
timeoutAt: true,
|
|
192
|
+
lastProgressAt: true,
|
|
189
193
|
errorCode: true,
|
|
190
194
|
errorMessage: true,
|
|
191
195
|
},
|
|
@@ -226,15 +230,16 @@ async function handleCreate(argv, prompter) {
|
|
|
226
230
|
},
|
|
227
231
|
{
|
|
228
232
|
type: 'text',
|
|
229
|
-
name: '
|
|
230
|
-
message: '
|
|
233
|
+
name: 'scopeId',
|
|
234
|
+
message: 'scopeId',
|
|
231
235
|
required: true,
|
|
232
236
|
},
|
|
233
237
|
{
|
|
234
238
|
type: 'text',
|
|
235
239
|
name: 'outputNode',
|
|
236
240
|
message: 'outputNode',
|
|
237
|
-
required:
|
|
241
|
+
required: false,
|
|
242
|
+
skipPrompt: true,
|
|
238
243
|
},
|
|
239
244
|
{
|
|
240
245
|
type: 'text',
|
|
@@ -341,6 +346,13 @@ async function handleCreate(argv, prompter) {
|
|
|
341
346
|
required: false,
|
|
342
347
|
skipPrompt: true,
|
|
343
348
|
},
|
|
349
|
+
{
|
|
350
|
+
type: 'text',
|
|
351
|
+
name: 'lastProgressAt',
|
|
352
|
+
message: 'lastProgressAt',
|
|
353
|
+
required: false,
|
|
354
|
+
skipPrompt: true,
|
|
355
|
+
},
|
|
344
356
|
{
|
|
345
357
|
type: 'text',
|
|
346
358
|
name: 'errorCode',
|
|
@@ -365,7 +377,7 @@ async function handleCreate(argv, prompter) {
|
|
|
365
377
|
startedAt: cleanedData.startedAt,
|
|
366
378
|
graphId: cleanedData.graphId,
|
|
367
379
|
invocationId: cleanedData.invocationId,
|
|
368
|
-
|
|
380
|
+
scopeId: cleanedData.scopeId,
|
|
369
381
|
outputNode: cleanedData.outputNode,
|
|
370
382
|
outputPort: cleanedData.outputPort,
|
|
371
383
|
status: cleanedData.status,
|
|
@@ -382,6 +394,7 @@ async function handleCreate(argv, prompter) {
|
|
|
382
394
|
maxTicks: cleanedData.maxTicks,
|
|
383
395
|
maxPendingJobs: cleanedData.maxPendingJobs,
|
|
384
396
|
timeoutAt: cleanedData.timeoutAt,
|
|
397
|
+
lastProgressAt: cleanedData.lastProgressAt,
|
|
385
398
|
errorCode: cleanedData.errorCode,
|
|
386
399
|
errorMessage: cleanedData.errorMessage,
|
|
387
400
|
},
|
|
@@ -390,7 +403,7 @@ async function handleCreate(argv, prompter) {
|
|
|
390
403
|
id: true,
|
|
391
404
|
graphId: true,
|
|
392
405
|
invocationId: true,
|
|
393
|
-
|
|
406
|
+
scopeId: true,
|
|
394
407
|
outputNode: true,
|
|
395
408
|
outputPort: true,
|
|
396
409
|
status: true,
|
|
@@ -407,6 +420,7 @@ async function handleCreate(argv, prompter) {
|
|
|
407
420
|
maxTicks: true,
|
|
408
421
|
maxPendingJobs: true,
|
|
409
422
|
timeoutAt: true,
|
|
423
|
+
lastProgressAt: true,
|
|
410
424
|
errorCode: true,
|
|
411
425
|
errorMessage: true,
|
|
412
426
|
},
|
|
@@ -452,8 +466,8 @@ async function handleUpdate(argv, prompter) {
|
|
|
452
466
|
},
|
|
453
467
|
{
|
|
454
468
|
type: 'text',
|
|
455
|
-
name: '
|
|
456
|
-
message: '
|
|
469
|
+
name: 'scopeId',
|
|
470
|
+
message: 'scopeId',
|
|
457
471
|
required: false,
|
|
458
472
|
},
|
|
459
473
|
{
|
|
@@ -461,6 +475,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
461
475
|
name: 'outputNode',
|
|
462
476
|
message: 'outputNode',
|
|
463
477
|
required: false,
|
|
478
|
+
skipPrompt: true,
|
|
464
479
|
},
|
|
465
480
|
{
|
|
466
481
|
type: 'text',
|
|
@@ -567,6 +582,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
567
582
|
required: false,
|
|
568
583
|
skipPrompt: true,
|
|
569
584
|
},
|
|
585
|
+
{
|
|
586
|
+
type: 'text',
|
|
587
|
+
name: 'lastProgressAt',
|
|
588
|
+
message: 'lastProgressAt',
|
|
589
|
+
required: false,
|
|
590
|
+
skipPrompt: true,
|
|
591
|
+
},
|
|
570
592
|
{
|
|
571
593
|
type: 'text',
|
|
572
594
|
name: 'errorCode',
|
|
@@ -594,7 +616,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
594
616
|
data: {
|
|
595
617
|
graphId: cleanedData.graphId,
|
|
596
618
|
invocationId: cleanedData.invocationId,
|
|
597
|
-
|
|
619
|
+
scopeId: cleanedData.scopeId,
|
|
598
620
|
outputNode: cleanedData.outputNode,
|
|
599
621
|
outputPort: cleanedData.outputPort,
|
|
600
622
|
status: cleanedData.status,
|
|
@@ -611,6 +633,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
611
633
|
maxTicks: cleanedData.maxTicks,
|
|
612
634
|
maxPendingJobs: cleanedData.maxPendingJobs,
|
|
613
635
|
timeoutAt: cleanedData.timeoutAt,
|
|
636
|
+
lastProgressAt: cleanedData.lastProgressAt,
|
|
614
637
|
errorCode: cleanedData.errorCode,
|
|
615
638
|
errorMessage: cleanedData.errorMessage,
|
|
616
639
|
},
|
|
@@ -619,7 +642,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
619
642
|
id: true,
|
|
620
643
|
graphId: true,
|
|
621
644
|
invocationId: true,
|
|
622
|
-
|
|
645
|
+
scopeId: true,
|
|
623
646
|
outputNode: true,
|
|
624
647
|
outputPort: true,
|
|
625
648
|
status: true,
|
|
@@ -636,6 +659,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
636
659
|
maxTicks: true,
|
|
637
660
|
maxPendingJobs: true,
|
|
638
661
|
timeoutAt: true,
|
|
662
|
+
lastProgressAt: true,
|
|
639
663
|
errorCode: true,
|
|
640
664
|
errorMessage: true,
|
|
641
665
|
},
|
|
@@ -8,7 +8,7 @@ import { getClient } from '../executor';
|
|
|
8
8
|
import { coerceAnswers, parseFindFirstArgs, parseFindManyArgs, stripUndefined } from '../utils';
|
|
9
9
|
const fieldSchema = {
|
|
10
10
|
id: 'uuid',
|
|
11
|
-
|
|
11
|
+
scopeId: 'uuid',
|
|
12
12
|
kids: 'uuid',
|
|
13
13
|
ktree: 'string',
|
|
14
14
|
data: 'json',
|
|
@@ -57,7 +57,7 @@ async function handleList(argv, _prompter) {
|
|
|
57
57
|
try {
|
|
58
58
|
const defaultSelect = {
|
|
59
59
|
id: true,
|
|
60
|
-
|
|
60
|
+
scopeId: true,
|
|
61
61
|
kids: true,
|
|
62
62
|
ktree: true,
|
|
63
63
|
data: true,
|
|
@@ -80,7 +80,7 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
80
80
|
try {
|
|
81
81
|
const defaultSelect = {
|
|
82
82
|
id: true,
|
|
83
|
-
|
|
83
|
+
scopeId: true,
|
|
84
84
|
kids: true,
|
|
85
85
|
ktree: true,
|
|
86
86
|
data: true,
|
|
@@ -115,7 +115,7 @@ async function handleGet(argv, prompter) {
|
|
|
115
115
|
id: answers.id,
|
|
116
116
|
select: {
|
|
117
117
|
id: true,
|
|
118
|
-
|
|
118
|
+
scopeId: true,
|
|
119
119
|
kids: true,
|
|
120
120
|
ktree: true,
|
|
121
121
|
data: true,
|
|
@@ -138,8 +138,8 @@ async function handleCreate(argv, prompter) {
|
|
|
138
138
|
const rawAnswers = await prompter.prompt(argv, [
|
|
139
139
|
{
|
|
140
140
|
type: 'text',
|
|
141
|
-
name: '
|
|
142
|
-
message: '
|
|
141
|
+
name: 'scopeId',
|
|
142
|
+
message: 'scopeId',
|
|
143
143
|
required: true,
|
|
144
144
|
},
|
|
145
145
|
{
|
|
@@ -170,14 +170,14 @@ async function handleCreate(argv, prompter) {
|
|
|
170
170
|
const result = await client.functionGraphObject
|
|
171
171
|
.create({
|
|
172
172
|
data: {
|
|
173
|
-
|
|
173
|
+
scopeId: cleanedData.scopeId,
|
|
174
174
|
kids: cleanedData.kids,
|
|
175
175
|
ktree: cleanedData.ktree,
|
|
176
176
|
data: cleanedData.data,
|
|
177
177
|
},
|
|
178
178
|
select: {
|
|
179
179
|
id: true,
|
|
180
|
-
|
|
180
|
+
scopeId: true,
|
|
181
181
|
kids: true,
|
|
182
182
|
ktree: true,
|
|
183
183
|
data: true,
|
|
@@ -206,8 +206,8 @@ async function handleUpdate(argv, prompter) {
|
|
|
206
206
|
},
|
|
207
207
|
{
|
|
208
208
|
type: 'text',
|
|
209
|
-
name: '
|
|
210
|
-
message: '
|
|
209
|
+
name: 'scopeId',
|
|
210
|
+
message: 'scopeId',
|
|
211
211
|
required: true,
|
|
212
212
|
},
|
|
213
213
|
{
|
|
@@ -239,7 +239,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
239
239
|
.update({
|
|
240
240
|
where: {
|
|
241
241
|
id: answers.id,
|
|
242
|
-
|
|
242
|
+
scopeId: answers.scopeId,
|
|
243
243
|
},
|
|
244
244
|
data: {
|
|
245
245
|
kids: cleanedData.kids,
|
|
@@ -248,7 +248,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
248
248
|
},
|
|
249
249
|
select: {
|
|
250
250
|
id: true,
|
|
251
|
-
|
|
251
|
+
scopeId: true,
|
|
252
252
|
kids: true,
|
|
253
253
|
ktree: true,
|
|
254
254
|
data: true,
|
|
@@ -277,8 +277,8 @@ async function handleDelete(argv, prompter) {
|
|
|
277
277
|
},
|
|
278
278
|
{
|
|
279
279
|
type: 'text',
|
|
280
|
-
name: '
|
|
281
|
-
message: '
|
|
280
|
+
name: 'scopeId',
|
|
281
|
+
message: 'scopeId',
|
|
282
282
|
required: true,
|
|
283
283
|
},
|
|
284
284
|
]);
|
|
@@ -288,7 +288,7 @@ async function handleDelete(argv, prompter) {
|
|
|
288
288
|
.delete({
|
|
289
289
|
where: {
|
|
290
290
|
id: answers.id,
|
|
291
|
-
|
|
291
|
+
scopeId: answers.scopeId,
|
|
292
292
|
},
|
|
293
293
|
select: {
|
|
294
294
|
id: true,
|