@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
|
@@ -11,7 +11,7 @@ const utils_1 = require("../utils");
|
|
|
11
11
|
const fieldSchema = {
|
|
12
12
|
id: 'uuid',
|
|
13
13
|
message: 'string',
|
|
14
|
-
|
|
14
|
+
scopeId: 'uuid',
|
|
15
15
|
storeId: 'uuid',
|
|
16
16
|
parentIds: 'uuid',
|
|
17
17
|
authorId: 'uuid',
|
|
@@ -63,7 +63,7 @@ async function handleList(argv, _prompter) {
|
|
|
63
63
|
const defaultSelect = {
|
|
64
64
|
id: true,
|
|
65
65
|
message: true,
|
|
66
|
-
|
|
66
|
+
scopeId: true,
|
|
67
67
|
storeId: true,
|
|
68
68
|
parentIds: true,
|
|
69
69
|
authorId: true,
|
|
@@ -89,7 +89,7 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
89
89
|
const defaultSelect = {
|
|
90
90
|
id: true,
|
|
91
91
|
message: true,
|
|
92
|
-
|
|
92
|
+
scopeId: true,
|
|
93
93
|
storeId: true,
|
|
94
94
|
parentIds: true,
|
|
95
95
|
authorId: true,
|
|
@@ -127,7 +127,7 @@ async function handleGet(argv, prompter) {
|
|
|
127
127
|
select: {
|
|
128
128
|
id: true,
|
|
129
129
|
message: true,
|
|
130
|
-
|
|
130
|
+
scopeId: true,
|
|
131
131
|
storeId: true,
|
|
132
132
|
parentIds: true,
|
|
133
133
|
authorId: true,
|
|
@@ -159,8 +159,8 @@ async function handleCreate(argv, prompter) {
|
|
|
159
159
|
},
|
|
160
160
|
{
|
|
161
161
|
type: 'text',
|
|
162
|
-
name: '
|
|
163
|
-
message: '
|
|
162
|
+
name: 'scopeId',
|
|
163
|
+
message: 'scopeId',
|
|
164
164
|
required: true,
|
|
165
165
|
},
|
|
166
166
|
{
|
|
@@ -212,7 +212,7 @@ async function handleCreate(argv, prompter) {
|
|
|
212
212
|
.create({
|
|
213
213
|
data: {
|
|
214
214
|
message: cleanedData.message,
|
|
215
|
-
|
|
215
|
+
scopeId: cleanedData.scopeId,
|
|
216
216
|
storeId: cleanedData.storeId,
|
|
217
217
|
parentIds: cleanedData.parentIds,
|
|
218
218
|
authorId: cleanedData.authorId,
|
|
@@ -223,7 +223,7 @@ async function handleCreate(argv, prompter) {
|
|
|
223
223
|
select: {
|
|
224
224
|
id: true,
|
|
225
225
|
message: true,
|
|
226
|
-
|
|
226
|
+
scopeId: true,
|
|
227
227
|
storeId: true,
|
|
228
228
|
parentIds: true,
|
|
229
229
|
authorId: true,
|
|
@@ -254,8 +254,8 @@ async function handleUpdate(argv, prompter) {
|
|
|
254
254
|
},
|
|
255
255
|
{
|
|
256
256
|
type: 'text',
|
|
257
|
-
name: '
|
|
258
|
-
message: '
|
|
257
|
+
name: 'scopeId',
|
|
258
|
+
message: 'scopeId',
|
|
259
259
|
required: true,
|
|
260
260
|
},
|
|
261
261
|
{
|
|
@@ -314,7 +314,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
314
314
|
.update({
|
|
315
315
|
where: {
|
|
316
316
|
id: answers.id,
|
|
317
|
-
|
|
317
|
+
scopeId: answers.scopeId,
|
|
318
318
|
},
|
|
319
319
|
data: {
|
|
320
320
|
message: cleanedData.message,
|
|
@@ -328,7 +328,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
328
328
|
select: {
|
|
329
329
|
id: true,
|
|
330
330
|
message: true,
|
|
331
|
-
|
|
331
|
+
scopeId: true,
|
|
332
332
|
storeId: true,
|
|
333
333
|
parentIds: true,
|
|
334
334
|
authorId: true,
|
|
@@ -359,8 +359,8 @@ async function handleDelete(argv, prompter) {
|
|
|
359
359
|
},
|
|
360
360
|
{
|
|
361
361
|
type: 'text',
|
|
362
|
-
name: '
|
|
363
|
-
message: '
|
|
362
|
+
name: 'scopeId',
|
|
363
|
+
message: 'scopeId',
|
|
364
364
|
required: true,
|
|
365
365
|
},
|
|
366
366
|
]);
|
|
@@ -370,7 +370,7 @@ async function handleDelete(argv, prompter) {
|
|
|
370
370
|
.delete({
|
|
371
371
|
where: {
|
|
372
372
|
id: answers.id,
|
|
373
|
-
|
|
373
|
+
scopeId: answers.scopeId,
|
|
374
374
|
},
|
|
375
375
|
select: {
|
|
376
376
|
id: true,
|
|
@@ -12,7 +12,7 @@ const fieldSchema = {
|
|
|
12
12
|
createdAt: 'string',
|
|
13
13
|
id: 'uuid',
|
|
14
14
|
executionId: 'uuid',
|
|
15
|
-
|
|
15
|
+
scopeId: 'uuid',
|
|
16
16
|
nodeName: 'string',
|
|
17
17
|
nodePath: 'string',
|
|
18
18
|
status: 'string',
|
|
@@ -67,7 +67,7 @@ async function handleList(argv, _prompter) {
|
|
|
67
67
|
createdAt: true,
|
|
68
68
|
id: true,
|
|
69
69
|
executionId: true,
|
|
70
|
-
|
|
70
|
+
scopeId: true,
|
|
71
71
|
nodeName: true,
|
|
72
72
|
nodePath: true,
|
|
73
73
|
status: true,
|
|
@@ -96,7 +96,7 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
96
96
|
createdAt: true,
|
|
97
97
|
id: true,
|
|
98
98
|
executionId: true,
|
|
99
|
-
|
|
99
|
+
scopeId: true,
|
|
100
100
|
nodeName: true,
|
|
101
101
|
nodePath: true,
|
|
102
102
|
status: true,
|
|
@@ -137,7 +137,7 @@ async function handleGet(argv, prompter) {
|
|
|
137
137
|
createdAt: true,
|
|
138
138
|
id: true,
|
|
139
139
|
executionId: true,
|
|
140
|
-
|
|
140
|
+
scopeId: true,
|
|
141
141
|
nodeName: true,
|
|
142
142
|
nodePath: true,
|
|
143
143
|
status: true,
|
|
@@ -170,8 +170,8 @@ async function handleCreate(argv, prompter) {
|
|
|
170
170
|
},
|
|
171
171
|
{
|
|
172
172
|
type: 'text',
|
|
173
|
-
name: '
|
|
174
|
-
message: '
|
|
173
|
+
name: 'scopeId',
|
|
174
|
+
message: 'scopeId',
|
|
175
175
|
required: true,
|
|
176
176
|
},
|
|
177
177
|
{
|
|
@@ -237,7 +237,7 @@ async function handleCreate(argv, prompter) {
|
|
|
237
237
|
.create({
|
|
238
238
|
data: {
|
|
239
239
|
executionId: cleanedData.executionId,
|
|
240
|
-
|
|
240
|
+
scopeId: cleanedData.scopeId,
|
|
241
241
|
nodeName: cleanedData.nodeName,
|
|
242
242
|
nodePath: cleanedData.nodePath,
|
|
243
243
|
status: cleanedData.status,
|
|
@@ -251,7 +251,7 @@ async function handleCreate(argv, prompter) {
|
|
|
251
251
|
createdAt: true,
|
|
252
252
|
id: true,
|
|
253
253
|
executionId: true,
|
|
254
|
-
|
|
254
|
+
scopeId: true,
|
|
255
255
|
nodeName: true,
|
|
256
256
|
nodePath: true,
|
|
257
257
|
status: true,
|
|
@@ -296,8 +296,8 @@ async function handleUpdate(argv, prompter) {
|
|
|
296
296
|
},
|
|
297
297
|
{
|
|
298
298
|
type: 'text',
|
|
299
|
-
name: '
|
|
300
|
-
message: '
|
|
299
|
+
name: 'scopeId',
|
|
300
|
+
message: 'scopeId',
|
|
301
301
|
required: false,
|
|
302
302
|
},
|
|
303
303
|
{
|
|
@@ -367,7 +367,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
367
367
|
},
|
|
368
368
|
data: {
|
|
369
369
|
executionId: cleanedData.executionId,
|
|
370
|
-
|
|
370
|
+
scopeId: cleanedData.scopeId,
|
|
371
371
|
nodeName: cleanedData.nodeName,
|
|
372
372
|
nodePath: cleanedData.nodePath,
|
|
373
373
|
status: cleanedData.status,
|
|
@@ -381,7 +381,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
381
381
|
createdAt: true,
|
|
382
382
|
id: true,
|
|
383
383
|
executionId: true,
|
|
384
|
-
|
|
384
|
+
scopeId: true,
|
|
385
385
|
nodeName: true,
|
|
386
386
|
nodePath: true,
|
|
387
387
|
status: true,
|
|
@@ -11,7 +11,7 @@ const utils_1 = require("../utils");
|
|
|
11
11
|
const fieldSchema = {
|
|
12
12
|
createdAt: 'string',
|
|
13
13
|
id: 'uuid',
|
|
14
|
-
|
|
14
|
+
scopeId: 'uuid',
|
|
15
15
|
hash: 'string',
|
|
16
16
|
data: 'json',
|
|
17
17
|
};
|
|
@@ -59,7 +59,7 @@ async function handleList(argv, _prompter) {
|
|
|
59
59
|
const defaultSelect = {
|
|
60
60
|
createdAt: true,
|
|
61
61
|
id: true,
|
|
62
|
-
|
|
62
|
+
scopeId: true,
|
|
63
63
|
hash: true,
|
|
64
64
|
data: true,
|
|
65
65
|
};
|
|
@@ -81,7 +81,7 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
81
81
|
const defaultSelect = {
|
|
82
82
|
createdAt: true,
|
|
83
83
|
id: true,
|
|
84
|
-
|
|
84
|
+
scopeId: true,
|
|
85
85
|
hash: true,
|
|
86
86
|
data: true,
|
|
87
87
|
};
|
|
@@ -115,7 +115,7 @@ async function handleGet(argv, prompter) {
|
|
|
115
115
|
select: {
|
|
116
116
|
createdAt: true,
|
|
117
117
|
id: true,
|
|
118
|
-
|
|
118
|
+
scopeId: true,
|
|
119
119
|
hash: true,
|
|
120
120
|
data: true,
|
|
121
121
|
},
|
|
@@ -136,8 +136,8 @@ async function handleCreate(argv, prompter) {
|
|
|
136
136
|
const rawAnswers = await prompter.prompt(argv, [
|
|
137
137
|
{
|
|
138
138
|
type: 'text',
|
|
139
|
-
name: '
|
|
140
|
-
message: '
|
|
139
|
+
name: 'scopeId',
|
|
140
|
+
message: 'scopeId',
|
|
141
141
|
required: true,
|
|
142
142
|
},
|
|
143
143
|
{
|
|
@@ -159,14 +159,14 @@ async function handleCreate(argv, prompter) {
|
|
|
159
159
|
const result = await client.functionGraphExecutionOutput
|
|
160
160
|
.create({
|
|
161
161
|
data: {
|
|
162
|
-
|
|
162
|
+
scopeId: cleanedData.scopeId,
|
|
163
163
|
hash: cleanedData.hash,
|
|
164
164
|
data: cleanedData.data,
|
|
165
165
|
},
|
|
166
166
|
select: {
|
|
167
167
|
createdAt: true,
|
|
168
168
|
id: true,
|
|
169
|
-
|
|
169
|
+
scopeId: true,
|
|
170
170
|
hash: true,
|
|
171
171
|
data: true,
|
|
172
172
|
},
|
|
@@ -199,8 +199,8 @@ async function handleUpdate(argv, prompter) {
|
|
|
199
199
|
},
|
|
200
200
|
{
|
|
201
201
|
type: 'text',
|
|
202
|
-
name: '
|
|
203
|
-
message: '
|
|
202
|
+
name: 'scopeId',
|
|
203
|
+
message: 'scopeId',
|
|
204
204
|
required: false,
|
|
205
205
|
},
|
|
206
206
|
{
|
|
@@ -226,14 +226,14 @@ async function handleUpdate(argv, prompter) {
|
|
|
226
226
|
createdAt: answers.createdAt,
|
|
227
227
|
},
|
|
228
228
|
data: {
|
|
229
|
-
|
|
229
|
+
scopeId: cleanedData.scopeId,
|
|
230
230
|
hash: cleanedData.hash,
|
|
231
231
|
data: cleanedData.data,
|
|
232
232
|
},
|
|
233
233
|
select: {
|
|
234
234
|
createdAt: true,
|
|
235
235
|
id: true,
|
|
236
|
-
|
|
236
|
+
scopeId: true,
|
|
237
237
|
hash: true,
|
|
238
238
|
data: true,
|
|
239
239
|
},
|
|
@@ -13,7 +13,7 @@ const fieldSchema = {
|
|
|
13
13
|
id: 'uuid',
|
|
14
14
|
graphId: 'uuid',
|
|
15
15
|
invocationId: 'uuid',
|
|
16
|
-
|
|
16
|
+
scopeId: 'uuid',
|
|
17
17
|
outputNode: 'string',
|
|
18
18
|
outputPort: 'string',
|
|
19
19
|
status: 'string',
|
|
@@ -30,6 +30,7 @@ const fieldSchema = {
|
|
|
30
30
|
maxTicks: 'int',
|
|
31
31
|
maxPendingJobs: 'int',
|
|
32
32
|
timeoutAt: 'string',
|
|
33
|
+
lastProgressAt: 'string',
|
|
33
34
|
errorCode: 'string',
|
|
34
35
|
errorMessage: 'string',
|
|
35
36
|
};
|
|
@@ -79,7 +80,7 @@ async function handleList(argv, _prompter) {
|
|
|
79
80
|
id: true,
|
|
80
81
|
graphId: true,
|
|
81
82
|
invocationId: true,
|
|
82
|
-
|
|
83
|
+
scopeId: true,
|
|
83
84
|
outputNode: true,
|
|
84
85
|
outputPort: true,
|
|
85
86
|
status: true,
|
|
@@ -96,6 +97,7 @@ async function handleList(argv, _prompter) {
|
|
|
96
97
|
maxTicks: true,
|
|
97
98
|
maxPendingJobs: true,
|
|
98
99
|
timeoutAt: true,
|
|
100
|
+
lastProgressAt: true,
|
|
99
101
|
errorCode: true,
|
|
100
102
|
errorMessage: true,
|
|
101
103
|
};
|
|
@@ -119,7 +121,7 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
119
121
|
id: true,
|
|
120
122
|
graphId: true,
|
|
121
123
|
invocationId: true,
|
|
122
|
-
|
|
124
|
+
scopeId: true,
|
|
123
125
|
outputNode: true,
|
|
124
126
|
outputPort: true,
|
|
125
127
|
status: true,
|
|
@@ -136,6 +138,7 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
136
138
|
maxTicks: true,
|
|
137
139
|
maxPendingJobs: true,
|
|
138
140
|
timeoutAt: true,
|
|
141
|
+
lastProgressAt: true,
|
|
139
142
|
errorCode: true,
|
|
140
143
|
errorMessage: true,
|
|
141
144
|
};
|
|
@@ -171,7 +174,7 @@ async function handleGet(argv, prompter) {
|
|
|
171
174
|
id: true,
|
|
172
175
|
graphId: true,
|
|
173
176
|
invocationId: true,
|
|
174
|
-
|
|
177
|
+
scopeId: true,
|
|
175
178
|
outputNode: true,
|
|
176
179
|
outputPort: true,
|
|
177
180
|
status: true,
|
|
@@ -188,6 +191,7 @@ async function handleGet(argv, prompter) {
|
|
|
188
191
|
maxTicks: true,
|
|
189
192
|
maxPendingJobs: true,
|
|
190
193
|
timeoutAt: true,
|
|
194
|
+
lastProgressAt: true,
|
|
191
195
|
errorCode: true,
|
|
192
196
|
errorMessage: true,
|
|
193
197
|
},
|
|
@@ -228,15 +232,16 @@ async function handleCreate(argv, prompter) {
|
|
|
228
232
|
},
|
|
229
233
|
{
|
|
230
234
|
type: 'text',
|
|
231
|
-
name: '
|
|
232
|
-
message: '
|
|
235
|
+
name: 'scopeId',
|
|
236
|
+
message: 'scopeId',
|
|
233
237
|
required: true,
|
|
234
238
|
},
|
|
235
239
|
{
|
|
236
240
|
type: 'text',
|
|
237
241
|
name: 'outputNode',
|
|
238
242
|
message: 'outputNode',
|
|
239
|
-
required:
|
|
243
|
+
required: false,
|
|
244
|
+
skipPrompt: true,
|
|
240
245
|
},
|
|
241
246
|
{
|
|
242
247
|
type: 'text',
|
|
@@ -343,6 +348,13 @@ async function handleCreate(argv, prompter) {
|
|
|
343
348
|
required: false,
|
|
344
349
|
skipPrompt: true,
|
|
345
350
|
},
|
|
351
|
+
{
|
|
352
|
+
type: 'text',
|
|
353
|
+
name: 'lastProgressAt',
|
|
354
|
+
message: 'lastProgressAt',
|
|
355
|
+
required: false,
|
|
356
|
+
skipPrompt: true,
|
|
357
|
+
},
|
|
346
358
|
{
|
|
347
359
|
type: 'text',
|
|
348
360
|
name: 'errorCode',
|
|
@@ -367,7 +379,7 @@ async function handleCreate(argv, prompter) {
|
|
|
367
379
|
startedAt: cleanedData.startedAt,
|
|
368
380
|
graphId: cleanedData.graphId,
|
|
369
381
|
invocationId: cleanedData.invocationId,
|
|
370
|
-
|
|
382
|
+
scopeId: cleanedData.scopeId,
|
|
371
383
|
outputNode: cleanedData.outputNode,
|
|
372
384
|
outputPort: cleanedData.outputPort,
|
|
373
385
|
status: cleanedData.status,
|
|
@@ -384,6 +396,7 @@ async function handleCreate(argv, prompter) {
|
|
|
384
396
|
maxTicks: cleanedData.maxTicks,
|
|
385
397
|
maxPendingJobs: cleanedData.maxPendingJobs,
|
|
386
398
|
timeoutAt: cleanedData.timeoutAt,
|
|
399
|
+
lastProgressAt: cleanedData.lastProgressAt,
|
|
387
400
|
errorCode: cleanedData.errorCode,
|
|
388
401
|
errorMessage: cleanedData.errorMessage,
|
|
389
402
|
},
|
|
@@ -392,7 +405,7 @@ async function handleCreate(argv, prompter) {
|
|
|
392
405
|
id: true,
|
|
393
406
|
graphId: true,
|
|
394
407
|
invocationId: true,
|
|
395
|
-
|
|
408
|
+
scopeId: true,
|
|
396
409
|
outputNode: true,
|
|
397
410
|
outputPort: true,
|
|
398
411
|
status: true,
|
|
@@ -409,6 +422,7 @@ async function handleCreate(argv, prompter) {
|
|
|
409
422
|
maxTicks: true,
|
|
410
423
|
maxPendingJobs: true,
|
|
411
424
|
timeoutAt: true,
|
|
425
|
+
lastProgressAt: true,
|
|
412
426
|
errorCode: true,
|
|
413
427
|
errorMessage: true,
|
|
414
428
|
},
|
|
@@ -454,8 +468,8 @@ async function handleUpdate(argv, prompter) {
|
|
|
454
468
|
},
|
|
455
469
|
{
|
|
456
470
|
type: 'text',
|
|
457
|
-
name: '
|
|
458
|
-
message: '
|
|
471
|
+
name: 'scopeId',
|
|
472
|
+
message: 'scopeId',
|
|
459
473
|
required: false,
|
|
460
474
|
},
|
|
461
475
|
{
|
|
@@ -463,6 +477,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
463
477
|
name: 'outputNode',
|
|
464
478
|
message: 'outputNode',
|
|
465
479
|
required: false,
|
|
480
|
+
skipPrompt: true,
|
|
466
481
|
},
|
|
467
482
|
{
|
|
468
483
|
type: 'text',
|
|
@@ -569,6 +584,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
569
584
|
required: false,
|
|
570
585
|
skipPrompt: true,
|
|
571
586
|
},
|
|
587
|
+
{
|
|
588
|
+
type: 'text',
|
|
589
|
+
name: 'lastProgressAt',
|
|
590
|
+
message: 'lastProgressAt',
|
|
591
|
+
required: false,
|
|
592
|
+
skipPrompt: true,
|
|
593
|
+
},
|
|
572
594
|
{
|
|
573
595
|
type: 'text',
|
|
574
596
|
name: 'errorCode',
|
|
@@ -596,7 +618,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
596
618
|
data: {
|
|
597
619
|
graphId: cleanedData.graphId,
|
|
598
620
|
invocationId: cleanedData.invocationId,
|
|
599
|
-
|
|
621
|
+
scopeId: cleanedData.scopeId,
|
|
600
622
|
outputNode: cleanedData.outputNode,
|
|
601
623
|
outputPort: cleanedData.outputPort,
|
|
602
624
|
status: cleanedData.status,
|
|
@@ -613,6 +635,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
613
635
|
maxTicks: cleanedData.maxTicks,
|
|
614
636
|
maxPendingJobs: cleanedData.maxPendingJobs,
|
|
615
637
|
timeoutAt: cleanedData.timeoutAt,
|
|
638
|
+
lastProgressAt: cleanedData.lastProgressAt,
|
|
616
639
|
errorCode: cleanedData.errorCode,
|
|
617
640
|
errorMessage: cleanedData.errorMessage,
|
|
618
641
|
},
|
|
@@ -621,7 +644,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
621
644
|
id: true,
|
|
622
645
|
graphId: true,
|
|
623
646
|
invocationId: true,
|
|
624
|
-
|
|
647
|
+
scopeId: true,
|
|
625
648
|
outputNode: true,
|
|
626
649
|
outputPort: true,
|
|
627
650
|
status: true,
|
|
@@ -638,6 +661,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
638
661
|
maxTicks: true,
|
|
639
662
|
maxPendingJobs: true,
|
|
640
663
|
timeoutAt: true,
|
|
664
|
+
lastProgressAt: true,
|
|
641
665
|
errorCode: true,
|
|
642
666
|
errorMessage: true,
|
|
643
667
|
},
|
|
@@ -10,7 +10,7 @@ const executor_1 = require("../executor");
|
|
|
10
10
|
const utils_1 = require("../utils");
|
|
11
11
|
const fieldSchema = {
|
|
12
12
|
id: 'uuid',
|
|
13
|
-
|
|
13
|
+
scopeId: 'uuid',
|
|
14
14
|
kids: 'uuid',
|
|
15
15
|
ktree: 'string',
|
|
16
16
|
data: 'json',
|
|
@@ -59,7 +59,7 @@ async function handleList(argv, _prompter) {
|
|
|
59
59
|
try {
|
|
60
60
|
const defaultSelect = {
|
|
61
61
|
id: true,
|
|
62
|
-
|
|
62
|
+
scopeId: true,
|
|
63
63
|
kids: true,
|
|
64
64
|
ktree: true,
|
|
65
65
|
data: true,
|
|
@@ -82,7 +82,7 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
82
82
|
try {
|
|
83
83
|
const defaultSelect = {
|
|
84
84
|
id: true,
|
|
85
|
-
|
|
85
|
+
scopeId: true,
|
|
86
86
|
kids: true,
|
|
87
87
|
ktree: true,
|
|
88
88
|
data: true,
|
|
@@ -117,7 +117,7 @@ async function handleGet(argv, prompter) {
|
|
|
117
117
|
id: answers.id,
|
|
118
118
|
select: {
|
|
119
119
|
id: true,
|
|
120
|
-
|
|
120
|
+
scopeId: true,
|
|
121
121
|
kids: true,
|
|
122
122
|
ktree: true,
|
|
123
123
|
data: true,
|
|
@@ -140,8 +140,8 @@ async function handleCreate(argv, prompter) {
|
|
|
140
140
|
const rawAnswers = await prompter.prompt(argv, [
|
|
141
141
|
{
|
|
142
142
|
type: 'text',
|
|
143
|
-
name: '
|
|
144
|
-
message: '
|
|
143
|
+
name: 'scopeId',
|
|
144
|
+
message: 'scopeId',
|
|
145
145
|
required: true,
|
|
146
146
|
},
|
|
147
147
|
{
|
|
@@ -172,14 +172,14 @@ async function handleCreate(argv, prompter) {
|
|
|
172
172
|
const result = await client.functionGraphObject
|
|
173
173
|
.create({
|
|
174
174
|
data: {
|
|
175
|
-
|
|
175
|
+
scopeId: cleanedData.scopeId,
|
|
176
176
|
kids: cleanedData.kids,
|
|
177
177
|
ktree: cleanedData.ktree,
|
|
178
178
|
data: cleanedData.data,
|
|
179
179
|
},
|
|
180
180
|
select: {
|
|
181
181
|
id: true,
|
|
182
|
-
|
|
182
|
+
scopeId: true,
|
|
183
183
|
kids: true,
|
|
184
184
|
ktree: true,
|
|
185
185
|
data: true,
|
|
@@ -208,8 +208,8 @@ async function handleUpdate(argv, prompter) {
|
|
|
208
208
|
},
|
|
209
209
|
{
|
|
210
210
|
type: 'text',
|
|
211
|
-
name: '
|
|
212
|
-
message: '
|
|
211
|
+
name: 'scopeId',
|
|
212
|
+
message: 'scopeId',
|
|
213
213
|
required: true,
|
|
214
214
|
},
|
|
215
215
|
{
|
|
@@ -241,7 +241,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
241
241
|
.update({
|
|
242
242
|
where: {
|
|
243
243
|
id: answers.id,
|
|
244
|
-
|
|
244
|
+
scopeId: answers.scopeId,
|
|
245
245
|
},
|
|
246
246
|
data: {
|
|
247
247
|
kids: cleanedData.kids,
|
|
@@ -250,7 +250,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
250
250
|
},
|
|
251
251
|
select: {
|
|
252
252
|
id: true,
|
|
253
|
-
|
|
253
|
+
scopeId: true,
|
|
254
254
|
kids: true,
|
|
255
255
|
ktree: true,
|
|
256
256
|
data: true,
|
|
@@ -279,8 +279,8 @@ async function handleDelete(argv, prompter) {
|
|
|
279
279
|
},
|
|
280
280
|
{
|
|
281
281
|
type: 'text',
|
|
282
|
-
name: '
|
|
283
|
-
message: '
|
|
282
|
+
name: 'scopeId',
|
|
283
|
+
message: 'scopeId',
|
|
284
284
|
required: true,
|
|
285
285
|
},
|
|
286
286
|
]);
|
|
@@ -290,7 +290,7 @@ async function handleDelete(argv, prompter) {
|
|
|
290
290
|
.delete({
|
|
291
291
|
where: {
|
|
292
292
|
id: answers.id,
|
|
293
|
-
|
|
293
|
+
scopeId: answers.scopeId,
|
|
294
294
|
},
|
|
295
295
|
select: {
|
|
296
296
|
id: true,
|