@constructive-sdk/cli 0.30.0 → 0.30.2
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,14 +9,13 @@ 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
|
definitionsTableId: 'uuid',
|
|
17
|
-
secretDefinitionsTableId: 'uuid',
|
|
18
18
|
definitionsTableName: 'string',
|
|
19
|
-
secretDefinitionsTableName: 'string',
|
|
20
19
|
apiName: 'string',
|
|
21
20
|
privateApiName: 'string',
|
|
22
21
|
scope: 'string',
|
|
@@ -70,14 +69,13 @@ async function handleList(argv, _prompter) {
|
|
|
70
69
|
const defaultSelect = {
|
|
71
70
|
id: true,
|
|
72
71
|
databaseId: true,
|
|
72
|
+
entityField: true,
|
|
73
73
|
schemaId: true,
|
|
74
74
|
privateSchemaId: true,
|
|
75
75
|
publicSchemaName: true,
|
|
76
76
|
privateSchemaName: true,
|
|
77
77
|
definitionsTableId: true,
|
|
78
|
-
secretDefinitionsTableId: true,
|
|
79
78
|
definitionsTableName: true,
|
|
80
|
-
secretDefinitionsTableName: true,
|
|
81
79
|
apiName: true,
|
|
82
80
|
privateApiName: true,
|
|
83
81
|
scope: true,
|
|
@@ -105,14 +103,13 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
105
103
|
const defaultSelect = {
|
|
106
104
|
id: true,
|
|
107
105
|
databaseId: true,
|
|
106
|
+
entityField: true,
|
|
108
107
|
schemaId: true,
|
|
109
108
|
privateSchemaId: true,
|
|
110
109
|
publicSchemaName: true,
|
|
111
110
|
privateSchemaName: true,
|
|
112
111
|
definitionsTableId: true,
|
|
113
|
-
secretDefinitionsTableId: true,
|
|
114
112
|
definitionsTableName: true,
|
|
115
|
-
secretDefinitionsTableName: true,
|
|
116
113
|
apiName: true,
|
|
117
114
|
privateApiName: true,
|
|
118
115
|
scope: true,
|
|
@@ -152,14 +149,13 @@ async function handleGet(argv, prompter) {
|
|
|
152
149
|
select: {
|
|
153
150
|
id: true,
|
|
154
151
|
databaseId: true,
|
|
152
|
+
entityField: true,
|
|
155
153
|
schemaId: true,
|
|
156
154
|
privateSchemaId: true,
|
|
157
155
|
publicSchemaName: true,
|
|
158
156
|
privateSchemaName: true,
|
|
159
157
|
definitionsTableId: true,
|
|
160
|
-
secretDefinitionsTableId: true,
|
|
161
158
|
definitionsTableName: true,
|
|
162
|
-
secretDefinitionsTableName: true,
|
|
163
159
|
apiName: true,
|
|
164
160
|
privateApiName: true,
|
|
165
161
|
scope: true,
|
|
@@ -190,6 +186,13 @@ async function handleCreate(argv, prompter) {
|
|
|
190
186
|
message: 'databaseId',
|
|
191
187
|
required: true,
|
|
192
188
|
},
|
|
189
|
+
{
|
|
190
|
+
type: 'text',
|
|
191
|
+
name: 'entityField',
|
|
192
|
+
message: 'entityField',
|
|
193
|
+
required: false,
|
|
194
|
+
skipPrompt: true,
|
|
195
|
+
},
|
|
193
196
|
{
|
|
194
197
|
type: 'text',
|
|
195
198
|
name: 'schemaId',
|
|
@@ -225,13 +228,6 @@ async function handleCreate(argv, prompter) {
|
|
|
225
228
|
required: false,
|
|
226
229
|
skipPrompt: true,
|
|
227
230
|
},
|
|
228
|
-
{
|
|
229
|
-
type: 'text',
|
|
230
|
-
name: 'secretDefinitionsTableId',
|
|
231
|
-
message: 'secretDefinitionsTableId',
|
|
232
|
-
required: false,
|
|
233
|
-
skipPrompt: true,
|
|
234
|
-
},
|
|
235
231
|
{
|
|
236
232
|
type: 'text',
|
|
237
233
|
name: 'definitionsTableName',
|
|
@@ -239,13 +235,6 @@ async function handleCreate(argv, prompter) {
|
|
|
239
235
|
required: false,
|
|
240
236
|
skipPrompt: true,
|
|
241
237
|
},
|
|
242
|
-
{
|
|
243
|
-
type: 'text',
|
|
244
|
-
name: 'secretDefinitionsTableName',
|
|
245
|
-
message: 'secretDefinitionsTableName',
|
|
246
|
-
required: false,
|
|
247
|
-
skipPrompt: true,
|
|
248
|
-
},
|
|
249
238
|
{
|
|
250
239
|
type: 'text',
|
|
251
240
|
name: 'apiName',
|
|
@@ -310,14 +299,13 @@ async function handleCreate(argv, prompter) {
|
|
|
310
299
|
.create({
|
|
311
300
|
data: {
|
|
312
301
|
databaseId: cleanedData.databaseId,
|
|
302
|
+
entityField: cleanedData.entityField,
|
|
313
303
|
schemaId: cleanedData.schemaId,
|
|
314
304
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
315
305
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
316
306
|
privateSchemaName: cleanedData.privateSchemaName,
|
|
317
307
|
definitionsTableId: cleanedData.definitionsTableId,
|
|
318
|
-
secretDefinitionsTableId: cleanedData.secretDefinitionsTableId,
|
|
319
308
|
definitionsTableName: cleanedData.definitionsTableName,
|
|
320
|
-
secretDefinitionsTableName: cleanedData.secretDefinitionsTableName,
|
|
321
309
|
apiName: cleanedData.apiName,
|
|
322
310
|
privateApiName: cleanedData.privateApiName,
|
|
323
311
|
scope: cleanedData.scope,
|
|
@@ -330,14 +318,13 @@ async function handleCreate(argv, prompter) {
|
|
|
330
318
|
select: {
|
|
331
319
|
id: true,
|
|
332
320
|
databaseId: true,
|
|
321
|
+
entityField: true,
|
|
333
322
|
schemaId: true,
|
|
334
323
|
privateSchemaId: true,
|
|
335
324
|
publicSchemaName: true,
|
|
336
325
|
privateSchemaName: true,
|
|
337
326
|
definitionsTableId: true,
|
|
338
|
-
secretDefinitionsTableId: true,
|
|
339
327
|
definitionsTableName: true,
|
|
340
|
-
secretDefinitionsTableName: true,
|
|
341
328
|
apiName: true,
|
|
342
329
|
privateApiName: true,
|
|
343
330
|
scope: true,
|
|
@@ -374,6 +361,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
374
361
|
message: 'databaseId',
|
|
375
362
|
required: false,
|
|
376
363
|
},
|
|
364
|
+
{
|
|
365
|
+
type: 'text',
|
|
366
|
+
name: 'entityField',
|
|
367
|
+
message: 'entityField',
|
|
368
|
+
required: false,
|
|
369
|
+
skipPrompt: true,
|
|
370
|
+
},
|
|
377
371
|
{
|
|
378
372
|
type: 'text',
|
|
379
373
|
name: 'schemaId',
|
|
@@ -409,13 +403,6 @@ async function handleUpdate(argv, prompter) {
|
|
|
409
403
|
required: false,
|
|
410
404
|
skipPrompt: true,
|
|
411
405
|
},
|
|
412
|
-
{
|
|
413
|
-
type: 'text',
|
|
414
|
-
name: 'secretDefinitionsTableId',
|
|
415
|
-
message: 'secretDefinitionsTableId',
|
|
416
|
-
required: false,
|
|
417
|
-
skipPrompt: true,
|
|
418
|
-
},
|
|
419
406
|
{
|
|
420
407
|
type: 'text',
|
|
421
408
|
name: 'definitionsTableName',
|
|
@@ -423,13 +410,6 @@ async function handleUpdate(argv, prompter) {
|
|
|
423
410
|
required: false,
|
|
424
411
|
skipPrompt: true,
|
|
425
412
|
},
|
|
426
|
-
{
|
|
427
|
-
type: 'text',
|
|
428
|
-
name: 'secretDefinitionsTableName',
|
|
429
|
-
message: 'secretDefinitionsTableName',
|
|
430
|
-
required: false,
|
|
431
|
-
skipPrompt: true,
|
|
432
|
-
},
|
|
433
413
|
{
|
|
434
414
|
type: 'text',
|
|
435
415
|
name: 'apiName',
|
|
@@ -497,14 +477,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
497
477
|
},
|
|
498
478
|
data: {
|
|
499
479
|
databaseId: cleanedData.databaseId,
|
|
480
|
+
entityField: cleanedData.entityField,
|
|
500
481
|
schemaId: cleanedData.schemaId,
|
|
501
482
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
502
483
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
503
484
|
privateSchemaName: cleanedData.privateSchemaName,
|
|
504
485
|
definitionsTableId: cleanedData.definitionsTableId,
|
|
505
|
-
secretDefinitionsTableId: cleanedData.secretDefinitionsTableId,
|
|
506
486
|
definitionsTableName: cleanedData.definitionsTableName,
|
|
507
|
-
secretDefinitionsTableName: cleanedData.secretDefinitionsTableName,
|
|
508
487
|
apiName: cleanedData.apiName,
|
|
509
488
|
privateApiName: cleanedData.privateApiName,
|
|
510
489
|
scope: cleanedData.scope,
|
|
@@ -517,14 +496,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
517
496
|
select: {
|
|
518
497
|
id: true,
|
|
519
498
|
databaseId: true,
|
|
499
|
+
entityField: true,
|
|
520
500
|
schemaId: true,
|
|
521
501
|
privateSchemaId: true,
|
|
522
502
|
publicSchemaName: true,
|
|
523
503
|
privateSchemaName: true,
|
|
524
504
|
definitionsTableId: true,
|
|
525
|
-
secretDefinitionsTableId: true,
|
|
526
505
|
definitionsTableName: true,
|
|
527
|
-
secretDefinitionsTableName: true,
|
|
528
506
|
apiName: true,
|
|
529
507
|
privateApiName: true,
|
|
530
508
|
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',
|
|
@@ -74,6 +75,7 @@ async function handleList(argv, _prompter) {
|
|
|
74
75
|
const defaultSelect = {
|
|
75
76
|
id: true,
|
|
76
77
|
databaseId: true,
|
|
78
|
+
entityField: true,
|
|
77
79
|
schemaId: true,
|
|
78
80
|
privateSchemaId: true,
|
|
79
81
|
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,
|
|
@@ -164,6 +167,7 @@ async function handleGet(argv, prompter) {
|
|
|
164
167
|
select: {
|
|
165
168
|
id: true,
|
|
166
169
|
databaseId: true,
|
|
170
|
+
entityField: true,
|
|
167
171
|
schemaId: true,
|
|
168
172
|
privateSchemaId: true,
|
|
169
173
|
publicSchemaName: true,
|
|
@@ -206,6 +210,13 @@ async function handleCreate(argv, prompter) {
|
|
|
206
210
|
message: 'databaseId',
|
|
207
211
|
required: true,
|
|
208
212
|
},
|
|
213
|
+
{
|
|
214
|
+
type: 'text',
|
|
215
|
+
name: 'entityField',
|
|
216
|
+
message: 'entityField',
|
|
217
|
+
required: false,
|
|
218
|
+
skipPrompt: true,
|
|
219
|
+
},
|
|
209
220
|
{
|
|
210
221
|
type: 'text',
|
|
211
222
|
name: 'schemaId',
|
|
@@ -346,6 +357,7 @@ async function handleCreate(argv, prompter) {
|
|
|
346
357
|
.create({
|
|
347
358
|
data: {
|
|
348
359
|
databaseId: cleanedData.databaseId,
|
|
360
|
+
entityField: cleanedData.entityField,
|
|
349
361
|
schemaId: cleanedData.schemaId,
|
|
350
362
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
351
363
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
@@ -369,6 +381,7 @@ async function handleCreate(argv, prompter) {
|
|
|
369
381
|
select: {
|
|
370
382
|
id: true,
|
|
371
383
|
databaseId: true,
|
|
384
|
+
entityField: true,
|
|
372
385
|
schemaId: true,
|
|
373
386
|
privateSchemaId: true,
|
|
374
387
|
publicSchemaName: true,
|
|
@@ -417,6 +430,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
417
430
|
message: 'databaseId',
|
|
418
431
|
required: false,
|
|
419
432
|
},
|
|
433
|
+
{
|
|
434
|
+
type: 'text',
|
|
435
|
+
name: 'entityField',
|
|
436
|
+
message: 'entityField',
|
|
437
|
+
required: false,
|
|
438
|
+
skipPrompt: true,
|
|
439
|
+
},
|
|
420
440
|
{
|
|
421
441
|
type: 'text',
|
|
422
442
|
name: 'schemaId',
|
|
@@ -560,6 +580,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
560
580
|
},
|
|
561
581
|
data: {
|
|
562
582
|
databaseId: cleanedData.databaseId,
|
|
583
|
+
entityField: cleanedData.entityField,
|
|
563
584
|
schemaId: cleanedData.schemaId,
|
|
564
585
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
565
586
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
@@ -583,6 +604,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
583
604
|
select: {
|
|
584
605
|
id: true,
|
|
585
606
|
databaseId: true,
|
|
607
|
+
entityField: true,
|
|
586
608
|
schemaId: true,
|
|
587
609
|
privateSchemaId: true,
|
|
588
610
|
publicSchemaName: true,
|
|
@@ -9,6 +9,7 @@ import { coerceAnswers, parseFindFirstArgs, parseFindManyArgs, stripUndefined }
|
|
|
9
9
|
const fieldSchema = {
|
|
10
10
|
id: 'uuid',
|
|
11
11
|
databaseId: 'uuid',
|
|
12
|
+
entityField: 'string',
|
|
12
13
|
publicSchemaId: 'uuid',
|
|
13
14
|
privateSchemaId: 'uuid',
|
|
14
15
|
publicSchemaName: 'string',
|
|
@@ -69,6 +70,7 @@ async function handleList(argv, _prompter) {
|
|
|
69
70
|
const defaultSelect = {
|
|
70
71
|
id: true,
|
|
71
72
|
databaseId: true,
|
|
73
|
+
entityField: true,
|
|
72
74
|
publicSchemaId: true,
|
|
73
75
|
privateSchemaId: true,
|
|
74
76
|
publicSchemaName: true,
|
|
@@ -103,6 +105,7 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
103
105
|
const defaultSelect = {
|
|
104
106
|
id: true,
|
|
105
107
|
databaseId: true,
|
|
108
|
+
entityField: true,
|
|
106
109
|
publicSchemaId: true,
|
|
107
110
|
privateSchemaId: true,
|
|
108
111
|
publicSchemaName: true,
|
|
@@ -149,6 +152,7 @@ async function handleGet(argv, prompter) {
|
|
|
149
152
|
select: {
|
|
150
153
|
id: true,
|
|
151
154
|
databaseId: true,
|
|
155
|
+
entityField: true,
|
|
152
156
|
publicSchemaId: true,
|
|
153
157
|
privateSchemaId: true,
|
|
154
158
|
publicSchemaName: true,
|
|
@@ -186,6 +190,13 @@ async function handleCreate(argv, prompter) {
|
|
|
186
190
|
message: 'databaseId',
|
|
187
191
|
required: true,
|
|
188
192
|
},
|
|
193
|
+
{
|
|
194
|
+
type: 'text',
|
|
195
|
+
name: 'entityField',
|
|
196
|
+
message: 'entityField',
|
|
197
|
+
required: false,
|
|
198
|
+
skipPrompt: true,
|
|
199
|
+
},
|
|
189
200
|
{
|
|
190
201
|
type: 'text',
|
|
191
202
|
name: 'publicSchemaId',
|
|
@@ -291,6 +302,7 @@ async function handleCreate(argv, prompter) {
|
|
|
291
302
|
.create({
|
|
292
303
|
data: {
|
|
293
304
|
databaseId: cleanedData.databaseId,
|
|
305
|
+
entityField: cleanedData.entityField,
|
|
294
306
|
publicSchemaId: cleanedData.publicSchemaId,
|
|
295
307
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
296
308
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
@@ -309,6 +321,7 @@ async function handleCreate(argv, prompter) {
|
|
|
309
321
|
select: {
|
|
310
322
|
id: true,
|
|
311
323
|
databaseId: true,
|
|
324
|
+
entityField: true,
|
|
312
325
|
publicSchemaId: true,
|
|
313
326
|
privateSchemaId: true,
|
|
314
327
|
publicSchemaName: true,
|
|
@@ -352,6 +365,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
352
365
|
message: 'databaseId',
|
|
353
366
|
required: false,
|
|
354
367
|
},
|
|
368
|
+
{
|
|
369
|
+
type: 'text',
|
|
370
|
+
name: 'entityField',
|
|
371
|
+
message: 'entityField',
|
|
372
|
+
required: false,
|
|
373
|
+
skipPrompt: true,
|
|
374
|
+
},
|
|
355
375
|
{
|
|
356
376
|
type: 'text',
|
|
357
377
|
name: 'publicSchemaId',
|
|
@@ -460,6 +480,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
460
480
|
},
|
|
461
481
|
data: {
|
|
462
482
|
databaseId: cleanedData.databaseId,
|
|
483
|
+
entityField: cleanedData.entityField,
|
|
463
484
|
publicSchemaId: cleanedData.publicSchemaId,
|
|
464
485
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
465
486
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
@@ -478,6 +499,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
478
499
|
select: {
|
|
479
500
|
id: true,
|
|
480
501
|
databaseId: true,
|
|
502
|
+
entityField: true,
|
|
481
503
|
publicSchemaId: true,
|
|
482
504
|
privateSchemaId: true,
|
|
483
505
|
publicSchemaName: true,
|
|
@@ -9,6 +9,7 @@ import { coerceAnswers, parseFindFirstArgs, parseFindManyArgs, stripUndefined }
|
|
|
9
9
|
const fieldSchema = {
|
|
10
10
|
id: 'uuid',
|
|
11
11
|
databaseId: 'uuid',
|
|
12
|
+
entityField: 'string',
|
|
12
13
|
schemaId: 'uuid',
|
|
13
14
|
privateSchemaId: 'uuid',
|
|
14
15
|
chartEdgesTableId: 'uuid',
|
|
@@ -74,6 +75,7 @@ async function handleList(argv, _prompter) {
|
|
|
74
75
|
const defaultSelect = {
|
|
75
76
|
id: true,
|
|
76
77
|
databaseId: true,
|
|
78
|
+
entityField: true,
|
|
77
79
|
schemaId: true,
|
|
78
80
|
privateSchemaId: true,
|
|
79
81
|
chartEdgesTableId: 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
|
chartEdgesTableId: true,
|
|
@@ -164,6 +167,7 @@ async function handleGet(argv, prompter) {
|
|
|
164
167
|
select: {
|
|
165
168
|
id: true,
|
|
166
169
|
databaseId: true,
|
|
170
|
+
entityField: true,
|
|
167
171
|
schemaId: true,
|
|
168
172
|
privateSchemaId: true,
|
|
169
173
|
chartEdgesTableId: true,
|
|
@@ -206,6 +210,13 @@ async function handleCreate(argv, prompter) {
|
|
|
206
210
|
message: 'databaseId',
|
|
207
211
|
required: true,
|
|
208
212
|
},
|
|
213
|
+
{
|
|
214
|
+
type: 'text',
|
|
215
|
+
name: 'entityField',
|
|
216
|
+
message: 'entityField',
|
|
217
|
+
required: false,
|
|
218
|
+
skipPrompt: true,
|
|
219
|
+
},
|
|
209
220
|
{
|
|
210
221
|
type: 'text',
|
|
211
222
|
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
|
chartEdgesTableId: cleanedData.chartEdgesTableId,
|
|
@@ -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
|
chartEdgesTableId: true,
|
|
@@ -416,6 +429,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
416
429
|
message: 'databaseId',
|
|
417
430
|
required: false,
|
|
418
431
|
},
|
|
432
|
+
{
|
|
433
|
+
type: 'text',
|
|
434
|
+
name: 'entityField',
|
|
435
|
+
message: 'entityField',
|
|
436
|
+
required: false,
|
|
437
|
+
skipPrompt: true,
|
|
438
|
+
},
|
|
419
439
|
{
|
|
420
440
|
type: 'text',
|
|
421
441
|
name: 'schemaId',
|
|
@@ -558,6 +578,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
558
578
|
},
|
|
559
579
|
data: {
|
|
560
580
|
databaseId: cleanedData.databaseId,
|
|
581
|
+
entityField: cleanedData.entityField,
|
|
561
582
|
schemaId: cleanedData.schemaId,
|
|
562
583
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
563
584
|
chartEdgesTableId: cleanedData.chartEdgesTableId,
|
|
@@ -581,6 +602,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
581
602
|
select: {
|
|
582
603
|
id: true,
|
|
583
604
|
databaseId: true,
|
|
605
|
+
entityField: true,
|
|
584
606
|
schemaId: true,
|
|
585
607
|
privateSchemaId: true,
|
|
586
608
|
chartEdgesTableId: 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',
|
|
@@ -65,6 +66,7 @@ async function handleList(argv, _prompter) {
|
|
|
65
66
|
const defaultSelect = {
|
|
66
67
|
id: true,
|
|
67
68
|
databaseId: true,
|
|
69
|
+
entityField: true,
|
|
68
70
|
schemaId: true,
|
|
69
71
|
privateSchemaId: true,
|
|
70
72
|
publicSchemaName: true,
|
|
@@ -95,6 +97,7 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
95
97
|
const defaultSelect = {
|
|
96
98
|
id: true,
|
|
97
99
|
databaseId: true,
|
|
100
|
+
entityField: true,
|
|
98
101
|
schemaId: true,
|
|
99
102
|
privateSchemaId: true,
|
|
100
103
|
publicSchemaName: true,
|
|
@@ -137,6 +140,7 @@ async function handleGet(argv, prompter) {
|
|
|
137
140
|
select: {
|
|
138
141
|
id: true,
|
|
139
142
|
databaseId: true,
|
|
143
|
+
entityField: true,
|
|
140
144
|
schemaId: true,
|
|
141
145
|
privateSchemaId: true,
|
|
142
146
|
publicSchemaName: true,
|
|
@@ -170,6 +174,13 @@ async function handleCreate(argv, prompter) {
|
|
|
170
174
|
message: 'databaseId',
|
|
171
175
|
required: true,
|
|
172
176
|
},
|
|
177
|
+
{
|
|
178
|
+
type: 'text',
|
|
179
|
+
name: 'entityField',
|
|
180
|
+
message: 'entityField',
|
|
181
|
+
required: false,
|
|
182
|
+
skipPrompt: true,
|
|
183
|
+
},
|
|
173
184
|
{
|
|
174
185
|
type: 'text',
|
|
175
186
|
name: 'schemaId',
|
|
@@ -255,6 +266,7 @@ async function handleCreate(argv, prompter) {
|
|
|
255
266
|
.create({
|
|
256
267
|
data: {
|
|
257
268
|
databaseId: cleanedData.databaseId,
|
|
269
|
+
entityField: cleanedData.entityField,
|
|
258
270
|
schemaId: cleanedData.schemaId,
|
|
259
271
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
260
272
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
@@ -270,6 +282,7 @@ async function handleCreate(argv, prompter) {
|
|
|
270
282
|
select: {
|
|
271
283
|
id: true,
|
|
272
284
|
databaseId: true,
|
|
285
|
+
entityField: true,
|
|
273
286
|
schemaId: true,
|
|
274
287
|
privateSchemaId: true,
|
|
275
288
|
publicSchemaName: true,
|
|
@@ -309,6 +322,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
309
322
|
message: 'databaseId',
|
|
310
323
|
required: false,
|
|
311
324
|
},
|
|
325
|
+
{
|
|
326
|
+
type: 'text',
|
|
327
|
+
name: 'entityField',
|
|
328
|
+
message: 'entityField',
|
|
329
|
+
required: false,
|
|
330
|
+
skipPrompt: true,
|
|
331
|
+
},
|
|
312
332
|
{
|
|
313
333
|
type: 'text',
|
|
314
334
|
name: 'schemaId',
|
|
@@ -397,6 +417,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
397
417
|
},
|
|
398
418
|
data: {
|
|
399
419
|
databaseId: cleanedData.databaseId,
|
|
420
|
+
entityField: cleanedData.entityField,
|
|
400
421
|
schemaId: cleanedData.schemaId,
|
|
401
422
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
402
423
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
@@ -412,6 +433,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
412
433
|
select: {
|
|
413
434
|
id: true,
|
|
414
435
|
databaseId: true,
|
|
436
|
+
entityField: true,
|
|
415
437
|
schemaId: true,
|
|
416
438
|
privateSchemaId: true,
|
|
417
439
|
publicSchemaName: true,
|
|
@@ -9,6 +9,7 @@ import { coerceAnswers, parseFindFirstArgs, parseFindManyArgs, stripUndefined }
|
|
|
9
9
|
const fieldSchema = {
|
|
10
10
|
id: 'uuid',
|
|
11
11
|
databaseId: 'uuid',
|
|
12
|
+
entityField: 'string',
|
|
12
13
|
schemaId: 'uuid',
|
|
13
14
|
privateSchemaId: 'uuid',
|
|
14
15
|
publicSchemaName: 'string',
|
|
@@ -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,
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CLI commands for InfraConfigModule
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import { CLIOptions, Inquirerer } from 'inquirerer';
|
|
7
|
+
declare const _default: (argv: Partial<Record<string, unknown>>, prompter: Inquirerer, _options: CLIOptions) => Promise<void>;
|
|
8
|
+
export default _default;
|