@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
|
@@ -11,14 +11,13 @@ const utils_1 = require("../utils");
|
|
|
11
11
|
const fieldSchema = {
|
|
12
12
|
id: 'uuid',
|
|
13
13
|
databaseId: 'uuid',
|
|
14
|
+
entityField: 'string',
|
|
14
15
|
schemaId: 'uuid',
|
|
15
16
|
privateSchemaId: 'uuid',
|
|
16
17
|
publicSchemaName: 'string',
|
|
17
18
|
privateSchemaName: 'string',
|
|
18
19
|
definitionsTableId: 'uuid',
|
|
19
|
-
secretDefinitionsTableId: 'uuid',
|
|
20
20
|
definitionsTableName: 'string',
|
|
21
|
-
secretDefinitionsTableName: 'string',
|
|
22
21
|
apiName: 'string',
|
|
23
22
|
privateApiName: 'string',
|
|
24
23
|
scope: 'string',
|
|
@@ -72,14 +71,13 @@ async function handleList(argv, _prompter) {
|
|
|
72
71
|
const defaultSelect = {
|
|
73
72
|
id: true,
|
|
74
73
|
databaseId: true,
|
|
74
|
+
entityField: true,
|
|
75
75
|
schemaId: true,
|
|
76
76
|
privateSchemaId: true,
|
|
77
77
|
publicSchemaName: true,
|
|
78
78
|
privateSchemaName: true,
|
|
79
79
|
definitionsTableId: true,
|
|
80
|
-
secretDefinitionsTableId: true,
|
|
81
80
|
definitionsTableName: true,
|
|
82
|
-
secretDefinitionsTableName: true,
|
|
83
81
|
apiName: true,
|
|
84
82
|
privateApiName: true,
|
|
85
83
|
scope: true,
|
|
@@ -107,14 +105,13 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
107
105
|
const defaultSelect = {
|
|
108
106
|
id: true,
|
|
109
107
|
databaseId: true,
|
|
108
|
+
entityField: true,
|
|
110
109
|
schemaId: true,
|
|
111
110
|
privateSchemaId: true,
|
|
112
111
|
publicSchemaName: true,
|
|
113
112
|
privateSchemaName: true,
|
|
114
113
|
definitionsTableId: true,
|
|
115
|
-
secretDefinitionsTableId: true,
|
|
116
114
|
definitionsTableName: true,
|
|
117
|
-
secretDefinitionsTableName: true,
|
|
118
115
|
apiName: true,
|
|
119
116
|
privateApiName: true,
|
|
120
117
|
scope: true,
|
|
@@ -154,14 +151,13 @@ async function handleGet(argv, prompter) {
|
|
|
154
151
|
select: {
|
|
155
152
|
id: true,
|
|
156
153
|
databaseId: true,
|
|
154
|
+
entityField: true,
|
|
157
155
|
schemaId: true,
|
|
158
156
|
privateSchemaId: true,
|
|
159
157
|
publicSchemaName: true,
|
|
160
158
|
privateSchemaName: true,
|
|
161
159
|
definitionsTableId: true,
|
|
162
|
-
secretDefinitionsTableId: true,
|
|
163
160
|
definitionsTableName: true,
|
|
164
|
-
secretDefinitionsTableName: true,
|
|
165
161
|
apiName: true,
|
|
166
162
|
privateApiName: true,
|
|
167
163
|
scope: true,
|
|
@@ -192,6 +188,13 @@ async function handleCreate(argv, prompter) {
|
|
|
192
188
|
message: 'databaseId',
|
|
193
189
|
required: true,
|
|
194
190
|
},
|
|
191
|
+
{
|
|
192
|
+
type: 'text',
|
|
193
|
+
name: 'entityField',
|
|
194
|
+
message: 'entityField',
|
|
195
|
+
required: false,
|
|
196
|
+
skipPrompt: true,
|
|
197
|
+
},
|
|
195
198
|
{
|
|
196
199
|
type: 'text',
|
|
197
200
|
name: 'schemaId',
|
|
@@ -227,13 +230,6 @@ async function handleCreate(argv, prompter) {
|
|
|
227
230
|
required: false,
|
|
228
231
|
skipPrompt: true,
|
|
229
232
|
},
|
|
230
|
-
{
|
|
231
|
-
type: 'text',
|
|
232
|
-
name: 'secretDefinitionsTableId',
|
|
233
|
-
message: 'secretDefinitionsTableId',
|
|
234
|
-
required: false,
|
|
235
|
-
skipPrompt: true,
|
|
236
|
-
},
|
|
237
233
|
{
|
|
238
234
|
type: 'text',
|
|
239
235
|
name: 'definitionsTableName',
|
|
@@ -241,13 +237,6 @@ async function handleCreate(argv, prompter) {
|
|
|
241
237
|
required: false,
|
|
242
238
|
skipPrompt: true,
|
|
243
239
|
},
|
|
244
|
-
{
|
|
245
|
-
type: 'text',
|
|
246
|
-
name: 'secretDefinitionsTableName',
|
|
247
|
-
message: 'secretDefinitionsTableName',
|
|
248
|
-
required: false,
|
|
249
|
-
skipPrompt: true,
|
|
250
|
-
},
|
|
251
240
|
{
|
|
252
241
|
type: 'text',
|
|
253
242
|
name: 'apiName',
|
|
@@ -312,14 +301,13 @@ async function handleCreate(argv, prompter) {
|
|
|
312
301
|
.create({
|
|
313
302
|
data: {
|
|
314
303
|
databaseId: cleanedData.databaseId,
|
|
304
|
+
entityField: cleanedData.entityField,
|
|
315
305
|
schemaId: cleanedData.schemaId,
|
|
316
306
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
317
307
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
318
308
|
privateSchemaName: cleanedData.privateSchemaName,
|
|
319
309
|
definitionsTableId: cleanedData.definitionsTableId,
|
|
320
|
-
secretDefinitionsTableId: cleanedData.secretDefinitionsTableId,
|
|
321
310
|
definitionsTableName: cleanedData.definitionsTableName,
|
|
322
|
-
secretDefinitionsTableName: cleanedData.secretDefinitionsTableName,
|
|
323
311
|
apiName: cleanedData.apiName,
|
|
324
312
|
privateApiName: cleanedData.privateApiName,
|
|
325
313
|
scope: cleanedData.scope,
|
|
@@ -332,14 +320,13 @@ async function handleCreate(argv, prompter) {
|
|
|
332
320
|
select: {
|
|
333
321
|
id: true,
|
|
334
322
|
databaseId: true,
|
|
323
|
+
entityField: true,
|
|
335
324
|
schemaId: true,
|
|
336
325
|
privateSchemaId: true,
|
|
337
326
|
publicSchemaName: true,
|
|
338
327
|
privateSchemaName: true,
|
|
339
328
|
definitionsTableId: true,
|
|
340
|
-
secretDefinitionsTableId: true,
|
|
341
329
|
definitionsTableName: true,
|
|
342
|
-
secretDefinitionsTableName: true,
|
|
343
330
|
apiName: true,
|
|
344
331
|
privateApiName: true,
|
|
345
332
|
scope: true,
|
|
@@ -376,6 +363,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
376
363
|
message: 'databaseId',
|
|
377
364
|
required: false,
|
|
378
365
|
},
|
|
366
|
+
{
|
|
367
|
+
type: 'text',
|
|
368
|
+
name: 'entityField',
|
|
369
|
+
message: 'entityField',
|
|
370
|
+
required: false,
|
|
371
|
+
skipPrompt: true,
|
|
372
|
+
},
|
|
379
373
|
{
|
|
380
374
|
type: 'text',
|
|
381
375
|
name: 'schemaId',
|
|
@@ -411,13 +405,6 @@ async function handleUpdate(argv, prompter) {
|
|
|
411
405
|
required: false,
|
|
412
406
|
skipPrompt: true,
|
|
413
407
|
},
|
|
414
|
-
{
|
|
415
|
-
type: 'text',
|
|
416
|
-
name: 'secretDefinitionsTableId',
|
|
417
|
-
message: 'secretDefinitionsTableId',
|
|
418
|
-
required: false,
|
|
419
|
-
skipPrompt: true,
|
|
420
|
-
},
|
|
421
408
|
{
|
|
422
409
|
type: 'text',
|
|
423
410
|
name: 'definitionsTableName',
|
|
@@ -425,13 +412,6 @@ async function handleUpdate(argv, prompter) {
|
|
|
425
412
|
required: false,
|
|
426
413
|
skipPrompt: true,
|
|
427
414
|
},
|
|
428
|
-
{
|
|
429
|
-
type: 'text',
|
|
430
|
-
name: 'secretDefinitionsTableName',
|
|
431
|
-
message: 'secretDefinitionsTableName',
|
|
432
|
-
required: false,
|
|
433
|
-
skipPrompt: true,
|
|
434
|
-
},
|
|
435
415
|
{
|
|
436
416
|
type: 'text',
|
|
437
417
|
name: 'apiName',
|
|
@@ -499,14 +479,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
499
479
|
},
|
|
500
480
|
data: {
|
|
501
481
|
databaseId: cleanedData.databaseId,
|
|
482
|
+
entityField: cleanedData.entityField,
|
|
502
483
|
schemaId: cleanedData.schemaId,
|
|
503
484
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
504
485
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
505
486
|
privateSchemaName: cleanedData.privateSchemaName,
|
|
506
487
|
definitionsTableId: cleanedData.definitionsTableId,
|
|
507
|
-
secretDefinitionsTableId: cleanedData.secretDefinitionsTableId,
|
|
508
488
|
definitionsTableName: cleanedData.definitionsTableName,
|
|
509
|
-
secretDefinitionsTableName: cleanedData.secretDefinitionsTableName,
|
|
510
489
|
apiName: cleanedData.apiName,
|
|
511
490
|
privateApiName: cleanedData.privateApiName,
|
|
512
491
|
scope: cleanedData.scope,
|
|
@@ -519,14 +498,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
519
498
|
select: {
|
|
520
499
|
id: true,
|
|
521
500
|
databaseId: true,
|
|
501
|
+
entityField: true,
|
|
522
502
|
schemaId: true,
|
|
523
503
|
privateSchemaId: true,
|
|
524
504
|
publicSchemaName: true,
|
|
525
505
|
privateSchemaName: true,
|
|
526
506
|
definitionsTableId: true,
|
|
527
|
-
secretDefinitionsTableId: true,
|
|
528
507
|
definitionsTableName: true,
|
|
529
|
-
secretDefinitionsTableName: true,
|
|
530
508
|
apiName: true,
|
|
531
509
|
privateApiName: true,
|
|
532
510
|
scope: true,
|
|
@@ -11,6 +11,7 @@ const utils_1 = require("../utils");
|
|
|
11
11
|
const fieldSchema = {
|
|
12
12
|
id: 'uuid',
|
|
13
13
|
databaseId: 'uuid',
|
|
14
|
+
entityField: 'string',
|
|
14
15
|
schemaId: 'uuid',
|
|
15
16
|
privateSchemaId: 'uuid',
|
|
16
17
|
publicSchemaName: 'string',
|
|
@@ -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,
|
|
@@ -115,6 +117,7 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
115
117
|
const defaultSelect = {
|
|
116
118
|
id: true,
|
|
117
119
|
databaseId: true,
|
|
120
|
+
entityField: true,
|
|
118
121
|
schemaId: true,
|
|
119
122
|
privateSchemaId: true,
|
|
120
123
|
publicSchemaName: true,
|
|
@@ -166,6 +169,7 @@ async function handleGet(argv, prompter) {
|
|
|
166
169
|
select: {
|
|
167
170
|
id: true,
|
|
168
171
|
databaseId: true,
|
|
172
|
+
entityField: true,
|
|
169
173
|
schemaId: true,
|
|
170
174
|
privateSchemaId: true,
|
|
171
175
|
publicSchemaName: true,
|
|
@@ -208,6 +212,13 @@ async function handleCreate(argv, prompter) {
|
|
|
208
212
|
message: 'databaseId',
|
|
209
213
|
required: true,
|
|
210
214
|
},
|
|
215
|
+
{
|
|
216
|
+
type: 'text',
|
|
217
|
+
name: 'entityField',
|
|
218
|
+
message: 'entityField',
|
|
219
|
+
required: false,
|
|
220
|
+
skipPrompt: true,
|
|
221
|
+
},
|
|
211
222
|
{
|
|
212
223
|
type: 'text',
|
|
213
224
|
name: 'schemaId',
|
|
@@ -348,6 +359,7 @@ async function handleCreate(argv, prompter) {
|
|
|
348
359
|
.create({
|
|
349
360
|
data: {
|
|
350
361
|
databaseId: cleanedData.databaseId,
|
|
362
|
+
entityField: cleanedData.entityField,
|
|
351
363
|
schemaId: cleanedData.schemaId,
|
|
352
364
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
353
365
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
@@ -371,6 +383,7 @@ async function handleCreate(argv, prompter) {
|
|
|
371
383
|
select: {
|
|
372
384
|
id: true,
|
|
373
385
|
databaseId: true,
|
|
386
|
+
entityField: true,
|
|
374
387
|
schemaId: true,
|
|
375
388
|
privateSchemaId: true,
|
|
376
389
|
publicSchemaName: true,
|
|
@@ -419,6 +432,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
419
432
|
message: 'databaseId',
|
|
420
433
|
required: false,
|
|
421
434
|
},
|
|
435
|
+
{
|
|
436
|
+
type: 'text',
|
|
437
|
+
name: 'entityField',
|
|
438
|
+
message: 'entityField',
|
|
439
|
+
required: false,
|
|
440
|
+
skipPrompt: true,
|
|
441
|
+
},
|
|
422
442
|
{
|
|
423
443
|
type: 'text',
|
|
424
444
|
name: 'schemaId',
|
|
@@ -562,6 +582,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
562
582
|
},
|
|
563
583
|
data: {
|
|
564
584
|
databaseId: cleanedData.databaseId,
|
|
585
|
+
entityField: cleanedData.entityField,
|
|
565
586
|
schemaId: cleanedData.schemaId,
|
|
566
587
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
567
588
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
@@ -585,6 +606,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
585
606
|
select: {
|
|
586
607
|
id: true,
|
|
587
608
|
databaseId: true,
|
|
609
|
+
entityField: true,
|
|
588
610
|
schemaId: true,
|
|
589
611
|
privateSchemaId: true,
|
|
590
612
|
publicSchemaName: true,
|
|
@@ -11,6 +11,7 @@ const utils_1 = require("../utils");
|
|
|
11
11
|
const fieldSchema = {
|
|
12
12
|
id: 'uuid',
|
|
13
13
|
databaseId: 'uuid',
|
|
14
|
+
entityField: 'string',
|
|
14
15
|
publicSchemaId: 'uuid',
|
|
15
16
|
privateSchemaId: 'uuid',
|
|
16
17
|
publicSchemaName: 'string',
|
|
@@ -71,6 +72,7 @@ async function handleList(argv, _prompter) {
|
|
|
71
72
|
const defaultSelect = {
|
|
72
73
|
id: true,
|
|
73
74
|
databaseId: true,
|
|
75
|
+
entityField: true,
|
|
74
76
|
publicSchemaId: true,
|
|
75
77
|
privateSchemaId: true,
|
|
76
78
|
publicSchemaName: true,
|
|
@@ -105,6 +107,7 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
105
107
|
const defaultSelect = {
|
|
106
108
|
id: true,
|
|
107
109
|
databaseId: true,
|
|
110
|
+
entityField: true,
|
|
108
111
|
publicSchemaId: true,
|
|
109
112
|
privateSchemaId: true,
|
|
110
113
|
publicSchemaName: true,
|
|
@@ -151,6 +154,7 @@ async function handleGet(argv, prompter) {
|
|
|
151
154
|
select: {
|
|
152
155
|
id: true,
|
|
153
156
|
databaseId: true,
|
|
157
|
+
entityField: true,
|
|
154
158
|
publicSchemaId: true,
|
|
155
159
|
privateSchemaId: true,
|
|
156
160
|
publicSchemaName: true,
|
|
@@ -188,6 +192,13 @@ async function handleCreate(argv, prompter) {
|
|
|
188
192
|
message: 'databaseId',
|
|
189
193
|
required: true,
|
|
190
194
|
},
|
|
195
|
+
{
|
|
196
|
+
type: 'text',
|
|
197
|
+
name: 'entityField',
|
|
198
|
+
message: 'entityField',
|
|
199
|
+
required: false,
|
|
200
|
+
skipPrompt: true,
|
|
201
|
+
},
|
|
191
202
|
{
|
|
192
203
|
type: 'text',
|
|
193
204
|
name: 'publicSchemaId',
|
|
@@ -293,6 +304,7 @@ async function handleCreate(argv, prompter) {
|
|
|
293
304
|
.create({
|
|
294
305
|
data: {
|
|
295
306
|
databaseId: cleanedData.databaseId,
|
|
307
|
+
entityField: cleanedData.entityField,
|
|
296
308
|
publicSchemaId: cleanedData.publicSchemaId,
|
|
297
309
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
298
310
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
@@ -311,6 +323,7 @@ async function handleCreate(argv, prompter) {
|
|
|
311
323
|
select: {
|
|
312
324
|
id: true,
|
|
313
325
|
databaseId: true,
|
|
326
|
+
entityField: true,
|
|
314
327
|
publicSchemaId: true,
|
|
315
328
|
privateSchemaId: true,
|
|
316
329
|
publicSchemaName: true,
|
|
@@ -354,6 +367,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
354
367
|
message: 'databaseId',
|
|
355
368
|
required: false,
|
|
356
369
|
},
|
|
370
|
+
{
|
|
371
|
+
type: 'text',
|
|
372
|
+
name: 'entityField',
|
|
373
|
+
message: 'entityField',
|
|
374
|
+
required: false,
|
|
375
|
+
skipPrompt: true,
|
|
376
|
+
},
|
|
357
377
|
{
|
|
358
378
|
type: 'text',
|
|
359
379
|
name: 'publicSchemaId',
|
|
@@ -462,6 +482,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
462
482
|
},
|
|
463
483
|
data: {
|
|
464
484
|
databaseId: cleanedData.databaseId,
|
|
485
|
+
entityField: cleanedData.entityField,
|
|
465
486
|
publicSchemaId: cleanedData.publicSchemaId,
|
|
466
487
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
467
488
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
@@ -480,6 +501,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
480
501
|
select: {
|
|
481
502
|
id: true,
|
|
482
503
|
databaseId: true,
|
|
504
|
+
entityField: true,
|
|
483
505
|
publicSchemaId: true,
|
|
484
506
|
privateSchemaId: true,
|
|
485
507
|
publicSchemaName: true,
|
|
@@ -11,6 +11,7 @@ const utils_1 = require("../utils");
|
|
|
11
11
|
const fieldSchema = {
|
|
12
12
|
id: 'uuid',
|
|
13
13
|
databaseId: 'uuid',
|
|
14
|
+
entityField: 'string',
|
|
14
15
|
schemaId: 'uuid',
|
|
15
16
|
privateSchemaId: 'uuid',
|
|
16
17
|
chartEdgesTableId: 'uuid',
|
|
@@ -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
|
chartEdgesTableId: true,
|
|
@@ -115,6 +117,7 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
115
117
|
const defaultSelect = {
|
|
116
118
|
id: true,
|
|
117
119
|
databaseId: true,
|
|
120
|
+
entityField: true,
|
|
118
121
|
schemaId: true,
|
|
119
122
|
privateSchemaId: true,
|
|
120
123
|
chartEdgesTableId: true,
|
|
@@ -166,6 +169,7 @@ async function handleGet(argv, prompter) {
|
|
|
166
169
|
select: {
|
|
167
170
|
id: true,
|
|
168
171
|
databaseId: true,
|
|
172
|
+
entityField: true,
|
|
169
173
|
schemaId: true,
|
|
170
174
|
privateSchemaId: true,
|
|
171
175
|
chartEdgesTableId: true,
|
|
@@ -208,6 +212,13 @@ async function handleCreate(argv, prompter) {
|
|
|
208
212
|
message: 'databaseId',
|
|
209
213
|
required: true,
|
|
210
214
|
},
|
|
215
|
+
{
|
|
216
|
+
type: 'text',
|
|
217
|
+
name: 'entityField',
|
|
218
|
+
message: 'entityField',
|
|
219
|
+
required: false,
|
|
220
|
+
skipPrompt: true,
|
|
221
|
+
},
|
|
211
222
|
{
|
|
212
223
|
type: 'text',
|
|
213
224
|
name: 'schemaId',
|
|
@@ -347,6 +358,7 @@ async function handleCreate(argv, prompter) {
|
|
|
347
358
|
.create({
|
|
348
359
|
data: {
|
|
349
360
|
databaseId: cleanedData.databaseId,
|
|
361
|
+
entityField: cleanedData.entityField,
|
|
350
362
|
schemaId: cleanedData.schemaId,
|
|
351
363
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
352
364
|
chartEdgesTableId: cleanedData.chartEdgesTableId,
|
|
@@ -370,6 +382,7 @@ async function handleCreate(argv, prompter) {
|
|
|
370
382
|
select: {
|
|
371
383
|
id: true,
|
|
372
384
|
databaseId: true,
|
|
385
|
+
entityField: true,
|
|
373
386
|
schemaId: true,
|
|
374
387
|
privateSchemaId: true,
|
|
375
388
|
chartEdgesTableId: true,
|
|
@@ -418,6 +431,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
418
431
|
message: 'databaseId',
|
|
419
432
|
required: false,
|
|
420
433
|
},
|
|
434
|
+
{
|
|
435
|
+
type: 'text',
|
|
436
|
+
name: 'entityField',
|
|
437
|
+
message: 'entityField',
|
|
438
|
+
required: false,
|
|
439
|
+
skipPrompt: true,
|
|
440
|
+
},
|
|
421
441
|
{
|
|
422
442
|
type: 'text',
|
|
423
443
|
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
|
chartEdgesTableId: cleanedData.chartEdgesTableId,
|
|
@@ -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
|
chartEdgesTableId: true,
|
|
@@ -11,6 +11,7 @@ const utils_1 = require("../utils");
|
|
|
11
11
|
const fieldSchema = {
|
|
12
12
|
id: 'uuid',
|
|
13
13
|
databaseId: 'uuid',
|
|
14
|
+
entityField: 'string',
|
|
14
15
|
schemaId: 'uuid',
|
|
15
16
|
privateSchemaId: 'uuid',
|
|
16
17
|
publicSchemaName: 'string',
|
|
@@ -67,6 +68,7 @@ async function handleList(argv, _prompter) {
|
|
|
67
68
|
const defaultSelect = {
|
|
68
69
|
id: true,
|
|
69
70
|
databaseId: true,
|
|
71
|
+
entityField: true,
|
|
70
72
|
schemaId: true,
|
|
71
73
|
privateSchemaId: true,
|
|
72
74
|
publicSchemaName: true,
|
|
@@ -97,6 +99,7 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
97
99
|
const defaultSelect = {
|
|
98
100
|
id: true,
|
|
99
101
|
databaseId: true,
|
|
102
|
+
entityField: true,
|
|
100
103
|
schemaId: true,
|
|
101
104
|
privateSchemaId: true,
|
|
102
105
|
publicSchemaName: true,
|
|
@@ -139,6 +142,7 @@ async function handleGet(argv, prompter) {
|
|
|
139
142
|
select: {
|
|
140
143
|
id: true,
|
|
141
144
|
databaseId: true,
|
|
145
|
+
entityField: true,
|
|
142
146
|
schemaId: true,
|
|
143
147
|
privateSchemaId: true,
|
|
144
148
|
publicSchemaName: true,
|
|
@@ -172,6 +176,13 @@ async function handleCreate(argv, prompter) {
|
|
|
172
176
|
message: 'databaseId',
|
|
173
177
|
required: true,
|
|
174
178
|
},
|
|
179
|
+
{
|
|
180
|
+
type: 'text',
|
|
181
|
+
name: 'entityField',
|
|
182
|
+
message: 'entityField',
|
|
183
|
+
required: false,
|
|
184
|
+
skipPrompt: true,
|
|
185
|
+
},
|
|
175
186
|
{
|
|
176
187
|
type: 'text',
|
|
177
188
|
name: 'schemaId',
|
|
@@ -257,6 +268,7 @@ async function handleCreate(argv, prompter) {
|
|
|
257
268
|
.create({
|
|
258
269
|
data: {
|
|
259
270
|
databaseId: cleanedData.databaseId,
|
|
271
|
+
entityField: cleanedData.entityField,
|
|
260
272
|
schemaId: cleanedData.schemaId,
|
|
261
273
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
262
274
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
@@ -272,6 +284,7 @@ async function handleCreate(argv, prompter) {
|
|
|
272
284
|
select: {
|
|
273
285
|
id: true,
|
|
274
286
|
databaseId: true,
|
|
287
|
+
entityField: true,
|
|
275
288
|
schemaId: true,
|
|
276
289
|
privateSchemaId: true,
|
|
277
290
|
publicSchemaName: true,
|
|
@@ -311,6 +324,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
311
324
|
message: 'databaseId',
|
|
312
325
|
required: false,
|
|
313
326
|
},
|
|
327
|
+
{
|
|
328
|
+
type: 'text',
|
|
329
|
+
name: 'entityField',
|
|
330
|
+
message: 'entityField',
|
|
331
|
+
required: false,
|
|
332
|
+
skipPrompt: true,
|
|
333
|
+
},
|
|
314
334
|
{
|
|
315
335
|
type: 'text',
|
|
316
336
|
name: 'schemaId',
|
|
@@ -399,6 +419,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
399
419
|
},
|
|
400
420
|
data: {
|
|
401
421
|
databaseId: cleanedData.databaseId,
|
|
422
|
+
entityField: cleanedData.entityField,
|
|
402
423
|
schemaId: cleanedData.schemaId,
|
|
403
424
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
404
425
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
@@ -414,6 +435,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
414
435
|
select: {
|
|
415
436
|
id: true,
|
|
416
437
|
databaseId: true,
|
|
438
|
+
entityField: true,
|
|
417
439
|
schemaId: true,
|
|
418
440
|
privateSchemaId: true,
|
|
419
441
|
publicSchemaName: true,
|
|
@@ -11,6 +11,7 @@ const utils_1 = require("../utils");
|
|
|
11
11
|
const fieldSchema = {
|
|
12
12
|
id: 'uuid',
|
|
13
13
|
databaseId: 'uuid',
|
|
14
|
+
entityField: 'string',
|
|
14
15
|
schemaId: 'uuid',
|
|
15
16
|
privateSchemaId: 'uuid',
|
|
16
17
|
publicSchemaName: 'string',
|
|
@@ -73,6 +74,7 @@ async function handleList(argv, _prompter) {
|
|
|
73
74
|
const defaultSelect = {
|
|
74
75
|
id: true,
|
|
75
76
|
databaseId: true,
|
|
77
|
+
entityField: true,
|
|
76
78
|
schemaId: true,
|
|
77
79
|
privateSchemaId: true,
|
|
78
80
|
publicSchemaName: true,
|
|
@@ -109,6 +111,7 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
109
111
|
const defaultSelect = {
|
|
110
112
|
id: true,
|
|
111
113
|
databaseId: true,
|
|
114
|
+
entityField: true,
|
|
112
115
|
schemaId: true,
|
|
113
116
|
privateSchemaId: true,
|
|
114
117
|
publicSchemaName: true,
|
|
@@ -157,6 +160,7 @@ async function handleGet(argv, prompter) {
|
|
|
157
160
|
select: {
|
|
158
161
|
id: true,
|
|
159
162
|
databaseId: true,
|
|
163
|
+
entityField: true,
|
|
160
164
|
schemaId: true,
|
|
161
165
|
privateSchemaId: true,
|
|
162
166
|
publicSchemaName: true,
|
|
@@ -196,6 +200,13 @@ async function handleCreate(argv, prompter) {
|
|
|
196
200
|
message: 'databaseId',
|
|
197
201
|
required: true,
|
|
198
202
|
},
|
|
203
|
+
{
|
|
204
|
+
type: 'text',
|
|
205
|
+
name: 'entityField',
|
|
206
|
+
message: 'entityField',
|
|
207
|
+
required: false,
|
|
208
|
+
skipPrompt: true,
|
|
209
|
+
},
|
|
199
210
|
{
|
|
200
211
|
type: 'text',
|
|
201
212
|
name: 'schemaId',
|
|
@@ -323,6 +334,7 @@ async function handleCreate(argv, prompter) {
|
|
|
323
334
|
.create({
|
|
324
335
|
data: {
|
|
325
336
|
databaseId: cleanedData.databaseId,
|
|
337
|
+
entityField: cleanedData.entityField,
|
|
326
338
|
schemaId: cleanedData.schemaId,
|
|
327
339
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
328
340
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
@@ -344,6 +356,7 @@ async function handleCreate(argv, prompter) {
|
|
|
344
356
|
select: {
|
|
345
357
|
id: true,
|
|
346
358
|
databaseId: true,
|
|
359
|
+
entityField: true,
|
|
347
360
|
schemaId: true,
|
|
348
361
|
privateSchemaId: true,
|
|
349
362
|
publicSchemaName: true,
|
|
@@ -389,6 +402,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
389
402
|
message: 'databaseId',
|
|
390
403
|
required: false,
|
|
391
404
|
},
|
|
405
|
+
{
|
|
406
|
+
type: 'text',
|
|
407
|
+
name: 'entityField',
|
|
408
|
+
message: 'entityField',
|
|
409
|
+
required: false,
|
|
410
|
+
skipPrompt: true,
|
|
411
|
+
},
|
|
392
412
|
{
|
|
393
413
|
type: 'text',
|
|
394
414
|
name: 'schemaId',
|
|
@@ -519,6 +539,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
519
539
|
},
|
|
520
540
|
data: {
|
|
521
541
|
databaseId: cleanedData.databaseId,
|
|
542
|
+
entityField: cleanedData.entityField,
|
|
522
543
|
schemaId: cleanedData.schemaId,
|
|
523
544
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
524
545
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
@@ -540,6 +561,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
540
561
|
select: {
|
|
541
562
|
id: true,
|
|
542
563
|
databaseId: true,
|
|
564
|
+
entityField: true,
|
|
543
565
|
schemaId: true,
|
|
544
566
|
privateSchemaId: true,
|
|
545
567
|
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;
|