@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
|
@@ -16,11 +16,18 @@ const fieldSchema = {
|
|
|
16
16
|
name: 'string',
|
|
17
17
|
taskIdentifier: 'string',
|
|
18
18
|
description: 'string',
|
|
19
|
-
|
|
19
|
+
isPublished: 'boolean',
|
|
20
|
+
accessChannels: 'string',
|
|
21
|
+
publishedAt: 'string',
|
|
20
22
|
maxAttempts: 'int',
|
|
21
23
|
priority: 'int',
|
|
22
24
|
queueName: 'string',
|
|
23
25
|
runtime: 'string',
|
|
26
|
+
targetSchema: 'string',
|
|
27
|
+
targetFunction: 'string',
|
|
28
|
+
moduleTable: 'string',
|
|
29
|
+
functionColumns: 'json',
|
|
30
|
+
payloadArgs: 'json',
|
|
24
31
|
image: 'string',
|
|
25
32
|
concurrency: 'int',
|
|
26
33
|
scaleMin: 'int',
|
|
@@ -30,6 +37,7 @@ const fieldSchema = {
|
|
|
30
37
|
isBuiltIn: 'boolean',
|
|
31
38
|
requiredSecrets: 'string',
|
|
32
39
|
requiredConfigs: 'string',
|
|
40
|
+
integrations: 'string',
|
|
33
41
|
requiredBuckets: 'string',
|
|
34
42
|
requiredModels: 'string',
|
|
35
43
|
inputs: 'json',
|
|
@@ -38,6 +46,7 @@ const fieldSchema = {
|
|
|
38
46
|
volatile: 'boolean',
|
|
39
47
|
icon: 'string',
|
|
40
48
|
category: 'string',
|
|
49
|
+
databaseId: 'uuid',
|
|
41
50
|
};
|
|
42
51
|
const usage = '\nfunction-definition <command>\n\nCommands:\n list List functionDefinition records\n find-first Find first matching functionDefinition record\n get Get a functionDefinition by ID\n create Create a new functionDefinition\n update Update an existing functionDefinition\n delete Delete a functionDefinition\n\nList Options:\n --limit <n> Max number of records to return (forward pagination)\n --last <n> Number of records from the end (backward pagination)\n --after <cursor> Cursor for forward pagination\n --before <cursor> Cursor for backward pagination\n --offset <n> Number of records to skip\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.name.equalTo foo)\n --condition.<f>.<op> Condition filter (dot-notation)\n --orderBy <values> Comma-separated ordering values (e.g. NAME_ASC,CREATED_AT_DESC)\n\nFind-First Options:\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.status.equalTo active)\n --condition.<f>.<op> Condition filter (dot-notation)\n --orderBy <values> Comma-separated ordering values (e.g. NAME_ASC,CREATED_AT_DESC)\n\n --help, -h Show this help message\n';
|
|
43
52
|
exports.default = async (argv, prompter, _options) => {
|
|
@@ -88,11 +97,18 @@ async function handleList(argv, _prompter) {
|
|
|
88
97
|
name: true,
|
|
89
98
|
taskIdentifier: true,
|
|
90
99
|
description: true,
|
|
91
|
-
|
|
100
|
+
isPublished: true,
|
|
101
|
+
accessChannels: true,
|
|
102
|
+
publishedAt: true,
|
|
92
103
|
maxAttempts: true,
|
|
93
104
|
priority: true,
|
|
94
105
|
queueName: true,
|
|
95
106
|
runtime: true,
|
|
107
|
+
targetSchema: true,
|
|
108
|
+
targetFunction: true,
|
|
109
|
+
moduleTable: true,
|
|
110
|
+
functionColumns: true,
|
|
111
|
+
payloadArgs: true,
|
|
96
112
|
image: true,
|
|
97
113
|
concurrency: true,
|
|
98
114
|
scaleMin: true,
|
|
@@ -102,6 +118,7 @@ async function handleList(argv, _prompter) {
|
|
|
102
118
|
isBuiltIn: true,
|
|
103
119
|
requiredSecrets: true,
|
|
104
120
|
requiredConfigs: true,
|
|
121
|
+
integrations: true,
|
|
105
122
|
requiredBuckets: true,
|
|
106
123
|
requiredModels: true,
|
|
107
124
|
inputs: true,
|
|
@@ -110,6 +127,7 @@ async function handleList(argv, _prompter) {
|
|
|
110
127
|
volatile: true,
|
|
111
128
|
icon: true,
|
|
112
129
|
category: true,
|
|
130
|
+
databaseId: true,
|
|
113
131
|
};
|
|
114
132
|
const findManyArgs = (0, utils_1.parseFindManyArgs)(argv, defaultSelect);
|
|
115
133
|
const client = (0, executor_1.getClient)();
|
|
@@ -134,11 +152,18 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
134
152
|
name: true,
|
|
135
153
|
taskIdentifier: true,
|
|
136
154
|
description: true,
|
|
137
|
-
|
|
155
|
+
isPublished: true,
|
|
156
|
+
accessChannels: true,
|
|
157
|
+
publishedAt: true,
|
|
138
158
|
maxAttempts: true,
|
|
139
159
|
priority: true,
|
|
140
160
|
queueName: true,
|
|
141
161
|
runtime: true,
|
|
162
|
+
targetSchema: true,
|
|
163
|
+
targetFunction: true,
|
|
164
|
+
moduleTable: true,
|
|
165
|
+
functionColumns: true,
|
|
166
|
+
payloadArgs: true,
|
|
142
167
|
image: true,
|
|
143
168
|
concurrency: true,
|
|
144
169
|
scaleMin: true,
|
|
@@ -148,6 +173,7 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
148
173
|
isBuiltIn: true,
|
|
149
174
|
requiredSecrets: true,
|
|
150
175
|
requiredConfigs: true,
|
|
176
|
+
integrations: true,
|
|
151
177
|
requiredBuckets: true,
|
|
152
178
|
requiredModels: true,
|
|
153
179
|
inputs: true,
|
|
@@ -156,6 +182,7 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
156
182
|
volatile: true,
|
|
157
183
|
icon: true,
|
|
158
184
|
category: true,
|
|
185
|
+
databaseId: true,
|
|
159
186
|
};
|
|
160
187
|
const findFirstArgs = (0, utils_1.parseFindFirstArgs)(argv, defaultSelect);
|
|
161
188
|
const client = (0, executor_1.getClient)();
|
|
@@ -192,11 +219,18 @@ async function handleGet(argv, prompter) {
|
|
|
192
219
|
name: true,
|
|
193
220
|
taskIdentifier: true,
|
|
194
221
|
description: true,
|
|
195
|
-
|
|
222
|
+
isPublished: true,
|
|
223
|
+
accessChannels: true,
|
|
224
|
+
publishedAt: true,
|
|
196
225
|
maxAttempts: true,
|
|
197
226
|
priority: true,
|
|
198
227
|
queueName: true,
|
|
199
228
|
runtime: true,
|
|
229
|
+
targetSchema: true,
|
|
230
|
+
targetFunction: true,
|
|
231
|
+
moduleTable: true,
|
|
232
|
+
functionColumns: true,
|
|
233
|
+
payloadArgs: true,
|
|
200
234
|
image: true,
|
|
201
235
|
concurrency: true,
|
|
202
236
|
scaleMin: true,
|
|
@@ -206,6 +240,7 @@ async function handleGet(argv, prompter) {
|
|
|
206
240
|
isBuiltIn: true,
|
|
207
241
|
requiredSecrets: true,
|
|
208
242
|
requiredConfigs: true,
|
|
243
|
+
integrations: true,
|
|
209
244
|
requiredBuckets: true,
|
|
210
245
|
requiredModels: true,
|
|
211
246
|
inputs: true,
|
|
@@ -214,6 +249,7 @@ async function handleGet(argv, prompter) {
|
|
|
214
249
|
volatile: true,
|
|
215
250
|
icon: true,
|
|
216
251
|
category: true,
|
|
252
|
+
databaseId: true,
|
|
217
253
|
},
|
|
218
254
|
})
|
|
219
255
|
.execute();
|
|
@@ -257,8 +293,22 @@ async function handleCreate(argv, prompter) {
|
|
|
257
293
|
},
|
|
258
294
|
{
|
|
259
295
|
type: 'boolean',
|
|
260
|
-
name: '
|
|
261
|
-
message: '
|
|
296
|
+
name: 'isPublished',
|
|
297
|
+
message: 'isPublished',
|
|
298
|
+
required: false,
|
|
299
|
+
skipPrompt: true,
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
type: 'text',
|
|
303
|
+
name: 'accessChannels',
|
|
304
|
+
message: 'accessChannels',
|
|
305
|
+
required: false,
|
|
306
|
+
skipPrompt: true,
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
type: 'text',
|
|
310
|
+
name: 'publishedAt',
|
|
311
|
+
message: 'publishedAt',
|
|
262
312
|
required: false,
|
|
263
313
|
skipPrompt: true,
|
|
264
314
|
},
|
|
@@ -290,6 +340,41 @@ async function handleCreate(argv, prompter) {
|
|
|
290
340
|
required: false,
|
|
291
341
|
skipPrompt: true,
|
|
292
342
|
},
|
|
343
|
+
{
|
|
344
|
+
type: 'text',
|
|
345
|
+
name: 'targetSchema',
|
|
346
|
+
message: 'targetSchema',
|
|
347
|
+
required: false,
|
|
348
|
+
skipPrompt: true,
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
type: 'text',
|
|
352
|
+
name: 'targetFunction',
|
|
353
|
+
message: 'targetFunction',
|
|
354
|
+
required: false,
|
|
355
|
+
skipPrompt: true,
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
type: 'text',
|
|
359
|
+
name: 'moduleTable',
|
|
360
|
+
message: 'moduleTable',
|
|
361
|
+
required: false,
|
|
362
|
+
skipPrompt: true,
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
type: 'json',
|
|
366
|
+
name: 'functionColumns',
|
|
367
|
+
message: 'functionColumns',
|
|
368
|
+
required: false,
|
|
369
|
+
skipPrompt: true,
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
type: 'json',
|
|
373
|
+
name: 'payloadArgs',
|
|
374
|
+
message: 'payloadArgs',
|
|
375
|
+
required: false,
|
|
376
|
+
skipPrompt: true,
|
|
377
|
+
},
|
|
293
378
|
{
|
|
294
379
|
type: 'text',
|
|
295
380
|
name: 'image',
|
|
@@ -353,6 +438,13 @@ async function handleCreate(argv, prompter) {
|
|
|
353
438
|
required: false,
|
|
354
439
|
skipPrompt: true,
|
|
355
440
|
},
|
|
441
|
+
{
|
|
442
|
+
type: 'text',
|
|
443
|
+
name: 'integrations',
|
|
444
|
+
message: 'integrations',
|
|
445
|
+
required: false,
|
|
446
|
+
skipPrompt: true,
|
|
447
|
+
},
|
|
356
448
|
{
|
|
357
449
|
type: 'text',
|
|
358
450
|
name: 'requiredBuckets',
|
|
@@ -409,6 +501,12 @@ async function handleCreate(argv, prompter) {
|
|
|
409
501
|
required: false,
|
|
410
502
|
skipPrompt: true,
|
|
411
503
|
},
|
|
504
|
+
{
|
|
505
|
+
type: 'text',
|
|
506
|
+
name: 'databaseId',
|
|
507
|
+
message: 'databaseId',
|
|
508
|
+
required: true,
|
|
509
|
+
},
|
|
412
510
|
]);
|
|
413
511
|
const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
|
|
414
512
|
const cleanedData = (0, utils_1.stripUndefined)(answers, fieldSchema);
|
|
@@ -420,11 +518,18 @@ async function handleCreate(argv, prompter) {
|
|
|
420
518
|
name: cleanedData.name,
|
|
421
519
|
taskIdentifier: cleanedData.taskIdentifier,
|
|
422
520
|
description: cleanedData.description,
|
|
423
|
-
|
|
521
|
+
isPublished: cleanedData.isPublished,
|
|
522
|
+
accessChannels: cleanedData.accessChannels,
|
|
523
|
+
publishedAt: cleanedData.publishedAt,
|
|
424
524
|
maxAttempts: cleanedData.maxAttempts,
|
|
425
525
|
priority: cleanedData.priority,
|
|
426
526
|
queueName: cleanedData.queueName,
|
|
427
527
|
runtime: cleanedData.runtime,
|
|
528
|
+
targetSchema: cleanedData.targetSchema,
|
|
529
|
+
targetFunction: cleanedData.targetFunction,
|
|
530
|
+
moduleTable: cleanedData.moduleTable,
|
|
531
|
+
functionColumns: cleanedData.functionColumns,
|
|
532
|
+
payloadArgs: cleanedData.payloadArgs,
|
|
428
533
|
image: cleanedData.image,
|
|
429
534
|
concurrency: cleanedData.concurrency,
|
|
430
535
|
scaleMin: cleanedData.scaleMin,
|
|
@@ -434,6 +539,7 @@ async function handleCreate(argv, prompter) {
|
|
|
434
539
|
isBuiltIn: cleanedData.isBuiltIn,
|
|
435
540
|
requiredSecrets: cleanedData.requiredSecrets,
|
|
436
541
|
requiredConfigs: cleanedData.requiredConfigs,
|
|
542
|
+
integrations: cleanedData.integrations,
|
|
437
543
|
requiredBuckets: cleanedData.requiredBuckets,
|
|
438
544
|
requiredModels: cleanedData.requiredModels,
|
|
439
545
|
inputs: cleanedData.inputs,
|
|
@@ -442,6 +548,7 @@ async function handleCreate(argv, prompter) {
|
|
|
442
548
|
volatile: cleanedData.volatile,
|
|
443
549
|
icon: cleanedData.icon,
|
|
444
550
|
category: cleanedData.category,
|
|
551
|
+
databaseId: cleanedData.databaseId,
|
|
445
552
|
},
|
|
446
553
|
select: {
|
|
447
554
|
id: true,
|
|
@@ -451,11 +558,18 @@ async function handleCreate(argv, prompter) {
|
|
|
451
558
|
name: true,
|
|
452
559
|
taskIdentifier: true,
|
|
453
560
|
description: true,
|
|
454
|
-
|
|
561
|
+
isPublished: true,
|
|
562
|
+
accessChannels: true,
|
|
563
|
+
publishedAt: true,
|
|
455
564
|
maxAttempts: true,
|
|
456
565
|
priority: true,
|
|
457
566
|
queueName: true,
|
|
458
567
|
runtime: true,
|
|
568
|
+
targetSchema: true,
|
|
569
|
+
targetFunction: true,
|
|
570
|
+
moduleTable: true,
|
|
571
|
+
functionColumns: true,
|
|
572
|
+
payloadArgs: true,
|
|
459
573
|
image: true,
|
|
460
574
|
concurrency: true,
|
|
461
575
|
scaleMin: true,
|
|
@@ -465,6 +579,7 @@ async function handleCreate(argv, prompter) {
|
|
|
465
579
|
isBuiltIn: true,
|
|
466
580
|
requiredSecrets: true,
|
|
467
581
|
requiredConfigs: true,
|
|
582
|
+
integrations: true,
|
|
468
583
|
requiredBuckets: true,
|
|
469
584
|
requiredModels: true,
|
|
470
585
|
inputs: true,
|
|
@@ -473,6 +588,7 @@ async function handleCreate(argv, prompter) {
|
|
|
473
588
|
volatile: true,
|
|
474
589
|
icon: true,
|
|
475
590
|
category: true,
|
|
591
|
+
databaseId: true,
|
|
476
592
|
},
|
|
477
593
|
})
|
|
478
594
|
.execute();
|
|
@@ -522,8 +638,22 @@ async function handleUpdate(argv, prompter) {
|
|
|
522
638
|
},
|
|
523
639
|
{
|
|
524
640
|
type: 'boolean',
|
|
525
|
-
name: '
|
|
526
|
-
message: '
|
|
641
|
+
name: 'isPublished',
|
|
642
|
+
message: 'isPublished',
|
|
643
|
+
required: false,
|
|
644
|
+
skipPrompt: true,
|
|
645
|
+
},
|
|
646
|
+
{
|
|
647
|
+
type: 'text',
|
|
648
|
+
name: 'accessChannels',
|
|
649
|
+
message: 'accessChannels',
|
|
650
|
+
required: false,
|
|
651
|
+
skipPrompt: true,
|
|
652
|
+
},
|
|
653
|
+
{
|
|
654
|
+
type: 'text',
|
|
655
|
+
name: 'publishedAt',
|
|
656
|
+
message: 'publishedAt',
|
|
527
657
|
required: false,
|
|
528
658
|
skipPrompt: true,
|
|
529
659
|
},
|
|
@@ -555,6 +685,41 @@ async function handleUpdate(argv, prompter) {
|
|
|
555
685
|
required: false,
|
|
556
686
|
skipPrompt: true,
|
|
557
687
|
},
|
|
688
|
+
{
|
|
689
|
+
type: 'text',
|
|
690
|
+
name: 'targetSchema',
|
|
691
|
+
message: 'targetSchema',
|
|
692
|
+
required: false,
|
|
693
|
+
skipPrompt: true,
|
|
694
|
+
},
|
|
695
|
+
{
|
|
696
|
+
type: 'text',
|
|
697
|
+
name: 'targetFunction',
|
|
698
|
+
message: 'targetFunction',
|
|
699
|
+
required: false,
|
|
700
|
+
skipPrompt: true,
|
|
701
|
+
},
|
|
702
|
+
{
|
|
703
|
+
type: 'text',
|
|
704
|
+
name: 'moduleTable',
|
|
705
|
+
message: 'moduleTable',
|
|
706
|
+
required: false,
|
|
707
|
+
skipPrompt: true,
|
|
708
|
+
},
|
|
709
|
+
{
|
|
710
|
+
type: 'json',
|
|
711
|
+
name: 'functionColumns',
|
|
712
|
+
message: 'functionColumns',
|
|
713
|
+
required: false,
|
|
714
|
+
skipPrompt: true,
|
|
715
|
+
},
|
|
716
|
+
{
|
|
717
|
+
type: 'json',
|
|
718
|
+
name: 'payloadArgs',
|
|
719
|
+
message: 'payloadArgs',
|
|
720
|
+
required: false,
|
|
721
|
+
skipPrompt: true,
|
|
722
|
+
},
|
|
558
723
|
{
|
|
559
724
|
type: 'text',
|
|
560
725
|
name: 'image',
|
|
@@ -618,6 +783,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
618
783
|
required: false,
|
|
619
784
|
skipPrompt: true,
|
|
620
785
|
},
|
|
786
|
+
{
|
|
787
|
+
type: 'text',
|
|
788
|
+
name: 'integrations',
|
|
789
|
+
message: 'integrations',
|
|
790
|
+
required: false,
|
|
791
|
+
skipPrompt: true,
|
|
792
|
+
},
|
|
621
793
|
{
|
|
622
794
|
type: 'text',
|
|
623
795
|
name: 'requiredBuckets',
|
|
@@ -674,6 +846,12 @@ async function handleUpdate(argv, prompter) {
|
|
|
674
846
|
required: false,
|
|
675
847
|
skipPrompt: true,
|
|
676
848
|
},
|
|
849
|
+
{
|
|
850
|
+
type: 'text',
|
|
851
|
+
name: 'databaseId',
|
|
852
|
+
message: 'databaseId',
|
|
853
|
+
required: false,
|
|
854
|
+
},
|
|
677
855
|
]);
|
|
678
856
|
const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
|
|
679
857
|
const cleanedData = (0, utils_1.stripUndefined)(answers, fieldSchema);
|
|
@@ -688,11 +866,18 @@ async function handleUpdate(argv, prompter) {
|
|
|
688
866
|
name: cleanedData.name,
|
|
689
867
|
taskIdentifier: cleanedData.taskIdentifier,
|
|
690
868
|
description: cleanedData.description,
|
|
691
|
-
|
|
869
|
+
isPublished: cleanedData.isPublished,
|
|
870
|
+
accessChannels: cleanedData.accessChannels,
|
|
871
|
+
publishedAt: cleanedData.publishedAt,
|
|
692
872
|
maxAttempts: cleanedData.maxAttempts,
|
|
693
873
|
priority: cleanedData.priority,
|
|
694
874
|
queueName: cleanedData.queueName,
|
|
695
875
|
runtime: cleanedData.runtime,
|
|
876
|
+
targetSchema: cleanedData.targetSchema,
|
|
877
|
+
targetFunction: cleanedData.targetFunction,
|
|
878
|
+
moduleTable: cleanedData.moduleTable,
|
|
879
|
+
functionColumns: cleanedData.functionColumns,
|
|
880
|
+
payloadArgs: cleanedData.payloadArgs,
|
|
696
881
|
image: cleanedData.image,
|
|
697
882
|
concurrency: cleanedData.concurrency,
|
|
698
883
|
scaleMin: cleanedData.scaleMin,
|
|
@@ -702,6 +887,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
702
887
|
isBuiltIn: cleanedData.isBuiltIn,
|
|
703
888
|
requiredSecrets: cleanedData.requiredSecrets,
|
|
704
889
|
requiredConfigs: cleanedData.requiredConfigs,
|
|
890
|
+
integrations: cleanedData.integrations,
|
|
705
891
|
requiredBuckets: cleanedData.requiredBuckets,
|
|
706
892
|
requiredModels: cleanedData.requiredModels,
|
|
707
893
|
inputs: cleanedData.inputs,
|
|
@@ -710,6 +896,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
710
896
|
volatile: cleanedData.volatile,
|
|
711
897
|
icon: cleanedData.icon,
|
|
712
898
|
category: cleanedData.category,
|
|
899
|
+
databaseId: cleanedData.databaseId,
|
|
713
900
|
},
|
|
714
901
|
select: {
|
|
715
902
|
id: true,
|
|
@@ -719,11 +906,18 @@ async function handleUpdate(argv, prompter) {
|
|
|
719
906
|
name: true,
|
|
720
907
|
taskIdentifier: true,
|
|
721
908
|
description: true,
|
|
722
|
-
|
|
909
|
+
isPublished: true,
|
|
910
|
+
accessChannels: true,
|
|
911
|
+
publishedAt: true,
|
|
723
912
|
maxAttempts: true,
|
|
724
913
|
priority: true,
|
|
725
914
|
queueName: true,
|
|
726
915
|
runtime: true,
|
|
916
|
+
targetSchema: true,
|
|
917
|
+
targetFunction: true,
|
|
918
|
+
moduleTable: true,
|
|
919
|
+
functionColumns: true,
|
|
920
|
+
payloadArgs: true,
|
|
727
921
|
image: true,
|
|
728
922
|
concurrency: true,
|
|
729
923
|
scaleMin: true,
|
|
@@ -733,6 +927,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
733
927
|
isBuiltIn: true,
|
|
734
928
|
requiredSecrets: true,
|
|
735
929
|
requiredConfigs: true,
|
|
930
|
+
integrations: true,
|
|
736
931
|
requiredBuckets: true,
|
|
737
932
|
requiredModels: true,
|
|
738
933
|
inputs: true,
|
|
@@ -741,6 +936,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
741
936
|
volatile: true,
|
|
742
937
|
icon: true,
|
|
743
938
|
category: true,
|
|
939
|
+
databaseId: true,
|
|
744
940
|
},
|
|
745
941
|
})
|
|
746
942
|
.execute();
|
|
@@ -12,13 +12,14 @@ const fieldSchema = {
|
|
|
12
12
|
id: 'uuid',
|
|
13
13
|
createdAt: 'string',
|
|
14
14
|
updatedAt: 'string',
|
|
15
|
-
functionDefinitionId: 'uuid',
|
|
16
15
|
namespaceId: 'uuid',
|
|
17
16
|
status: 'string',
|
|
18
17
|
serviceUrl: 'string',
|
|
19
18
|
serviceName: 'string',
|
|
20
19
|
revision: 'int',
|
|
21
20
|
image: 'string',
|
|
21
|
+
imageVersion: 'string',
|
|
22
|
+
handlerName: 'string',
|
|
22
23
|
concurrency: 'int',
|
|
23
24
|
scaleMin: 'int',
|
|
24
25
|
scaleMax: 'int',
|
|
@@ -76,13 +77,14 @@ async function handleList(argv, _prompter) {
|
|
|
76
77
|
id: true,
|
|
77
78
|
createdAt: true,
|
|
78
79
|
updatedAt: true,
|
|
79
|
-
functionDefinitionId: true,
|
|
80
80
|
namespaceId: true,
|
|
81
81
|
status: true,
|
|
82
82
|
serviceUrl: true,
|
|
83
83
|
serviceName: true,
|
|
84
84
|
revision: true,
|
|
85
85
|
image: true,
|
|
86
|
+
imageVersion: true,
|
|
87
|
+
handlerName: true,
|
|
86
88
|
concurrency: true,
|
|
87
89
|
scaleMin: true,
|
|
88
90
|
scaleMax: true,
|
|
@@ -114,13 +116,14 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
114
116
|
id: true,
|
|
115
117
|
createdAt: true,
|
|
116
118
|
updatedAt: true,
|
|
117
|
-
functionDefinitionId: true,
|
|
118
119
|
namespaceId: true,
|
|
119
120
|
status: true,
|
|
120
121
|
serviceUrl: true,
|
|
121
122
|
serviceName: true,
|
|
122
123
|
revision: true,
|
|
123
124
|
image: true,
|
|
125
|
+
imageVersion: true,
|
|
126
|
+
handlerName: true,
|
|
124
127
|
concurrency: true,
|
|
125
128
|
scaleMin: true,
|
|
126
129
|
scaleMax: true,
|
|
@@ -164,13 +167,14 @@ async function handleGet(argv, prompter) {
|
|
|
164
167
|
id: true,
|
|
165
168
|
createdAt: true,
|
|
166
169
|
updatedAt: true,
|
|
167
|
-
functionDefinitionId: true,
|
|
168
170
|
namespaceId: true,
|
|
169
171
|
status: true,
|
|
170
172
|
serviceUrl: true,
|
|
171
173
|
serviceName: true,
|
|
172
174
|
revision: true,
|
|
173
175
|
image: true,
|
|
176
|
+
imageVersion: true,
|
|
177
|
+
handlerName: true,
|
|
174
178
|
concurrency: true,
|
|
175
179
|
scaleMin: true,
|
|
176
180
|
scaleMax: true,
|
|
@@ -198,12 +202,6 @@ async function handleGet(argv, prompter) {
|
|
|
198
202
|
async function handleCreate(argv, prompter) {
|
|
199
203
|
try {
|
|
200
204
|
const rawAnswers = await prompter.prompt(argv, [
|
|
201
|
-
{
|
|
202
|
-
type: 'text',
|
|
203
|
-
name: 'functionDefinitionId',
|
|
204
|
-
message: 'functionDefinitionId',
|
|
205
|
-
required: true,
|
|
206
|
-
},
|
|
207
205
|
{
|
|
208
206
|
type: 'text',
|
|
209
207
|
name: 'namespaceId',
|
|
@@ -242,6 +240,19 @@ async function handleCreate(argv, prompter) {
|
|
|
242
240
|
type: 'text',
|
|
243
241
|
name: 'image',
|
|
244
242
|
message: 'image',
|
|
243
|
+
required: true,
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
type: 'text',
|
|
247
|
+
name: 'imageVersion',
|
|
248
|
+
message: 'imageVersion',
|
|
249
|
+
required: false,
|
|
250
|
+
skipPrompt: true,
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
type: 'text',
|
|
254
|
+
name: 'handlerName',
|
|
255
|
+
message: 'handlerName',
|
|
245
256
|
required: false,
|
|
246
257
|
skipPrompt: true,
|
|
247
258
|
},
|
|
@@ -328,13 +339,14 @@ async function handleCreate(argv, prompter) {
|
|
|
328
339
|
const result = await client.functionDeployment
|
|
329
340
|
.create({
|
|
330
341
|
data: {
|
|
331
|
-
functionDefinitionId: cleanedData.functionDefinitionId,
|
|
332
342
|
namespaceId: cleanedData.namespaceId,
|
|
333
343
|
status: cleanedData.status,
|
|
334
344
|
serviceUrl: cleanedData.serviceUrl,
|
|
335
345
|
serviceName: cleanedData.serviceName,
|
|
336
346
|
revision: cleanedData.revision,
|
|
337
347
|
image: cleanedData.image,
|
|
348
|
+
imageVersion: cleanedData.imageVersion,
|
|
349
|
+
handlerName: cleanedData.handlerName,
|
|
338
350
|
concurrency: cleanedData.concurrency,
|
|
339
351
|
scaleMin: cleanedData.scaleMin,
|
|
340
352
|
scaleMax: cleanedData.scaleMax,
|
|
@@ -351,13 +363,14 @@ async function handleCreate(argv, prompter) {
|
|
|
351
363
|
id: true,
|
|
352
364
|
createdAt: true,
|
|
353
365
|
updatedAt: true,
|
|
354
|
-
functionDefinitionId: true,
|
|
355
366
|
namespaceId: true,
|
|
356
367
|
status: true,
|
|
357
368
|
serviceUrl: true,
|
|
358
369
|
serviceName: true,
|
|
359
370
|
revision: true,
|
|
360
371
|
image: true,
|
|
372
|
+
imageVersion: true,
|
|
373
|
+
handlerName: true,
|
|
361
374
|
concurrency: true,
|
|
362
375
|
scaleMin: true,
|
|
363
376
|
scaleMax: true,
|
|
@@ -391,12 +404,6 @@ async function handleUpdate(argv, prompter) {
|
|
|
391
404
|
message: 'id',
|
|
392
405
|
required: true,
|
|
393
406
|
},
|
|
394
|
-
{
|
|
395
|
-
type: 'text',
|
|
396
|
-
name: 'functionDefinitionId',
|
|
397
|
-
message: 'functionDefinitionId',
|
|
398
|
-
required: false,
|
|
399
|
-
},
|
|
400
407
|
{
|
|
401
408
|
type: 'text',
|
|
402
409
|
name: 'namespaceId',
|
|
@@ -436,6 +443,19 @@ async function handleUpdate(argv, prompter) {
|
|
|
436
443
|
name: 'image',
|
|
437
444
|
message: 'image',
|
|
438
445
|
required: false,
|
|
446
|
+
},
|
|
447
|
+
{
|
|
448
|
+
type: 'text',
|
|
449
|
+
name: 'imageVersion',
|
|
450
|
+
message: 'imageVersion',
|
|
451
|
+
required: false,
|
|
452
|
+
skipPrompt: true,
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
type: 'text',
|
|
456
|
+
name: 'handlerName',
|
|
457
|
+
message: 'handlerName',
|
|
458
|
+
required: false,
|
|
439
459
|
skipPrompt: true,
|
|
440
460
|
},
|
|
441
461
|
{
|
|
@@ -524,13 +544,14 @@ async function handleUpdate(argv, prompter) {
|
|
|
524
544
|
id: answers.id,
|
|
525
545
|
},
|
|
526
546
|
data: {
|
|
527
|
-
functionDefinitionId: cleanedData.functionDefinitionId,
|
|
528
547
|
namespaceId: cleanedData.namespaceId,
|
|
529
548
|
status: cleanedData.status,
|
|
530
549
|
serviceUrl: cleanedData.serviceUrl,
|
|
531
550
|
serviceName: cleanedData.serviceName,
|
|
532
551
|
revision: cleanedData.revision,
|
|
533
552
|
image: cleanedData.image,
|
|
553
|
+
imageVersion: cleanedData.imageVersion,
|
|
554
|
+
handlerName: cleanedData.handlerName,
|
|
534
555
|
concurrency: cleanedData.concurrency,
|
|
535
556
|
scaleMin: cleanedData.scaleMin,
|
|
536
557
|
scaleMax: cleanedData.scaleMax,
|
|
@@ -547,13 +568,14 @@ async function handleUpdate(argv, prompter) {
|
|
|
547
568
|
id: true,
|
|
548
569
|
createdAt: true,
|
|
549
570
|
updatedAt: true,
|
|
550
|
-
functionDefinitionId: true,
|
|
551
571
|
namespaceId: true,
|
|
552
572
|
status: true,
|
|
553
573
|
serviceUrl: true,
|
|
554
574
|
serviceName: true,
|
|
555
575
|
revision: true,
|
|
556
576
|
image: true,
|
|
577
|
+
imageVersion: true,
|
|
578
|
+
handlerName: true,
|
|
557
579
|
concurrency: true,
|
|
558
580
|
scaleMin: true,
|
|
559
581
|
scaleMax: true,
|