@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,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',
|
|
@@ -21,6 +22,10 @@ const fieldSchema = {
|
|
|
21
22
|
queryStatsLogTableName: 'string',
|
|
22
23
|
queryStatsDailyTableId: 'uuid',
|
|
23
24
|
queryStatsDailyTableName: 'string',
|
|
25
|
+
collectDbTableStatsFunction: 'string',
|
|
26
|
+
collectDbQueryStatsFunction: 'string',
|
|
27
|
+
rollupDbTableStatsDailyFunction: 'string',
|
|
28
|
+
rollupDbQueryStatsDailyFunction: 'string',
|
|
24
29
|
interval: 'string',
|
|
25
30
|
retention: 'string',
|
|
26
31
|
premake: 'int',
|
|
@@ -74,6 +79,7 @@ async function handleList(argv, _prompter) {
|
|
|
74
79
|
const defaultSelect = {
|
|
75
80
|
id: true,
|
|
76
81
|
databaseId: true,
|
|
82
|
+
entityField: true,
|
|
77
83
|
schemaId: true,
|
|
78
84
|
privateSchemaId: true,
|
|
79
85
|
publicSchemaName: true,
|
|
@@ -86,6 +92,10 @@ async function handleList(argv, _prompter) {
|
|
|
86
92
|
queryStatsLogTableName: true,
|
|
87
93
|
queryStatsDailyTableId: true,
|
|
88
94
|
queryStatsDailyTableName: true,
|
|
95
|
+
collectDbTableStatsFunction: true,
|
|
96
|
+
collectDbQueryStatsFunction: true,
|
|
97
|
+
rollupDbTableStatsDailyFunction: true,
|
|
98
|
+
rollupDbQueryStatsDailyFunction: true,
|
|
89
99
|
interval: true,
|
|
90
100
|
retention: true,
|
|
91
101
|
premake: true,
|
|
@@ -113,6 +123,7 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
113
123
|
const defaultSelect = {
|
|
114
124
|
id: true,
|
|
115
125
|
databaseId: true,
|
|
126
|
+
entityField: true,
|
|
116
127
|
schemaId: true,
|
|
117
128
|
privateSchemaId: true,
|
|
118
129
|
publicSchemaName: true,
|
|
@@ -125,6 +136,10 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
125
136
|
queryStatsLogTableName: true,
|
|
126
137
|
queryStatsDailyTableId: true,
|
|
127
138
|
queryStatsDailyTableName: true,
|
|
139
|
+
collectDbTableStatsFunction: true,
|
|
140
|
+
collectDbQueryStatsFunction: true,
|
|
141
|
+
rollupDbTableStatsDailyFunction: true,
|
|
142
|
+
rollupDbQueryStatsDailyFunction: true,
|
|
128
143
|
interval: true,
|
|
129
144
|
retention: true,
|
|
130
145
|
premake: true,
|
|
@@ -164,6 +179,7 @@ async function handleGet(argv, prompter) {
|
|
|
164
179
|
select: {
|
|
165
180
|
id: true,
|
|
166
181
|
databaseId: true,
|
|
182
|
+
entityField: true,
|
|
167
183
|
schemaId: true,
|
|
168
184
|
privateSchemaId: true,
|
|
169
185
|
publicSchemaName: true,
|
|
@@ -176,6 +192,10 @@ async function handleGet(argv, prompter) {
|
|
|
176
192
|
queryStatsLogTableName: true,
|
|
177
193
|
queryStatsDailyTableId: true,
|
|
178
194
|
queryStatsDailyTableName: true,
|
|
195
|
+
collectDbTableStatsFunction: true,
|
|
196
|
+
collectDbQueryStatsFunction: true,
|
|
197
|
+
rollupDbTableStatsDailyFunction: true,
|
|
198
|
+
rollupDbQueryStatsDailyFunction: true,
|
|
179
199
|
interval: true,
|
|
180
200
|
retention: true,
|
|
181
201
|
premake: true,
|
|
@@ -206,6 +226,13 @@ async function handleCreate(argv, prompter) {
|
|
|
206
226
|
message: 'databaseId',
|
|
207
227
|
required: true,
|
|
208
228
|
},
|
|
229
|
+
{
|
|
230
|
+
type: 'text',
|
|
231
|
+
name: 'entityField',
|
|
232
|
+
message: 'entityField',
|
|
233
|
+
required: false,
|
|
234
|
+
skipPrompt: true,
|
|
235
|
+
},
|
|
209
236
|
{
|
|
210
237
|
type: 'text',
|
|
211
238
|
name: 'schemaId',
|
|
@@ -290,6 +317,34 @@ async function handleCreate(argv, prompter) {
|
|
|
290
317
|
required: false,
|
|
291
318
|
skipPrompt: true,
|
|
292
319
|
},
|
|
320
|
+
{
|
|
321
|
+
type: 'text',
|
|
322
|
+
name: 'collectDbTableStatsFunction',
|
|
323
|
+
message: 'collectDbTableStatsFunction',
|
|
324
|
+
required: false,
|
|
325
|
+
skipPrompt: true,
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
type: 'text',
|
|
329
|
+
name: 'collectDbQueryStatsFunction',
|
|
330
|
+
message: 'collectDbQueryStatsFunction',
|
|
331
|
+
required: false,
|
|
332
|
+
skipPrompt: true,
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
type: 'text',
|
|
336
|
+
name: 'rollupDbTableStatsDailyFunction',
|
|
337
|
+
message: 'rollupDbTableStatsDailyFunction',
|
|
338
|
+
required: false,
|
|
339
|
+
skipPrompt: true,
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
type: 'text',
|
|
343
|
+
name: 'rollupDbQueryStatsDailyFunction',
|
|
344
|
+
message: 'rollupDbQueryStatsDailyFunction',
|
|
345
|
+
required: false,
|
|
346
|
+
skipPrompt: true,
|
|
347
|
+
},
|
|
293
348
|
{
|
|
294
349
|
type: 'text',
|
|
295
350
|
name: 'interval',
|
|
@@ -354,6 +409,7 @@ async function handleCreate(argv, prompter) {
|
|
|
354
409
|
.create({
|
|
355
410
|
data: {
|
|
356
411
|
databaseId: cleanedData.databaseId,
|
|
412
|
+
entityField: cleanedData.entityField,
|
|
357
413
|
schemaId: cleanedData.schemaId,
|
|
358
414
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
359
415
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
@@ -366,6 +422,10 @@ async function handleCreate(argv, prompter) {
|
|
|
366
422
|
queryStatsLogTableName: cleanedData.queryStatsLogTableName,
|
|
367
423
|
queryStatsDailyTableId: cleanedData.queryStatsDailyTableId,
|
|
368
424
|
queryStatsDailyTableName: cleanedData.queryStatsDailyTableName,
|
|
425
|
+
collectDbTableStatsFunction: cleanedData.collectDbTableStatsFunction,
|
|
426
|
+
collectDbQueryStatsFunction: cleanedData.collectDbQueryStatsFunction,
|
|
427
|
+
rollupDbTableStatsDailyFunction: cleanedData.rollupDbTableStatsDailyFunction,
|
|
428
|
+
rollupDbQueryStatsDailyFunction: cleanedData.rollupDbQueryStatsDailyFunction,
|
|
369
429
|
interval: cleanedData.interval,
|
|
370
430
|
retention: cleanedData.retention,
|
|
371
431
|
premake: cleanedData.premake,
|
|
@@ -378,6 +438,7 @@ async function handleCreate(argv, prompter) {
|
|
|
378
438
|
select: {
|
|
379
439
|
id: true,
|
|
380
440
|
databaseId: true,
|
|
441
|
+
entityField: true,
|
|
381
442
|
schemaId: true,
|
|
382
443
|
privateSchemaId: true,
|
|
383
444
|
publicSchemaName: true,
|
|
@@ -390,6 +451,10 @@ async function handleCreate(argv, prompter) {
|
|
|
390
451
|
queryStatsLogTableName: true,
|
|
391
452
|
queryStatsDailyTableId: true,
|
|
392
453
|
queryStatsDailyTableName: true,
|
|
454
|
+
collectDbTableStatsFunction: true,
|
|
455
|
+
collectDbQueryStatsFunction: true,
|
|
456
|
+
rollupDbTableStatsDailyFunction: true,
|
|
457
|
+
rollupDbQueryStatsDailyFunction: true,
|
|
393
458
|
interval: true,
|
|
394
459
|
retention: true,
|
|
395
460
|
premake: true,
|
|
@@ -426,6 +491,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
426
491
|
message: 'databaseId',
|
|
427
492
|
required: false,
|
|
428
493
|
},
|
|
494
|
+
{
|
|
495
|
+
type: 'text',
|
|
496
|
+
name: 'entityField',
|
|
497
|
+
message: 'entityField',
|
|
498
|
+
required: false,
|
|
499
|
+
skipPrompt: true,
|
|
500
|
+
},
|
|
429
501
|
{
|
|
430
502
|
type: 'text',
|
|
431
503
|
name: 'schemaId',
|
|
@@ -510,6 +582,34 @@ async function handleUpdate(argv, prompter) {
|
|
|
510
582
|
required: false,
|
|
511
583
|
skipPrompt: true,
|
|
512
584
|
},
|
|
585
|
+
{
|
|
586
|
+
type: 'text',
|
|
587
|
+
name: 'collectDbTableStatsFunction',
|
|
588
|
+
message: 'collectDbTableStatsFunction',
|
|
589
|
+
required: false,
|
|
590
|
+
skipPrompt: true,
|
|
591
|
+
},
|
|
592
|
+
{
|
|
593
|
+
type: 'text',
|
|
594
|
+
name: 'collectDbQueryStatsFunction',
|
|
595
|
+
message: 'collectDbQueryStatsFunction',
|
|
596
|
+
required: false,
|
|
597
|
+
skipPrompt: true,
|
|
598
|
+
},
|
|
599
|
+
{
|
|
600
|
+
type: 'text',
|
|
601
|
+
name: 'rollupDbTableStatsDailyFunction',
|
|
602
|
+
message: 'rollupDbTableStatsDailyFunction',
|
|
603
|
+
required: false,
|
|
604
|
+
skipPrompt: true,
|
|
605
|
+
},
|
|
606
|
+
{
|
|
607
|
+
type: 'text',
|
|
608
|
+
name: 'rollupDbQueryStatsDailyFunction',
|
|
609
|
+
message: 'rollupDbQueryStatsDailyFunction',
|
|
610
|
+
required: false,
|
|
611
|
+
skipPrompt: true,
|
|
612
|
+
},
|
|
513
613
|
{
|
|
514
614
|
type: 'text',
|
|
515
615
|
name: 'interval',
|
|
@@ -577,6 +677,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
577
677
|
},
|
|
578
678
|
data: {
|
|
579
679
|
databaseId: cleanedData.databaseId,
|
|
680
|
+
entityField: cleanedData.entityField,
|
|
580
681
|
schemaId: cleanedData.schemaId,
|
|
581
682
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
582
683
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
@@ -589,6 +690,10 @@ async function handleUpdate(argv, prompter) {
|
|
|
589
690
|
queryStatsLogTableName: cleanedData.queryStatsLogTableName,
|
|
590
691
|
queryStatsDailyTableId: cleanedData.queryStatsDailyTableId,
|
|
591
692
|
queryStatsDailyTableName: cleanedData.queryStatsDailyTableName,
|
|
693
|
+
collectDbTableStatsFunction: cleanedData.collectDbTableStatsFunction,
|
|
694
|
+
collectDbQueryStatsFunction: cleanedData.collectDbQueryStatsFunction,
|
|
695
|
+
rollupDbTableStatsDailyFunction: cleanedData.rollupDbTableStatsDailyFunction,
|
|
696
|
+
rollupDbQueryStatsDailyFunction: cleanedData.rollupDbQueryStatsDailyFunction,
|
|
592
697
|
interval: cleanedData.interval,
|
|
593
698
|
retention: cleanedData.retention,
|
|
594
699
|
premake: cleanedData.premake,
|
|
@@ -601,6 +706,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
601
706
|
select: {
|
|
602
707
|
id: true,
|
|
603
708
|
databaseId: true,
|
|
709
|
+
entityField: true,
|
|
604
710
|
schemaId: true,
|
|
605
711
|
privateSchemaId: true,
|
|
606
712
|
publicSchemaName: true,
|
|
@@ -613,6 +719,10 @@ async function handleUpdate(argv, prompter) {
|
|
|
613
719
|
queryStatsLogTableName: true,
|
|
614
720
|
queryStatsDailyTableId: true,
|
|
615
721
|
queryStatsDailyTableName: true,
|
|
722
|
+
collectDbTableStatsFunction: true,
|
|
723
|
+
collectDbQueryStatsFunction: true,
|
|
724
|
+
rollupDbTableStatsDailyFunction: true,
|
|
725
|
+
rollupDbQueryStatsDailyFunction: true,
|
|
616
726
|
interval: true,
|
|
617
727
|
retention: true,
|
|
618
728
|
premake: true,
|
|
@@ -43,7 +43,6 @@ const fieldSchema = {
|
|
|
43
43
|
outDefinitionsTableId: 'uuid',
|
|
44
44
|
outInvocationsTableId: 'uuid',
|
|
45
45
|
outExecutionLogsTableId: 'uuid',
|
|
46
|
-
outSecretDefinitionsTableId: 'uuid',
|
|
47
46
|
outGraphModuleId: 'uuid',
|
|
48
47
|
outGraphsTableId: 'uuid',
|
|
49
48
|
outAgentModuleId: 'uuid',
|
|
@@ -126,7 +125,6 @@ async function handleList(argv, _prompter) {
|
|
|
126
125
|
outDefinitionsTableId: true,
|
|
127
126
|
outInvocationsTableId: true,
|
|
128
127
|
outExecutionLogsTableId: true,
|
|
129
|
-
outSecretDefinitionsTableId: true,
|
|
130
128
|
outGraphModuleId: true,
|
|
131
129
|
outGraphsTableId: true,
|
|
132
130
|
outAgentModuleId: true,
|
|
@@ -183,7 +181,6 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
183
181
|
outDefinitionsTableId: true,
|
|
184
182
|
outInvocationsTableId: true,
|
|
185
183
|
outExecutionLogsTableId: true,
|
|
186
|
-
outSecretDefinitionsTableId: true,
|
|
187
184
|
outGraphModuleId: true,
|
|
188
185
|
outGraphsTableId: true,
|
|
189
186
|
outAgentModuleId: true,
|
|
@@ -252,7 +249,6 @@ async function handleGet(argv, prompter) {
|
|
|
252
249
|
outDefinitionsTableId: true,
|
|
253
250
|
outInvocationsTableId: true,
|
|
254
251
|
outExecutionLogsTableId: true,
|
|
255
|
-
outSecretDefinitionsTableId: true,
|
|
256
252
|
outGraphModuleId: true,
|
|
257
253
|
outGraphsTableId: true,
|
|
258
254
|
outAgentModuleId: true,
|
|
@@ -514,13 +510,6 @@ async function handleCreate(argv, prompter) {
|
|
|
514
510
|
required: false,
|
|
515
511
|
skipPrompt: true,
|
|
516
512
|
},
|
|
517
|
-
{
|
|
518
|
-
type: 'text',
|
|
519
|
-
name: 'outSecretDefinitionsTableId',
|
|
520
|
-
message: 'outSecretDefinitionsTableId',
|
|
521
|
-
required: false,
|
|
522
|
-
skipPrompt: true,
|
|
523
|
-
},
|
|
524
513
|
{
|
|
525
514
|
type: 'text',
|
|
526
515
|
name: 'outGraphModuleId',
|
|
@@ -584,7 +573,6 @@ async function handleCreate(argv, prompter) {
|
|
|
584
573
|
outDefinitionsTableId: cleanedData.outDefinitionsTableId,
|
|
585
574
|
outInvocationsTableId: cleanedData.outInvocationsTableId,
|
|
586
575
|
outExecutionLogsTableId: cleanedData.outExecutionLogsTableId,
|
|
587
|
-
outSecretDefinitionsTableId: cleanedData.outSecretDefinitionsTableId,
|
|
588
576
|
outGraphModuleId: cleanedData.outGraphModuleId,
|
|
589
577
|
outGraphsTableId: cleanedData.outGraphsTableId,
|
|
590
578
|
outAgentModuleId: cleanedData.outAgentModuleId,
|
|
@@ -626,7 +614,6 @@ async function handleCreate(argv, prompter) {
|
|
|
626
614
|
outDefinitionsTableId: true,
|
|
627
615
|
outInvocationsTableId: true,
|
|
628
616
|
outExecutionLogsTableId: true,
|
|
629
|
-
outSecretDefinitionsTableId: true,
|
|
630
617
|
outGraphModuleId: true,
|
|
631
618
|
outGraphsTableId: true,
|
|
632
619
|
outAgentModuleId: true,
|
|
@@ -894,13 +881,6 @@ async function handleUpdate(argv, prompter) {
|
|
|
894
881
|
required: false,
|
|
895
882
|
skipPrompt: true,
|
|
896
883
|
},
|
|
897
|
-
{
|
|
898
|
-
type: 'text',
|
|
899
|
-
name: 'outSecretDefinitionsTableId',
|
|
900
|
-
message: 'outSecretDefinitionsTableId',
|
|
901
|
-
required: false,
|
|
902
|
-
skipPrompt: true,
|
|
903
|
-
},
|
|
904
884
|
{
|
|
905
885
|
type: 'text',
|
|
906
886
|
name: 'outGraphModuleId',
|
|
@@ -967,7 +947,6 @@ async function handleUpdate(argv, prompter) {
|
|
|
967
947
|
outDefinitionsTableId: cleanedData.outDefinitionsTableId,
|
|
968
948
|
outInvocationsTableId: cleanedData.outInvocationsTableId,
|
|
969
949
|
outExecutionLogsTableId: cleanedData.outExecutionLogsTableId,
|
|
970
|
-
outSecretDefinitionsTableId: cleanedData.outSecretDefinitionsTableId,
|
|
971
950
|
outGraphModuleId: cleanedData.outGraphModuleId,
|
|
972
951
|
outGraphsTableId: cleanedData.outGraphsTableId,
|
|
973
952
|
outAgentModuleId: cleanedData.outAgentModuleId,
|
|
@@ -1009,7 +988,6 @@ async function handleUpdate(argv, prompter) {
|
|
|
1009
988
|
outDefinitionsTableId: true,
|
|
1010
989
|
outInvocationsTableId: true,
|
|
1011
990
|
outExecutionLogsTableId: true,
|
|
1012
|
-
outSecretDefinitionsTableId: true,
|
|
1013
991
|
outGraphModuleId: true,
|
|
1014
992
|
outGraphsTableId: true,
|
|
1015
993
|
outAgentModuleId: 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',
|
|
@@ -35,7 +36,6 @@ const fieldSchema = {
|
|
|
35
36
|
tgEventBool: 'string',
|
|
36
37
|
upsertAggregate: 'string',
|
|
37
38
|
tgUpdateAggregates: 'string',
|
|
38
|
-
pruneEvents: 'string',
|
|
39
39
|
stepsRequired: 'string',
|
|
40
40
|
levelAchieved: 'string',
|
|
41
41
|
tgCheckAchievements: 'string',
|
|
@@ -96,6 +96,7 @@ async function handleList(argv, _prompter) {
|
|
|
96
96
|
const defaultSelect = {
|
|
97
97
|
id: true,
|
|
98
98
|
databaseId: true,
|
|
99
|
+
entityField: true,
|
|
99
100
|
schemaId: true,
|
|
100
101
|
privateSchemaId: true,
|
|
101
102
|
publicSchemaName: true,
|
|
@@ -122,7 +123,6 @@ async function handleList(argv, _prompter) {
|
|
|
122
123
|
tgEventBool: true,
|
|
123
124
|
upsertAggregate: true,
|
|
124
125
|
tgUpdateAggregates: true,
|
|
125
|
-
pruneEvents: true,
|
|
126
126
|
stepsRequired: true,
|
|
127
127
|
levelAchieved: true,
|
|
128
128
|
tgCheckAchievements: true,
|
|
@@ -157,6 +157,7 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
157
157
|
const defaultSelect = {
|
|
158
158
|
id: true,
|
|
159
159
|
databaseId: true,
|
|
160
|
+
entityField: true,
|
|
160
161
|
schemaId: true,
|
|
161
162
|
privateSchemaId: true,
|
|
162
163
|
publicSchemaName: true,
|
|
@@ -183,7 +184,6 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
183
184
|
tgEventBool: true,
|
|
184
185
|
upsertAggregate: true,
|
|
185
186
|
tgUpdateAggregates: true,
|
|
186
|
-
pruneEvents: true,
|
|
187
187
|
stepsRequired: true,
|
|
188
188
|
levelAchieved: true,
|
|
189
189
|
tgCheckAchievements: true,
|
|
@@ -230,6 +230,7 @@ async function handleGet(argv, prompter) {
|
|
|
230
230
|
select: {
|
|
231
231
|
id: true,
|
|
232
232
|
databaseId: true,
|
|
233
|
+
entityField: true,
|
|
233
234
|
schemaId: true,
|
|
234
235
|
privateSchemaId: true,
|
|
235
236
|
publicSchemaName: true,
|
|
@@ -256,7 +257,6 @@ async function handleGet(argv, prompter) {
|
|
|
256
257
|
tgEventBool: true,
|
|
257
258
|
upsertAggregate: true,
|
|
258
259
|
tgUpdateAggregates: true,
|
|
259
|
-
pruneEvents: true,
|
|
260
260
|
stepsRequired: true,
|
|
261
261
|
levelAchieved: true,
|
|
262
262
|
tgCheckAchievements: true,
|
|
@@ -294,6 +294,13 @@ async function handleCreate(argv, prompter) {
|
|
|
294
294
|
message: 'databaseId',
|
|
295
295
|
required: true,
|
|
296
296
|
},
|
|
297
|
+
{
|
|
298
|
+
type: 'text',
|
|
299
|
+
name: 'entityField',
|
|
300
|
+
message: 'entityField',
|
|
301
|
+
required: false,
|
|
302
|
+
skipPrompt: true,
|
|
303
|
+
},
|
|
297
304
|
{
|
|
298
305
|
type: 'text',
|
|
299
306
|
name: 'schemaId',
|
|
@@ -476,13 +483,6 @@ async function handleCreate(argv, prompter) {
|
|
|
476
483
|
required: false,
|
|
477
484
|
skipPrompt: true,
|
|
478
485
|
},
|
|
479
|
-
{
|
|
480
|
-
type: 'text',
|
|
481
|
-
name: 'pruneEvents',
|
|
482
|
-
message: 'pruneEvents',
|
|
483
|
-
required: false,
|
|
484
|
-
skipPrompt: true,
|
|
485
|
-
},
|
|
486
486
|
{
|
|
487
487
|
type: 'text',
|
|
488
488
|
name: 'stepsRequired',
|
|
@@ -596,6 +596,7 @@ async function handleCreate(argv, prompter) {
|
|
|
596
596
|
.create({
|
|
597
597
|
data: {
|
|
598
598
|
databaseId: cleanedData.databaseId,
|
|
599
|
+
entityField: cleanedData.entityField,
|
|
599
600
|
schemaId: cleanedData.schemaId,
|
|
600
601
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
601
602
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
@@ -622,7 +623,6 @@ async function handleCreate(argv, prompter) {
|
|
|
622
623
|
tgEventBool: cleanedData.tgEventBool,
|
|
623
624
|
upsertAggregate: cleanedData.upsertAggregate,
|
|
624
625
|
tgUpdateAggregates: cleanedData.tgUpdateAggregates,
|
|
625
|
-
pruneEvents: cleanedData.pruneEvents,
|
|
626
626
|
stepsRequired: cleanedData.stepsRequired,
|
|
627
627
|
levelAchieved: cleanedData.levelAchieved,
|
|
628
628
|
tgCheckAchievements: cleanedData.tgCheckAchievements,
|
|
@@ -642,6 +642,7 @@ async function handleCreate(argv, prompter) {
|
|
|
642
642
|
select: {
|
|
643
643
|
id: true,
|
|
644
644
|
databaseId: true,
|
|
645
|
+
entityField: true,
|
|
645
646
|
schemaId: true,
|
|
646
647
|
privateSchemaId: true,
|
|
647
648
|
publicSchemaName: true,
|
|
@@ -668,7 +669,6 @@ async function handleCreate(argv, prompter) {
|
|
|
668
669
|
tgEventBool: true,
|
|
669
670
|
upsertAggregate: true,
|
|
670
671
|
tgUpdateAggregates: true,
|
|
671
|
-
pruneEvents: true,
|
|
672
672
|
stepsRequired: true,
|
|
673
673
|
levelAchieved: true,
|
|
674
674
|
tgCheckAchievements: true,
|
|
@@ -712,6 +712,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
712
712
|
message: 'databaseId',
|
|
713
713
|
required: false,
|
|
714
714
|
},
|
|
715
|
+
{
|
|
716
|
+
type: 'text',
|
|
717
|
+
name: 'entityField',
|
|
718
|
+
message: 'entityField',
|
|
719
|
+
required: false,
|
|
720
|
+
skipPrompt: true,
|
|
721
|
+
},
|
|
715
722
|
{
|
|
716
723
|
type: 'text',
|
|
717
724
|
name: 'schemaId',
|
|
@@ -894,13 +901,6 @@ async function handleUpdate(argv, prompter) {
|
|
|
894
901
|
required: false,
|
|
895
902
|
skipPrompt: true,
|
|
896
903
|
},
|
|
897
|
-
{
|
|
898
|
-
type: 'text',
|
|
899
|
-
name: 'pruneEvents',
|
|
900
|
-
message: 'pruneEvents',
|
|
901
|
-
required: false,
|
|
902
|
-
skipPrompt: true,
|
|
903
|
-
},
|
|
904
904
|
{
|
|
905
905
|
type: 'text',
|
|
906
906
|
name: 'stepsRequired',
|
|
@@ -1017,6 +1017,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
1017
1017
|
},
|
|
1018
1018
|
data: {
|
|
1019
1019
|
databaseId: cleanedData.databaseId,
|
|
1020
|
+
entityField: cleanedData.entityField,
|
|
1020
1021
|
schemaId: cleanedData.schemaId,
|
|
1021
1022
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
1022
1023
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
@@ -1043,7 +1044,6 @@ async function handleUpdate(argv, prompter) {
|
|
|
1043
1044
|
tgEventBool: cleanedData.tgEventBool,
|
|
1044
1045
|
upsertAggregate: cleanedData.upsertAggregate,
|
|
1045
1046
|
tgUpdateAggregates: cleanedData.tgUpdateAggregates,
|
|
1046
|
-
pruneEvents: cleanedData.pruneEvents,
|
|
1047
1047
|
stepsRequired: cleanedData.stepsRequired,
|
|
1048
1048
|
levelAchieved: cleanedData.levelAchieved,
|
|
1049
1049
|
tgCheckAchievements: cleanedData.tgCheckAchievements,
|
|
@@ -1063,6 +1063,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
1063
1063
|
select: {
|
|
1064
1064
|
id: true,
|
|
1065
1065
|
databaseId: true,
|
|
1066
|
+
entityField: true,
|
|
1066
1067
|
schemaId: true,
|
|
1067
1068
|
privateSchemaId: true,
|
|
1068
1069
|
publicSchemaName: true,
|
|
@@ -1089,7 +1090,6 @@ async function handleUpdate(argv, prompter) {
|
|
|
1089
1090
|
tgEventBool: true,
|
|
1090
1091
|
upsertAggregate: true,
|
|
1091
1092
|
tgUpdateAggregates: true,
|
|
1092
|
-
pruneEvents: true,
|
|
1093
1093
|
stepsRequired: true,
|
|
1094
1094
|
levelAchieved: true,
|
|
1095
1095
|
tgCheckAchievements: 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',
|
|
@@ -72,6 +73,7 @@ async function handleList(argv, _prompter) {
|
|
|
72
73
|
const defaultSelect = {
|
|
73
74
|
id: true,
|
|
74
75
|
databaseId: true,
|
|
76
|
+
entityField: true,
|
|
75
77
|
schemaId: true,
|
|
76
78
|
privateSchemaId: true,
|
|
77
79
|
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,
|
|
@@ -158,6 +161,7 @@ async function handleGet(argv, prompter) {
|
|
|
158
161
|
select: {
|
|
159
162
|
id: true,
|
|
160
163
|
databaseId: true,
|
|
164
|
+
entityField: true,
|
|
161
165
|
schemaId: true,
|
|
162
166
|
privateSchemaId: true,
|
|
163
167
|
publicSchemaName: true,
|
|
@@ -198,6 +202,13 @@ async function handleCreate(argv, prompter) {
|
|
|
198
202
|
message: 'databaseId',
|
|
199
203
|
required: true,
|
|
200
204
|
},
|
|
205
|
+
{
|
|
206
|
+
type: 'text',
|
|
207
|
+
name: 'entityField',
|
|
208
|
+
message: 'entityField',
|
|
209
|
+
required: false,
|
|
210
|
+
skipPrompt: true,
|
|
211
|
+
},
|
|
201
212
|
{
|
|
202
213
|
type: 'text',
|
|
203
214
|
name: 'schemaId',
|
|
@@ -332,6 +343,7 @@ async function handleCreate(argv, prompter) {
|
|
|
332
343
|
.create({
|
|
333
344
|
data: {
|
|
334
345
|
databaseId: cleanedData.databaseId,
|
|
346
|
+
entityField: cleanedData.entityField,
|
|
335
347
|
schemaId: cleanedData.schemaId,
|
|
336
348
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
337
349
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
@@ -354,6 +366,7 @@ async function handleCreate(argv, prompter) {
|
|
|
354
366
|
select: {
|
|
355
367
|
id: true,
|
|
356
368
|
databaseId: true,
|
|
369
|
+
entityField: true,
|
|
357
370
|
schemaId: true,
|
|
358
371
|
privateSchemaId: true,
|
|
359
372
|
publicSchemaName: true,
|
|
@@ -400,6 +413,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
400
413
|
message: 'databaseId',
|
|
401
414
|
required: false,
|
|
402
415
|
},
|
|
416
|
+
{
|
|
417
|
+
type: 'text',
|
|
418
|
+
name: 'entityField',
|
|
419
|
+
message: 'entityField',
|
|
420
|
+
required: false,
|
|
421
|
+
skipPrompt: true,
|
|
422
|
+
},
|
|
403
423
|
{
|
|
404
424
|
type: 'text',
|
|
405
425
|
name: 'schemaId',
|
|
@@ -537,6 +557,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
537
557
|
},
|
|
538
558
|
data: {
|
|
539
559
|
databaseId: cleanedData.databaseId,
|
|
560
|
+
entityField: cleanedData.entityField,
|
|
540
561
|
schemaId: cleanedData.schemaId,
|
|
541
562
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
542
563
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
@@ -559,6 +580,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
559
580
|
select: {
|
|
560
581
|
id: true,
|
|
561
582
|
databaseId: true,
|
|
583
|
+
entityField: true,
|
|
562
584
|
schemaId: true,
|
|
563
585
|
privateSchemaId: true,
|
|
564
586
|
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',
|
|
@@ -70,6 +71,7 @@ async function handleList(argv, _prompter) {
|
|
|
70
71
|
const defaultSelect = {
|
|
71
72
|
id: true,
|
|
72
73
|
databaseId: true,
|
|
74
|
+
entityField: true,
|
|
73
75
|
schemaId: true,
|
|
74
76
|
privateSchemaId: true,
|
|
75
77
|
publicSchemaName: true,
|
|
@@ -105,6 +107,7 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
105
107
|
const defaultSelect = {
|
|
106
108
|
id: true,
|
|
107
109
|
databaseId: true,
|
|
110
|
+
entityField: true,
|
|
108
111
|
schemaId: true,
|
|
109
112
|
privateSchemaId: true,
|
|
110
113
|
publicSchemaName: true,
|
|
@@ -152,6 +155,7 @@ async function handleGet(argv, prompter) {
|
|
|
152
155
|
select: {
|
|
153
156
|
id: true,
|
|
154
157
|
databaseId: true,
|
|
158
|
+
entityField: true,
|
|
155
159
|
schemaId: true,
|
|
156
160
|
privateSchemaId: true,
|
|
157
161
|
publicSchemaName: true,
|
|
@@ -190,6 +194,13 @@ async function handleCreate(argv, prompter) {
|
|
|
190
194
|
message: 'databaseId',
|
|
191
195
|
required: true,
|
|
192
196
|
},
|
|
197
|
+
{
|
|
198
|
+
type: 'text',
|
|
199
|
+
name: 'entityField',
|
|
200
|
+
message: 'entityField',
|
|
201
|
+
required: false,
|
|
202
|
+
skipPrompt: true,
|
|
203
|
+
},
|
|
193
204
|
{
|
|
194
205
|
type: 'text',
|
|
195
206
|
name: 'schemaId',
|
|
@@ -310,6 +321,7 @@ async function handleCreate(argv, prompter) {
|
|
|
310
321
|
.create({
|
|
311
322
|
data: {
|
|
312
323
|
databaseId: cleanedData.databaseId,
|
|
324
|
+
entityField: cleanedData.entityField,
|
|
313
325
|
schemaId: cleanedData.schemaId,
|
|
314
326
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
315
327
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
@@ -330,6 +342,7 @@ async function handleCreate(argv, prompter) {
|
|
|
330
342
|
select: {
|
|
331
343
|
id: true,
|
|
332
344
|
databaseId: true,
|
|
345
|
+
entityField: true,
|
|
333
346
|
schemaId: true,
|
|
334
347
|
privateSchemaId: true,
|
|
335
348
|
publicSchemaName: true,
|
|
@@ -374,6 +387,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
374
387
|
message: 'databaseId',
|
|
375
388
|
required: false,
|
|
376
389
|
},
|
|
390
|
+
{
|
|
391
|
+
type: 'text',
|
|
392
|
+
name: 'entityField',
|
|
393
|
+
message: 'entityField',
|
|
394
|
+
required: false,
|
|
395
|
+
skipPrompt: true,
|
|
396
|
+
},
|
|
377
397
|
{
|
|
378
398
|
type: 'text',
|
|
379
399
|
name: 'schemaId',
|
|
@@ -497,6 +517,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
497
517
|
},
|
|
498
518
|
data: {
|
|
499
519
|
databaseId: cleanedData.databaseId,
|
|
520
|
+
entityField: cleanedData.entityField,
|
|
500
521
|
schemaId: cleanedData.schemaId,
|
|
501
522
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
502
523
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
@@ -517,6 +538,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
517
538
|
select: {
|
|
518
539
|
id: true,
|
|
519
540
|
databaseId: true,
|
|
541
|
+
entityField: true,
|
|
520
542
|
schemaId: true,
|
|
521
543
|
privateSchemaId: true,
|
|
522
544
|
publicSchemaName: true,
|