@constructive-sdk/cli 0.29.8 → 0.30.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/agent/cli/commands/agent-message.js +20 -0
- package/agent/cli/commands/agent-persona.js +20 -0
- package/agent/cli/commands/agent-plan.js +20 -0
- package/agent/cli/commands/agent-prompt.js +20 -0
- package/agent/cli/commands/agent-resource.js +21 -0
- package/agent/cli/commands/agent-task.js +20 -0
- package/agent/cli/commands/agent-thread.js +20 -0
- package/agent/cli/commands/agent.js +20 -0
- package/agent/orm/input-types.d.ts +96 -8
- package/api/cli/commands/database.js +22 -0
- package/api/cli/commands/field.js +44 -0
- package/api/cli/commands/policy.js +22 -0
- package/{compute/cli/commands/org-function-execution-log.d.ts → api/cli/commands/request-database.d.ts} +1 -1
- package/api/cli/commands/request-database.js +36 -0
- package/api/cli/commands/table.js +22 -0
- package/api/cli/commands.js +5 -9
- package/api/cli/executor.d.ts +4 -14
- package/api/orm/index.d.ts +5 -15
- package/api/orm/index.js +2 -2
- package/api/orm/input-types.d.ts +250 -231
- package/api/orm/models/index.d.ts +1 -1
- package/api/orm/models/index.js +3 -3
- package/api/orm/mutation/index.d.ts +11 -36
- package/api/orm/mutation/index.js +6 -30
- package/auth/cli/commands/delete-principal.d.ts +8 -0
- package/{config/cli/commands/org-secrets-rotate.js → auth/cli/commands/delete-principal.js} +3 -3
- package/auth/cli/commands/principal-scope-override.js +18 -7
- package/auth/cli/commands/principal.d.ts +1 -1
- package/auth/cli/commands/principal.js +75 -64
- package/auth/cli/commands.js +5 -3
- package/auth/cli/executor.d.ts +10 -5
- package/auth/orm/index.d.ts +10 -5
- package/auth/orm/input-types.d.ts +54 -45
- package/auth/orm/models/principal.d.ts +1 -10
- package/auth/orm/models/principal.js +0 -13
- package/auth/orm/mutation/index.d.ts +17 -9
- package/auth/orm/mutation/index.js +24 -12
- package/{esm/compute/cli/commands/secret-definition.d.ts → compute/cli/commands/db-preset.d.ts} +1 -1
- package/compute/cli/commands/db-preset.js +394 -0
- package/compute/cli/commands/function-definition.js +208 -12
- package/compute/cli/commands/function-deployment.js +42 -20
- package/compute/cli/commands/function-graph-commit.js +15 -15
- package/compute/cli/commands/function-graph-execution-node-state.js +12 -12
- package/compute/cli/commands/function-graph-execution-output.js +12 -12
- package/compute/cli/commands/function-graph-execution.js +37 -13
- package/compute/cli/commands/function-graph-object.js +15 -15
- package/compute/cli/commands/function-graph-ref.js +15 -15
- package/compute/cli/commands/function-graph-store.js +12 -12
- package/compute/cli/commands/function-graph.js +12 -12
- package/compute/cli/commands/{secret-definition.d.ts → infra-commit.d.ts} +1 -1
- package/compute/cli/commands/infra-commit.js +389 -0
- package/{esm/modules/cli/commands/config-secrets-module.d.ts → compute/cli/commands/infra-get-all-record.d.ts} +1 -1
- package/compute/cli/commands/infra-get-all-record.js +126 -0
- package/{api/cli/commands/create-user-database.d.ts → compute/cli/commands/infra-init-empty-repo.d.ts} +1 -1
- package/compute/cli/commands/infra-init-empty-repo.js +36 -0
- package/compute/cli/commands/infra-insert-node-at-path.d.ts +8 -0
- package/{config/cli/commands/org-secrets-remove-array.js → compute/cli/commands/infra-insert-node-at-path.js} +3 -3
- package/{modules/cli/commands/config-secrets-module.d.ts → compute/cli/commands/infra-object.d.ts} +1 -1
- package/compute/cli/commands/infra-object.js +309 -0
- package/compute/cli/commands/infra-ref.d.ts +8 -0
- package/compute/cli/commands/infra-ref.js +299 -0
- package/compute/cli/commands/infra-set-data-at-path.d.ts +8 -0
- package/compute/cli/commands/infra-set-data-at-path.js +36 -0
- package/compute/cli/commands/infra-store.d.ts +8 -0
- package/compute/cli/commands/infra-store.js +278 -0
- package/compute/cli/commands/integration-provider.d.ts +8 -0
- package/compute/cli/commands/integration-provider.js +416 -0
- package/compute/cli/commands/namespace-event.d.ts +8 -0
- package/compute/cli/commands/namespace-event.js +510 -0
- package/compute/cli/commands/namespace.d.ts +8 -0
- package/compute/cli/commands/{secret-definition.js → namespace.js} +106 -20
- package/compute/cli/commands/platform-function-api-binding.d.ts +8 -0
- package/compute/cli/commands/platform-function-api-binding.js +294 -0
- package/compute/cli/commands/platform-function-definition.d.ts +8 -0
- package/compute/cli/commands/platform-function-definition.js +964 -0
- package/compute/cli/commands/platform-function-deployment-event.d.ts +8 -0
- package/compute/cli/commands/platform-function-deployment-event.js +336 -0
- package/compute/cli/commands/platform-function-deployment.d.ts +8 -0
- package/compute/cli/commands/platform-function-deployment.js +614 -0
- package/compute/cli/commands/platform-function-execution-log.d.ts +8 -0
- package/compute/cli/commands/{org-function-execution-log.js → platform-function-execution-log.js} +8 -8
- package/compute/cli/commands/platform-function-invocation.d.ts +8 -0
- package/compute/cli/commands/{org-function-invocation.js → platform-function-invocation.js} +8 -8
- package/compute/cli/commands/platform-namespace-event.js +0 -20
- package/compute/cli/commands/platform-namespace.js +40 -60
- package/compute/cli/commands/platform-resource-definition.d.ts +8 -0
- package/compute/cli/commands/platform-resource-definition.js +522 -0
- package/{api/cli/commands/bootstrap-user.d.ts → compute/cli/commands/platform-resource-event.d.ts} +1 -1
- package/compute/cli/commands/platform-resource-event.js +336 -0
- package/compute/cli/commands/platform-resource-status-check.d.ts +8 -0
- package/compute/cli/commands/platform-resource-status-check.js +340 -0
- package/compute/cli/commands/platform-resource.d.ts +8 -0
- package/compute/cli/commands/platform-resource.js +588 -0
- package/{api/cli/commands/provision-database-with-user.d.ts → compute/cli/commands/platform-resources-requirements-state.d.ts} +1 -1
- package/compute/cli/commands/platform-resources-requirements-state.js +183 -0
- package/compute/cli/commands/platform-resources-resolved-requirement.d.ts +8 -0
- package/compute/cli/commands/platform-resources-resolved-requirement.js +218 -0
- package/compute/cli/commands/resource-definition.d.ts +8 -0
- package/compute/cli/commands/resource-definition.js +542 -0
- package/compute/cli/commands/resource-status-check.d.ts +8 -0
- package/{modules/cli/commands/config-secrets-org-module.js → compute/cli/commands/resource-status-check.js} +90 -70
- package/compute/cli/commands/resource.js +88 -0
- package/compute/cli/commands/resources-requirements-state.d.ts +8 -0
- package/compute/cli/commands/resources-requirements-state.js +181 -0
- package/compute/cli/commands/resources-resolved-requirement.d.ts +8 -0
- package/compute/cli/commands/resources-resolved-requirement.js +214 -0
- package/compute/cli/commands.js +65 -15
- package/compute/cli/executor.d.ts +48 -11
- package/compute/orm/index.d.ts +76 -17
- package/compute/orm/index.js +56 -12
- package/compute/orm/input-types.d.ts +5893 -1343
- package/compute/orm/input-types.js +17 -3
- package/compute/orm/models/dbPreset.d.ts +54 -0
- package/compute/orm/models/dbPreset.js +104 -0
- package/compute/orm/models/functionGraphCommit.d.ts +2 -2
- package/compute/orm/models/functionGraphCommit.js +2 -2
- package/compute/orm/models/functionGraphObject.d.ts +2 -2
- package/compute/orm/models/functionGraphObject.js +2 -2
- package/compute/orm/models/functionGraphRef.d.ts +2 -2
- package/compute/orm/models/functionGraphRef.js +2 -2
- package/compute/orm/models/index.d.ts +28 -6
- package/compute/orm/models/index.js +57 -13
- package/compute/orm/models/infraCommit.d.ts +56 -0
- package/compute/orm/models/infraCommit.js +107 -0
- package/compute/orm/models/infraGetAllRecord.d.ts +30 -0
- package/compute/orm/models/infraGetAllRecord.js +59 -0
- package/compute/orm/models/infraObject.d.ts +56 -0
- package/compute/orm/models/infraObject.js +97 -0
- package/compute/orm/models/infraRef.d.ts +56 -0
- package/compute/orm/models/infraRef.js +107 -0
- package/compute/orm/models/infraStore.d.ts +54 -0
- package/compute/orm/models/infraStore.js +104 -0
- package/compute/orm/models/integrationProvider.d.ts +54 -0
- package/{modules/orm/models/configSecretsModule.js → compute/orm/models/integrationProvider.js} +27 -27
- package/compute/orm/models/namespace.d.ts +54 -0
- package/compute/orm/models/namespace.js +104 -0
- package/compute/orm/models/namespaceEvent.d.ts +56 -0
- package/compute/orm/models/{orgFunctionExecutionLog.js → namespaceEvent.js} +27 -27
- package/compute/orm/models/platformFunctionApiBinding.d.ts +54 -0
- package/compute/orm/models/platformFunctionApiBinding.js +104 -0
- package/compute/orm/models/platformFunctionDefinition.d.ts +54 -0
- package/compute/orm/models/platformFunctionDefinition.js +104 -0
- package/compute/orm/models/platformFunctionDeployment.d.ts +54 -0
- package/compute/orm/models/platformFunctionDeployment.js +104 -0
- package/compute/orm/models/platformFunctionDeploymentEvent.d.ts +56 -0
- package/compute/orm/models/platformFunctionDeploymentEvent.js +107 -0
- package/compute/orm/models/platformFunctionExecutionLog.d.ts +56 -0
- package/compute/orm/models/platformFunctionExecutionLog.js +107 -0
- package/compute/orm/models/platformFunctionInvocation.d.ts +56 -0
- package/compute/orm/models/platformFunctionInvocation.js +107 -0
- package/compute/orm/models/platformResource.d.ts +54 -0
- package/compute/orm/models/{secretDefinition.js → platformResource.js} +27 -27
- package/compute/orm/models/platformResourceDefinition.d.ts +54 -0
- package/compute/orm/models/platformResourceDefinition.js +104 -0
- package/compute/orm/models/platformResourceEvent.d.ts +56 -0
- package/compute/orm/models/{orgFunctionInvocation.js → platformResourceEvent.js} +27 -27
- package/compute/orm/models/platformResourceStatusCheck.d.ts +54 -0
- package/compute/orm/models/platformResourceStatusCheck.js +104 -0
- package/compute/orm/models/platformResourcesRequirementsState.d.ts +30 -0
- package/compute/orm/models/platformResourcesRequirementsState.js +59 -0
- package/compute/orm/models/platformResourcesResolvedRequirement.d.ts +30 -0
- package/compute/orm/models/platformResourcesResolvedRequirement.js +59 -0
- package/compute/orm/models/resourceDefinition.d.ts +54 -0
- package/compute/orm/models/resourceDefinition.js +104 -0
- package/compute/orm/models/resourceStatusCheck.d.ts +54 -0
- package/compute/orm/models/resourceStatusCheck.js +104 -0
- package/compute/orm/models/resourcesRequirementsState.d.ts +30 -0
- package/compute/orm/models/resourcesRequirementsState.js +59 -0
- package/compute/orm/models/resourcesResolvedRequirement.d.ts +30 -0
- package/compute/orm/models/resourcesResolvedRequirement.js +59 -0
- package/compute/orm/mutation/index.d.ts +33 -9
- package/compute/orm/mutation/index.js +48 -12
- package/config/cli/commands/config.d.ts +8 -0
- package/config/cli/commands/{platform-config-definition.js → config.js} +127 -65
- package/config/cli/commands/platform-config.js +22 -0
- package/config/cli/commands/platform-internal-secret.d.ts +8 -0
- package/config/cli/commands/platform-internal-secret.js +200 -0
- package/config/cli/commands/platform-internal-secrets-del.d.ts +8 -0
- package/{api/cli/commands/provision-database-with-user.js → config/cli/commands/platform-internal-secrets-del.js} +3 -3
- package/config/cli/commands/platform-internal-secrets-remove-array.d.ts +8 -0
- package/config/cli/commands/platform-internal-secrets-remove-array.js +36 -0
- package/config/cli/commands/platform-internal-secrets-rotate.d.ts +8 -0
- package/config/cli/commands/platform-internal-secrets-rotate.js +36 -0
- package/config/cli/commands/platform-internal-secrets-set.d.ts +8 -0
- package/config/cli/commands/platform-internal-secrets-set.js +36 -0
- package/config/cli/commands/platform-secret.d.ts +8 -0
- package/config/cli/commands/platform-secret.js +212 -0
- package/config/cli/commands/secret.d.ts +8 -0
- package/config/cli/commands/secret.js +224 -0
- package/config/cli/commands/secrets-del.d.ts +8 -0
- package/{api/cli/commands/bootstrap-user.js → config/cli/commands/secrets-del.js} +3 -3
- package/config/cli/commands/secrets-remove-array.d.ts +8 -0
- package/config/cli/commands/secrets-remove-array.js +36 -0
- package/config/cli/commands/secrets-rotate.d.ts +8 -0
- package/config/cli/commands/{org-secrets-set.js → secrets-rotate.js} +3 -3
- package/config/cli/commands/secrets-set.d.ts +8 -0
- package/config/cli/commands/{org-secrets-del.js → secrets-set.js} +3 -3
- package/config/cli/commands.js +25 -11
- package/config/cli/executor.d.ts +38 -15
- package/config/orm/index.d.ts +42 -16
- package/config/orm/index.js +8 -2
- package/config/orm/input-types.d.ts +595 -154
- package/config/orm/models/config.d.ts +54 -0
- package/{modules/orm/models/configSecretsOrgModule.js → config/orm/models/config.js} +27 -27
- package/config/orm/models/index.d.ts +4 -1
- package/config/orm/models/index.js +9 -3
- package/config/orm/models/platformInternalSecret.d.ts +36 -0
- package/config/orm/models/platformInternalSecret.js +80 -0
- package/config/orm/models/platformSecret.d.ts +36 -0
- package/config/orm/models/platformSecret.js +80 -0
- package/config/orm/models/secret.d.ts +36 -0
- package/config/orm/models/secret.js +80 -0
- package/config/orm/mutation/index.d.ts +56 -24
- package/config/orm/mutation/index.js +78 -30
- package/esm/agent/cli/commands/agent-message.js +20 -0
- package/esm/agent/cli/commands/agent-persona.js +20 -0
- package/esm/agent/cli/commands/agent-plan.js +20 -0
- package/esm/agent/cli/commands/agent-prompt.js +20 -0
- package/esm/agent/cli/commands/agent-resource.js +21 -0
- package/esm/agent/cli/commands/agent-task.js +20 -0
- package/esm/agent/cli/commands/agent-thread.js +20 -0
- package/esm/agent/cli/commands/agent.js +20 -0
- package/esm/agent/orm/input-types.d.ts +96 -8
- package/esm/api/cli/commands/database.js +22 -0
- package/esm/api/cli/commands/field.js +44 -0
- package/esm/api/cli/commands/policy.js +22 -0
- package/esm/api/cli/commands/request-database.d.ts +8 -0
- package/esm/api/cli/commands/request-database.js +34 -0
- package/esm/api/cli/commands/table.js +22 -0
- package/esm/api/cli/commands.js +5 -9
- package/esm/api/cli/executor.d.ts +4 -14
- package/esm/api/orm/index.d.ts +5 -15
- package/esm/api/orm/index.js +2 -2
- package/esm/api/orm/input-types.d.ts +250 -231
- package/esm/api/orm/models/index.d.ts +1 -1
- package/esm/api/orm/models/index.js +1 -1
- package/esm/api/orm/mutation/index.d.ts +11 -36
- package/esm/api/orm/mutation/index.js +6 -30
- package/esm/auth/cli/commands/delete-principal.d.ts +8 -0
- package/esm/{config/cli/commands/org-secrets-rotate.js → auth/cli/commands/delete-principal.js} +3 -3
- package/esm/auth/cli/commands/principal-scope-override.js +18 -7
- package/esm/auth/cli/commands/principal.d.ts +1 -1
- package/esm/auth/cli/commands/principal.js +78 -67
- package/esm/auth/cli/commands.js +5 -3
- package/esm/auth/cli/executor.d.ts +10 -5
- package/esm/auth/orm/index.d.ts +10 -5
- package/esm/auth/orm/input-types.d.ts +54 -45
- package/esm/auth/orm/models/principal.d.ts +1 -10
- package/esm/auth/orm/models/principal.js +1 -14
- package/esm/auth/orm/mutation/index.d.ts +17 -9
- package/esm/auth/orm/mutation/index.js +24 -12
- package/esm/compute/cli/commands/db-preset.d.ts +8 -0
- package/esm/compute/cli/commands/db-preset.js +392 -0
- package/esm/compute/cli/commands/function-definition.js +208 -12
- package/esm/compute/cli/commands/function-deployment.js +42 -20
- package/esm/compute/cli/commands/function-graph-commit.js +15 -15
- package/esm/compute/cli/commands/function-graph-execution-node-state.js +12 -12
- package/esm/compute/cli/commands/function-graph-execution-output.js +12 -12
- package/esm/compute/cli/commands/function-graph-execution.js +37 -13
- package/esm/compute/cli/commands/function-graph-object.js +15 -15
- package/esm/compute/cli/commands/function-graph-ref.js +15 -15
- package/esm/compute/cli/commands/function-graph-store.js +12 -12
- package/esm/compute/cli/commands/function-graph.js +12 -12
- package/esm/compute/cli/commands/infra-commit.d.ts +8 -0
- package/esm/compute/cli/commands/infra-commit.js +387 -0
- package/esm/compute/cli/commands/infra-get-all-record.d.ts +8 -0
- package/esm/compute/cli/commands/infra-get-all-record.js +124 -0
- package/esm/compute/cli/commands/infra-init-empty-repo.d.ts +8 -0
- package/esm/compute/cli/commands/infra-init-empty-repo.js +34 -0
- package/esm/compute/cli/commands/infra-insert-node-at-path.d.ts +8 -0
- package/esm/{config/cli/commands/org-secrets-remove-array.js → compute/cli/commands/infra-insert-node-at-path.js} +3 -3
- package/esm/compute/cli/commands/infra-object.d.ts +8 -0
- package/esm/compute/cli/commands/infra-object.js +307 -0
- package/esm/compute/cli/commands/infra-ref.d.ts +8 -0
- package/esm/compute/cli/commands/infra-ref.js +297 -0
- package/esm/compute/cli/commands/infra-set-data-at-path.d.ts +8 -0
- package/esm/compute/cli/commands/infra-set-data-at-path.js +34 -0
- package/esm/compute/cli/commands/infra-store.d.ts +8 -0
- package/esm/compute/cli/commands/infra-store.js +276 -0
- package/esm/compute/cli/commands/integration-provider.d.ts +8 -0
- package/esm/compute/cli/commands/integration-provider.js +414 -0
- package/esm/compute/cli/commands/namespace-event.d.ts +8 -0
- package/esm/compute/cli/commands/namespace-event.js +508 -0
- package/esm/compute/cli/commands/namespace.d.ts +8 -0
- package/esm/compute/cli/commands/{secret-definition.js → namespace.js} +106 -20
- package/esm/compute/cli/commands/platform-function-api-binding.d.ts +8 -0
- package/esm/compute/cli/commands/platform-function-api-binding.js +292 -0
- package/esm/compute/cli/commands/platform-function-definition.d.ts +8 -0
- package/esm/compute/cli/commands/platform-function-definition.js +962 -0
- package/esm/compute/cli/commands/platform-function-deployment-event.d.ts +8 -0
- package/esm/compute/cli/commands/platform-function-deployment-event.js +334 -0
- package/esm/compute/cli/commands/platform-function-deployment.d.ts +8 -0
- package/esm/compute/cli/commands/platform-function-deployment.js +612 -0
- package/esm/compute/cli/commands/platform-function-execution-log.d.ts +8 -0
- package/esm/compute/cli/commands/{org-function-execution-log.js → platform-function-execution-log.js} +8 -8
- package/esm/compute/cli/commands/platform-function-invocation.d.ts +8 -0
- package/esm/compute/cli/commands/{org-function-invocation.js → platform-function-invocation.js} +8 -8
- package/esm/compute/cli/commands/platform-namespace-event.js +0 -20
- package/esm/compute/cli/commands/platform-namespace.js +40 -60
- package/esm/compute/cli/commands/platform-resource-definition.d.ts +8 -0
- package/esm/compute/cli/commands/platform-resource-definition.js +520 -0
- package/{compute/cli/commands/org-function-invocation.d.ts → esm/compute/cli/commands/platform-resource-event.d.ts} +1 -1
- package/esm/compute/cli/commands/platform-resource-event.js +334 -0
- package/esm/compute/cli/commands/platform-resource-status-check.d.ts +8 -0
- package/esm/compute/cli/commands/platform-resource-status-check.js +338 -0
- package/esm/compute/cli/commands/platform-resource.d.ts +8 -0
- package/esm/compute/cli/commands/platform-resource.js +586 -0
- package/esm/compute/cli/commands/platform-resources-requirements-state.d.ts +8 -0
- package/esm/compute/cli/commands/platform-resources-requirements-state.js +181 -0
- package/esm/compute/cli/commands/platform-resources-resolved-requirement.d.ts +8 -0
- package/esm/compute/cli/commands/platform-resources-resolved-requirement.js +216 -0
- package/esm/compute/cli/commands/resource-definition.d.ts +8 -0
- package/esm/compute/cli/commands/resource-definition.js +540 -0
- package/esm/compute/cli/commands/resource-status-check.d.ts +8 -0
- package/esm/{modules/cli/commands/config-secrets-org-module.js → compute/cli/commands/resource-status-check.js} +90 -70
- package/esm/compute/cli/commands/resource.js +88 -0
- package/esm/compute/cli/commands/resources-requirements-state.d.ts +8 -0
- package/esm/compute/cli/commands/resources-requirements-state.js +179 -0
- package/esm/compute/cli/commands/resources-resolved-requirement.d.ts +8 -0
- package/esm/compute/cli/commands/resources-resolved-requirement.js +212 -0
- package/esm/compute/cli/commands.js +65 -15
- package/esm/compute/cli/executor.d.ts +48 -11
- package/esm/compute/orm/index.d.ts +76 -17
- package/esm/compute/orm/index.js +56 -12
- package/esm/compute/orm/input-types.d.ts +5893 -1343
- package/esm/compute/orm/input-types.js +17 -3
- package/esm/compute/orm/models/dbPreset.d.ts +54 -0
- package/esm/compute/orm/models/dbPreset.js +100 -0
- package/esm/compute/orm/models/functionGraphCommit.d.ts +2 -2
- package/esm/compute/orm/models/functionGraphCommit.js +2 -2
- package/esm/compute/orm/models/functionGraphObject.d.ts +2 -2
- package/esm/compute/orm/models/functionGraphObject.js +2 -2
- package/esm/compute/orm/models/functionGraphRef.d.ts +2 -2
- package/esm/compute/orm/models/functionGraphRef.js +2 -2
- package/esm/compute/orm/models/index.d.ts +28 -6
- package/esm/compute/orm/models/index.js +28 -6
- package/esm/compute/orm/models/infraCommit.d.ts +56 -0
- package/esm/compute/orm/models/infraCommit.js +103 -0
- package/esm/compute/orm/models/infraGetAllRecord.d.ts +30 -0
- package/esm/compute/orm/models/infraGetAllRecord.js +55 -0
- package/esm/compute/orm/models/infraObject.d.ts +56 -0
- package/esm/compute/orm/models/infraObject.js +93 -0
- package/esm/compute/orm/models/infraRef.d.ts +56 -0
- package/esm/compute/orm/models/infraRef.js +103 -0
- package/esm/compute/orm/models/infraStore.d.ts +54 -0
- package/esm/compute/orm/models/infraStore.js +100 -0
- package/esm/compute/orm/models/integrationProvider.d.ts +54 -0
- package/esm/compute/orm/models/integrationProvider.js +100 -0
- package/esm/compute/orm/models/namespace.d.ts +54 -0
- package/esm/compute/orm/models/namespace.js +100 -0
- package/esm/compute/orm/models/namespaceEvent.d.ts +56 -0
- package/esm/compute/orm/models/{orgFunctionExecutionLog.js → namespaceEvent.js} +25 -25
- package/esm/compute/orm/models/platformFunctionApiBinding.d.ts +54 -0
- package/esm/compute/orm/models/platformFunctionApiBinding.js +100 -0
- package/esm/compute/orm/models/platformFunctionDefinition.d.ts +54 -0
- package/esm/compute/orm/models/platformFunctionDefinition.js +100 -0
- package/esm/compute/orm/models/platformFunctionDeployment.d.ts +54 -0
- package/esm/compute/orm/models/platformFunctionDeployment.js +100 -0
- package/esm/compute/orm/models/platformFunctionDeploymentEvent.d.ts +56 -0
- package/esm/compute/orm/models/platformFunctionDeploymentEvent.js +103 -0
- package/esm/compute/orm/models/platformFunctionExecutionLog.d.ts +56 -0
- package/esm/compute/orm/models/platformFunctionExecutionLog.js +103 -0
- package/esm/compute/orm/models/platformFunctionInvocation.d.ts +56 -0
- package/esm/compute/orm/models/platformFunctionInvocation.js +103 -0
- package/esm/compute/orm/models/platformResource.d.ts +54 -0
- package/esm/compute/orm/models/{secretDefinition.js → platformResource.js} +25 -25
- package/esm/compute/orm/models/platformResourceDefinition.d.ts +54 -0
- package/esm/compute/orm/models/platformResourceDefinition.js +100 -0
- package/esm/compute/orm/models/platformResourceEvent.d.ts +56 -0
- package/esm/compute/orm/models/{orgFunctionInvocation.js → platformResourceEvent.js} +25 -25
- package/esm/compute/orm/models/platformResourceStatusCheck.d.ts +54 -0
- package/esm/compute/orm/models/platformResourceStatusCheck.js +100 -0
- package/esm/compute/orm/models/platformResourcesRequirementsState.d.ts +30 -0
- package/esm/compute/orm/models/platformResourcesRequirementsState.js +55 -0
- package/esm/compute/orm/models/platformResourcesResolvedRequirement.d.ts +30 -0
- package/esm/compute/orm/models/platformResourcesResolvedRequirement.js +55 -0
- package/esm/compute/orm/models/resourceDefinition.d.ts +54 -0
- package/esm/{modules/orm/models/configSecretsOrgModule.js → compute/orm/models/resourceDefinition.js} +25 -25
- package/esm/compute/orm/models/resourceStatusCheck.d.ts +54 -0
- package/esm/compute/orm/models/resourceStatusCheck.js +100 -0
- package/esm/compute/orm/models/resourcesRequirementsState.d.ts +30 -0
- package/esm/compute/orm/models/resourcesRequirementsState.js +55 -0
- package/esm/compute/orm/models/resourcesResolvedRequirement.d.ts +30 -0
- package/esm/compute/orm/models/resourcesResolvedRequirement.js +55 -0
- package/esm/compute/orm/mutation/index.d.ts +33 -9
- package/esm/compute/orm/mutation/index.js +48 -12
- package/esm/config/cli/commands/config.d.ts +8 -0
- package/esm/config/cli/commands/{platform-config-definition.js → config.js} +127 -65
- package/esm/config/cli/commands/platform-config.js +22 -0
- package/esm/config/cli/commands/platform-internal-secret.d.ts +8 -0
- package/esm/config/cli/commands/platform-internal-secret.js +198 -0
- package/esm/config/cli/commands/platform-internal-secrets-del.d.ts +8 -0
- package/esm/{api/cli/commands/provision-database-with-user.js → config/cli/commands/platform-internal-secrets-del.js} +3 -3
- package/esm/config/cli/commands/platform-internal-secrets-remove-array.d.ts +8 -0
- package/esm/config/cli/commands/platform-internal-secrets-remove-array.js +34 -0
- package/esm/config/cli/commands/platform-internal-secrets-rotate.d.ts +8 -0
- package/esm/config/cli/commands/platform-internal-secrets-rotate.js +34 -0
- package/esm/config/cli/commands/platform-internal-secrets-set.d.ts +8 -0
- package/esm/config/cli/commands/platform-internal-secrets-set.js +34 -0
- package/esm/config/cli/commands/platform-secret.d.ts +8 -0
- package/esm/config/cli/commands/platform-secret.js +210 -0
- package/esm/config/cli/commands/secret.d.ts +8 -0
- package/esm/config/cli/commands/secret.js +222 -0
- package/esm/config/cli/commands/secrets-del.d.ts +8 -0
- package/esm/{api/cli/commands/bootstrap-user.js → config/cli/commands/secrets-del.js} +3 -3
- package/esm/config/cli/commands/secrets-remove-array.d.ts +8 -0
- package/esm/config/cli/commands/secrets-remove-array.js +34 -0
- package/esm/config/cli/commands/secrets-rotate.d.ts +8 -0
- package/esm/config/cli/commands/{org-secrets-del.js → secrets-rotate.js} +3 -3
- package/esm/config/cli/commands/secrets-set.d.ts +8 -0
- package/esm/config/cli/commands/{org-secrets-set.js → secrets-set.js} +3 -3
- package/esm/config/cli/commands.js +25 -11
- package/esm/config/cli/executor.d.ts +38 -15
- package/esm/config/orm/index.d.ts +42 -16
- package/esm/config/orm/index.js +8 -2
- package/esm/config/orm/input-types.d.ts +595 -154
- package/esm/config/orm/models/config.d.ts +54 -0
- package/esm/{modules/orm/models/configSecretsModule.js → config/orm/models/config.js} +25 -25
- package/esm/config/orm/models/index.d.ts +4 -1
- package/esm/config/orm/models/index.js +4 -1
- package/esm/config/orm/models/platformInternalSecret.d.ts +36 -0
- package/esm/config/orm/models/platformInternalSecret.js +76 -0
- package/esm/config/orm/models/platformSecret.d.ts +36 -0
- package/esm/config/orm/models/platformSecret.js +76 -0
- package/esm/config/orm/models/secret.d.ts +36 -0
- package/esm/config/orm/models/secret.js +76 -0
- package/esm/config/orm/mutation/index.d.ts +56 -24
- package/esm/config/orm/mutation/index.js +78 -30
- package/esm/index.d.ts +1 -0
- package/esm/index.js +1 -0
- package/esm/infra/cli/commands/auth.d.ts +8 -0
- package/esm/infra/cli/commands/auth.js +105 -0
- package/esm/infra/cli/commands/context.d.ts +8 -0
- package/esm/infra/cli/commands/context.js +156 -0
- package/esm/infra/cli/commands/db-preset.d.ts +8 -0
- package/esm/infra/cli/commands/db-preset.js +392 -0
- package/esm/infra/cli/commands/infra-commit.d.ts +8 -0
- package/esm/infra/cli/commands/infra-commit.js +387 -0
- package/esm/infra/cli/commands/infra-get-all-record.d.ts +8 -0
- package/esm/infra/cli/commands/infra-get-all-record.js +124 -0
- package/esm/infra/cli/commands/infra-init-empty-repo.d.ts +8 -0
- package/esm/infra/cli/commands/infra-init-empty-repo.js +34 -0
- package/esm/infra/cli/commands/infra-insert-node-at-path.d.ts +8 -0
- package/esm/infra/cli/commands/infra-insert-node-at-path.js +34 -0
- package/esm/infra/cli/commands/infra-object.d.ts +8 -0
- package/esm/infra/cli/commands/infra-object.js +307 -0
- package/esm/infra/cli/commands/infra-ref.d.ts +8 -0
- package/esm/infra/cli/commands/infra-ref.js +297 -0
- package/esm/infra/cli/commands/infra-set-data-at-path.d.ts +8 -0
- package/esm/infra/cli/commands/infra-set-data-at-path.js +34 -0
- package/esm/infra/cli/commands/infra-store.d.ts +8 -0
- package/esm/infra/cli/commands/infra-store.js +276 -0
- package/esm/infra/cli/commands/namespace-event.d.ts +8 -0
- package/esm/infra/cli/commands/namespace-event.js +508 -0
- package/esm/infra/cli/commands/namespace.d.ts +8 -0
- package/esm/infra/cli/commands/namespace.js +434 -0
- package/esm/infra/cli/commands/platform-namespace-event.d.ts +8 -0
- package/esm/infra/cli/commands/platform-namespace-event.js +488 -0
- package/esm/infra/cli/commands/platform-namespace.d.ts +8 -0
- package/esm/infra/cli/commands/platform-namespace.js +414 -0
- package/esm/infra/cli/commands/provision-bucket.d.ts +8 -0
- package/esm/infra/cli/commands/provision-bucket.js +34 -0
- package/esm/infra/cli/commands.d.ts +7 -0
- package/esm/infra/cli/commands.js +69 -0
- package/esm/infra/cli/executor.d.ts +35 -0
- package/esm/infra/cli/executor.js +35 -0
- package/esm/infra/cli/index.d.ts +1 -0
- package/esm/infra/cli/index.js +24 -0
- package/esm/infra/cli/utils.d.ts +88 -0
- package/esm/infra/cli/utils.js +281 -0
- package/esm/infra/index.d.ts +6 -0
- package/esm/infra/index.js +6 -0
- package/esm/infra/orm/client.d.ts +97 -0
- package/esm/infra/orm/client.js +145 -0
- package/esm/infra/orm/index.d.ts +74 -0
- package/esm/infra/orm/index.js +61 -0
- package/esm/infra/orm/input-types.d.ts +1953 -0
- package/esm/infra/orm/input-types.js +2 -0
- package/esm/infra/orm/models/dbPreset.d.ts +54 -0
- package/esm/infra/orm/models/dbPreset.js +100 -0
- package/esm/infra/orm/models/index.d.ts +15 -0
- package/esm/infra/orm/models/index.js +15 -0
- package/esm/infra/orm/models/infraCommit.d.ts +56 -0
- package/esm/infra/orm/models/infraCommit.js +103 -0
- package/esm/infra/orm/models/infraGetAllRecord.d.ts +30 -0
- package/esm/infra/orm/models/infraGetAllRecord.js +55 -0
- package/esm/infra/orm/models/infraObject.d.ts +56 -0
- package/esm/infra/orm/models/infraObject.js +93 -0
- package/esm/infra/orm/models/infraRef.d.ts +56 -0
- package/esm/infra/orm/models/infraRef.js +103 -0
- package/esm/infra/orm/models/infraStore.d.ts +54 -0
- package/esm/infra/orm/models/infraStore.js +100 -0
- package/esm/infra/orm/models/namespace.d.ts +54 -0
- package/esm/infra/orm/models/namespace.js +100 -0
- package/esm/infra/orm/models/namespaceEvent.d.ts +56 -0
- package/esm/infra/orm/models/namespaceEvent.js +103 -0
- package/esm/infra/orm/models/platformNamespace.d.ts +54 -0
- package/esm/{config/orm/models/platformConfigDefinition.js → infra/orm/models/platformNamespace.js} +25 -25
- package/esm/infra/orm/models/platformNamespaceEvent.d.ts +56 -0
- package/esm/infra/orm/models/platformNamespaceEvent.js +103 -0
- package/esm/infra/orm/mutation/index.d.ts +50 -0
- package/esm/infra/orm/mutation/index.js +54 -0
- package/esm/infra/orm/query-builder.d.ts +110 -0
- package/esm/infra/orm/query-builder.js +705 -0
- package/esm/infra/orm/realtime.d.ts +142 -0
- package/esm/infra/orm/realtime.js +100 -0
- package/esm/infra/orm/select-types.d.ts +125 -0
- package/esm/infra/orm/select-types.js +1 -0
- package/esm/infra/orm/types.d.ts +6 -0
- package/esm/infra/orm/types.js +7 -0
- package/esm/modules/cli/commands/agent-module.js +22 -0
- package/esm/modules/cli/commands/billing-module.js +44 -0
- package/esm/modules/cli/commands/compute-log-module.js +22 -0
- package/esm/modules/cli/commands/config-secrets-user-module.js +22 -22
- package/esm/modules/cli/commands/database-provision-module.js +88 -0
- package/esm/modules/cli/commands/db-pool-config.d.ts +8 -0
- package/esm/modules/cli/commands/db-pool-config.js +368 -0
- package/esm/modules/cli/commands/db-pool.d.ts +8 -0
- package/esm/modules/cli/commands/db-pool.js +438 -0
- package/esm/modules/cli/commands/db-preset-module.d.ts +8 -0
- package/esm/modules/cli/commands/db-preset-module.js +534 -0
- package/esm/modules/cli/commands/db-usage-module.js +110 -0
- package/esm/modules/cli/commands/entity-type-provision.js +0 -22
- package/esm/modules/cli/commands/events-module.js +22 -22
- package/esm/modules/cli/commands/function-deployment-module.js +22 -0
- package/esm/modules/cli/commands/function-invocation-module.js +22 -0
- package/esm/modules/cli/commands/function-module.js +22 -44
- package/esm/modules/cli/commands/graph-execution-module.js +22 -0
- package/esm/modules/cli/commands/graph-module.js +22 -0
- package/esm/modules/cli/commands/hierarchy-module.js +22 -0
- package/esm/modules/cli/commands/identity-providers-module.js +22 -0
- package/esm/modules/cli/commands/inference-log-module.js +22 -0
- package/esm/modules/cli/commands/infra-config-module.d.ts +8 -0
- package/esm/modules/cli/commands/infra-config-module.js +536 -0
- package/esm/modules/cli/commands/infra-secrets-module.d.ts +8 -0
- package/esm/modules/cli/commands/{config-secrets-module.js → infra-secrets-module.js} +54 -76
- package/esm/modules/cli/commands/integration-providers-module.d.ts +8 -0
- package/esm/modules/cli/commands/integration-providers-module.js +492 -0
- package/{config/cli/commands/org-secrets-del.d.ts → esm/modules/cli/commands/internal-secrets-module.d.ts} +1 -1
- package/esm/modules/cli/commands/internal-secrets-module.js +536 -0
- package/esm/modules/cli/commands/invites-module.js +22 -0
- package/esm/modules/cli/commands/limits-module.js +22 -0
- package/esm/modules/cli/commands/memberships-module.js +22 -0
- package/esm/modules/cli/commands/merkle-store-module.js +22 -0
- package/esm/modules/cli/commands/namespace-module.js +22 -22
- package/esm/modules/cli/commands/notifications-module.js +22 -0
- package/esm/modules/cli/commands/permissions-module.js +22 -0
- package/esm/modules/cli/commands/profiles-module.js +22 -0
- package/esm/modules/cli/commands/resource-module.js +154 -0
- package/esm/modules/cli/commands/storage-log-module.js +22 -0
- package/esm/modules/cli/commands/storage-module.js +22 -0
- package/esm/modules/cli/commands/transfer-log-module.js +22 -0
- package/esm/modules/cli/commands/user-credentials-module.js +22 -22
- package/esm/modules/cli/commands/user-state-module.js +22 -0
- package/esm/modules/cli/commands.js +49 -39
- package/esm/modules/cli/executor.d.ts +24 -19
- package/esm/modules/orm/index.d.ts +48 -38
- package/esm/modules/orm/index.js +48 -38
- package/esm/modules/orm/input-types.d.ts +5378 -4022
- package/esm/modules/orm/input-types.js +1 -0
- package/esm/modules/orm/models/dbPool.d.ts +54 -0
- package/esm/modules/orm/models/dbPool.js +100 -0
- package/esm/modules/orm/models/dbPoolConfig.d.ts +54 -0
- package/esm/modules/orm/models/dbPoolConfig.js +100 -0
- package/esm/modules/orm/models/dbPresetModule.d.ts +54 -0
- package/esm/modules/orm/models/dbPresetModule.js +100 -0
- package/esm/modules/orm/models/index.d.ts +24 -19
- package/esm/modules/orm/models/index.js +24 -19
- package/esm/modules/orm/models/infraConfigModule.d.ts +54 -0
- package/esm/modules/orm/models/infraConfigModule.js +100 -0
- package/esm/modules/orm/models/infraSecretsModule.d.ts +54 -0
- package/esm/modules/orm/models/infraSecretsModule.js +100 -0
- package/esm/modules/orm/models/integrationProvidersModule.d.ts +54 -0
- package/esm/modules/orm/models/integrationProvidersModule.js +100 -0
- package/esm/modules/orm/models/internalSecretsModule.d.ts +54 -0
- package/esm/modules/orm/models/internalSecretsModule.js +100 -0
- package/index.d.ts +1 -0
- package/index.js +2 -1
- package/infra/cli/commands/auth.d.ts +8 -0
- package/infra/cli/commands/auth.js +107 -0
- package/infra/cli/commands/context.d.ts +8 -0
- package/infra/cli/commands/context.js +158 -0
- package/infra/cli/commands/db-preset.d.ts +8 -0
- package/infra/cli/commands/db-preset.js +394 -0
- package/infra/cli/commands/infra-commit.d.ts +8 -0
- package/infra/cli/commands/infra-commit.js +389 -0
- package/infra/cli/commands/infra-get-all-record.d.ts +8 -0
- package/infra/cli/commands/infra-get-all-record.js +126 -0
- package/infra/cli/commands/infra-init-empty-repo.d.ts +8 -0
- package/infra/cli/commands/infra-init-empty-repo.js +36 -0
- package/infra/cli/commands/infra-insert-node-at-path.d.ts +8 -0
- package/infra/cli/commands/infra-insert-node-at-path.js +36 -0
- package/infra/cli/commands/infra-object.d.ts +8 -0
- package/infra/cli/commands/infra-object.js +309 -0
- package/infra/cli/commands/infra-ref.d.ts +8 -0
- package/infra/cli/commands/infra-ref.js +299 -0
- package/infra/cli/commands/infra-set-data-at-path.d.ts +8 -0
- package/infra/cli/commands/infra-set-data-at-path.js +36 -0
- package/infra/cli/commands/infra-store.d.ts +8 -0
- package/infra/cli/commands/infra-store.js +278 -0
- package/infra/cli/commands/namespace-event.d.ts +8 -0
- package/infra/cli/commands/namespace-event.js +510 -0
- package/infra/cli/commands/namespace.d.ts +8 -0
- package/infra/cli/commands/namespace.js +436 -0
- package/infra/cli/commands/platform-namespace-event.d.ts +8 -0
- package/infra/cli/commands/platform-namespace-event.js +490 -0
- package/infra/cli/commands/platform-namespace.d.ts +8 -0
- package/infra/cli/commands/platform-namespace.js +416 -0
- package/infra/cli/commands/provision-bucket.d.ts +8 -0
- package/infra/cli/commands/provision-bucket.js +36 -0
- package/infra/cli/commands.d.ts +7 -0
- package/infra/cli/commands.js +76 -0
- package/infra/cli/executor.d.ts +35 -0
- package/infra/cli/executor.js +40 -0
- package/infra/cli/index.d.ts +1 -0
- package/infra/cli/index.js +26 -0
- package/infra/cli/utils.d.ts +88 -0
- package/infra/cli/utils.js +297 -0
- package/infra/index.d.ts +6 -0
- package/infra/index.js +22 -0
- package/infra/orm/client.d.ts +97 -0
- package/infra/orm/client.js +152 -0
- package/infra/orm/index.d.ts +74 -0
- package/infra/orm/index.js +83 -0
- package/infra/orm/input-types.d.ts +1953 -0
- package/infra/orm/input-types.js +5 -0
- package/infra/orm/models/dbPreset.d.ts +54 -0
- package/infra/orm/models/dbPreset.js +104 -0
- package/infra/orm/models/index.d.ts +15 -0
- package/infra/orm/models/index.js +28 -0
- package/infra/orm/models/infraCommit.d.ts +56 -0
- package/infra/orm/models/infraCommit.js +107 -0
- package/infra/orm/models/infraGetAllRecord.d.ts +30 -0
- package/infra/orm/models/infraGetAllRecord.js +59 -0
- package/infra/orm/models/infraObject.d.ts +56 -0
- package/infra/orm/models/infraObject.js +97 -0
- package/infra/orm/models/infraRef.d.ts +56 -0
- package/infra/orm/models/infraRef.js +107 -0
- package/infra/orm/models/infraStore.d.ts +54 -0
- package/infra/orm/models/infraStore.js +104 -0
- package/infra/orm/models/namespace.d.ts +54 -0
- package/infra/orm/models/namespace.js +104 -0
- package/infra/orm/models/namespaceEvent.d.ts +56 -0
- package/infra/orm/models/namespaceEvent.js +107 -0
- package/infra/orm/models/platformNamespace.d.ts +54 -0
- package/infra/orm/models/platformNamespace.js +104 -0
- package/infra/orm/models/platformNamespaceEvent.d.ts +56 -0
- package/{config/orm/models/platformConfigDefinition.js → infra/orm/models/platformNamespaceEvent.js} +30 -27
- package/infra/orm/mutation/index.d.ts +50 -0
- package/infra/orm/mutation/index.js +57 -0
- package/infra/orm/query-builder.d.ts +110 -0
- package/infra/orm/query-builder.js +757 -0
- package/infra/orm/realtime.d.ts +142 -0
- package/infra/orm/realtime.js +104 -0
- package/infra/orm/select-types.d.ts +125 -0
- package/infra/orm/select-types.js +2 -0
- package/infra/orm/types.d.ts +6 -0
- package/infra/orm/types.js +23 -0
- package/modules/cli/commands/agent-module.js +22 -0
- package/modules/cli/commands/billing-module.js +44 -0
- package/modules/cli/commands/compute-log-module.js +22 -0
- package/modules/cli/commands/config-secrets-user-module.js +22 -22
- package/modules/cli/commands/database-provision-module.js +88 -0
- package/modules/cli/commands/db-pool-config.d.ts +8 -0
- package/modules/cli/commands/db-pool-config.js +370 -0
- package/modules/cli/commands/db-pool.d.ts +8 -0
- package/modules/cli/commands/db-pool.js +440 -0
- package/modules/cli/commands/db-preset-module.d.ts +8 -0
- package/modules/cli/commands/db-preset-module.js +536 -0
- package/modules/cli/commands/db-usage-module.js +110 -0
- package/modules/cli/commands/entity-type-provision.js +0 -22
- package/modules/cli/commands/events-module.js +22 -22
- package/modules/cli/commands/function-deployment-module.js +22 -0
- package/modules/cli/commands/function-invocation-module.js +22 -0
- package/modules/cli/commands/function-module.js +22 -44
- package/modules/cli/commands/graph-execution-module.js +22 -0
- package/modules/cli/commands/graph-module.js +22 -0
- package/modules/cli/commands/hierarchy-module.js +22 -0
- package/modules/cli/commands/identity-providers-module.js +22 -0
- package/modules/cli/commands/inference-log-module.js +22 -0
- package/modules/cli/commands/infra-config-module.d.ts +8 -0
- package/modules/cli/commands/infra-config-module.js +538 -0
- package/modules/cli/commands/infra-secrets-module.d.ts +8 -0
- package/modules/cli/commands/{config-secrets-module.js → infra-secrets-module.js} +54 -76
- package/modules/cli/commands/integration-providers-module.d.ts +8 -0
- package/modules/cli/commands/integration-providers-module.js +494 -0
- package/modules/cli/commands/internal-secrets-module.d.ts +8 -0
- package/modules/cli/commands/internal-secrets-module.js +538 -0
- package/modules/cli/commands/invites-module.js +22 -0
- package/modules/cli/commands/limits-module.js +22 -0
- package/modules/cli/commands/memberships-module.js +22 -0
- package/modules/cli/commands/merkle-store-module.js +22 -0
- package/modules/cli/commands/namespace-module.js +22 -22
- package/modules/cli/commands/notifications-module.js +22 -0
- package/modules/cli/commands/permissions-module.js +22 -0
- package/modules/cli/commands/profiles-module.js +22 -0
- package/modules/cli/commands/resource-module.js +154 -0
- package/modules/cli/commands/storage-log-module.js +22 -0
- package/modules/cli/commands/storage-module.js +22 -0
- package/modules/cli/commands/transfer-log-module.js +22 -0
- package/modules/cli/commands/user-credentials-module.js +22 -22
- package/modules/cli/commands/user-state-module.js +22 -0
- package/modules/cli/commands.js +49 -39
- package/modules/cli/executor.d.ts +24 -19
- package/modules/orm/index.d.ts +48 -38
- package/modules/orm/index.js +48 -38
- package/modules/orm/input-types.d.ts +5378 -4022
- package/modules/orm/input-types.js +1 -0
- package/modules/orm/models/dbPool.d.ts +54 -0
- package/modules/orm/models/dbPool.js +104 -0
- package/modules/orm/models/dbPoolConfig.d.ts +54 -0
- package/modules/orm/models/dbPoolConfig.js +104 -0
- package/modules/orm/models/dbPresetModule.d.ts +54 -0
- package/modules/orm/models/dbPresetModule.js +104 -0
- package/modules/orm/models/index.d.ts +24 -19
- package/modules/orm/models/index.js +50 -40
- package/modules/orm/models/infraConfigModule.d.ts +54 -0
- package/modules/orm/models/infraConfigModule.js +104 -0
- package/modules/orm/models/infraSecretsModule.d.ts +54 -0
- package/modules/orm/models/infraSecretsModule.js +104 -0
- package/modules/orm/models/integrationProvidersModule.d.ts +54 -0
- package/modules/orm/models/integrationProvidersModule.js +104 -0
- package/modules/orm/models/internalSecretsModule.d.ts +54 -0
- package/modules/orm/models/internalSecretsModule.js +104 -0
- package/package.json +7 -7
- package/api/cli/commands/create-user-database.js +0 -36
- package/compute/orm/models/orgFunctionExecutionLog.d.ts +0 -56
- package/compute/orm/models/orgFunctionInvocation.d.ts +0 -56
- package/compute/orm/models/secretDefinition.d.ts +0 -54
- package/config/cli/commands/org-secrets-remove-array.d.ts +0 -8
- package/config/cli/commands/org-secrets-rotate.d.ts +0 -8
- package/config/cli/commands/org-secrets-set.d.ts +0 -8
- package/config/cli/commands/platform-config-definition.d.ts +0 -8
- package/config/orm/models/platformConfigDefinition.d.ts +0 -54
- package/esm/api/cli/commands/bootstrap-user.d.ts +0 -8
- package/esm/api/cli/commands/create-user-database.d.ts +0 -8
- package/esm/api/cli/commands/create-user-database.js +0 -34
- package/esm/api/cli/commands/provision-database-with-user.d.ts +0 -8
- package/esm/compute/cli/commands/org-function-execution-log.d.ts +0 -8
- package/esm/compute/cli/commands/org-function-invocation.d.ts +0 -8
- package/esm/compute/orm/models/orgFunctionExecutionLog.d.ts +0 -56
- package/esm/compute/orm/models/orgFunctionInvocation.d.ts +0 -56
- package/esm/compute/orm/models/secretDefinition.d.ts +0 -54
- package/esm/config/cli/commands/org-secrets-del.d.ts +0 -8
- package/esm/config/cli/commands/org-secrets-remove-array.d.ts +0 -8
- package/esm/config/cli/commands/org-secrets-rotate.d.ts +0 -8
- package/esm/config/cli/commands/org-secrets-set.d.ts +0 -8
- package/esm/config/cli/commands/platform-config-definition.d.ts +0 -8
- package/esm/config/orm/models/platformConfigDefinition.d.ts +0 -54
- package/esm/modules/cli/commands/config-secrets-org-module.d.ts +0 -8
- package/esm/modules/orm/models/configSecretsModule.d.ts +0 -54
- package/esm/modules/orm/models/configSecretsOrgModule.d.ts +0 -54
- package/modules/cli/commands/config-secrets-org-module.d.ts +0 -8
- package/modules/orm/models/configSecretsModule.d.ts +0 -54
- package/modules/orm/models/configSecretsOrgModule.d.ts +0 -54
|
@@ -14,11 +14,18 @@ const fieldSchema = {
|
|
|
14
14
|
name: 'string',
|
|
15
15
|
taskIdentifier: 'string',
|
|
16
16
|
description: 'string',
|
|
17
|
-
|
|
17
|
+
isPublished: 'boolean',
|
|
18
|
+
accessChannels: 'string',
|
|
19
|
+
publishedAt: 'string',
|
|
18
20
|
maxAttempts: 'int',
|
|
19
21
|
priority: 'int',
|
|
20
22
|
queueName: 'string',
|
|
21
23
|
runtime: 'string',
|
|
24
|
+
targetSchema: 'string',
|
|
25
|
+
targetFunction: 'string',
|
|
26
|
+
moduleTable: 'string',
|
|
27
|
+
functionColumns: 'json',
|
|
28
|
+
payloadArgs: 'json',
|
|
22
29
|
image: 'string',
|
|
23
30
|
concurrency: 'int',
|
|
24
31
|
scaleMin: 'int',
|
|
@@ -28,6 +35,7 @@ const fieldSchema = {
|
|
|
28
35
|
isBuiltIn: 'boolean',
|
|
29
36
|
requiredSecrets: 'string',
|
|
30
37
|
requiredConfigs: 'string',
|
|
38
|
+
integrations: 'string',
|
|
31
39
|
requiredBuckets: 'string',
|
|
32
40
|
requiredModels: 'string',
|
|
33
41
|
inputs: 'json',
|
|
@@ -36,6 +44,7 @@ const fieldSchema = {
|
|
|
36
44
|
volatile: 'boolean',
|
|
37
45
|
icon: 'string',
|
|
38
46
|
category: 'string',
|
|
47
|
+
databaseId: 'uuid',
|
|
39
48
|
};
|
|
40
49
|
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';
|
|
41
50
|
export default async (argv, prompter, _options) => {
|
|
@@ -86,11 +95,18 @@ async function handleList(argv, _prompter) {
|
|
|
86
95
|
name: true,
|
|
87
96
|
taskIdentifier: true,
|
|
88
97
|
description: true,
|
|
89
|
-
|
|
98
|
+
isPublished: true,
|
|
99
|
+
accessChannels: true,
|
|
100
|
+
publishedAt: true,
|
|
90
101
|
maxAttempts: true,
|
|
91
102
|
priority: true,
|
|
92
103
|
queueName: true,
|
|
93
104
|
runtime: true,
|
|
105
|
+
targetSchema: true,
|
|
106
|
+
targetFunction: true,
|
|
107
|
+
moduleTable: true,
|
|
108
|
+
functionColumns: true,
|
|
109
|
+
payloadArgs: true,
|
|
94
110
|
image: true,
|
|
95
111
|
concurrency: true,
|
|
96
112
|
scaleMin: true,
|
|
@@ -100,6 +116,7 @@ async function handleList(argv, _prompter) {
|
|
|
100
116
|
isBuiltIn: true,
|
|
101
117
|
requiredSecrets: true,
|
|
102
118
|
requiredConfigs: true,
|
|
119
|
+
integrations: true,
|
|
103
120
|
requiredBuckets: true,
|
|
104
121
|
requiredModels: true,
|
|
105
122
|
inputs: true,
|
|
@@ -108,6 +125,7 @@ async function handleList(argv, _prompter) {
|
|
|
108
125
|
volatile: true,
|
|
109
126
|
icon: true,
|
|
110
127
|
category: true,
|
|
128
|
+
databaseId: true,
|
|
111
129
|
};
|
|
112
130
|
const findManyArgs = parseFindManyArgs(argv, defaultSelect);
|
|
113
131
|
const client = getClient();
|
|
@@ -132,11 +150,18 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
132
150
|
name: true,
|
|
133
151
|
taskIdentifier: true,
|
|
134
152
|
description: true,
|
|
135
|
-
|
|
153
|
+
isPublished: true,
|
|
154
|
+
accessChannels: true,
|
|
155
|
+
publishedAt: true,
|
|
136
156
|
maxAttempts: true,
|
|
137
157
|
priority: true,
|
|
138
158
|
queueName: true,
|
|
139
159
|
runtime: true,
|
|
160
|
+
targetSchema: true,
|
|
161
|
+
targetFunction: true,
|
|
162
|
+
moduleTable: true,
|
|
163
|
+
functionColumns: true,
|
|
164
|
+
payloadArgs: true,
|
|
140
165
|
image: true,
|
|
141
166
|
concurrency: true,
|
|
142
167
|
scaleMin: true,
|
|
@@ -146,6 +171,7 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
146
171
|
isBuiltIn: true,
|
|
147
172
|
requiredSecrets: true,
|
|
148
173
|
requiredConfigs: true,
|
|
174
|
+
integrations: true,
|
|
149
175
|
requiredBuckets: true,
|
|
150
176
|
requiredModels: true,
|
|
151
177
|
inputs: true,
|
|
@@ -154,6 +180,7 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
154
180
|
volatile: true,
|
|
155
181
|
icon: true,
|
|
156
182
|
category: true,
|
|
183
|
+
databaseId: true,
|
|
157
184
|
};
|
|
158
185
|
const findFirstArgs = parseFindFirstArgs(argv, defaultSelect);
|
|
159
186
|
const client = getClient();
|
|
@@ -190,11 +217,18 @@ async function handleGet(argv, prompter) {
|
|
|
190
217
|
name: true,
|
|
191
218
|
taskIdentifier: true,
|
|
192
219
|
description: true,
|
|
193
|
-
|
|
220
|
+
isPublished: true,
|
|
221
|
+
accessChannels: true,
|
|
222
|
+
publishedAt: true,
|
|
194
223
|
maxAttempts: true,
|
|
195
224
|
priority: true,
|
|
196
225
|
queueName: true,
|
|
197
226
|
runtime: true,
|
|
227
|
+
targetSchema: true,
|
|
228
|
+
targetFunction: true,
|
|
229
|
+
moduleTable: true,
|
|
230
|
+
functionColumns: true,
|
|
231
|
+
payloadArgs: true,
|
|
198
232
|
image: true,
|
|
199
233
|
concurrency: true,
|
|
200
234
|
scaleMin: true,
|
|
@@ -204,6 +238,7 @@ async function handleGet(argv, prompter) {
|
|
|
204
238
|
isBuiltIn: true,
|
|
205
239
|
requiredSecrets: true,
|
|
206
240
|
requiredConfigs: true,
|
|
241
|
+
integrations: true,
|
|
207
242
|
requiredBuckets: true,
|
|
208
243
|
requiredModels: true,
|
|
209
244
|
inputs: true,
|
|
@@ -212,6 +247,7 @@ async function handleGet(argv, prompter) {
|
|
|
212
247
|
volatile: true,
|
|
213
248
|
icon: true,
|
|
214
249
|
category: true,
|
|
250
|
+
databaseId: true,
|
|
215
251
|
},
|
|
216
252
|
})
|
|
217
253
|
.execute();
|
|
@@ -255,8 +291,22 @@ async function handleCreate(argv, prompter) {
|
|
|
255
291
|
},
|
|
256
292
|
{
|
|
257
293
|
type: 'boolean',
|
|
258
|
-
name: '
|
|
259
|
-
message: '
|
|
294
|
+
name: 'isPublished',
|
|
295
|
+
message: 'isPublished',
|
|
296
|
+
required: false,
|
|
297
|
+
skipPrompt: true,
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
type: 'text',
|
|
301
|
+
name: 'accessChannels',
|
|
302
|
+
message: 'accessChannels',
|
|
303
|
+
required: false,
|
|
304
|
+
skipPrompt: true,
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
type: 'text',
|
|
308
|
+
name: 'publishedAt',
|
|
309
|
+
message: 'publishedAt',
|
|
260
310
|
required: false,
|
|
261
311
|
skipPrompt: true,
|
|
262
312
|
},
|
|
@@ -288,6 +338,41 @@ async function handleCreate(argv, prompter) {
|
|
|
288
338
|
required: false,
|
|
289
339
|
skipPrompt: true,
|
|
290
340
|
},
|
|
341
|
+
{
|
|
342
|
+
type: 'text',
|
|
343
|
+
name: 'targetSchema',
|
|
344
|
+
message: 'targetSchema',
|
|
345
|
+
required: false,
|
|
346
|
+
skipPrompt: true,
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
type: 'text',
|
|
350
|
+
name: 'targetFunction',
|
|
351
|
+
message: 'targetFunction',
|
|
352
|
+
required: false,
|
|
353
|
+
skipPrompt: true,
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
type: 'text',
|
|
357
|
+
name: 'moduleTable',
|
|
358
|
+
message: 'moduleTable',
|
|
359
|
+
required: false,
|
|
360
|
+
skipPrompt: true,
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
type: 'json',
|
|
364
|
+
name: 'functionColumns',
|
|
365
|
+
message: 'functionColumns',
|
|
366
|
+
required: false,
|
|
367
|
+
skipPrompt: true,
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
type: 'json',
|
|
371
|
+
name: 'payloadArgs',
|
|
372
|
+
message: 'payloadArgs',
|
|
373
|
+
required: false,
|
|
374
|
+
skipPrompt: true,
|
|
375
|
+
},
|
|
291
376
|
{
|
|
292
377
|
type: 'text',
|
|
293
378
|
name: 'image',
|
|
@@ -351,6 +436,13 @@ async function handleCreate(argv, prompter) {
|
|
|
351
436
|
required: false,
|
|
352
437
|
skipPrompt: true,
|
|
353
438
|
},
|
|
439
|
+
{
|
|
440
|
+
type: 'text',
|
|
441
|
+
name: 'integrations',
|
|
442
|
+
message: 'integrations',
|
|
443
|
+
required: false,
|
|
444
|
+
skipPrompt: true,
|
|
445
|
+
},
|
|
354
446
|
{
|
|
355
447
|
type: 'text',
|
|
356
448
|
name: 'requiredBuckets',
|
|
@@ -407,6 +499,12 @@ async function handleCreate(argv, prompter) {
|
|
|
407
499
|
required: false,
|
|
408
500
|
skipPrompt: true,
|
|
409
501
|
},
|
|
502
|
+
{
|
|
503
|
+
type: 'text',
|
|
504
|
+
name: 'databaseId',
|
|
505
|
+
message: 'databaseId',
|
|
506
|
+
required: true,
|
|
507
|
+
},
|
|
410
508
|
]);
|
|
411
509
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
412
510
|
const cleanedData = stripUndefined(answers, fieldSchema);
|
|
@@ -418,11 +516,18 @@ async function handleCreate(argv, prompter) {
|
|
|
418
516
|
name: cleanedData.name,
|
|
419
517
|
taskIdentifier: cleanedData.taskIdentifier,
|
|
420
518
|
description: cleanedData.description,
|
|
421
|
-
|
|
519
|
+
isPublished: cleanedData.isPublished,
|
|
520
|
+
accessChannels: cleanedData.accessChannels,
|
|
521
|
+
publishedAt: cleanedData.publishedAt,
|
|
422
522
|
maxAttempts: cleanedData.maxAttempts,
|
|
423
523
|
priority: cleanedData.priority,
|
|
424
524
|
queueName: cleanedData.queueName,
|
|
425
525
|
runtime: cleanedData.runtime,
|
|
526
|
+
targetSchema: cleanedData.targetSchema,
|
|
527
|
+
targetFunction: cleanedData.targetFunction,
|
|
528
|
+
moduleTable: cleanedData.moduleTable,
|
|
529
|
+
functionColumns: cleanedData.functionColumns,
|
|
530
|
+
payloadArgs: cleanedData.payloadArgs,
|
|
426
531
|
image: cleanedData.image,
|
|
427
532
|
concurrency: cleanedData.concurrency,
|
|
428
533
|
scaleMin: cleanedData.scaleMin,
|
|
@@ -432,6 +537,7 @@ async function handleCreate(argv, prompter) {
|
|
|
432
537
|
isBuiltIn: cleanedData.isBuiltIn,
|
|
433
538
|
requiredSecrets: cleanedData.requiredSecrets,
|
|
434
539
|
requiredConfigs: cleanedData.requiredConfigs,
|
|
540
|
+
integrations: cleanedData.integrations,
|
|
435
541
|
requiredBuckets: cleanedData.requiredBuckets,
|
|
436
542
|
requiredModels: cleanedData.requiredModels,
|
|
437
543
|
inputs: cleanedData.inputs,
|
|
@@ -440,6 +546,7 @@ async function handleCreate(argv, prompter) {
|
|
|
440
546
|
volatile: cleanedData.volatile,
|
|
441
547
|
icon: cleanedData.icon,
|
|
442
548
|
category: cleanedData.category,
|
|
549
|
+
databaseId: cleanedData.databaseId,
|
|
443
550
|
},
|
|
444
551
|
select: {
|
|
445
552
|
id: true,
|
|
@@ -449,11 +556,18 @@ async function handleCreate(argv, prompter) {
|
|
|
449
556
|
name: true,
|
|
450
557
|
taskIdentifier: true,
|
|
451
558
|
description: true,
|
|
452
|
-
|
|
559
|
+
isPublished: true,
|
|
560
|
+
accessChannels: true,
|
|
561
|
+
publishedAt: true,
|
|
453
562
|
maxAttempts: true,
|
|
454
563
|
priority: true,
|
|
455
564
|
queueName: true,
|
|
456
565
|
runtime: true,
|
|
566
|
+
targetSchema: true,
|
|
567
|
+
targetFunction: true,
|
|
568
|
+
moduleTable: true,
|
|
569
|
+
functionColumns: true,
|
|
570
|
+
payloadArgs: true,
|
|
457
571
|
image: true,
|
|
458
572
|
concurrency: true,
|
|
459
573
|
scaleMin: true,
|
|
@@ -463,6 +577,7 @@ async function handleCreate(argv, prompter) {
|
|
|
463
577
|
isBuiltIn: true,
|
|
464
578
|
requiredSecrets: true,
|
|
465
579
|
requiredConfigs: true,
|
|
580
|
+
integrations: true,
|
|
466
581
|
requiredBuckets: true,
|
|
467
582
|
requiredModels: true,
|
|
468
583
|
inputs: true,
|
|
@@ -471,6 +586,7 @@ async function handleCreate(argv, prompter) {
|
|
|
471
586
|
volatile: true,
|
|
472
587
|
icon: true,
|
|
473
588
|
category: true,
|
|
589
|
+
databaseId: true,
|
|
474
590
|
},
|
|
475
591
|
})
|
|
476
592
|
.execute();
|
|
@@ -520,8 +636,22 @@ async function handleUpdate(argv, prompter) {
|
|
|
520
636
|
},
|
|
521
637
|
{
|
|
522
638
|
type: 'boolean',
|
|
523
|
-
name: '
|
|
524
|
-
message: '
|
|
639
|
+
name: 'isPublished',
|
|
640
|
+
message: 'isPublished',
|
|
641
|
+
required: false,
|
|
642
|
+
skipPrompt: true,
|
|
643
|
+
},
|
|
644
|
+
{
|
|
645
|
+
type: 'text',
|
|
646
|
+
name: 'accessChannels',
|
|
647
|
+
message: 'accessChannels',
|
|
648
|
+
required: false,
|
|
649
|
+
skipPrompt: true,
|
|
650
|
+
},
|
|
651
|
+
{
|
|
652
|
+
type: 'text',
|
|
653
|
+
name: 'publishedAt',
|
|
654
|
+
message: 'publishedAt',
|
|
525
655
|
required: false,
|
|
526
656
|
skipPrompt: true,
|
|
527
657
|
},
|
|
@@ -553,6 +683,41 @@ async function handleUpdate(argv, prompter) {
|
|
|
553
683
|
required: false,
|
|
554
684
|
skipPrompt: true,
|
|
555
685
|
},
|
|
686
|
+
{
|
|
687
|
+
type: 'text',
|
|
688
|
+
name: 'targetSchema',
|
|
689
|
+
message: 'targetSchema',
|
|
690
|
+
required: false,
|
|
691
|
+
skipPrompt: true,
|
|
692
|
+
},
|
|
693
|
+
{
|
|
694
|
+
type: 'text',
|
|
695
|
+
name: 'targetFunction',
|
|
696
|
+
message: 'targetFunction',
|
|
697
|
+
required: false,
|
|
698
|
+
skipPrompt: true,
|
|
699
|
+
},
|
|
700
|
+
{
|
|
701
|
+
type: 'text',
|
|
702
|
+
name: 'moduleTable',
|
|
703
|
+
message: 'moduleTable',
|
|
704
|
+
required: false,
|
|
705
|
+
skipPrompt: true,
|
|
706
|
+
},
|
|
707
|
+
{
|
|
708
|
+
type: 'json',
|
|
709
|
+
name: 'functionColumns',
|
|
710
|
+
message: 'functionColumns',
|
|
711
|
+
required: false,
|
|
712
|
+
skipPrompt: true,
|
|
713
|
+
},
|
|
714
|
+
{
|
|
715
|
+
type: 'json',
|
|
716
|
+
name: 'payloadArgs',
|
|
717
|
+
message: 'payloadArgs',
|
|
718
|
+
required: false,
|
|
719
|
+
skipPrompt: true,
|
|
720
|
+
},
|
|
556
721
|
{
|
|
557
722
|
type: 'text',
|
|
558
723
|
name: 'image',
|
|
@@ -616,6 +781,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
616
781
|
required: false,
|
|
617
782
|
skipPrompt: true,
|
|
618
783
|
},
|
|
784
|
+
{
|
|
785
|
+
type: 'text',
|
|
786
|
+
name: 'integrations',
|
|
787
|
+
message: 'integrations',
|
|
788
|
+
required: false,
|
|
789
|
+
skipPrompt: true,
|
|
790
|
+
},
|
|
619
791
|
{
|
|
620
792
|
type: 'text',
|
|
621
793
|
name: 'requiredBuckets',
|
|
@@ -672,6 +844,12 @@ async function handleUpdate(argv, prompter) {
|
|
|
672
844
|
required: false,
|
|
673
845
|
skipPrompt: true,
|
|
674
846
|
},
|
|
847
|
+
{
|
|
848
|
+
type: 'text',
|
|
849
|
+
name: 'databaseId',
|
|
850
|
+
message: 'databaseId',
|
|
851
|
+
required: false,
|
|
852
|
+
},
|
|
675
853
|
]);
|
|
676
854
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
677
855
|
const cleanedData = stripUndefined(answers, fieldSchema);
|
|
@@ -686,11 +864,18 @@ async function handleUpdate(argv, prompter) {
|
|
|
686
864
|
name: cleanedData.name,
|
|
687
865
|
taskIdentifier: cleanedData.taskIdentifier,
|
|
688
866
|
description: cleanedData.description,
|
|
689
|
-
|
|
867
|
+
isPublished: cleanedData.isPublished,
|
|
868
|
+
accessChannels: cleanedData.accessChannels,
|
|
869
|
+
publishedAt: cleanedData.publishedAt,
|
|
690
870
|
maxAttempts: cleanedData.maxAttempts,
|
|
691
871
|
priority: cleanedData.priority,
|
|
692
872
|
queueName: cleanedData.queueName,
|
|
693
873
|
runtime: cleanedData.runtime,
|
|
874
|
+
targetSchema: cleanedData.targetSchema,
|
|
875
|
+
targetFunction: cleanedData.targetFunction,
|
|
876
|
+
moduleTable: cleanedData.moduleTable,
|
|
877
|
+
functionColumns: cleanedData.functionColumns,
|
|
878
|
+
payloadArgs: cleanedData.payloadArgs,
|
|
694
879
|
image: cleanedData.image,
|
|
695
880
|
concurrency: cleanedData.concurrency,
|
|
696
881
|
scaleMin: cleanedData.scaleMin,
|
|
@@ -700,6 +885,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
700
885
|
isBuiltIn: cleanedData.isBuiltIn,
|
|
701
886
|
requiredSecrets: cleanedData.requiredSecrets,
|
|
702
887
|
requiredConfigs: cleanedData.requiredConfigs,
|
|
888
|
+
integrations: cleanedData.integrations,
|
|
703
889
|
requiredBuckets: cleanedData.requiredBuckets,
|
|
704
890
|
requiredModels: cleanedData.requiredModels,
|
|
705
891
|
inputs: cleanedData.inputs,
|
|
@@ -708,6 +894,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
708
894
|
volatile: cleanedData.volatile,
|
|
709
895
|
icon: cleanedData.icon,
|
|
710
896
|
category: cleanedData.category,
|
|
897
|
+
databaseId: cleanedData.databaseId,
|
|
711
898
|
},
|
|
712
899
|
select: {
|
|
713
900
|
id: true,
|
|
@@ -717,11 +904,18 @@ async function handleUpdate(argv, prompter) {
|
|
|
717
904
|
name: true,
|
|
718
905
|
taskIdentifier: true,
|
|
719
906
|
description: true,
|
|
720
|
-
|
|
907
|
+
isPublished: true,
|
|
908
|
+
accessChannels: true,
|
|
909
|
+
publishedAt: true,
|
|
721
910
|
maxAttempts: true,
|
|
722
911
|
priority: true,
|
|
723
912
|
queueName: true,
|
|
724
913
|
runtime: true,
|
|
914
|
+
targetSchema: true,
|
|
915
|
+
targetFunction: true,
|
|
916
|
+
moduleTable: true,
|
|
917
|
+
functionColumns: true,
|
|
918
|
+
payloadArgs: true,
|
|
725
919
|
image: true,
|
|
726
920
|
concurrency: true,
|
|
727
921
|
scaleMin: true,
|
|
@@ -731,6 +925,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
731
925
|
isBuiltIn: true,
|
|
732
926
|
requiredSecrets: true,
|
|
733
927
|
requiredConfigs: true,
|
|
928
|
+
integrations: true,
|
|
734
929
|
requiredBuckets: true,
|
|
735
930
|
requiredModels: true,
|
|
736
931
|
inputs: true,
|
|
@@ -739,6 +934,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
739
934
|
volatile: true,
|
|
740
935
|
icon: true,
|
|
741
936
|
category: true,
|
|
937
|
+
databaseId: true,
|
|
742
938
|
},
|
|
743
939
|
})
|
|
744
940
|
.execute();
|
|
@@ -10,13 +10,14 @@ const fieldSchema = {
|
|
|
10
10
|
id: 'uuid',
|
|
11
11
|
createdAt: 'string',
|
|
12
12
|
updatedAt: 'string',
|
|
13
|
-
functionDefinitionId: 'uuid',
|
|
14
13
|
namespaceId: 'uuid',
|
|
15
14
|
status: 'string',
|
|
16
15
|
serviceUrl: 'string',
|
|
17
16
|
serviceName: 'string',
|
|
18
17
|
revision: 'int',
|
|
19
18
|
image: 'string',
|
|
19
|
+
imageVersion: 'string',
|
|
20
|
+
handlerName: 'string',
|
|
20
21
|
concurrency: 'int',
|
|
21
22
|
scaleMin: 'int',
|
|
22
23
|
scaleMax: 'int',
|
|
@@ -74,13 +75,14 @@ async function handleList(argv, _prompter) {
|
|
|
74
75
|
id: true,
|
|
75
76
|
createdAt: true,
|
|
76
77
|
updatedAt: true,
|
|
77
|
-
functionDefinitionId: true,
|
|
78
78
|
namespaceId: true,
|
|
79
79
|
status: true,
|
|
80
80
|
serviceUrl: true,
|
|
81
81
|
serviceName: true,
|
|
82
82
|
revision: true,
|
|
83
83
|
image: true,
|
|
84
|
+
imageVersion: true,
|
|
85
|
+
handlerName: true,
|
|
84
86
|
concurrency: true,
|
|
85
87
|
scaleMin: true,
|
|
86
88
|
scaleMax: true,
|
|
@@ -112,13 +114,14 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
112
114
|
id: true,
|
|
113
115
|
createdAt: true,
|
|
114
116
|
updatedAt: true,
|
|
115
|
-
functionDefinitionId: true,
|
|
116
117
|
namespaceId: true,
|
|
117
118
|
status: true,
|
|
118
119
|
serviceUrl: true,
|
|
119
120
|
serviceName: true,
|
|
120
121
|
revision: true,
|
|
121
122
|
image: true,
|
|
123
|
+
imageVersion: true,
|
|
124
|
+
handlerName: true,
|
|
122
125
|
concurrency: true,
|
|
123
126
|
scaleMin: true,
|
|
124
127
|
scaleMax: true,
|
|
@@ -162,13 +165,14 @@ async function handleGet(argv, prompter) {
|
|
|
162
165
|
id: true,
|
|
163
166
|
createdAt: true,
|
|
164
167
|
updatedAt: true,
|
|
165
|
-
functionDefinitionId: true,
|
|
166
168
|
namespaceId: true,
|
|
167
169
|
status: true,
|
|
168
170
|
serviceUrl: true,
|
|
169
171
|
serviceName: true,
|
|
170
172
|
revision: true,
|
|
171
173
|
image: true,
|
|
174
|
+
imageVersion: true,
|
|
175
|
+
handlerName: true,
|
|
172
176
|
concurrency: true,
|
|
173
177
|
scaleMin: true,
|
|
174
178
|
scaleMax: true,
|
|
@@ -196,12 +200,6 @@ async function handleGet(argv, prompter) {
|
|
|
196
200
|
async function handleCreate(argv, prompter) {
|
|
197
201
|
try {
|
|
198
202
|
const rawAnswers = await prompter.prompt(argv, [
|
|
199
|
-
{
|
|
200
|
-
type: 'text',
|
|
201
|
-
name: 'functionDefinitionId',
|
|
202
|
-
message: 'functionDefinitionId',
|
|
203
|
-
required: true,
|
|
204
|
-
},
|
|
205
203
|
{
|
|
206
204
|
type: 'text',
|
|
207
205
|
name: 'namespaceId',
|
|
@@ -240,6 +238,19 @@ async function handleCreate(argv, prompter) {
|
|
|
240
238
|
type: 'text',
|
|
241
239
|
name: 'image',
|
|
242
240
|
message: 'image',
|
|
241
|
+
required: true,
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
type: 'text',
|
|
245
|
+
name: 'imageVersion',
|
|
246
|
+
message: 'imageVersion',
|
|
247
|
+
required: false,
|
|
248
|
+
skipPrompt: true,
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
type: 'text',
|
|
252
|
+
name: 'handlerName',
|
|
253
|
+
message: 'handlerName',
|
|
243
254
|
required: false,
|
|
244
255
|
skipPrompt: true,
|
|
245
256
|
},
|
|
@@ -326,13 +337,14 @@ async function handleCreate(argv, prompter) {
|
|
|
326
337
|
const result = await client.functionDeployment
|
|
327
338
|
.create({
|
|
328
339
|
data: {
|
|
329
|
-
functionDefinitionId: cleanedData.functionDefinitionId,
|
|
330
340
|
namespaceId: cleanedData.namespaceId,
|
|
331
341
|
status: cleanedData.status,
|
|
332
342
|
serviceUrl: cleanedData.serviceUrl,
|
|
333
343
|
serviceName: cleanedData.serviceName,
|
|
334
344
|
revision: cleanedData.revision,
|
|
335
345
|
image: cleanedData.image,
|
|
346
|
+
imageVersion: cleanedData.imageVersion,
|
|
347
|
+
handlerName: cleanedData.handlerName,
|
|
336
348
|
concurrency: cleanedData.concurrency,
|
|
337
349
|
scaleMin: cleanedData.scaleMin,
|
|
338
350
|
scaleMax: cleanedData.scaleMax,
|
|
@@ -349,13 +361,14 @@ async function handleCreate(argv, prompter) {
|
|
|
349
361
|
id: true,
|
|
350
362
|
createdAt: true,
|
|
351
363
|
updatedAt: true,
|
|
352
|
-
functionDefinitionId: true,
|
|
353
364
|
namespaceId: true,
|
|
354
365
|
status: true,
|
|
355
366
|
serviceUrl: true,
|
|
356
367
|
serviceName: true,
|
|
357
368
|
revision: true,
|
|
358
369
|
image: true,
|
|
370
|
+
imageVersion: true,
|
|
371
|
+
handlerName: true,
|
|
359
372
|
concurrency: true,
|
|
360
373
|
scaleMin: true,
|
|
361
374
|
scaleMax: true,
|
|
@@ -389,12 +402,6 @@ async function handleUpdate(argv, prompter) {
|
|
|
389
402
|
message: 'id',
|
|
390
403
|
required: true,
|
|
391
404
|
},
|
|
392
|
-
{
|
|
393
|
-
type: 'text',
|
|
394
|
-
name: 'functionDefinitionId',
|
|
395
|
-
message: 'functionDefinitionId',
|
|
396
|
-
required: false,
|
|
397
|
-
},
|
|
398
405
|
{
|
|
399
406
|
type: 'text',
|
|
400
407
|
name: 'namespaceId',
|
|
@@ -434,6 +441,19 @@ async function handleUpdate(argv, prompter) {
|
|
|
434
441
|
name: 'image',
|
|
435
442
|
message: 'image',
|
|
436
443
|
required: false,
|
|
444
|
+
},
|
|
445
|
+
{
|
|
446
|
+
type: 'text',
|
|
447
|
+
name: 'imageVersion',
|
|
448
|
+
message: 'imageVersion',
|
|
449
|
+
required: false,
|
|
450
|
+
skipPrompt: true,
|
|
451
|
+
},
|
|
452
|
+
{
|
|
453
|
+
type: 'text',
|
|
454
|
+
name: 'handlerName',
|
|
455
|
+
message: 'handlerName',
|
|
456
|
+
required: false,
|
|
437
457
|
skipPrompt: true,
|
|
438
458
|
},
|
|
439
459
|
{
|
|
@@ -522,13 +542,14 @@ async function handleUpdate(argv, prompter) {
|
|
|
522
542
|
id: answers.id,
|
|
523
543
|
},
|
|
524
544
|
data: {
|
|
525
|
-
functionDefinitionId: cleanedData.functionDefinitionId,
|
|
526
545
|
namespaceId: cleanedData.namespaceId,
|
|
527
546
|
status: cleanedData.status,
|
|
528
547
|
serviceUrl: cleanedData.serviceUrl,
|
|
529
548
|
serviceName: cleanedData.serviceName,
|
|
530
549
|
revision: cleanedData.revision,
|
|
531
550
|
image: cleanedData.image,
|
|
551
|
+
imageVersion: cleanedData.imageVersion,
|
|
552
|
+
handlerName: cleanedData.handlerName,
|
|
532
553
|
concurrency: cleanedData.concurrency,
|
|
533
554
|
scaleMin: cleanedData.scaleMin,
|
|
534
555
|
scaleMax: cleanedData.scaleMax,
|
|
@@ -545,13 +566,14 @@ async function handleUpdate(argv, prompter) {
|
|
|
545
566
|
id: true,
|
|
546
567
|
createdAt: true,
|
|
547
568
|
updatedAt: true,
|
|
548
|
-
functionDefinitionId: true,
|
|
549
569
|
namespaceId: true,
|
|
550
570
|
status: true,
|
|
551
571
|
serviceUrl: true,
|
|
552
572
|
serviceName: true,
|
|
553
573
|
revision: true,
|
|
554
574
|
image: true,
|
|
575
|
+
imageVersion: true,
|
|
576
|
+
handlerName: true,
|
|
555
577
|
concurrency: true,
|
|
556
578
|
scaleMin: true,
|
|
557
579
|
scaleMax: true,
|