@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',
|
|
@@ -76,6 +77,7 @@ async function handleList(argv, _prompter) {
|
|
|
76
77
|
const defaultSelect = {
|
|
77
78
|
id: true,
|
|
78
79
|
databaseId: true,
|
|
80
|
+
entityField: true,
|
|
79
81
|
schemaId: true,
|
|
80
82
|
privateSchemaId: true,
|
|
81
83
|
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,
|
|
@@ -170,6 +173,7 @@ async function handleGet(argv, prompter) {
|
|
|
170
173
|
select: {
|
|
171
174
|
id: true,
|
|
172
175
|
databaseId: true,
|
|
176
|
+
entityField: true,
|
|
173
177
|
schemaId: true,
|
|
174
178
|
privateSchemaId: true,
|
|
175
179
|
publicSchemaName: true,
|
|
@@ -214,6 +218,13 @@ async function handleCreate(argv, prompter) {
|
|
|
214
218
|
message: 'databaseId',
|
|
215
219
|
required: true,
|
|
216
220
|
},
|
|
221
|
+
{
|
|
222
|
+
type: 'text',
|
|
223
|
+
name: 'entityField',
|
|
224
|
+
message: 'entityField',
|
|
225
|
+
required: false,
|
|
226
|
+
skipPrompt: true,
|
|
227
|
+
},
|
|
217
228
|
{
|
|
218
229
|
type: 'text',
|
|
219
230
|
name: 'schemaId',
|
|
@@ -376,6 +387,7 @@ async function handleCreate(argv, prompter) {
|
|
|
376
387
|
.create({
|
|
377
388
|
data: {
|
|
378
389
|
databaseId: cleanedData.databaseId,
|
|
390
|
+
entityField: cleanedData.entityField,
|
|
379
391
|
schemaId: cleanedData.schemaId,
|
|
380
392
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
381
393
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
@@ -402,6 +414,7 @@ async function handleCreate(argv, prompter) {
|
|
|
402
414
|
select: {
|
|
403
415
|
id: true,
|
|
404
416
|
databaseId: true,
|
|
417
|
+
entityField: true,
|
|
405
418
|
schemaId: true,
|
|
406
419
|
privateSchemaId: true,
|
|
407
420
|
publicSchemaName: true,
|
|
@@ -452,6 +465,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
452
465
|
message: 'databaseId',
|
|
453
466
|
required: false,
|
|
454
467
|
},
|
|
468
|
+
{
|
|
469
|
+
type: 'text',
|
|
470
|
+
name: 'entityField',
|
|
471
|
+
message: 'entityField',
|
|
472
|
+
required: false,
|
|
473
|
+
skipPrompt: true,
|
|
474
|
+
},
|
|
455
475
|
{
|
|
456
476
|
type: 'text',
|
|
457
477
|
name: 'schemaId',
|
|
@@ -617,6 +637,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
617
637
|
},
|
|
618
638
|
data: {
|
|
619
639
|
databaseId: cleanedData.databaseId,
|
|
640
|
+
entityField: cleanedData.entityField,
|
|
620
641
|
schemaId: cleanedData.schemaId,
|
|
621
642
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
622
643
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
@@ -643,6 +664,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
643
664
|
select: {
|
|
644
665
|
id: true,
|
|
645
666
|
databaseId: true,
|
|
667
|
+
entityField: true,
|
|
646
668
|
schemaId: true,
|
|
647
669
|
privateSchemaId: true,
|
|
648
670
|
publicSchemaName: true,
|
|
@@ -9,14 +9,21 @@ 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',
|
|
15
16
|
privateSchemaName: 'string',
|
|
16
17
|
resourcesTableId: 'uuid',
|
|
17
18
|
resourceEventsTableId: 'uuid',
|
|
19
|
+
resourceStatusChecksTableId: 'uuid',
|
|
20
|
+
resourceDefinitionsTableId: 'uuid',
|
|
18
21
|
resourcesTableName: 'string',
|
|
19
22
|
resourceEventsTableName: 'string',
|
|
23
|
+
resourceStatusChecksTableName: 'string',
|
|
24
|
+
resourceDefinitionsTableName: 'string',
|
|
25
|
+
resolvedRequirementsViewName: 'string',
|
|
26
|
+
requirementsStateViewName: 'string',
|
|
20
27
|
apiName: 'string',
|
|
21
28
|
privateApiName: 'string',
|
|
22
29
|
scope: 'string',
|
|
@@ -71,14 +78,21 @@ async function handleList(argv, _prompter) {
|
|
|
71
78
|
const defaultSelect = {
|
|
72
79
|
id: true,
|
|
73
80
|
databaseId: true,
|
|
81
|
+
entityField: true,
|
|
74
82
|
schemaId: true,
|
|
75
83
|
privateSchemaId: true,
|
|
76
84
|
publicSchemaName: true,
|
|
77
85
|
privateSchemaName: true,
|
|
78
86
|
resourcesTableId: true,
|
|
79
87
|
resourceEventsTableId: true,
|
|
88
|
+
resourceStatusChecksTableId: true,
|
|
89
|
+
resourceDefinitionsTableId: true,
|
|
80
90
|
resourcesTableName: true,
|
|
81
91
|
resourceEventsTableName: true,
|
|
92
|
+
resourceStatusChecksTableName: true,
|
|
93
|
+
resourceDefinitionsTableName: true,
|
|
94
|
+
resolvedRequirementsViewName: true,
|
|
95
|
+
requirementsStateViewName: true,
|
|
82
96
|
apiName: true,
|
|
83
97
|
privateApiName: true,
|
|
84
98
|
scope: true,
|
|
@@ -107,14 +121,21 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
107
121
|
const defaultSelect = {
|
|
108
122
|
id: true,
|
|
109
123
|
databaseId: true,
|
|
124
|
+
entityField: true,
|
|
110
125
|
schemaId: true,
|
|
111
126
|
privateSchemaId: true,
|
|
112
127
|
publicSchemaName: true,
|
|
113
128
|
privateSchemaName: true,
|
|
114
129
|
resourcesTableId: true,
|
|
115
130
|
resourceEventsTableId: true,
|
|
131
|
+
resourceStatusChecksTableId: true,
|
|
132
|
+
resourceDefinitionsTableId: true,
|
|
116
133
|
resourcesTableName: true,
|
|
117
134
|
resourceEventsTableName: true,
|
|
135
|
+
resourceStatusChecksTableName: true,
|
|
136
|
+
resourceDefinitionsTableName: true,
|
|
137
|
+
resolvedRequirementsViewName: true,
|
|
138
|
+
requirementsStateViewName: true,
|
|
118
139
|
apiName: true,
|
|
119
140
|
privateApiName: true,
|
|
120
141
|
scope: true,
|
|
@@ -155,14 +176,21 @@ async function handleGet(argv, prompter) {
|
|
|
155
176
|
select: {
|
|
156
177
|
id: true,
|
|
157
178
|
databaseId: true,
|
|
179
|
+
entityField: true,
|
|
158
180
|
schemaId: true,
|
|
159
181
|
privateSchemaId: true,
|
|
160
182
|
publicSchemaName: true,
|
|
161
183
|
privateSchemaName: true,
|
|
162
184
|
resourcesTableId: true,
|
|
163
185
|
resourceEventsTableId: true,
|
|
186
|
+
resourceStatusChecksTableId: true,
|
|
187
|
+
resourceDefinitionsTableId: true,
|
|
164
188
|
resourcesTableName: true,
|
|
165
189
|
resourceEventsTableName: true,
|
|
190
|
+
resourceStatusChecksTableName: true,
|
|
191
|
+
resourceDefinitionsTableName: true,
|
|
192
|
+
resolvedRequirementsViewName: true,
|
|
193
|
+
requirementsStateViewName: true,
|
|
166
194
|
apiName: true,
|
|
167
195
|
privateApiName: true,
|
|
168
196
|
scope: true,
|
|
@@ -194,6 +222,13 @@ async function handleCreate(argv, prompter) {
|
|
|
194
222
|
message: 'databaseId',
|
|
195
223
|
required: true,
|
|
196
224
|
},
|
|
225
|
+
{
|
|
226
|
+
type: 'text',
|
|
227
|
+
name: 'entityField',
|
|
228
|
+
message: 'entityField',
|
|
229
|
+
required: false,
|
|
230
|
+
skipPrompt: true,
|
|
231
|
+
},
|
|
197
232
|
{
|
|
198
233
|
type: 'text',
|
|
199
234
|
name: 'schemaId',
|
|
@@ -236,6 +271,20 @@ async function handleCreate(argv, prompter) {
|
|
|
236
271
|
required: false,
|
|
237
272
|
skipPrompt: true,
|
|
238
273
|
},
|
|
274
|
+
{
|
|
275
|
+
type: 'text',
|
|
276
|
+
name: 'resourceStatusChecksTableId',
|
|
277
|
+
message: 'resourceStatusChecksTableId',
|
|
278
|
+
required: false,
|
|
279
|
+
skipPrompt: true,
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
type: 'text',
|
|
283
|
+
name: 'resourceDefinitionsTableId',
|
|
284
|
+
message: 'resourceDefinitionsTableId',
|
|
285
|
+
required: false,
|
|
286
|
+
skipPrompt: true,
|
|
287
|
+
},
|
|
239
288
|
{
|
|
240
289
|
type: 'text',
|
|
241
290
|
name: 'resourcesTableName',
|
|
@@ -250,6 +299,34 @@ async function handleCreate(argv, prompter) {
|
|
|
250
299
|
required: false,
|
|
251
300
|
skipPrompt: true,
|
|
252
301
|
},
|
|
302
|
+
{
|
|
303
|
+
type: 'text',
|
|
304
|
+
name: 'resourceStatusChecksTableName',
|
|
305
|
+
message: 'resourceStatusChecksTableName',
|
|
306
|
+
required: false,
|
|
307
|
+
skipPrompt: true,
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
type: 'text',
|
|
311
|
+
name: 'resourceDefinitionsTableName',
|
|
312
|
+
message: 'resourceDefinitionsTableName',
|
|
313
|
+
required: false,
|
|
314
|
+
skipPrompt: true,
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
type: 'text',
|
|
318
|
+
name: 'resolvedRequirementsViewName',
|
|
319
|
+
message: 'resolvedRequirementsViewName',
|
|
320
|
+
required: false,
|
|
321
|
+
skipPrompt: true,
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
type: 'text',
|
|
325
|
+
name: 'requirementsStateViewName',
|
|
326
|
+
message: 'requirementsStateViewName',
|
|
327
|
+
required: false,
|
|
328
|
+
skipPrompt: true,
|
|
329
|
+
},
|
|
253
330
|
{
|
|
254
331
|
type: 'text',
|
|
255
332
|
name: 'apiName',
|
|
@@ -321,14 +398,21 @@ async function handleCreate(argv, prompter) {
|
|
|
321
398
|
.create({
|
|
322
399
|
data: {
|
|
323
400
|
databaseId: cleanedData.databaseId,
|
|
401
|
+
entityField: cleanedData.entityField,
|
|
324
402
|
schemaId: cleanedData.schemaId,
|
|
325
403
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
326
404
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
327
405
|
privateSchemaName: cleanedData.privateSchemaName,
|
|
328
406
|
resourcesTableId: cleanedData.resourcesTableId,
|
|
329
407
|
resourceEventsTableId: cleanedData.resourceEventsTableId,
|
|
408
|
+
resourceStatusChecksTableId: cleanedData.resourceStatusChecksTableId,
|
|
409
|
+
resourceDefinitionsTableId: cleanedData.resourceDefinitionsTableId,
|
|
330
410
|
resourcesTableName: cleanedData.resourcesTableName,
|
|
331
411
|
resourceEventsTableName: cleanedData.resourceEventsTableName,
|
|
412
|
+
resourceStatusChecksTableName: cleanedData.resourceStatusChecksTableName,
|
|
413
|
+
resourceDefinitionsTableName: cleanedData.resourceDefinitionsTableName,
|
|
414
|
+
resolvedRequirementsViewName: cleanedData.resolvedRequirementsViewName,
|
|
415
|
+
requirementsStateViewName: cleanedData.requirementsStateViewName,
|
|
332
416
|
apiName: cleanedData.apiName,
|
|
333
417
|
privateApiName: cleanedData.privateApiName,
|
|
334
418
|
scope: cleanedData.scope,
|
|
@@ -342,14 +426,21 @@ async function handleCreate(argv, prompter) {
|
|
|
342
426
|
select: {
|
|
343
427
|
id: true,
|
|
344
428
|
databaseId: true,
|
|
429
|
+
entityField: true,
|
|
345
430
|
schemaId: true,
|
|
346
431
|
privateSchemaId: true,
|
|
347
432
|
publicSchemaName: true,
|
|
348
433
|
privateSchemaName: true,
|
|
349
434
|
resourcesTableId: true,
|
|
350
435
|
resourceEventsTableId: true,
|
|
436
|
+
resourceStatusChecksTableId: true,
|
|
437
|
+
resourceDefinitionsTableId: true,
|
|
351
438
|
resourcesTableName: true,
|
|
352
439
|
resourceEventsTableName: true,
|
|
440
|
+
resourceStatusChecksTableName: true,
|
|
441
|
+
resourceDefinitionsTableName: true,
|
|
442
|
+
resolvedRequirementsViewName: true,
|
|
443
|
+
requirementsStateViewName: true,
|
|
353
444
|
apiName: true,
|
|
354
445
|
privateApiName: true,
|
|
355
446
|
scope: true,
|
|
@@ -387,6 +478,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
387
478
|
message: 'databaseId',
|
|
388
479
|
required: false,
|
|
389
480
|
},
|
|
481
|
+
{
|
|
482
|
+
type: 'text',
|
|
483
|
+
name: 'entityField',
|
|
484
|
+
message: 'entityField',
|
|
485
|
+
required: false,
|
|
486
|
+
skipPrompt: true,
|
|
487
|
+
},
|
|
390
488
|
{
|
|
391
489
|
type: 'text',
|
|
392
490
|
name: 'schemaId',
|
|
@@ -429,6 +527,20 @@ async function handleUpdate(argv, prompter) {
|
|
|
429
527
|
required: false,
|
|
430
528
|
skipPrompt: true,
|
|
431
529
|
},
|
|
530
|
+
{
|
|
531
|
+
type: 'text',
|
|
532
|
+
name: 'resourceStatusChecksTableId',
|
|
533
|
+
message: 'resourceStatusChecksTableId',
|
|
534
|
+
required: false,
|
|
535
|
+
skipPrompt: true,
|
|
536
|
+
},
|
|
537
|
+
{
|
|
538
|
+
type: 'text',
|
|
539
|
+
name: 'resourceDefinitionsTableId',
|
|
540
|
+
message: 'resourceDefinitionsTableId',
|
|
541
|
+
required: false,
|
|
542
|
+
skipPrompt: true,
|
|
543
|
+
},
|
|
432
544
|
{
|
|
433
545
|
type: 'text',
|
|
434
546
|
name: 'resourcesTableName',
|
|
@@ -443,6 +555,34 @@ async function handleUpdate(argv, prompter) {
|
|
|
443
555
|
required: false,
|
|
444
556
|
skipPrompt: true,
|
|
445
557
|
},
|
|
558
|
+
{
|
|
559
|
+
type: 'text',
|
|
560
|
+
name: 'resourceStatusChecksTableName',
|
|
561
|
+
message: 'resourceStatusChecksTableName',
|
|
562
|
+
required: false,
|
|
563
|
+
skipPrompt: true,
|
|
564
|
+
},
|
|
565
|
+
{
|
|
566
|
+
type: 'text',
|
|
567
|
+
name: 'resourceDefinitionsTableName',
|
|
568
|
+
message: 'resourceDefinitionsTableName',
|
|
569
|
+
required: false,
|
|
570
|
+
skipPrompt: true,
|
|
571
|
+
},
|
|
572
|
+
{
|
|
573
|
+
type: 'text',
|
|
574
|
+
name: 'resolvedRequirementsViewName',
|
|
575
|
+
message: 'resolvedRequirementsViewName',
|
|
576
|
+
required: false,
|
|
577
|
+
skipPrompt: true,
|
|
578
|
+
},
|
|
579
|
+
{
|
|
580
|
+
type: 'text',
|
|
581
|
+
name: 'requirementsStateViewName',
|
|
582
|
+
message: 'requirementsStateViewName',
|
|
583
|
+
required: false,
|
|
584
|
+
skipPrompt: true,
|
|
585
|
+
},
|
|
446
586
|
{
|
|
447
587
|
type: 'text',
|
|
448
588
|
name: 'apiName',
|
|
@@ -517,14 +657,21 @@ async function handleUpdate(argv, prompter) {
|
|
|
517
657
|
},
|
|
518
658
|
data: {
|
|
519
659
|
databaseId: cleanedData.databaseId,
|
|
660
|
+
entityField: cleanedData.entityField,
|
|
520
661
|
schemaId: cleanedData.schemaId,
|
|
521
662
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
522
663
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
523
664
|
privateSchemaName: cleanedData.privateSchemaName,
|
|
524
665
|
resourcesTableId: cleanedData.resourcesTableId,
|
|
525
666
|
resourceEventsTableId: cleanedData.resourceEventsTableId,
|
|
667
|
+
resourceStatusChecksTableId: cleanedData.resourceStatusChecksTableId,
|
|
668
|
+
resourceDefinitionsTableId: cleanedData.resourceDefinitionsTableId,
|
|
526
669
|
resourcesTableName: cleanedData.resourcesTableName,
|
|
527
670
|
resourceEventsTableName: cleanedData.resourceEventsTableName,
|
|
671
|
+
resourceStatusChecksTableName: cleanedData.resourceStatusChecksTableName,
|
|
672
|
+
resourceDefinitionsTableName: cleanedData.resourceDefinitionsTableName,
|
|
673
|
+
resolvedRequirementsViewName: cleanedData.resolvedRequirementsViewName,
|
|
674
|
+
requirementsStateViewName: cleanedData.requirementsStateViewName,
|
|
528
675
|
apiName: cleanedData.apiName,
|
|
529
676
|
privateApiName: cleanedData.privateApiName,
|
|
530
677
|
scope: cleanedData.scope,
|
|
@@ -538,14 +685,21 @@ async function handleUpdate(argv, prompter) {
|
|
|
538
685
|
select: {
|
|
539
686
|
id: true,
|
|
540
687
|
databaseId: true,
|
|
688
|
+
entityField: true,
|
|
541
689
|
schemaId: true,
|
|
542
690
|
privateSchemaId: true,
|
|
543
691
|
publicSchemaName: true,
|
|
544
692
|
privateSchemaName: true,
|
|
545
693
|
resourcesTableId: true,
|
|
546
694
|
resourceEventsTableId: true,
|
|
695
|
+
resourceStatusChecksTableId: true,
|
|
696
|
+
resourceDefinitionsTableId: true,
|
|
547
697
|
resourcesTableName: true,
|
|
548
698
|
resourceEventsTableName: true,
|
|
699
|
+
resourceStatusChecksTableName: true,
|
|
700
|
+
resourceDefinitionsTableName: true,
|
|
701
|
+
resolvedRequirementsViewName: true,
|
|
702
|
+
requirementsStateViewName: true,
|
|
549
703
|
apiName: true,
|
|
550
704
|
privateApiName: true,
|
|
551
705
|
scope: 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',
|
|
@@ -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,
|
|
@@ -107,6 +109,7 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
107
109
|
const defaultSelect = {
|
|
108
110
|
id: true,
|
|
109
111
|
databaseId: true,
|
|
112
|
+
entityField: true,
|
|
110
113
|
schemaId: true,
|
|
111
114
|
privateSchemaId: true,
|
|
112
115
|
publicSchemaName: true,
|
|
@@ -155,6 +158,7 @@ async function handleGet(argv, prompter) {
|
|
|
155
158
|
select: {
|
|
156
159
|
id: true,
|
|
157
160
|
databaseId: true,
|
|
161
|
+
entityField: true,
|
|
158
162
|
schemaId: true,
|
|
159
163
|
privateSchemaId: true,
|
|
160
164
|
publicSchemaName: true,
|
|
@@ -194,6 +198,13 @@ async function handleCreate(argv, prompter) {
|
|
|
194
198
|
message: 'databaseId',
|
|
195
199
|
required: true,
|
|
196
200
|
},
|
|
201
|
+
{
|
|
202
|
+
type: 'text',
|
|
203
|
+
name: 'entityField',
|
|
204
|
+
message: 'entityField',
|
|
205
|
+
required: false,
|
|
206
|
+
skipPrompt: true,
|
|
207
|
+
},
|
|
197
208
|
{
|
|
198
209
|
type: 'text',
|
|
199
210
|
name: 'schemaId',
|
|
@@ -321,6 +332,7 @@ async function handleCreate(argv, prompter) {
|
|
|
321
332
|
.create({
|
|
322
333
|
data: {
|
|
323
334
|
databaseId: cleanedData.databaseId,
|
|
335
|
+
entityField: cleanedData.entityField,
|
|
324
336
|
schemaId: cleanedData.schemaId,
|
|
325
337
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
326
338
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
@@ -342,6 +354,7 @@ async function handleCreate(argv, prompter) {
|
|
|
342
354
|
select: {
|
|
343
355
|
id: true,
|
|
344
356
|
databaseId: true,
|
|
357
|
+
entityField: true,
|
|
345
358
|
schemaId: true,
|
|
346
359
|
privateSchemaId: true,
|
|
347
360
|
publicSchemaName: true,
|
|
@@ -387,6 +400,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
387
400
|
message: 'databaseId',
|
|
388
401
|
required: false,
|
|
389
402
|
},
|
|
403
|
+
{
|
|
404
|
+
type: 'text',
|
|
405
|
+
name: 'entityField',
|
|
406
|
+
message: 'entityField',
|
|
407
|
+
required: false,
|
|
408
|
+
skipPrompt: true,
|
|
409
|
+
},
|
|
390
410
|
{
|
|
391
411
|
type: 'text',
|
|
392
412
|
name: 'schemaId',
|
|
@@ -517,6 +537,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
517
537
|
},
|
|
518
538
|
data: {
|
|
519
539
|
databaseId: cleanedData.databaseId,
|
|
540
|
+
entityField: cleanedData.entityField,
|
|
520
541
|
schemaId: cleanedData.schemaId,
|
|
521
542
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
522
543
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
@@ -538,6 +559,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
538
559
|
select: {
|
|
539
560
|
id: true,
|
|
540
561
|
databaseId: true,
|
|
562
|
+
entityField: true,
|
|
541
563
|
schemaId: true,
|
|
542
564
|
privateSchemaId: true,
|
|
543
565
|
publicSchemaName: true,
|
|
@@ -22,6 +22,7 @@ const fieldSchema = {
|
|
|
22
22
|
policies: 'json',
|
|
23
23
|
provisions: 'json',
|
|
24
24
|
entityTableId: 'uuid',
|
|
25
|
+
entityField: 'string',
|
|
25
26
|
endpoint: 'string',
|
|
26
27
|
publicUrlPrefix: 'string',
|
|
27
28
|
provider: 'string',
|
|
@@ -104,6 +105,7 @@ async function handleList(argv, _prompter) {
|
|
|
104
105
|
policies: true,
|
|
105
106
|
provisions: true,
|
|
106
107
|
entityTableId: true,
|
|
108
|
+
entityField: true,
|
|
107
109
|
endpoint: true,
|
|
108
110
|
publicUrlPrefix: true,
|
|
109
111
|
provider: true,
|
|
@@ -160,6 +162,7 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
160
162
|
policies: true,
|
|
161
163
|
provisions: true,
|
|
162
164
|
entityTableId: true,
|
|
165
|
+
entityField: true,
|
|
163
166
|
endpoint: true,
|
|
164
167
|
publicUrlPrefix: true,
|
|
165
168
|
provider: true,
|
|
@@ -228,6 +231,7 @@ async function handleGet(argv, prompter) {
|
|
|
228
231
|
policies: true,
|
|
229
232
|
provisions: true,
|
|
230
233
|
entityTableId: true,
|
|
234
|
+
entityField: true,
|
|
231
235
|
endpoint: true,
|
|
232
236
|
publicUrlPrefix: true,
|
|
233
237
|
provider: true,
|
|
@@ -365,6 +369,13 @@ async function handleCreate(argv, prompter) {
|
|
|
365
369
|
required: false,
|
|
366
370
|
skipPrompt: true,
|
|
367
371
|
},
|
|
372
|
+
{
|
|
373
|
+
type: 'text',
|
|
374
|
+
name: 'entityField',
|
|
375
|
+
message: 'entityField',
|
|
376
|
+
required: false,
|
|
377
|
+
skipPrompt: true,
|
|
378
|
+
},
|
|
368
379
|
{
|
|
369
380
|
type: 'text',
|
|
370
381
|
name: 'endpoint',
|
|
@@ -554,6 +565,7 @@ async function handleCreate(argv, prompter) {
|
|
|
554
565
|
policies: cleanedData.policies,
|
|
555
566
|
provisions: cleanedData.provisions,
|
|
556
567
|
entityTableId: cleanedData.entityTableId,
|
|
568
|
+
entityField: cleanedData.entityField,
|
|
557
569
|
endpoint: cleanedData.endpoint,
|
|
558
570
|
publicUrlPrefix: cleanedData.publicUrlPrefix,
|
|
559
571
|
provider: cleanedData.provider,
|
|
@@ -595,6 +607,7 @@ async function handleCreate(argv, prompter) {
|
|
|
595
607
|
policies: true,
|
|
596
608
|
provisions: true,
|
|
597
609
|
entityTableId: true,
|
|
610
|
+
entityField: true,
|
|
598
611
|
endpoint: true,
|
|
599
612
|
publicUrlPrefix: true,
|
|
600
613
|
provider: true,
|
|
@@ -738,6 +751,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
738
751
|
required: false,
|
|
739
752
|
skipPrompt: true,
|
|
740
753
|
},
|
|
754
|
+
{
|
|
755
|
+
type: 'text',
|
|
756
|
+
name: 'entityField',
|
|
757
|
+
message: 'entityField',
|
|
758
|
+
required: false,
|
|
759
|
+
skipPrompt: true,
|
|
760
|
+
},
|
|
741
761
|
{
|
|
742
762
|
type: 'text',
|
|
743
763
|
name: 'endpoint',
|
|
@@ -930,6 +950,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
930
950
|
policies: cleanedData.policies,
|
|
931
951
|
provisions: cleanedData.provisions,
|
|
932
952
|
entityTableId: cleanedData.entityTableId,
|
|
953
|
+
entityField: cleanedData.entityField,
|
|
933
954
|
endpoint: cleanedData.endpoint,
|
|
934
955
|
publicUrlPrefix: cleanedData.publicUrlPrefix,
|
|
935
956
|
provider: cleanedData.provider,
|
|
@@ -971,6 +992,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
971
992
|
policies: true,
|
|
972
993
|
provisions: true,
|
|
973
994
|
entityTableId: true,
|
|
995
|
+
entityField: true,
|
|
974
996
|
endpoint: true,
|
|
975
997
|
publicUrlPrefix: true,
|
|
976
998
|
provider: 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',
|
|
@@ -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,
|
|
@@ -107,6 +109,7 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
107
109
|
const defaultSelect = {
|
|
108
110
|
id: true,
|
|
109
111
|
databaseId: true,
|
|
112
|
+
entityField: true,
|
|
110
113
|
schemaId: true,
|
|
111
114
|
privateSchemaId: true,
|
|
112
115
|
publicSchemaName: true,
|
|
@@ -155,6 +158,7 @@ async function handleGet(argv, prompter) {
|
|
|
155
158
|
select: {
|
|
156
159
|
id: true,
|
|
157
160
|
databaseId: true,
|
|
161
|
+
entityField: true,
|
|
158
162
|
schemaId: true,
|
|
159
163
|
privateSchemaId: true,
|
|
160
164
|
publicSchemaName: true,
|
|
@@ -194,6 +198,13 @@ async function handleCreate(argv, prompter) {
|
|
|
194
198
|
message: 'databaseId',
|
|
195
199
|
required: true,
|
|
196
200
|
},
|
|
201
|
+
{
|
|
202
|
+
type: 'text',
|
|
203
|
+
name: 'entityField',
|
|
204
|
+
message: 'entityField',
|
|
205
|
+
required: false,
|
|
206
|
+
skipPrompt: true,
|
|
207
|
+
},
|
|
197
208
|
{
|
|
198
209
|
type: 'text',
|
|
199
210
|
name: 'schemaId',
|
|
@@ -321,6 +332,7 @@ async function handleCreate(argv, prompter) {
|
|
|
321
332
|
.create({
|
|
322
333
|
data: {
|
|
323
334
|
databaseId: cleanedData.databaseId,
|
|
335
|
+
entityField: cleanedData.entityField,
|
|
324
336
|
schemaId: cleanedData.schemaId,
|
|
325
337
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
326
338
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
@@ -342,6 +354,7 @@ async function handleCreate(argv, prompter) {
|
|
|
342
354
|
select: {
|
|
343
355
|
id: true,
|
|
344
356
|
databaseId: true,
|
|
357
|
+
entityField: true,
|
|
345
358
|
schemaId: true,
|
|
346
359
|
privateSchemaId: true,
|
|
347
360
|
publicSchemaName: true,
|
|
@@ -387,6 +400,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
387
400
|
message: 'databaseId',
|
|
388
401
|
required: false,
|
|
389
402
|
},
|
|
403
|
+
{
|
|
404
|
+
type: 'text',
|
|
405
|
+
name: 'entityField',
|
|
406
|
+
message: 'entityField',
|
|
407
|
+
required: false,
|
|
408
|
+
skipPrompt: true,
|
|
409
|
+
},
|
|
390
410
|
{
|
|
391
411
|
type: 'text',
|
|
392
412
|
name: 'schemaId',
|
|
@@ -517,6 +537,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
517
537
|
},
|
|
518
538
|
data: {
|
|
519
539
|
databaseId: cleanedData.databaseId,
|
|
540
|
+
entityField: cleanedData.entityField,
|
|
520
541
|
schemaId: cleanedData.schemaId,
|
|
521
542
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
522
543
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
@@ -538,6 +559,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
538
559
|
select: {
|
|
539
560
|
id: true,
|
|
540
561
|
databaseId: true,
|
|
562
|
+
entityField: true,
|
|
541
563
|
schemaId: true,
|
|
542
564
|
privateSchemaId: true,
|
|
543
565
|
publicSchemaName: true,
|