@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
|
@@ -9,6 +9,7 @@ import { coerceAnswers, parseFindFirstArgs, parseFindManyArgs, stripUndefined }
|
|
|
9
9
|
const fieldSchema = {
|
|
10
10
|
id: 'uuid',
|
|
11
11
|
databaseId: 'uuid',
|
|
12
|
+
entityField: 'string',
|
|
12
13
|
schemaId: 'uuid',
|
|
13
14
|
privateSchemaId: 'uuid',
|
|
14
15
|
publicSchemaName: 'string',
|
|
@@ -88,6 +89,7 @@ async function handleList(argv, _prompter) {
|
|
|
88
89
|
const defaultSelect = {
|
|
89
90
|
id: true,
|
|
90
91
|
databaseId: true,
|
|
92
|
+
entityField: true,
|
|
91
93
|
schemaId: true,
|
|
92
94
|
privateSchemaId: true,
|
|
93
95
|
publicSchemaName: true,
|
|
@@ -141,6 +143,7 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
141
143
|
const defaultSelect = {
|
|
142
144
|
id: true,
|
|
143
145
|
databaseId: true,
|
|
146
|
+
entityField: true,
|
|
144
147
|
schemaId: true,
|
|
145
148
|
privateSchemaId: true,
|
|
146
149
|
publicSchemaName: true,
|
|
@@ -206,6 +209,7 @@ async function handleGet(argv, prompter) {
|
|
|
206
209
|
select: {
|
|
207
210
|
id: true,
|
|
208
211
|
databaseId: true,
|
|
212
|
+
entityField: true,
|
|
209
213
|
schemaId: true,
|
|
210
214
|
privateSchemaId: true,
|
|
211
215
|
publicSchemaName: true,
|
|
@@ -262,6 +266,13 @@ async function handleCreate(argv, prompter) {
|
|
|
262
266
|
message: 'databaseId',
|
|
263
267
|
required: true,
|
|
264
268
|
},
|
|
269
|
+
{
|
|
270
|
+
type: 'text',
|
|
271
|
+
name: 'entityField',
|
|
272
|
+
message: 'entityField',
|
|
273
|
+
required: false,
|
|
274
|
+
skipPrompt: true,
|
|
275
|
+
},
|
|
265
276
|
{
|
|
266
277
|
type: 'text',
|
|
267
278
|
name: 'schemaId',
|
|
@@ -508,6 +519,7 @@ async function handleCreate(argv, prompter) {
|
|
|
508
519
|
.create({
|
|
509
520
|
data: {
|
|
510
521
|
databaseId: cleanedData.databaseId,
|
|
522
|
+
entityField: cleanedData.entityField,
|
|
511
523
|
schemaId: cleanedData.schemaId,
|
|
512
524
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
513
525
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
@@ -546,6 +558,7 @@ async function handleCreate(argv, prompter) {
|
|
|
546
558
|
select: {
|
|
547
559
|
id: true,
|
|
548
560
|
databaseId: true,
|
|
561
|
+
entityField: true,
|
|
549
562
|
schemaId: true,
|
|
550
563
|
privateSchemaId: true,
|
|
551
564
|
publicSchemaName: true,
|
|
@@ -608,6 +621,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
608
621
|
message: 'databaseId',
|
|
609
622
|
required: false,
|
|
610
623
|
},
|
|
624
|
+
{
|
|
625
|
+
type: 'text',
|
|
626
|
+
name: 'entityField',
|
|
627
|
+
message: 'entityField',
|
|
628
|
+
required: false,
|
|
629
|
+
skipPrompt: true,
|
|
630
|
+
},
|
|
611
631
|
{
|
|
612
632
|
type: 'text',
|
|
613
633
|
name: 'schemaId',
|
|
@@ -857,6 +877,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
857
877
|
},
|
|
858
878
|
data: {
|
|
859
879
|
databaseId: cleanedData.databaseId,
|
|
880
|
+
entityField: cleanedData.entityField,
|
|
860
881
|
schemaId: cleanedData.schemaId,
|
|
861
882
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
862
883
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
@@ -895,6 +916,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
895
916
|
select: {
|
|
896
917
|
id: true,
|
|
897
918
|
databaseId: true,
|
|
919
|
+
entityField: true,
|
|
898
920
|
schemaId: true,
|
|
899
921
|
privateSchemaId: true,
|
|
900
922
|
publicSchemaName: true,
|
|
@@ -9,6 +9,7 @@ import { coerceAnswers, parseFindFirstArgs, parseFindManyArgs, stripUndefined }
|
|
|
9
9
|
const fieldSchema = {
|
|
10
10
|
id: 'uuid',
|
|
11
11
|
databaseId: 'uuid',
|
|
12
|
+
entityField: 'string',
|
|
12
13
|
schemaId: 'uuid',
|
|
13
14
|
privateSchemaId: 'uuid',
|
|
14
15
|
publicSchemaName: 'string',
|
|
@@ -93,6 +94,7 @@ async function handleList(argv, _prompter) {
|
|
|
93
94
|
const defaultSelect = {
|
|
94
95
|
id: true,
|
|
95
96
|
databaseId: true,
|
|
97
|
+
entityField: true,
|
|
96
98
|
schemaId: true,
|
|
97
99
|
privateSchemaId: true,
|
|
98
100
|
publicSchemaName: true,
|
|
@@ -151,6 +153,7 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
151
153
|
const defaultSelect = {
|
|
152
154
|
id: true,
|
|
153
155
|
databaseId: true,
|
|
156
|
+
entityField: true,
|
|
154
157
|
schemaId: true,
|
|
155
158
|
privateSchemaId: true,
|
|
156
159
|
publicSchemaName: true,
|
|
@@ -221,6 +224,7 @@ async function handleGet(argv, prompter) {
|
|
|
221
224
|
select: {
|
|
222
225
|
id: true,
|
|
223
226
|
databaseId: true,
|
|
227
|
+
entityField: true,
|
|
224
228
|
schemaId: true,
|
|
225
229
|
privateSchemaId: true,
|
|
226
230
|
publicSchemaName: true,
|
|
@@ -282,6 +286,13 @@ async function handleCreate(argv, prompter) {
|
|
|
282
286
|
message: 'databaseId',
|
|
283
287
|
required: true,
|
|
284
288
|
},
|
|
289
|
+
{
|
|
290
|
+
type: 'text',
|
|
291
|
+
name: 'entityField',
|
|
292
|
+
message: 'entityField',
|
|
293
|
+
required: false,
|
|
294
|
+
skipPrompt: true,
|
|
295
|
+
},
|
|
285
296
|
{
|
|
286
297
|
type: 'text',
|
|
287
298
|
name: 'schemaId',
|
|
@@ -563,6 +574,7 @@ async function handleCreate(argv, prompter) {
|
|
|
563
574
|
.create({
|
|
564
575
|
data: {
|
|
565
576
|
databaseId: cleanedData.databaseId,
|
|
577
|
+
entityField: cleanedData.entityField,
|
|
566
578
|
schemaId: cleanedData.schemaId,
|
|
567
579
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
568
580
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
@@ -606,6 +618,7 @@ async function handleCreate(argv, prompter) {
|
|
|
606
618
|
select: {
|
|
607
619
|
id: true,
|
|
608
620
|
databaseId: true,
|
|
621
|
+
entityField: true,
|
|
609
622
|
schemaId: true,
|
|
610
623
|
privateSchemaId: true,
|
|
611
624
|
publicSchemaName: true,
|
|
@@ -673,6 +686,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
673
686
|
message: 'databaseId',
|
|
674
687
|
required: false,
|
|
675
688
|
},
|
|
689
|
+
{
|
|
690
|
+
type: 'text',
|
|
691
|
+
name: 'entityField',
|
|
692
|
+
message: 'entityField',
|
|
693
|
+
required: false,
|
|
694
|
+
skipPrompt: true,
|
|
695
|
+
},
|
|
676
696
|
{
|
|
677
697
|
type: 'text',
|
|
678
698
|
name: 'schemaId',
|
|
@@ -957,6 +977,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
957
977
|
},
|
|
958
978
|
data: {
|
|
959
979
|
databaseId: cleanedData.databaseId,
|
|
980
|
+
entityField: cleanedData.entityField,
|
|
960
981
|
schemaId: cleanedData.schemaId,
|
|
961
982
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
962
983
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
@@ -1000,6 +1021,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
1000
1021
|
select: {
|
|
1001
1022
|
id: true,
|
|
1002
1023
|
databaseId: true,
|
|
1024
|
+
entityField: true,
|
|
1003
1025
|
schemaId: true,
|
|
1004
1026
|
privateSchemaId: true,
|
|
1005
1027
|
publicSchemaName: true,
|
|
@@ -9,6 +9,7 @@ import { coerceAnswers, parseFindFirstArgs, parseFindManyArgs, stripUndefined }
|
|
|
9
9
|
const fieldSchema = {
|
|
10
10
|
id: 'uuid',
|
|
11
11
|
databaseId: 'uuid',
|
|
12
|
+
entityField: 'string',
|
|
12
13
|
schemaId: 'uuid',
|
|
13
14
|
privateSchemaId: 'uuid',
|
|
14
15
|
publicSchemaName: 'string',
|
|
@@ -69,6 +70,7 @@ async function handleList(argv, _prompter) {
|
|
|
69
70
|
const defaultSelect = {
|
|
70
71
|
id: true,
|
|
71
72
|
databaseId: true,
|
|
73
|
+
entityField: true,
|
|
72
74
|
schemaId: true,
|
|
73
75
|
privateSchemaId: true,
|
|
74
76
|
publicSchemaName: true,
|
|
@@ -103,6 +105,7 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
103
105
|
const defaultSelect = {
|
|
104
106
|
id: true,
|
|
105
107
|
databaseId: true,
|
|
108
|
+
entityField: true,
|
|
106
109
|
schemaId: true,
|
|
107
110
|
privateSchemaId: true,
|
|
108
111
|
publicSchemaName: true,
|
|
@@ -149,6 +152,7 @@ async function handleGet(argv, prompter) {
|
|
|
149
152
|
select: {
|
|
150
153
|
id: true,
|
|
151
154
|
databaseId: true,
|
|
155
|
+
entityField: true,
|
|
152
156
|
schemaId: true,
|
|
153
157
|
privateSchemaId: true,
|
|
154
158
|
publicSchemaName: true,
|
|
@@ -186,6 +190,13 @@ async function handleCreate(argv, prompter) {
|
|
|
186
190
|
message: 'databaseId',
|
|
187
191
|
required: true,
|
|
188
192
|
},
|
|
193
|
+
{
|
|
194
|
+
type: 'text',
|
|
195
|
+
name: 'entityField',
|
|
196
|
+
message: 'entityField',
|
|
197
|
+
required: false,
|
|
198
|
+
skipPrompt: true,
|
|
199
|
+
},
|
|
189
200
|
{
|
|
190
201
|
type: 'text',
|
|
191
202
|
name: 'schemaId',
|
|
@@ -292,6 +303,7 @@ async function handleCreate(argv, prompter) {
|
|
|
292
303
|
.create({
|
|
293
304
|
data: {
|
|
294
305
|
databaseId: cleanedData.databaseId,
|
|
306
|
+
entityField: cleanedData.entityField,
|
|
295
307
|
schemaId: cleanedData.schemaId,
|
|
296
308
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
297
309
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
@@ -310,6 +322,7 @@ async function handleCreate(argv, prompter) {
|
|
|
310
322
|
select: {
|
|
311
323
|
id: true,
|
|
312
324
|
databaseId: true,
|
|
325
|
+
entityField: true,
|
|
313
326
|
schemaId: true,
|
|
314
327
|
privateSchemaId: true,
|
|
315
328
|
publicSchemaName: true,
|
|
@@ -353,6 +366,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
353
366
|
message: 'databaseId',
|
|
354
367
|
required: false,
|
|
355
368
|
},
|
|
369
|
+
{
|
|
370
|
+
type: 'text',
|
|
371
|
+
name: 'entityField',
|
|
372
|
+
message: 'entityField',
|
|
373
|
+
required: false,
|
|
374
|
+
skipPrompt: true,
|
|
375
|
+
},
|
|
356
376
|
{
|
|
357
377
|
type: 'text',
|
|
358
378
|
name: 'schemaId',
|
|
@@ -462,6 +482,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
462
482
|
},
|
|
463
483
|
data: {
|
|
464
484
|
databaseId: cleanedData.databaseId,
|
|
485
|
+
entityField: cleanedData.entityField,
|
|
465
486
|
schemaId: cleanedData.schemaId,
|
|
466
487
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
467
488
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
@@ -480,6 +501,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
480
501
|
select: {
|
|
481
502
|
id: true,
|
|
482
503
|
databaseId: true,
|
|
504
|
+
entityField: true,
|
|
483
505
|
schemaId: true,
|
|
484
506
|
privateSchemaId: true,
|
|
485
507
|
publicSchemaName: true,
|
|
@@ -9,6 +9,7 @@ import { coerceAnswers, parseFindFirstArgs, parseFindManyArgs, stripUndefined }
|
|
|
9
9
|
const fieldSchema = {
|
|
10
10
|
id: 'uuid',
|
|
11
11
|
databaseId: 'uuid',
|
|
12
|
+
entityField: 'string',
|
|
12
13
|
schemaId: 'uuid',
|
|
13
14
|
privateSchemaId: 'uuid',
|
|
14
15
|
publicSchemaName: 'string',
|
|
@@ -22,7 +23,6 @@ const fieldSchema = {
|
|
|
22
23
|
scope: 'string',
|
|
23
24
|
prefix: 'string',
|
|
24
25
|
entityTableId: 'uuid',
|
|
25
|
-
platformNamespacesTableId: 'uuid',
|
|
26
26
|
policies: 'json',
|
|
27
27
|
provisions: 'json',
|
|
28
28
|
defaultPermissions: 'string',
|
|
@@ -71,6 +71,7 @@ async function handleList(argv, _prompter) {
|
|
|
71
71
|
const defaultSelect = {
|
|
72
72
|
id: true,
|
|
73
73
|
databaseId: true,
|
|
74
|
+
entityField: true,
|
|
74
75
|
schemaId: true,
|
|
75
76
|
privateSchemaId: true,
|
|
76
77
|
publicSchemaName: true,
|
|
@@ -84,7 +85,6 @@ async function handleList(argv, _prompter) {
|
|
|
84
85
|
scope: true,
|
|
85
86
|
prefix: true,
|
|
86
87
|
entityTableId: true,
|
|
87
|
-
platformNamespacesTableId: true,
|
|
88
88
|
policies: true,
|
|
89
89
|
provisions: true,
|
|
90
90
|
defaultPermissions: true,
|
|
@@ -107,6 +107,7 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
107
107
|
const defaultSelect = {
|
|
108
108
|
id: true,
|
|
109
109
|
databaseId: true,
|
|
110
|
+
entityField: true,
|
|
110
111
|
schemaId: true,
|
|
111
112
|
privateSchemaId: true,
|
|
112
113
|
publicSchemaName: true,
|
|
@@ -120,7 +121,6 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
120
121
|
scope: true,
|
|
121
122
|
prefix: true,
|
|
122
123
|
entityTableId: true,
|
|
123
|
-
platformNamespacesTableId: true,
|
|
124
124
|
policies: true,
|
|
125
125
|
provisions: true,
|
|
126
126
|
defaultPermissions: true,
|
|
@@ -155,6 +155,7 @@ async function handleGet(argv, prompter) {
|
|
|
155
155
|
select: {
|
|
156
156
|
id: true,
|
|
157
157
|
databaseId: true,
|
|
158
|
+
entityField: true,
|
|
158
159
|
schemaId: true,
|
|
159
160
|
privateSchemaId: true,
|
|
160
161
|
publicSchemaName: true,
|
|
@@ -168,7 +169,6 @@ async function handleGet(argv, prompter) {
|
|
|
168
169
|
scope: true,
|
|
169
170
|
prefix: true,
|
|
170
171
|
entityTableId: true,
|
|
171
|
-
platformNamespacesTableId: true,
|
|
172
172
|
policies: true,
|
|
173
173
|
provisions: true,
|
|
174
174
|
defaultPermissions: true,
|
|
@@ -194,6 +194,13 @@ async function handleCreate(argv, prompter) {
|
|
|
194
194
|
message: 'databaseId',
|
|
195
195
|
required: true,
|
|
196
196
|
},
|
|
197
|
+
{
|
|
198
|
+
type: 'text',
|
|
199
|
+
name: 'entityField',
|
|
200
|
+
message: 'entityField',
|
|
201
|
+
required: false,
|
|
202
|
+
skipPrompt: true,
|
|
203
|
+
},
|
|
197
204
|
{
|
|
198
205
|
type: 'text',
|
|
199
206
|
name: 'schemaId',
|
|
@@ -285,13 +292,6 @@ async function handleCreate(argv, prompter) {
|
|
|
285
292
|
required: false,
|
|
286
293
|
skipPrompt: true,
|
|
287
294
|
},
|
|
288
|
-
{
|
|
289
|
-
type: 'text',
|
|
290
|
-
name: 'platformNamespacesTableId',
|
|
291
|
-
message: 'platformNamespacesTableId',
|
|
292
|
-
required: false,
|
|
293
|
-
skipPrompt: true,
|
|
294
|
-
},
|
|
295
295
|
{
|
|
296
296
|
type: 'json',
|
|
297
297
|
name: 'policies',
|
|
@@ -321,6 +321,7 @@ async function handleCreate(argv, prompter) {
|
|
|
321
321
|
.create({
|
|
322
322
|
data: {
|
|
323
323
|
databaseId: cleanedData.databaseId,
|
|
324
|
+
entityField: cleanedData.entityField,
|
|
324
325
|
schemaId: cleanedData.schemaId,
|
|
325
326
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
326
327
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
@@ -334,7 +335,6 @@ async function handleCreate(argv, prompter) {
|
|
|
334
335
|
scope: cleanedData.scope,
|
|
335
336
|
prefix: cleanedData.prefix,
|
|
336
337
|
entityTableId: cleanedData.entityTableId,
|
|
337
|
-
platformNamespacesTableId: cleanedData.platformNamespacesTableId,
|
|
338
338
|
policies: cleanedData.policies,
|
|
339
339
|
provisions: cleanedData.provisions,
|
|
340
340
|
defaultPermissions: cleanedData.defaultPermissions,
|
|
@@ -342,6 +342,7 @@ async function handleCreate(argv, prompter) {
|
|
|
342
342
|
select: {
|
|
343
343
|
id: true,
|
|
344
344
|
databaseId: true,
|
|
345
|
+
entityField: true,
|
|
345
346
|
schemaId: true,
|
|
346
347
|
privateSchemaId: true,
|
|
347
348
|
publicSchemaName: true,
|
|
@@ -355,7 +356,6 @@ async function handleCreate(argv, prompter) {
|
|
|
355
356
|
scope: true,
|
|
356
357
|
prefix: true,
|
|
357
358
|
entityTableId: true,
|
|
358
|
-
platformNamespacesTableId: true,
|
|
359
359
|
policies: true,
|
|
360
360
|
provisions: true,
|
|
361
361
|
defaultPermissions: true,
|
|
@@ -387,6 +387,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
387
387
|
message: 'databaseId',
|
|
388
388
|
required: false,
|
|
389
389
|
},
|
|
390
|
+
{
|
|
391
|
+
type: 'text',
|
|
392
|
+
name: 'entityField',
|
|
393
|
+
message: 'entityField',
|
|
394
|
+
required: false,
|
|
395
|
+
skipPrompt: true,
|
|
396
|
+
},
|
|
390
397
|
{
|
|
391
398
|
type: 'text',
|
|
392
399
|
name: 'schemaId',
|
|
@@ -478,13 +485,6 @@ async function handleUpdate(argv, prompter) {
|
|
|
478
485
|
required: false,
|
|
479
486
|
skipPrompt: true,
|
|
480
487
|
},
|
|
481
|
-
{
|
|
482
|
-
type: 'text',
|
|
483
|
-
name: 'platformNamespacesTableId',
|
|
484
|
-
message: 'platformNamespacesTableId',
|
|
485
|
-
required: false,
|
|
486
|
-
skipPrompt: true,
|
|
487
|
-
},
|
|
488
488
|
{
|
|
489
489
|
type: 'json',
|
|
490
490
|
name: 'policies',
|
|
@@ -517,6 +517,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
517
517
|
},
|
|
518
518
|
data: {
|
|
519
519
|
databaseId: cleanedData.databaseId,
|
|
520
|
+
entityField: cleanedData.entityField,
|
|
520
521
|
schemaId: cleanedData.schemaId,
|
|
521
522
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
522
523
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
@@ -530,7 +531,6 @@ async function handleUpdate(argv, prompter) {
|
|
|
530
531
|
scope: cleanedData.scope,
|
|
531
532
|
prefix: cleanedData.prefix,
|
|
532
533
|
entityTableId: cleanedData.entityTableId,
|
|
533
|
-
platformNamespacesTableId: cleanedData.platformNamespacesTableId,
|
|
534
534
|
policies: cleanedData.policies,
|
|
535
535
|
provisions: cleanedData.provisions,
|
|
536
536
|
defaultPermissions: cleanedData.defaultPermissions,
|
|
@@ -538,6 +538,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
538
538
|
select: {
|
|
539
539
|
id: true,
|
|
540
540
|
databaseId: true,
|
|
541
|
+
entityField: true,
|
|
541
542
|
schemaId: true,
|
|
542
543
|
privateSchemaId: true,
|
|
543
544
|
publicSchemaName: true,
|
|
@@ -551,7 +552,6 @@ async function handleUpdate(argv, prompter) {
|
|
|
551
552
|
scope: true,
|
|
552
553
|
prefix: true,
|
|
553
554
|
entityTableId: true,
|
|
554
|
-
platformNamespacesTableId: true,
|
|
555
555
|
policies: true,
|
|
556
556
|
provisions: true,
|
|
557
557
|
defaultPermissions: true,
|
|
@@ -9,6 +9,7 @@ import { coerceAnswers, parseFindFirstArgs, parseFindManyArgs, stripUndefined }
|
|
|
9
9
|
const fieldSchema = {
|
|
10
10
|
id: 'uuid',
|
|
11
11
|
databaseId: 'uuid',
|
|
12
|
+
entityField: 'string',
|
|
12
13
|
schemaId: 'uuid',
|
|
13
14
|
privateSchemaId: 'uuid',
|
|
14
15
|
publicSchemaName: 'string',
|
|
@@ -75,6 +76,7 @@ async function handleList(argv, _prompter) {
|
|
|
75
76
|
const defaultSelect = {
|
|
76
77
|
id: true,
|
|
77
78
|
databaseId: true,
|
|
79
|
+
entityField: true,
|
|
78
80
|
schemaId: true,
|
|
79
81
|
privateSchemaId: true,
|
|
80
82
|
publicSchemaName: true,
|
|
@@ -115,6 +117,7 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
115
117
|
const defaultSelect = {
|
|
116
118
|
id: true,
|
|
117
119
|
databaseId: true,
|
|
120
|
+
entityField: true,
|
|
118
121
|
schemaId: true,
|
|
119
122
|
privateSchemaId: true,
|
|
120
123
|
publicSchemaName: true,
|
|
@@ -167,6 +170,7 @@ async function handleGet(argv, prompter) {
|
|
|
167
170
|
select: {
|
|
168
171
|
id: true,
|
|
169
172
|
databaseId: true,
|
|
173
|
+
entityField: true,
|
|
170
174
|
schemaId: true,
|
|
171
175
|
privateSchemaId: true,
|
|
172
176
|
publicSchemaName: true,
|
|
@@ -210,6 +214,13 @@ async function handleCreate(argv, prompter) {
|
|
|
210
214
|
message: 'databaseId',
|
|
211
215
|
required: true,
|
|
212
216
|
},
|
|
217
|
+
{
|
|
218
|
+
type: 'text',
|
|
219
|
+
name: 'entityField',
|
|
220
|
+
message: 'entityField',
|
|
221
|
+
required: false,
|
|
222
|
+
skipPrompt: true,
|
|
223
|
+
},
|
|
213
224
|
{
|
|
214
225
|
type: 'text',
|
|
215
226
|
name: 'schemaId',
|
|
@@ -365,6 +376,7 @@ async function handleCreate(argv, prompter) {
|
|
|
365
376
|
.create({
|
|
366
377
|
data: {
|
|
367
378
|
databaseId: cleanedData.databaseId,
|
|
379
|
+
entityField: cleanedData.entityField,
|
|
368
380
|
schemaId: cleanedData.schemaId,
|
|
369
381
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
370
382
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
@@ -390,6 +402,7 @@ async function handleCreate(argv, prompter) {
|
|
|
390
402
|
select: {
|
|
391
403
|
id: true,
|
|
392
404
|
databaseId: true,
|
|
405
|
+
entityField: true,
|
|
393
406
|
schemaId: true,
|
|
394
407
|
privateSchemaId: true,
|
|
395
408
|
publicSchemaName: true,
|
|
@@ -439,6 +452,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
439
452
|
message: 'databaseId',
|
|
440
453
|
required: false,
|
|
441
454
|
},
|
|
455
|
+
{
|
|
456
|
+
type: 'text',
|
|
457
|
+
name: 'entityField',
|
|
458
|
+
message: 'entityField',
|
|
459
|
+
required: false,
|
|
460
|
+
skipPrompt: true,
|
|
461
|
+
},
|
|
442
462
|
{
|
|
443
463
|
type: 'text',
|
|
444
464
|
name: 'schemaId',
|
|
@@ -597,6 +617,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
597
617
|
},
|
|
598
618
|
data: {
|
|
599
619
|
databaseId: cleanedData.databaseId,
|
|
620
|
+
entityField: cleanedData.entityField,
|
|
600
621
|
schemaId: cleanedData.schemaId,
|
|
601
622
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
602
623
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
@@ -622,6 +643,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
622
643
|
select: {
|
|
623
644
|
id: true,
|
|
624
645
|
databaseId: true,
|
|
646
|
+
entityField: true,
|
|
625
647
|
schemaId: true,
|
|
626
648
|
privateSchemaId: true,
|
|
627
649
|
publicSchemaName: true,
|
|
@@ -9,6 +9,7 @@ import { coerceAnswers, parseFindFirstArgs, parseFindManyArgs, stripUndefined }
|
|
|
9
9
|
const fieldSchema = {
|
|
10
10
|
id: 'uuid',
|
|
11
11
|
databaseId: 'uuid',
|
|
12
|
+
entityField: 'string',
|
|
12
13
|
schemaId: 'uuid',
|
|
13
14
|
privateSchemaId: 'uuid',
|
|
14
15
|
publicSchemaName: 'string',
|
|
@@ -73,6 +74,7 @@ async function handleList(argv, _prompter) {
|
|
|
73
74
|
const defaultSelect = {
|
|
74
75
|
id: true,
|
|
75
76
|
databaseId: true,
|
|
77
|
+
entityField: true,
|
|
76
78
|
schemaId: true,
|
|
77
79
|
privateSchemaId: true,
|
|
78
80
|
publicSchemaName: true,
|
|
@@ -111,6 +113,7 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
111
113
|
const defaultSelect = {
|
|
112
114
|
id: true,
|
|
113
115
|
databaseId: true,
|
|
116
|
+
entityField: true,
|
|
114
117
|
schemaId: true,
|
|
115
118
|
privateSchemaId: true,
|
|
116
119
|
publicSchemaName: true,
|
|
@@ -161,6 +164,7 @@ async function handleGet(argv, prompter) {
|
|
|
161
164
|
select: {
|
|
162
165
|
id: true,
|
|
163
166
|
databaseId: true,
|
|
167
|
+
entityField: true,
|
|
164
168
|
schemaId: true,
|
|
165
169
|
privateSchemaId: true,
|
|
166
170
|
publicSchemaName: true,
|
|
@@ -202,6 +206,13 @@ async function handleCreate(argv, prompter) {
|
|
|
202
206
|
message: 'databaseId',
|
|
203
207
|
required: true,
|
|
204
208
|
},
|
|
209
|
+
{
|
|
210
|
+
type: 'text',
|
|
211
|
+
name: 'entityField',
|
|
212
|
+
message: 'entityField',
|
|
213
|
+
required: false,
|
|
214
|
+
skipPrompt: true,
|
|
215
|
+
},
|
|
205
216
|
{
|
|
206
217
|
type: 'text',
|
|
207
218
|
name: 'schemaId',
|
|
@@ -343,6 +354,7 @@ async function handleCreate(argv, prompter) {
|
|
|
343
354
|
.create({
|
|
344
355
|
data: {
|
|
345
356
|
databaseId: cleanedData.databaseId,
|
|
357
|
+
entityField: cleanedData.entityField,
|
|
346
358
|
schemaId: cleanedData.schemaId,
|
|
347
359
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
348
360
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
@@ -366,6 +378,7 @@ async function handleCreate(argv, prompter) {
|
|
|
366
378
|
select: {
|
|
367
379
|
id: true,
|
|
368
380
|
databaseId: true,
|
|
381
|
+
entityField: true,
|
|
369
382
|
schemaId: true,
|
|
370
383
|
privateSchemaId: true,
|
|
371
384
|
publicSchemaName: true,
|
|
@@ -413,6 +426,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
413
426
|
message: 'databaseId',
|
|
414
427
|
required: false,
|
|
415
428
|
},
|
|
429
|
+
{
|
|
430
|
+
type: 'text',
|
|
431
|
+
name: 'entityField',
|
|
432
|
+
message: 'entityField',
|
|
433
|
+
required: false,
|
|
434
|
+
skipPrompt: true,
|
|
435
|
+
},
|
|
416
436
|
{
|
|
417
437
|
type: 'text',
|
|
418
438
|
name: 'schemaId',
|
|
@@ -557,6 +577,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
557
577
|
},
|
|
558
578
|
data: {
|
|
559
579
|
databaseId: cleanedData.databaseId,
|
|
580
|
+
entityField: cleanedData.entityField,
|
|
560
581
|
schemaId: cleanedData.schemaId,
|
|
561
582
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
562
583
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
@@ -580,6 +601,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
580
601
|
select: {
|
|
581
602
|
id: true,
|
|
582
603
|
databaseId: true,
|
|
604
|
+
entityField: true,
|
|
583
605
|
schemaId: true,
|
|
584
606
|
privateSchemaId: true,
|
|
585
607
|
publicSchemaName: true,
|