@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
|
@@ -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',
|
|
@@ -23,6 +24,10 @@ const fieldSchema = {
|
|
|
23
24
|
queryStatsLogTableName: 'string',
|
|
24
25
|
queryStatsDailyTableId: 'uuid',
|
|
25
26
|
queryStatsDailyTableName: 'string',
|
|
27
|
+
collectDbTableStatsFunction: 'string',
|
|
28
|
+
collectDbQueryStatsFunction: 'string',
|
|
29
|
+
rollupDbTableStatsDailyFunction: 'string',
|
|
30
|
+
rollupDbQueryStatsDailyFunction: 'string',
|
|
26
31
|
interval: 'string',
|
|
27
32
|
retention: 'string',
|
|
28
33
|
premake: 'int',
|
|
@@ -76,6 +81,7 @@ async function handleList(argv, _prompter) {
|
|
|
76
81
|
const defaultSelect = {
|
|
77
82
|
id: true,
|
|
78
83
|
databaseId: true,
|
|
84
|
+
entityField: true,
|
|
79
85
|
schemaId: true,
|
|
80
86
|
privateSchemaId: true,
|
|
81
87
|
publicSchemaName: true,
|
|
@@ -88,6 +94,10 @@ async function handleList(argv, _prompter) {
|
|
|
88
94
|
queryStatsLogTableName: true,
|
|
89
95
|
queryStatsDailyTableId: true,
|
|
90
96
|
queryStatsDailyTableName: true,
|
|
97
|
+
collectDbTableStatsFunction: true,
|
|
98
|
+
collectDbQueryStatsFunction: true,
|
|
99
|
+
rollupDbTableStatsDailyFunction: true,
|
|
100
|
+
rollupDbQueryStatsDailyFunction: true,
|
|
91
101
|
interval: true,
|
|
92
102
|
retention: true,
|
|
93
103
|
premake: true,
|
|
@@ -115,6 +125,7 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
115
125
|
const defaultSelect = {
|
|
116
126
|
id: true,
|
|
117
127
|
databaseId: true,
|
|
128
|
+
entityField: true,
|
|
118
129
|
schemaId: true,
|
|
119
130
|
privateSchemaId: true,
|
|
120
131
|
publicSchemaName: true,
|
|
@@ -127,6 +138,10 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
127
138
|
queryStatsLogTableName: true,
|
|
128
139
|
queryStatsDailyTableId: true,
|
|
129
140
|
queryStatsDailyTableName: true,
|
|
141
|
+
collectDbTableStatsFunction: true,
|
|
142
|
+
collectDbQueryStatsFunction: true,
|
|
143
|
+
rollupDbTableStatsDailyFunction: true,
|
|
144
|
+
rollupDbQueryStatsDailyFunction: true,
|
|
130
145
|
interval: true,
|
|
131
146
|
retention: true,
|
|
132
147
|
premake: true,
|
|
@@ -166,6 +181,7 @@ async function handleGet(argv, prompter) {
|
|
|
166
181
|
select: {
|
|
167
182
|
id: true,
|
|
168
183
|
databaseId: true,
|
|
184
|
+
entityField: true,
|
|
169
185
|
schemaId: true,
|
|
170
186
|
privateSchemaId: true,
|
|
171
187
|
publicSchemaName: true,
|
|
@@ -178,6 +194,10 @@ async function handleGet(argv, prompter) {
|
|
|
178
194
|
queryStatsLogTableName: true,
|
|
179
195
|
queryStatsDailyTableId: true,
|
|
180
196
|
queryStatsDailyTableName: true,
|
|
197
|
+
collectDbTableStatsFunction: true,
|
|
198
|
+
collectDbQueryStatsFunction: true,
|
|
199
|
+
rollupDbTableStatsDailyFunction: true,
|
|
200
|
+
rollupDbQueryStatsDailyFunction: true,
|
|
181
201
|
interval: true,
|
|
182
202
|
retention: true,
|
|
183
203
|
premake: true,
|
|
@@ -208,6 +228,13 @@ async function handleCreate(argv, prompter) {
|
|
|
208
228
|
message: 'databaseId',
|
|
209
229
|
required: true,
|
|
210
230
|
},
|
|
231
|
+
{
|
|
232
|
+
type: 'text',
|
|
233
|
+
name: 'entityField',
|
|
234
|
+
message: 'entityField',
|
|
235
|
+
required: false,
|
|
236
|
+
skipPrompt: true,
|
|
237
|
+
},
|
|
211
238
|
{
|
|
212
239
|
type: 'text',
|
|
213
240
|
name: 'schemaId',
|
|
@@ -292,6 +319,34 @@ async function handleCreate(argv, prompter) {
|
|
|
292
319
|
required: false,
|
|
293
320
|
skipPrompt: true,
|
|
294
321
|
},
|
|
322
|
+
{
|
|
323
|
+
type: 'text',
|
|
324
|
+
name: 'collectDbTableStatsFunction',
|
|
325
|
+
message: 'collectDbTableStatsFunction',
|
|
326
|
+
required: false,
|
|
327
|
+
skipPrompt: true,
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
type: 'text',
|
|
331
|
+
name: 'collectDbQueryStatsFunction',
|
|
332
|
+
message: 'collectDbQueryStatsFunction',
|
|
333
|
+
required: false,
|
|
334
|
+
skipPrompt: true,
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
type: 'text',
|
|
338
|
+
name: 'rollupDbTableStatsDailyFunction',
|
|
339
|
+
message: 'rollupDbTableStatsDailyFunction',
|
|
340
|
+
required: false,
|
|
341
|
+
skipPrompt: true,
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
type: 'text',
|
|
345
|
+
name: 'rollupDbQueryStatsDailyFunction',
|
|
346
|
+
message: 'rollupDbQueryStatsDailyFunction',
|
|
347
|
+
required: false,
|
|
348
|
+
skipPrompt: true,
|
|
349
|
+
},
|
|
295
350
|
{
|
|
296
351
|
type: 'text',
|
|
297
352
|
name: 'interval',
|
|
@@ -356,6 +411,7 @@ async function handleCreate(argv, prompter) {
|
|
|
356
411
|
.create({
|
|
357
412
|
data: {
|
|
358
413
|
databaseId: cleanedData.databaseId,
|
|
414
|
+
entityField: cleanedData.entityField,
|
|
359
415
|
schemaId: cleanedData.schemaId,
|
|
360
416
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
361
417
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
@@ -368,6 +424,10 @@ async function handleCreate(argv, prompter) {
|
|
|
368
424
|
queryStatsLogTableName: cleanedData.queryStatsLogTableName,
|
|
369
425
|
queryStatsDailyTableId: cleanedData.queryStatsDailyTableId,
|
|
370
426
|
queryStatsDailyTableName: cleanedData.queryStatsDailyTableName,
|
|
427
|
+
collectDbTableStatsFunction: cleanedData.collectDbTableStatsFunction,
|
|
428
|
+
collectDbQueryStatsFunction: cleanedData.collectDbQueryStatsFunction,
|
|
429
|
+
rollupDbTableStatsDailyFunction: cleanedData.rollupDbTableStatsDailyFunction,
|
|
430
|
+
rollupDbQueryStatsDailyFunction: cleanedData.rollupDbQueryStatsDailyFunction,
|
|
371
431
|
interval: cleanedData.interval,
|
|
372
432
|
retention: cleanedData.retention,
|
|
373
433
|
premake: cleanedData.premake,
|
|
@@ -380,6 +440,7 @@ async function handleCreate(argv, prompter) {
|
|
|
380
440
|
select: {
|
|
381
441
|
id: true,
|
|
382
442
|
databaseId: true,
|
|
443
|
+
entityField: true,
|
|
383
444
|
schemaId: true,
|
|
384
445
|
privateSchemaId: true,
|
|
385
446
|
publicSchemaName: true,
|
|
@@ -392,6 +453,10 @@ async function handleCreate(argv, prompter) {
|
|
|
392
453
|
queryStatsLogTableName: true,
|
|
393
454
|
queryStatsDailyTableId: true,
|
|
394
455
|
queryStatsDailyTableName: true,
|
|
456
|
+
collectDbTableStatsFunction: true,
|
|
457
|
+
collectDbQueryStatsFunction: true,
|
|
458
|
+
rollupDbTableStatsDailyFunction: true,
|
|
459
|
+
rollupDbQueryStatsDailyFunction: true,
|
|
395
460
|
interval: true,
|
|
396
461
|
retention: true,
|
|
397
462
|
premake: true,
|
|
@@ -428,6 +493,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
428
493
|
message: 'databaseId',
|
|
429
494
|
required: false,
|
|
430
495
|
},
|
|
496
|
+
{
|
|
497
|
+
type: 'text',
|
|
498
|
+
name: 'entityField',
|
|
499
|
+
message: 'entityField',
|
|
500
|
+
required: false,
|
|
501
|
+
skipPrompt: true,
|
|
502
|
+
},
|
|
431
503
|
{
|
|
432
504
|
type: 'text',
|
|
433
505
|
name: 'schemaId',
|
|
@@ -512,6 +584,34 @@ async function handleUpdate(argv, prompter) {
|
|
|
512
584
|
required: false,
|
|
513
585
|
skipPrompt: true,
|
|
514
586
|
},
|
|
587
|
+
{
|
|
588
|
+
type: 'text',
|
|
589
|
+
name: 'collectDbTableStatsFunction',
|
|
590
|
+
message: 'collectDbTableStatsFunction',
|
|
591
|
+
required: false,
|
|
592
|
+
skipPrompt: true,
|
|
593
|
+
},
|
|
594
|
+
{
|
|
595
|
+
type: 'text',
|
|
596
|
+
name: 'collectDbQueryStatsFunction',
|
|
597
|
+
message: 'collectDbQueryStatsFunction',
|
|
598
|
+
required: false,
|
|
599
|
+
skipPrompt: true,
|
|
600
|
+
},
|
|
601
|
+
{
|
|
602
|
+
type: 'text',
|
|
603
|
+
name: 'rollupDbTableStatsDailyFunction',
|
|
604
|
+
message: 'rollupDbTableStatsDailyFunction',
|
|
605
|
+
required: false,
|
|
606
|
+
skipPrompt: true,
|
|
607
|
+
},
|
|
608
|
+
{
|
|
609
|
+
type: 'text',
|
|
610
|
+
name: 'rollupDbQueryStatsDailyFunction',
|
|
611
|
+
message: 'rollupDbQueryStatsDailyFunction',
|
|
612
|
+
required: false,
|
|
613
|
+
skipPrompt: true,
|
|
614
|
+
},
|
|
515
615
|
{
|
|
516
616
|
type: 'text',
|
|
517
617
|
name: 'interval',
|
|
@@ -579,6 +679,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
579
679
|
},
|
|
580
680
|
data: {
|
|
581
681
|
databaseId: cleanedData.databaseId,
|
|
682
|
+
entityField: cleanedData.entityField,
|
|
582
683
|
schemaId: cleanedData.schemaId,
|
|
583
684
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
584
685
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
@@ -591,6 +692,10 @@ async function handleUpdate(argv, prompter) {
|
|
|
591
692
|
queryStatsLogTableName: cleanedData.queryStatsLogTableName,
|
|
592
693
|
queryStatsDailyTableId: cleanedData.queryStatsDailyTableId,
|
|
593
694
|
queryStatsDailyTableName: cleanedData.queryStatsDailyTableName,
|
|
695
|
+
collectDbTableStatsFunction: cleanedData.collectDbTableStatsFunction,
|
|
696
|
+
collectDbQueryStatsFunction: cleanedData.collectDbQueryStatsFunction,
|
|
697
|
+
rollupDbTableStatsDailyFunction: cleanedData.rollupDbTableStatsDailyFunction,
|
|
698
|
+
rollupDbQueryStatsDailyFunction: cleanedData.rollupDbQueryStatsDailyFunction,
|
|
594
699
|
interval: cleanedData.interval,
|
|
595
700
|
retention: cleanedData.retention,
|
|
596
701
|
premake: cleanedData.premake,
|
|
@@ -603,6 +708,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
603
708
|
select: {
|
|
604
709
|
id: true,
|
|
605
710
|
databaseId: true,
|
|
711
|
+
entityField: true,
|
|
606
712
|
schemaId: true,
|
|
607
713
|
privateSchemaId: true,
|
|
608
714
|
publicSchemaName: true,
|
|
@@ -615,6 +721,10 @@ async function handleUpdate(argv, prompter) {
|
|
|
615
721
|
queryStatsLogTableName: true,
|
|
616
722
|
queryStatsDailyTableId: true,
|
|
617
723
|
queryStatsDailyTableName: true,
|
|
724
|
+
collectDbTableStatsFunction: true,
|
|
725
|
+
collectDbQueryStatsFunction: true,
|
|
726
|
+
rollupDbTableStatsDailyFunction: true,
|
|
727
|
+
rollupDbQueryStatsDailyFunction: true,
|
|
618
728
|
interval: true,
|
|
619
729
|
retention: true,
|
|
620
730
|
premake: true,
|
|
@@ -45,7 +45,6 @@ const fieldSchema = {
|
|
|
45
45
|
outDefinitionsTableId: 'uuid',
|
|
46
46
|
outInvocationsTableId: 'uuid',
|
|
47
47
|
outExecutionLogsTableId: 'uuid',
|
|
48
|
-
outSecretDefinitionsTableId: 'uuid',
|
|
49
48
|
outGraphModuleId: 'uuid',
|
|
50
49
|
outGraphsTableId: 'uuid',
|
|
51
50
|
outAgentModuleId: 'uuid',
|
|
@@ -128,7 +127,6 @@ async function handleList(argv, _prompter) {
|
|
|
128
127
|
outDefinitionsTableId: true,
|
|
129
128
|
outInvocationsTableId: true,
|
|
130
129
|
outExecutionLogsTableId: true,
|
|
131
|
-
outSecretDefinitionsTableId: true,
|
|
132
130
|
outGraphModuleId: true,
|
|
133
131
|
outGraphsTableId: true,
|
|
134
132
|
outAgentModuleId: true,
|
|
@@ -185,7 +183,6 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
185
183
|
outDefinitionsTableId: true,
|
|
186
184
|
outInvocationsTableId: true,
|
|
187
185
|
outExecutionLogsTableId: true,
|
|
188
|
-
outSecretDefinitionsTableId: true,
|
|
189
186
|
outGraphModuleId: true,
|
|
190
187
|
outGraphsTableId: true,
|
|
191
188
|
outAgentModuleId: true,
|
|
@@ -254,7 +251,6 @@ async function handleGet(argv, prompter) {
|
|
|
254
251
|
outDefinitionsTableId: true,
|
|
255
252
|
outInvocationsTableId: true,
|
|
256
253
|
outExecutionLogsTableId: true,
|
|
257
|
-
outSecretDefinitionsTableId: true,
|
|
258
254
|
outGraphModuleId: true,
|
|
259
255
|
outGraphsTableId: true,
|
|
260
256
|
outAgentModuleId: true,
|
|
@@ -516,13 +512,6 @@ async function handleCreate(argv, prompter) {
|
|
|
516
512
|
required: false,
|
|
517
513
|
skipPrompt: true,
|
|
518
514
|
},
|
|
519
|
-
{
|
|
520
|
-
type: 'text',
|
|
521
|
-
name: 'outSecretDefinitionsTableId',
|
|
522
|
-
message: 'outSecretDefinitionsTableId',
|
|
523
|
-
required: false,
|
|
524
|
-
skipPrompt: true,
|
|
525
|
-
},
|
|
526
515
|
{
|
|
527
516
|
type: 'text',
|
|
528
517
|
name: 'outGraphModuleId',
|
|
@@ -586,7 +575,6 @@ async function handleCreate(argv, prompter) {
|
|
|
586
575
|
outDefinitionsTableId: cleanedData.outDefinitionsTableId,
|
|
587
576
|
outInvocationsTableId: cleanedData.outInvocationsTableId,
|
|
588
577
|
outExecutionLogsTableId: cleanedData.outExecutionLogsTableId,
|
|
589
|
-
outSecretDefinitionsTableId: cleanedData.outSecretDefinitionsTableId,
|
|
590
578
|
outGraphModuleId: cleanedData.outGraphModuleId,
|
|
591
579
|
outGraphsTableId: cleanedData.outGraphsTableId,
|
|
592
580
|
outAgentModuleId: cleanedData.outAgentModuleId,
|
|
@@ -628,7 +616,6 @@ async function handleCreate(argv, prompter) {
|
|
|
628
616
|
outDefinitionsTableId: true,
|
|
629
617
|
outInvocationsTableId: true,
|
|
630
618
|
outExecutionLogsTableId: true,
|
|
631
|
-
outSecretDefinitionsTableId: true,
|
|
632
619
|
outGraphModuleId: true,
|
|
633
620
|
outGraphsTableId: true,
|
|
634
621
|
outAgentModuleId: true,
|
|
@@ -896,13 +883,6 @@ async function handleUpdate(argv, prompter) {
|
|
|
896
883
|
required: false,
|
|
897
884
|
skipPrompt: true,
|
|
898
885
|
},
|
|
899
|
-
{
|
|
900
|
-
type: 'text',
|
|
901
|
-
name: 'outSecretDefinitionsTableId',
|
|
902
|
-
message: 'outSecretDefinitionsTableId',
|
|
903
|
-
required: false,
|
|
904
|
-
skipPrompt: true,
|
|
905
|
-
},
|
|
906
886
|
{
|
|
907
887
|
type: 'text',
|
|
908
888
|
name: 'outGraphModuleId',
|
|
@@ -969,7 +949,6 @@ async function handleUpdate(argv, prompter) {
|
|
|
969
949
|
outDefinitionsTableId: cleanedData.outDefinitionsTableId,
|
|
970
950
|
outInvocationsTableId: cleanedData.outInvocationsTableId,
|
|
971
951
|
outExecutionLogsTableId: cleanedData.outExecutionLogsTableId,
|
|
972
|
-
outSecretDefinitionsTableId: cleanedData.outSecretDefinitionsTableId,
|
|
973
952
|
outGraphModuleId: cleanedData.outGraphModuleId,
|
|
974
953
|
outGraphsTableId: cleanedData.outGraphsTableId,
|
|
975
954
|
outAgentModuleId: cleanedData.outAgentModuleId,
|
|
@@ -1011,7 +990,6 @@ async function handleUpdate(argv, prompter) {
|
|
|
1011
990
|
outDefinitionsTableId: true,
|
|
1012
991
|
outInvocationsTableId: true,
|
|
1013
992
|
outExecutionLogsTableId: true,
|
|
1014
|
-
outSecretDefinitionsTableId: true,
|
|
1015
993
|
outGraphModuleId: true,
|
|
1016
994
|
outGraphsTableId: true,
|
|
1017
995
|
outAgentModuleId: 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',
|
|
@@ -37,7 +38,6 @@ const fieldSchema = {
|
|
|
37
38
|
tgEventBool: 'string',
|
|
38
39
|
upsertAggregate: 'string',
|
|
39
40
|
tgUpdateAggregates: 'string',
|
|
40
|
-
pruneEvents: 'string',
|
|
41
41
|
stepsRequired: 'string',
|
|
42
42
|
levelAchieved: 'string',
|
|
43
43
|
tgCheckAchievements: 'string',
|
|
@@ -98,6 +98,7 @@ async function handleList(argv, _prompter) {
|
|
|
98
98
|
const defaultSelect = {
|
|
99
99
|
id: true,
|
|
100
100
|
databaseId: true,
|
|
101
|
+
entityField: true,
|
|
101
102
|
schemaId: true,
|
|
102
103
|
privateSchemaId: true,
|
|
103
104
|
publicSchemaName: true,
|
|
@@ -124,7 +125,6 @@ async function handleList(argv, _prompter) {
|
|
|
124
125
|
tgEventBool: true,
|
|
125
126
|
upsertAggregate: true,
|
|
126
127
|
tgUpdateAggregates: true,
|
|
127
|
-
pruneEvents: true,
|
|
128
128
|
stepsRequired: true,
|
|
129
129
|
levelAchieved: true,
|
|
130
130
|
tgCheckAchievements: true,
|
|
@@ -159,6 +159,7 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
159
159
|
const defaultSelect = {
|
|
160
160
|
id: true,
|
|
161
161
|
databaseId: true,
|
|
162
|
+
entityField: true,
|
|
162
163
|
schemaId: true,
|
|
163
164
|
privateSchemaId: true,
|
|
164
165
|
publicSchemaName: true,
|
|
@@ -185,7 +186,6 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
185
186
|
tgEventBool: true,
|
|
186
187
|
upsertAggregate: true,
|
|
187
188
|
tgUpdateAggregates: true,
|
|
188
|
-
pruneEvents: true,
|
|
189
189
|
stepsRequired: true,
|
|
190
190
|
levelAchieved: true,
|
|
191
191
|
tgCheckAchievements: true,
|
|
@@ -232,6 +232,7 @@ async function handleGet(argv, prompter) {
|
|
|
232
232
|
select: {
|
|
233
233
|
id: true,
|
|
234
234
|
databaseId: true,
|
|
235
|
+
entityField: true,
|
|
235
236
|
schemaId: true,
|
|
236
237
|
privateSchemaId: true,
|
|
237
238
|
publicSchemaName: true,
|
|
@@ -258,7 +259,6 @@ async function handleGet(argv, prompter) {
|
|
|
258
259
|
tgEventBool: true,
|
|
259
260
|
upsertAggregate: true,
|
|
260
261
|
tgUpdateAggregates: true,
|
|
261
|
-
pruneEvents: true,
|
|
262
262
|
stepsRequired: true,
|
|
263
263
|
levelAchieved: true,
|
|
264
264
|
tgCheckAchievements: true,
|
|
@@ -296,6 +296,13 @@ async function handleCreate(argv, prompter) {
|
|
|
296
296
|
message: 'databaseId',
|
|
297
297
|
required: true,
|
|
298
298
|
},
|
|
299
|
+
{
|
|
300
|
+
type: 'text',
|
|
301
|
+
name: 'entityField',
|
|
302
|
+
message: 'entityField',
|
|
303
|
+
required: false,
|
|
304
|
+
skipPrompt: true,
|
|
305
|
+
},
|
|
299
306
|
{
|
|
300
307
|
type: 'text',
|
|
301
308
|
name: 'schemaId',
|
|
@@ -478,13 +485,6 @@ async function handleCreate(argv, prompter) {
|
|
|
478
485
|
required: false,
|
|
479
486
|
skipPrompt: true,
|
|
480
487
|
},
|
|
481
|
-
{
|
|
482
|
-
type: 'text',
|
|
483
|
-
name: 'pruneEvents',
|
|
484
|
-
message: 'pruneEvents',
|
|
485
|
-
required: false,
|
|
486
|
-
skipPrompt: true,
|
|
487
|
-
},
|
|
488
488
|
{
|
|
489
489
|
type: 'text',
|
|
490
490
|
name: 'stepsRequired',
|
|
@@ -598,6 +598,7 @@ async function handleCreate(argv, prompter) {
|
|
|
598
598
|
.create({
|
|
599
599
|
data: {
|
|
600
600
|
databaseId: cleanedData.databaseId,
|
|
601
|
+
entityField: cleanedData.entityField,
|
|
601
602
|
schemaId: cleanedData.schemaId,
|
|
602
603
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
603
604
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
@@ -624,7 +625,6 @@ async function handleCreate(argv, prompter) {
|
|
|
624
625
|
tgEventBool: cleanedData.tgEventBool,
|
|
625
626
|
upsertAggregate: cleanedData.upsertAggregate,
|
|
626
627
|
tgUpdateAggregates: cleanedData.tgUpdateAggregates,
|
|
627
|
-
pruneEvents: cleanedData.pruneEvents,
|
|
628
628
|
stepsRequired: cleanedData.stepsRequired,
|
|
629
629
|
levelAchieved: cleanedData.levelAchieved,
|
|
630
630
|
tgCheckAchievements: cleanedData.tgCheckAchievements,
|
|
@@ -644,6 +644,7 @@ async function handleCreate(argv, prompter) {
|
|
|
644
644
|
select: {
|
|
645
645
|
id: true,
|
|
646
646
|
databaseId: true,
|
|
647
|
+
entityField: true,
|
|
647
648
|
schemaId: true,
|
|
648
649
|
privateSchemaId: true,
|
|
649
650
|
publicSchemaName: true,
|
|
@@ -670,7 +671,6 @@ async function handleCreate(argv, prompter) {
|
|
|
670
671
|
tgEventBool: true,
|
|
671
672
|
upsertAggregate: true,
|
|
672
673
|
tgUpdateAggregates: true,
|
|
673
|
-
pruneEvents: true,
|
|
674
674
|
stepsRequired: true,
|
|
675
675
|
levelAchieved: true,
|
|
676
676
|
tgCheckAchievements: true,
|
|
@@ -714,6 +714,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
714
714
|
message: 'databaseId',
|
|
715
715
|
required: false,
|
|
716
716
|
},
|
|
717
|
+
{
|
|
718
|
+
type: 'text',
|
|
719
|
+
name: 'entityField',
|
|
720
|
+
message: 'entityField',
|
|
721
|
+
required: false,
|
|
722
|
+
skipPrompt: true,
|
|
723
|
+
},
|
|
717
724
|
{
|
|
718
725
|
type: 'text',
|
|
719
726
|
name: 'schemaId',
|
|
@@ -896,13 +903,6 @@ async function handleUpdate(argv, prompter) {
|
|
|
896
903
|
required: false,
|
|
897
904
|
skipPrompt: true,
|
|
898
905
|
},
|
|
899
|
-
{
|
|
900
|
-
type: 'text',
|
|
901
|
-
name: 'pruneEvents',
|
|
902
|
-
message: 'pruneEvents',
|
|
903
|
-
required: false,
|
|
904
|
-
skipPrompt: true,
|
|
905
|
-
},
|
|
906
906
|
{
|
|
907
907
|
type: 'text',
|
|
908
908
|
name: 'stepsRequired',
|
|
@@ -1019,6 +1019,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
1019
1019
|
},
|
|
1020
1020
|
data: {
|
|
1021
1021
|
databaseId: cleanedData.databaseId,
|
|
1022
|
+
entityField: cleanedData.entityField,
|
|
1022
1023
|
schemaId: cleanedData.schemaId,
|
|
1023
1024
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
1024
1025
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
@@ -1045,7 +1046,6 @@ async function handleUpdate(argv, prompter) {
|
|
|
1045
1046
|
tgEventBool: cleanedData.tgEventBool,
|
|
1046
1047
|
upsertAggregate: cleanedData.upsertAggregate,
|
|
1047
1048
|
tgUpdateAggregates: cleanedData.tgUpdateAggregates,
|
|
1048
|
-
pruneEvents: cleanedData.pruneEvents,
|
|
1049
1049
|
stepsRequired: cleanedData.stepsRequired,
|
|
1050
1050
|
levelAchieved: cleanedData.levelAchieved,
|
|
1051
1051
|
tgCheckAchievements: cleanedData.tgCheckAchievements,
|
|
@@ -1065,6 +1065,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
1065
1065
|
select: {
|
|
1066
1066
|
id: true,
|
|
1067
1067
|
databaseId: true,
|
|
1068
|
+
entityField: true,
|
|
1068
1069
|
schemaId: true,
|
|
1069
1070
|
privateSchemaId: true,
|
|
1070
1071
|
publicSchemaName: true,
|
|
@@ -1091,7 +1092,6 @@ async function handleUpdate(argv, prompter) {
|
|
|
1091
1092
|
tgEventBool: true,
|
|
1092
1093
|
upsertAggregate: true,
|
|
1093
1094
|
tgUpdateAggregates: true,
|
|
1094
|
-
pruneEvents: true,
|
|
1095
1095
|
stepsRequired: true,
|
|
1096
1096
|
levelAchieved: true,
|
|
1097
1097
|
tgCheckAchievements: 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',
|
|
@@ -74,6 +75,7 @@ async function handleList(argv, _prompter) {
|
|
|
74
75
|
const defaultSelect = {
|
|
75
76
|
id: true,
|
|
76
77
|
databaseId: true,
|
|
78
|
+
entityField: true,
|
|
77
79
|
schemaId: true,
|
|
78
80
|
privateSchemaId: true,
|
|
79
81
|
publicSchemaName: true,
|
|
@@ -111,6 +113,7 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
111
113
|
const defaultSelect = {
|
|
112
114
|
id: true,
|
|
113
115
|
databaseId: true,
|
|
116
|
+
entityField: true,
|
|
114
117
|
schemaId: true,
|
|
115
118
|
privateSchemaId: true,
|
|
116
119
|
publicSchemaName: true,
|
|
@@ -160,6 +163,7 @@ async function handleGet(argv, prompter) {
|
|
|
160
163
|
select: {
|
|
161
164
|
id: true,
|
|
162
165
|
databaseId: true,
|
|
166
|
+
entityField: true,
|
|
163
167
|
schemaId: true,
|
|
164
168
|
privateSchemaId: true,
|
|
165
169
|
publicSchemaName: true,
|
|
@@ -200,6 +204,13 @@ async function handleCreate(argv, prompter) {
|
|
|
200
204
|
message: 'databaseId',
|
|
201
205
|
required: true,
|
|
202
206
|
},
|
|
207
|
+
{
|
|
208
|
+
type: 'text',
|
|
209
|
+
name: 'entityField',
|
|
210
|
+
message: 'entityField',
|
|
211
|
+
required: false,
|
|
212
|
+
skipPrompt: true,
|
|
213
|
+
},
|
|
203
214
|
{
|
|
204
215
|
type: 'text',
|
|
205
216
|
name: 'schemaId',
|
|
@@ -334,6 +345,7 @@ async function handleCreate(argv, prompter) {
|
|
|
334
345
|
.create({
|
|
335
346
|
data: {
|
|
336
347
|
databaseId: cleanedData.databaseId,
|
|
348
|
+
entityField: cleanedData.entityField,
|
|
337
349
|
schemaId: cleanedData.schemaId,
|
|
338
350
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
339
351
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
@@ -356,6 +368,7 @@ async function handleCreate(argv, prompter) {
|
|
|
356
368
|
select: {
|
|
357
369
|
id: true,
|
|
358
370
|
databaseId: true,
|
|
371
|
+
entityField: true,
|
|
359
372
|
schemaId: true,
|
|
360
373
|
privateSchemaId: true,
|
|
361
374
|
publicSchemaName: true,
|
|
@@ -402,6 +415,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
402
415
|
message: 'databaseId',
|
|
403
416
|
required: false,
|
|
404
417
|
},
|
|
418
|
+
{
|
|
419
|
+
type: 'text',
|
|
420
|
+
name: 'entityField',
|
|
421
|
+
message: 'entityField',
|
|
422
|
+
required: false,
|
|
423
|
+
skipPrompt: true,
|
|
424
|
+
},
|
|
405
425
|
{
|
|
406
426
|
type: 'text',
|
|
407
427
|
name: 'schemaId',
|
|
@@ -539,6 +559,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
539
559
|
},
|
|
540
560
|
data: {
|
|
541
561
|
databaseId: cleanedData.databaseId,
|
|
562
|
+
entityField: cleanedData.entityField,
|
|
542
563
|
schemaId: cleanedData.schemaId,
|
|
543
564
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
544
565
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
@@ -561,6 +582,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
561
582
|
select: {
|
|
562
583
|
id: true,
|
|
563
584
|
databaseId: true,
|
|
585
|
+
entityField: true,
|
|
564
586
|
schemaId: true,
|
|
565
587
|
privateSchemaId: true,
|
|
566
588
|
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',
|
|
@@ -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,
|
|
@@ -107,6 +109,7 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
107
109
|
const defaultSelect = {
|
|
108
110
|
id: true,
|
|
109
111
|
databaseId: true,
|
|
112
|
+
entityField: true,
|
|
110
113
|
schemaId: true,
|
|
111
114
|
privateSchemaId: true,
|
|
112
115
|
publicSchemaName: true,
|
|
@@ -154,6 +157,7 @@ async function handleGet(argv, prompter) {
|
|
|
154
157
|
select: {
|
|
155
158
|
id: true,
|
|
156
159
|
databaseId: true,
|
|
160
|
+
entityField: true,
|
|
157
161
|
schemaId: true,
|
|
158
162
|
privateSchemaId: true,
|
|
159
163
|
publicSchemaName: true,
|
|
@@ -192,6 +196,13 @@ async function handleCreate(argv, prompter) {
|
|
|
192
196
|
message: 'databaseId',
|
|
193
197
|
required: true,
|
|
194
198
|
},
|
|
199
|
+
{
|
|
200
|
+
type: 'text',
|
|
201
|
+
name: 'entityField',
|
|
202
|
+
message: 'entityField',
|
|
203
|
+
required: false,
|
|
204
|
+
skipPrompt: true,
|
|
205
|
+
},
|
|
195
206
|
{
|
|
196
207
|
type: 'text',
|
|
197
208
|
name: 'schemaId',
|
|
@@ -312,6 +323,7 @@ async function handleCreate(argv, prompter) {
|
|
|
312
323
|
.create({
|
|
313
324
|
data: {
|
|
314
325
|
databaseId: cleanedData.databaseId,
|
|
326
|
+
entityField: cleanedData.entityField,
|
|
315
327
|
schemaId: cleanedData.schemaId,
|
|
316
328
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
317
329
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
@@ -332,6 +344,7 @@ async function handleCreate(argv, prompter) {
|
|
|
332
344
|
select: {
|
|
333
345
|
id: true,
|
|
334
346
|
databaseId: true,
|
|
347
|
+
entityField: true,
|
|
335
348
|
schemaId: true,
|
|
336
349
|
privateSchemaId: true,
|
|
337
350
|
publicSchemaName: true,
|
|
@@ -376,6 +389,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
376
389
|
message: 'databaseId',
|
|
377
390
|
required: false,
|
|
378
391
|
},
|
|
392
|
+
{
|
|
393
|
+
type: 'text',
|
|
394
|
+
name: 'entityField',
|
|
395
|
+
message: 'entityField',
|
|
396
|
+
required: false,
|
|
397
|
+
skipPrompt: true,
|
|
398
|
+
},
|
|
379
399
|
{
|
|
380
400
|
type: 'text',
|
|
381
401
|
name: 'schemaId',
|
|
@@ -499,6 +519,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
499
519
|
},
|
|
500
520
|
data: {
|
|
501
521
|
databaseId: cleanedData.databaseId,
|
|
522
|
+
entityField: cleanedData.entityField,
|
|
502
523
|
schemaId: cleanedData.schemaId,
|
|
503
524
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
504
525
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
@@ -519,6 +540,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
519
540
|
select: {
|
|
520
541
|
id: true,
|
|
521
542
|
databaseId: true,
|
|
543
|
+
entityField: true,
|
|
522
544
|
schemaId: true,
|
|
523
545
|
privateSchemaId: true,
|
|
524
546
|
publicSchemaName: true,
|