@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
|
@@ -11,6 +11,7 @@ const utils_1 = require("../utils");
|
|
|
11
11
|
const fieldSchema = {
|
|
12
12
|
id: 'uuid',
|
|
13
13
|
databaseId: 'uuid',
|
|
14
|
+
entityField: 'string',
|
|
14
15
|
schemaId: 'uuid',
|
|
15
16
|
privateSchemaId: 'uuid',
|
|
16
17
|
publicSchemaName: 'string',
|
|
@@ -90,6 +91,7 @@ async function handleList(argv, _prompter) {
|
|
|
90
91
|
const defaultSelect = {
|
|
91
92
|
id: true,
|
|
92
93
|
databaseId: true,
|
|
94
|
+
entityField: true,
|
|
93
95
|
schemaId: true,
|
|
94
96
|
privateSchemaId: true,
|
|
95
97
|
publicSchemaName: true,
|
|
@@ -143,6 +145,7 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
143
145
|
const defaultSelect = {
|
|
144
146
|
id: true,
|
|
145
147
|
databaseId: true,
|
|
148
|
+
entityField: true,
|
|
146
149
|
schemaId: true,
|
|
147
150
|
privateSchemaId: true,
|
|
148
151
|
publicSchemaName: true,
|
|
@@ -208,6 +211,7 @@ async function handleGet(argv, prompter) {
|
|
|
208
211
|
select: {
|
|
209
212
|
id: true,
|
|
210
213
|
databaseId: true,
|
|
214
|
+
entityField: true,
|
|
211
215
|
schemaId: true,
|
|
212
216
|
privateSchemaId: true,
|
|
213
217
|
publicSchemaName: true,
|
|
@@ -264,6 +268,13 @@ async function handleCreate(argv, prompter) {
|
|
|
264
268
|
message: 'databaseId',
|
|
265
269
|
required: true,
|
|
266
270
|
},
|
|
271
|
+
{
|
|
272
|
+
type: 'text',
|
|
273
|
+
name: 'entityField',
|
|
274
|
+
message: 'entityField',
|
|
275
|
+
required: false,
|
|
276
|
+
skipPrompt: true,
|
|
277
|
+
},
|
|
267
278
|
{
|
|
268
279
|
type: 'text',
|
|
269
280
|
name: 'schemaId',
|
|
@@ -510,6 +521,7 @@ async function handleCreate(argv, prompter) {
|
|
|
510
521
|
.create({
|
|
511
522
|
data: {
|
|
512
523
|
databaseId: cleanedData.databaseId,
|
|
524
|
+
entityField: cleanedData.entityField,
|
|
513
525
|
schemaId: cleanedData.schemaId,
|
|
514
526
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
515
527
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
@@ -548,6 +560,7 @@ async function handleCreate(argv, prompter) {
|
|
|
548
560
|
select: {
|
|
549
561
|
id: true,
|
|
550
562
|
databaseId: true,
|
|
563
|
+
entityField: true,
|
|
551
564
|
schemaId: true,
|
|
552
565
|
privateSchemaId: true,
|
|
553
566
|
publicSchemaName: true,
|
|
@@ -610,6 +623,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
610
623
|
message: 'databaseId',
|
|
611
624
|
required: false,
|
|
612
625
|
},
|
|
626
|
+
{
|
|
627
|
+
type: 'text',
|
|
628
|
+
name: 'entityField',
|
|
629
|
+
message: 'entityField',
|
|
630
|
+
required: false,
|
|
631
|
+
skipPrompt: true,
|
|
632
|
+
},
|
|
613
633
|
{
|
|
614
634
|
type: 'text',
|
|
615
635
|
name: 'schemaId',
|
|
@@ -859,6 +879,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
859
879
|
},
|
|
860
880
|
data: {
|
|
861
881
|
databaseId: cleanedData.databaseId,
|
|
882
|
+
entityField: cleanedData.entityField,
|
|
862
883
|
schemaId: cleanedData.schemaId,
|
|
863
884
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
864
885
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
@@ -897,6 +918,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
897
918
|
select: {
|
|
898
919
|
id: true,
|
|
899
920
|
databaseId: true,
|
|
921
|
+
entityField: true,
|
|
900
922
|
schemaId: true,
|
|
901
923
|
privateSchemaId: true,
|
|
902
924
|
publicSchemaName: true,
|
|
@@ -11,6 +11,7 @@ const utils_1 = require("../utils");
|
|
|
11
11
|
const fieldSchema = {
|
|
12
12
|
id: 'uuid',
|
|
13
13
|
databaseId: 'uuid',
|
|
14
|
+
entityField: 'string',
|
|
14
15
|
schemaId: 'uuid',
|
|
15
16
|
privateSchemaId: 'uuid',
|
|
16
17
|
publicSchemaName: 'string',
|
|
@@ -95,6 +96,7 @@ async function handleList(argv, _prompter) {
|
|
|
95
96
|
const defaultSelect = {
|
|
96
97
|
id: true,
|
|
97
98
|
databaseId: true,
|
|
99
|
+
entityField: true,
|
|
98
100
|
schemaId: true,
|
|
99
101
|
privateSchemaId: true,
|
|
100
102
|
publicSchemaName: true,
|
|
@@ -153,6 +155,7 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
153
155
|
const defaultSelect = {
|
|
154
156
|
id: true,
|
|
155
157
|
databaseId: true,
|
|
158
|
+
entityField: true,
|
|
156
159
|
schemaId: true,
|
|
157
160
|
privateSchemaId: true,
|
|
158
161
|
publicSchemaName: true,
|
|
@@ -223,6 +226,7 @@ async function handleGet(argv, prompter) {
|
|
|
223
226
|
select: {
|
|
224
227
|
id: true,
|
|
225
228
|
databaseId: true,
|
|
229
|
+
entityField: true,
|
|
226
230
|
schemaId: true,
|
|
227
231
|
privateSchemaId: true,
|
|
228
232
|
publicSchemaName: true,
|
|
@@ -284,6 +288,13 @@ async function handleCreate(argv, prompter) {
|
|
|
284
288
|
message: 'databaseId',
|
|
285
289
|
required: true,
|
|
286
290
|
},
|
|
291
|
+
{
|
|
292
|
+
type: 'text',
|
|
293
|
+
name: 'entityField',
|
|
294
|
+
message: 'entityField',
|
|
295
|
+
required: false,
|
|
296
|
+
skipPrompt: true,
|
|
297
|
+
},
|
|
287
298
|
{
|
|
288
299
|
type: 'text',
|
|
289
300
|
name: 'schemaId',
|
|
@@ -565,6 +576,7 @@ async function handleCreate(argv, prompter) {
|
|
|
565
576
|
.create({
|
|
566
577
|
data: {
|
|
567
578
|
databaseId: cleanedData.databaseId,
|
|
579
|
+
entityField: cleanedData.entityField,
|
|
568
580
|
schemaId: cleanedData.schemaId,
|
|
569
581
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
570
582
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
@@ -608,6 +620,7 @@ async function handleCreate(argv, prompter) {
|
|
|
608
620
|
select: {
|
|
609
621
|
id: true,
|
|
610
622
|
databaseId: true,
|
|
623
|
+
entityField: true,
|
|
611
624
|
schemaId: true,
|
|
612
625
|
privateSchemaId: true,
|
|
613
626
|
publicSchemaName: true,
|
|
@@ -675,6 +688,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
675
688
|
message: 'databaseId',
|
|
676
689
|
required: false,
|
|
677
690
|
},
|
|
691
|
+
{
|
|
692
|
+
type: 'text',
|
|
693
|
+
name: 'entityField',
|
|
694
|
+
message: 'entityField',
|
|
695
|
+
required: false,
|
|
696
|
+
skipPrompt: true,
|
|
697
|
+
},
|
|
678
698
|
{
|
|
679
699
|
type: 'text',
|
|
680
700
|
name: 'schemaId',
|
|
@@ -959,6 +979,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
959
979
|
},
|
|
960
980
|
data: {
|
|
961
981
|
databaseId: cleanedData.databaseId,
|
|
982
|
+
entityField: cleanedData.entityField,
|
|
962
983
|
schemaId: cleanedData.schemaId,
|
|
963
984
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
964
985
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
@@ -1002,6 +1023,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
1002
1023
|
select: {
|
|
1003
1024
|
id: true,
|
|
1004
1025
|
databaseId: true,
|
|
1026
|
+
entityField: true,
|
|
1005
1027
|
schemaId: true,
|
|
1006
1028
|
privateSchemaId: true,
|
|
1007
1029
|
publicSchemaName: true,
|
|
@@ -11,6 +11,7 @@ const utils_1 = require("../utils");
|
|
|
11
11
|
const fieldSchema = {
|
|
12
12
|
id: 'uuid',
|
|
13
13
|
databaseId: 'uuid',
|
|
14
|
+
entityField: 'string',
|
|
14
15
|
schemaId: 'uuid',
|
|
15
16
|
privateSchemaId: 'uuid',
|
|
16
17
|
publicSchemaName: 'string',
|
|
@@ -71,6 +72,7 @@ async function handleList(argv, _prompter) {
|
|
|
71
72
|
const defaultSelect = {
|
|
72
73
|
id: true,
|
|
73
74
|
databaseId: true,
|
|
75
|
+
entityField: true,
|
|
74
76
|
schemaId: true,
|
|
75
77
|
privateSchemaId: true,
|
|
76
78
|
publicSchemaName: true,
|
|
@@ -105,6 +107,7 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
105
107
|
const defaultSelect = {
|
|
106
108
|
id: true,
|
|
107
109
|
databaseId: true,
|
|
110
|
+
entityField: true,
|
|
108
111
|
schemaId: true,
|
|
109
112
|
privateSchemaId: true,
|
|
110
113
|
publicSchemaName: true,
|
|
@@ -151,6 +154,7 @@ async function handleGet(argv, prompter) {
|
|
|
151
154
|
select: {
|
|
152
155
|
id: true,
|
|
153
156
|
databaseId: true,
|
|
157
|
+
entityField: true,
|
|
154
158
|
schemaId: true,
|
|
155
159
|
privateSchemaId: true,
|
|
156
160
|
publicSchemaName: true,
|
|
@@ -188,6 +192,13 @@ async function handleCreate(argv, prompter) {
|
|
|
188
192
|
message: 'databaseId',
|
|
189
193
|
required: true,
|
|
190
194
|
},
|
|
195
|
+
{
|
|
196
|
+
type: 'text',
|
|
197
|
+
name: 'entityField',
|
|
198
|
+
message: 'entityField',
|
|
199
|
+
required: false,
|
|
200
|
+
skipPrompt: true,
|
|
201
|
+
},
|
|
191
202
|
{
|
|
192
203
|
type: 'text',
|
|
193
204
|
name: 'schemaId',
|
|
@@ -294,6 +305,7 @@ async function handleCreate(argv, prompter) {
|
|
|
294
305
|
.create({
|
|
295
306
|
data: {
|
|
296
307
|
databaseId: cleanedData.databaseId,
|
|
308
|
+
entityField: cleanedData.entityField,
|
|
297
309
|
schemaId: cleanedData.schemaId,
|
|
298
310
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
299
311
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
@@ -312,6 +324,7 @@ async function handleCreate(argv, prompter) {
|
|
|
312
324
|
select: {
|
|
313
325
|
id: true,
|
|
314
326
|
databaseId: true,
|
|
327
|
+
entityField: true,
|
|
315
328
|
schemaId: true,
|
|
316
329
|
privateSchemaId: true,
|
|
317
330
|
publicSchemaName: true,
|
|
@@ -355,6 +368,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
355
368
|
message: 'databaseId',
|
|
356
369
|
required: false,
|
|
357
370
|
},
|
|
371
|
+
{
|
|
372
|
+
type: 'text',
|
|
373
|
+
name: 'entityField',
|
|
374
|
+
message: 'entityField',
|
|
375
|
+
required: false,
|
|
376
|
+
skipPrompt: true,
|
|
377
|
+
},
|
|
358
378
|
{
|
|
359
379
|
type: 'text',
|
|
360
380
|
name: 'schemaId',
|
|
@@ -464,6 +484,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
464
484
|
},
|
|
465
485
|
data: {
|
|
466
486
|
databaseId: cleanedData.databaseId,
|
|
487
|
+
entityField: cleanedData.entityField,
|
|
467
488
|
schemaId: cleanedData.schemaId,
|
|
468
489
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
469
490
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
@@ -482,6 +503,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
482
503
|
select: {
|
|
483
504
|
id: true,
|
|
484
505
|
databaseId: true,
|
|
506
|
+
entityField: true,
|
|
485
507
|
schemaId: true,
|
|
486
508
|
privateSchemaId: true,
|
|
487
509
|
publicSchemaName: true,
|
|
@@ -11,6 +11,7 @@ const utils_1 = require("../utils");
|
|
|
11
11
|
const fieldSchema = {
|
|
12
12
|
id: 'uuid',
|
|
13
13
|
databaseId: 'uuid',
|
|
14
|
+
entityField: 'string',
|
|
14
15
|
schemaId: 'uuid',
|
|
15
16
|
privateSchemaId: 'uuid',
|
|
16
17
|
publicSchemaName: 'string',
|
|
@@ -24,7 +25,6 @@ const fieldSchema = {
|
|
|
24
25
|
scope: 'string',
|
|
25
26
|
prefix: 'string',
|
|
26
27
|
entityTableId: 'uuid',
|
|
27
|
-
platformNamespacesTableId: 'uuid',
|
|
28
28
|
policies: 'json',
|
|
29
29
|
provisions: 'json',
|
|
30
30
|
defaultPermissions: 'string',
|
|
@@ -73,6 +73,7 @@ async function handleList(argv, _prompter) {
|
|
|
73
73
|
const defaultSelect = {
|
|
74
74
|
id: true,
|
|
75
75
|
databaseId: true,
|
|
76
|
+
entityField: true,
|
|
76
77
|
schemaId: true,
|
|
77
78
|
privateSchemaId: true,
|
|
78
79
|
publicSchemaName: true,
|
|
@@ -86,7 +87,6 @@ async function handleList(argv, _prompter) {
|
|
|
86
87
|
scope: true,
|
|
87
88
|
prefix: true,
|
|
88
89
|
entityTableId: true,
|
|
89
|
-
platformNamespacesTableId: true,
|
|
90
90
|
policies: true,
|
|
91
91
|
provisions: true,
|
|
92
92
|
defaultPermissions: true,
|
|
@@ -109,6 +109,7 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
109
109
|
const defaultSelect = {
|
|
110
110
|
id: true,
|
|
111
111
|
databaseId: true,
|
|
112
|
+
entityField: true,
|
|
112
113
|
schemaId: true,
|
|
113
114
|
privateSchemaId: true,
|
|
114
115
|
publicSchemaName: true,
|
|
@@ -122,7 +123,6 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
122
123
|
scope: true,
|
|
123
124
|
prefix: true,
|
|
124
125
|
entityTableId: true,
|
|
125
|
-
platformNamespacesTableId: true,
|
|
126
126
|
policies: true,
|
|
127
127
|
provisions: true,
|
|
128
128
|
defaultPermissions: true,
|
|
@@ -157,6 +157,7 @@ async function handleGet(argv, prompter) {
|
|
|
157
157
|
select: {
|
|
158
158
|
id: true,
|
|
159
159
|
databaseId: true,
|
|
160
|
+
entityField: true,
|
|
160
161
|
schemaId: true,
|
|
161
162
|
privateSchemaId: true,
|
|
162
163
|
publicSchemaName: true,
|
|
@@ -170,7 +171,6 @@ async function handleGet(argv, prompter) {
|
|
|
170
171
|
scope: true,
|
|
171
172
|
prefix: true,
|
|
172
173
|
entityTableId: true,
|
|
173
|
-
platformNamespacesTableId: true,
|
|
174
174
|
policies: true,
|
|
175
175
|
provisions: true,
|
|
176
176
|
defaultPermissions: true,
|
|
@@ -196,6 +196,13 @@ async function handleCreate(argv, prompter) {
|
|
|
196
196
|
message: 'databaseId',
|
|
197
197
|
required: true,
|
|
198
198
|
},
|
|
199
|
+
{
|
|
200
|
+
type: 'text',
|
|
201
|
+
name: 'entityField',
|
|
202
|
+
message: 'entityField',
|
|
203
|
+
required: false,
|
|
204
|
+
skipPrompt: true,
|
|
205
|
+
},
|
|
199
206
|
{
|
|
200
207
|
type: 'text',
|
|
201
208
|
name: 'schemaId',
|
|
@@ -287,13 +294,6 @@ async function handleCreate(argv, prompter) {
|
|
|
287
294
|
required: false,
|
|
288
295
|
skipPrompt: true,
|
|
289
296
|
},
|
|
290
|
-
{
|
|
291
|
-
type: 'text',
|
|
292
|
-
name: 'platformNamespacesTableId',
|
|
293
|
-
message: 'platformNamespacesTableId',
|
|
294
|
-
required: false,
|
|
295
|
-
skipPrompt: true,
|
|
296
|
-
},
|
|
297
297
|
{
|
|
298
298
|
type: 'json',
|
|
299
299
|
name: 'policies',
|
|
@@ -323,6 +323,7 @@ async function handleCreate(argv, prompter) {
|
|
|
323
323
|
.create({
|
|
324
324
|
data: {
|
|
325
325
|
databaseId: cleanedData.databaseId,
|
|
326
|
+
entityField: cleanedData.entityField,
|
|
326
327
|
schemaId: cleanedData.schemaId,
|
|
327
328
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
328
329
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
@@ -336,7 +337,6 @@ async function handleCreate(argv, prompter) {
|
|
|
336
337
|
scope: cleanedData.scope,
|
|
337
338
|
prefix: cleanedData.prefix,
|
|
338
339
|
entityTableId: cleanedData.entityTableId,
|
|
339
|
-
platformNamespacesTableId: cleanedData.platformNamespacesTableId,
|
|
340
340
|
policies: cleanedData.policies,
|
|
341
341
|
provisions: cleanedData.provisions,
|
|
342
342
|
defaultPermissions: cleanedData.defaultPermissions,
|
|
@@ -344,6 +344,7 @@ async function handleCreate(argv, prompter) {
|
|
|
344
344
|
select: {
|
|
345
345
|
id: true,
|
|
346
346
|
databaseId: true,
|
|
347
|
+
entityField: true,
|
|
347
348
|
schemaId: true,
|
|
348
349
|
privateSchemaId: true,
|
|
349
350
|
publicSchemaName: true,
|
|
@@ -357,7 +358,6 @@ async function handleCreate(argv, prompter) {
|
|
|
357
358
|
scope: true,
|
|
358
359
|
prefix: true,
|
|
359
360
|
entityTableId: true,
|
|
360
|
-
platformNamespacesTableId: true,
|
|
361
361
|
policies: true,
|
|
362
362
|
provisions: true,
|
|
363
363
|
defaultPermissions: true,
|
|
@@ -389,6 +389,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
389
389
|
message: 'databaseId',
|
|
390
390
|
required: false,
|
|
391
391
|
},
|
|
392
|
+
{
|
|
393
|
+
type: 'text',
|
|
394
|
+
name: 'entityField',
|
|
395
|
+
message: 'entityField',
|
|
396
|
+
required: false,
|
|
397
|
+
skipPrompt: true,
|
|
398
|
+
},
|
|
392
399
|
{
|
|
393
400
|
type: 'text',
|
|
394
401
|
name: 'schemaId',
|
|
@@ -480,13 +487,6 @@ async function handleUpdate(argv, prompter) {
|
|
|
480
487
|
required: false,
|
|
481
488
|
skipPrompt: true,
|
|
482
489
|
},
|
|
483
|
-
{
|
|
484
|
-
type: 'text',
|
|
485
|
-
name: 'platformNamespacesTableId',
|
|
486
|
-
message: 'platformNamespacesTableId',
|
|
487
|
-
required: false,
|
|
488
|
-
skipPrompt: true,
|
|
489
|
-
},
|
|
490
490
|
{
|
|
491
491
|
type: 'json',
|
|
492
492
|
name: 'policies',
|
|
@@ -519,6 +519,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
519
519
|
},
|
|
520
520
|
data: {
|
|
521
521
|
databaseId: cleanedData.databaseId,
|
|
522
|
+
entityField: cleanedData.entityField,
|
|
522
523
|
schemaId: cleanedData.schemaId,
|
|
523
524
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
524
525
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
@@ -532,7 +533,6 @@ async function handleUpdate(argv, prompter) {
|
|
|
532
533
|
scope: cleanedData.scope,
|
|
533
534
|
prefix: cleanedData.prefix,
|
|
534
535
|
entityTableId: cleanedData.entityTableId,
|
|
535
|
-
platformNamespacesTableId: cleanedData.platformNamespacesTableId,
|
|
536
536
|
policies: cleanedData.policies,
|
|
537
537
|
provisions: cleanedData.provisions,
|
|
538
538
|
defaultPermissions: cleanedData.defaultPermissions,
|
|
@@ -540,6 +540,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
540
540
|
select: {
|
|
541
541
|
id: true,
|
|
542
542
|
databaseId: true,
|
|
543
|
+
entityField: true,
|
|
543
544
|
schemaId: true,
|
|
544
545
|
privateSchemaId: true,
|
|
545
546
|
publicSchemaName: true,
|
|
@@ -553,7 +554,6 @@ async function handleUpdate(argv, prompter) {
|
|
|
553
554
|
scope: true,
|
|
554
555
|
prefix: true,
|
|
555
556
|
entityTableId: true,
|
|
556
|
-
platformNamespacesTableId: true,
|
|
557
557
|
policies: true,
|
|
558
558
|
provisions: true,
|
|
559
559
|
defaultPermissions: true,
|
|
@@ -11,6 +11,7 @@ const utils_1 = require("../utils");
|
|
|
11
11
|
const fieldSchema = {
|
|
12
12
|
id: 'uuid',
|
|
13
13
|
databaseId: 'uuid',
|
|
14
|
+
entityField: 'string',
|
|
14
15
|
schemaId: 'uuid',
|
|
15
16
|
privateSchemaId: 'uuid',
|
|
16
17
|
publicSchemaName: 'string',
|
|
@@ -77,6 +78,7 @@ async function handleList(argv, _prompter) {
|
|
|
77
78
|
const defaultSelect = {
|
|
78
79
|
id: true,
|
|
79
80
|
databaseId: true,
|
|
81
|
+
entityField: true,
|
|
80
82
|
schemaId: true,
|
|
81
83
|
privateSchemaId: true,
|
|
82
84
|
publicSchemaName: true,
|
|
@@ -117,6 +119,7 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
117
119
|
const defaultSelect = {
|
|
118
120
|
id: true,
|
|
119
121
|
databaseId: true,
|
|
122
|
+
entityField: true,
|
|
120
123
|
schemaId: true,
|
|
121
124
|
privateSchemaId: true,
|
|
122
125
|
publicSchemaName: true,
|
|
@@ -169,6 +172,7 @@ async function handleGet(argv, prompter) {
|
|
|
169
172
|
select: {
|
|
170
173
|
id: true,
|
|
171
174
|
databaseId: true,
|
|
175
|
+
entityField: true,
|
|
172
176
|
schemaId: true,
|
|
173
177
|
privateSchemaId: true,
|
|
174
178
|
publicSchemaName: true,
|
|
@@ -212,6 +216,13 @@ async function handleCreate(argv, prompter) {
|
|
|
212
216
|
message: 'databaseId',
|
|
213
217
|
required: true,
|
|
214
218
|
},
|
|
219
|
+
{
|
|
220
|
+
type: 'text',
|
|
221
|
+
name: 'entityField',
|
|
222
|
+
message: 'entityField',
|
|
223
|
+
required: false,
|
|
224
|
+
skipPrompt: true,
|
|
225
|
+
},
|
|
215
226
|
{
|
|
216
227
|
type: 'text',
|
|
217
228
|
name: 'schemaId',
|
|
@@ -367,6 +378,7 @@ async function handleCreate(argv, prompter) {
|
|
|
367
378
|
.create({
|
|
368
379
|
data: {
|
|
369
380
|
databaseId: cleanedData.databaseId,
|
|
381
|
+
entityField: cleanedData.entityField,
|
|
370
382
|
schemaId: cleanedData.schemaId,
|
|
371
383
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
372
384
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
@@ -392,6 +404,7 @@ async function handleCreate(argv, prompter) {
|
|
|
392
404
|
select: {
|
|
393
405
|
id: true,
|
|
394
406
|
databaseId: true,
|
|
407
|
+
entityField: true,
|
|
395
408
|
schemaId: true,
|
|
396
409
|
privateSchemaId: true,
|
|
397
410
|
publicSchemaName: true,
|
|
@@ -441,6 +454,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
441
454
|
message: 'databaseId',
|
|
442
455
|
required: false,
|
|
443
456
|
},
|
|
457
|
+
{
|
|
458
|
+
type: 'text',
|
|
459
|
+
name: 'entityField',
|
|
460
|
+
message: 'entityField',
|
|
461
|
+
required: false,
|
|
462
|
+
skipPrompt: true,
|
|
463
|
+
},
|
|
444
464
|
{
|
|
445
465
|
type: 'text',
|
|
446
466
|
name: 'schemaId',
|
|
@@ -599,6 +619,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
599
619
|
},
|
|
600
620
|
data: {
|
|
601
621
|
databaseId: cleanedData.databaseId,
|
|
622
|
+
entityField: cleanedData.entityField,
|
|
602
623
|
schemaId: cleanedData.schemaId,
|
|
603
624
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
604
625
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
@@ -624,6 +645,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
624
645
|
select: {
|
|
625
646
|
id: true,
|
|
626
647
|
databaseId: true,
|
|
648
|
+
entityField: true,
|
|
627
649
|
schemaId: true,
|
|
628
650
|
privateSchemaId: true,
|
|
629
651
|
publicSchemaName: true,
|
|
@@ -11,6 +11,7 @@ const utils_1 = require("../utils");
|
|
|
11
11
|
const fieldSchema = {
|
|
12
12
|
id: 'uuid',
|
|
13
13
|
databaseId: 'uuid',
|
|
14
|
+
entityField: 'string',
|
|
14
15
|
schemaId: 'uuid',
|
|
15
16
|
privateSchemaId: 'uuid',
|
|
16
17
|
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,
|
|
@@ -113,6 +115,7 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
113
115
|
const defaultSelect = {
|
|
114
116
|
id: true,
|
|
115
117
|
databaseId: true,
|
|
118
|
+
entityField: true,
|
|
116
119
|
schemaId: true,
|
|
117
120
|
privateSchemaId: true,
|
|
118
121
|
publicSchemaName: true,
|
|
@@ -163,6 +166,7 @@ async function handleGet(argv, prompter) {
|
|
|
163
166
|
select: {
|
|
164
167
|
id: true,
|
|
165
168
|
databaseId: true,
|
|
169
|
+
entityField: true,
|
|
166
170
|
schemaId: true,
|
|
167
171
|
privateSchemaId: true,
|
|
168
172
|
publicSchemaName: true,
|
|
@@ -204,6 +208,13 @@ async function handleCreate(argv, prompter) {
|
|
|
204
208
|
message: 'databaseId',
|
|
205
209
|
required: true,
|
|
206
210
|
},
|
|
211
|
+
{
|
|
212
|
+
type: 'text',
|
|
213
|
+
name: 'entityField',
|
|
214
|
+
message: 'entityField',
|
|
215
|
+
required: false,
|
|
216
|
+
skipPrompt: true,
|
|
217
|
+
},
|
|
207
218
|
{
|
|
208
219
|
type: 'text',
|
|
209
220
|
name: 'schemaId',
|
|
@@ -345,6 +356,7 @@ async function handleCreate(argv, prompter) {
|
|
|
345
356
|
.create({
|
|
346
357
|
data: {
|
|
347
358
|
databaseId: cleanedData.databaseId,
|
|
359
|
+
entityField: cleanedData.entityField,
|
|
348
360
|
schemaId: cleanedData.schemaId,
|
|
349
361
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
350
362
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
@@ -368,6 +380,7 @@ async function handleCreate(argv, prompter) {
|
|
|
368
380
|
select: {
|
|
369
381
|
id: true,
|
|
370
382
|
databaseId: true,
|
|
383
|
+
entityField: true,
|
|
371
384
|
schemaId: true,
|
|
372
385
|
privateSchemaId: true,
|
|
373
386
|
publicSchemaName: true,
|
|
@@ -415,6 +428,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
415
428
|
message: 'databaseId',
|
|
416
429
|
required: false,
|
|
417
430
|
},
|
|
431
|
+
{
|
|
432
|
+
type: 'text',
|
|
433
|
+
name: 'entityField',
|
|
434
|
+
message: 'entityField',
|
|
435
|
+
required: false,
|
|
436
|
+
skipPrompt: true,
|
|
437
|
+
},
|
|
418
438
|
{
|
|
419
439
|
type: 'text',
|
|
420
440
|
name: 'schemaId',
|
|
@@ -559,6 +579,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
559
579
|
},
|
|
560
580
|
data: {
|
|
561
581
|
databaseId: cleanedData.databaseId,
|
|
582
|
+
entityField: cleanedData.entityField,
|
|
562
583
|
schemaId: cleanedData.schemaId,
|
|
563
584
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
564
585
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
@@ -582,6 +603,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
582
603
|
select: {
|
|
583
604
|
id: true,
|
|
584
605
|
databaseId: true,
|
|
606
|
+
entityField: true,
|
|
585
607
|
schemaId: true,
|
|
586
608
|
privateSchemaId: true,
|
|
587
609
|
publicSchemaName: true,
|