@constructive-sdk/cli 0.29.8 → 0.30.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/agent/cli/commands/agent-message.js +20 -0
- package/agent/cli/commands/agent-persona.js +20 -0
- package/agent/cli/commands/agent-plan.js +20 -0
- package/agent/cli/commands/agent-prompt.js +20 -0
- package/agent/cli/commands/agent-resource.js +21 -0
- package/agent/cli/commands/agent-task.js +20 -0
- package/agent/cli/commands/agent-thread.js +20 -0
- package/agent/cli/commands/agent.js +20 -0
- package/agent/orm/input-types.d.ts +96 -8
- package/api/cli/commands/database.js +22 -0
- package/api/cli/commands/field.js +44 -0
- package/api/cli/commands/policy.js +22 -0
- package/{compute/cli/commands/org-function-execution-log.d.ts → api/cli/commands/request-database.d.ts} +1 -1
- package/api/cli/commands/request-database.js +36 -0
- package/api/cli/commands/table.js +22 -0
- package/api/cli/commands.js +5 -9
- package/api/cli/executor.d.ts +4 -14
- package/api/orm/index.d.ts +5 -15
- package/api/orm/index.js +2 -2
- package/api/orm/input-types.d.ts +250 -231
- package/api/orm/models/index.d.ts +1 -1
- package/api/orm/models/index.js +3 -3
- package/api/orm/mutation/index.d.ts +11 -36
- package/api/orm/mutation/index.js +6 -30
- package/auth/cli/commands/delete-principal.d.ts +8 -0
- package/{config/cli/commands/org-secrets-rotate.js → auth/cli/commands/delete-principal.js} +3 -3
- package/auth/cli/commands/principal-scope-override.js +18 -7
- package/auth/cli/commands/principal.d.ts +1 -1
- package/auth/cli/commands/principal.js +75 -64
- package/auth/cli/commands.js +5 -3
- package/auth/cli/executor.d.ts +10 -5
- package/auth/orm/index.d.ts +10 -5
- package/auth/orm/input-types.d.ts +54 -45
- package/auth/orm/models/principal.d.ts +1 -10
- package/auth/orm/models/principal.js +0 -13
- package/auth/orm/mutation/index.d.ts +17 -9
- package/auth/orm/mutation/index.js +24 -12
- package/{esm/compute/cli/commands/secret-definition.d.ts → compute/cli/commands/db-preset.d.ts} +1 -1
- package/compute/cli/commands/db-preset.js +394 -0
- package/compute/cli/commands/function-definition.js +208 -12
- package/compute/cli/commands/function-deployment.js +42 -20
- package/compute/cli/commands/function-graph-commit.js +15 -15
- package/compute/cli/commands/function-graph-execution-node-state.js +12 -12
- package/compute/cli/commands/function-graph-execution-output.js +12 -12
- package/compute/cli/commands/function-graph-execution.js +37 -13
- package/compute/cli/commands/function-graph-object.js +15 -15
- package/compute/cli/commands/function-graph-ref.js +15 -15
- package/compute/cli/commands/function-graph-store.js +12 -12
- package/compute/cli/commands/function-graph.js +12 -12
- package/compute/cli/commands/{secret-definition.d.ts → infra-commit.d.ts} +1 -1
- package/compute/cli/commands/infra-commit.js +389 -0
- package/{esm/modules/cli/commands/config-secrets-module.d.ts → compute/cli/commands/infra-get-all-record.d.ts} +1 -1
- package/compute/cli/commands/infra-get-all-record.js +126 -0
- package/{api/cli/commands/create-user-database.d.ts → compute/cli/commands/infra-init-empty-repo.d.ts} +1 -1
- package/compute/cli/commands/infra-init-empty-repo.js +36 -0
- package/compute/cli/commands/infra-insert-node-at-path.d.ts +8 -0
- package/{config/cli/commands/org-secrets-remove-array.js → compute/cli/commands/infra-insert-node-at-path.js} +3 -3
- package/{modules/cli/commands/config-secrets-module.d.ts → compute/cli/commands/infra-object.d.ts} +1 -1
- package/compute/cli/commands/infra-object.js +309 -0
- package/compute/cli/commands/infra-ref.d.ts +8 -0
- package/compute/cli/commands/infra-ref.js +299 -0
- package/compute/cli/commands/infra-set-data-at-path.d.ts +8 -0
- package/compute/cli/commands/infra-set-data-at-path.js +36 -0
- package/compute/cli/commands/infra-store.d.ts +8 -0
- package/compute/cli/commands/infra-store.js +278 -0
- package/compute/cli/commands/integration-provider.d.ts +8 -0
- package/compute/cli/commands/integration-provider.js +416 -0
- package/compute/cli/commands/namespace-event.d.ts +8 -0
- package/compute/cli/commands/namespace-event.js +510 -0
- package/compute/cli/commands/namespace.d.ts +8 -0
- package/compute/cli/commands/{secret-definition.js → namespace.js} +106 -20
- package/compute/cli/commands/platform-function-api-binding.d.ts +8 -0
- package/compute/cli/commands/platform-function-api-binding.js +294 -0
- package/compute/cli/commands/platform-function-definition.d.ts +8 -0
- package/compute/cli/commands/platform-function-definition.js +964 -0
- package/compute/cli/commands/platform-function-deployment-event.d.ts +8 -0
- package/compute/cli/commands/platform-function-deployment-event.js +336 -0
- package/compute/cli/commands/platform-function-deployment.d.ts +8 -0
- package/compute/cli/commands/platform-function-deployment.js +614 -0
- package/compute/cli/commands/platform-function-execution-log.d.ts +8 -0
- package/compute/cli/commands/{org-function-execution-log.js → platform-function-execution-log.js} +8 -8
- package/compute/cli/commands/platform-function-invocation.d.ts +8 -0
- package/compute/cli/commands/{org-function-invocation.js → platform-function-invocation.js} +8 -8
- package/compute/cli/commands/platform-namespace-event.js +0 -20
- package/compute/cli/commands/platform-namespace.js +40 -60
- package/compute/cli/commands/platform-resource-definition.d.ts +8 -0
- package/compute/cli/commands/platform-resource-definition.js +522 -0
- package/{api/cli/commands/bootstrap-user.d.ts → compute/cli/commands/platform-resource-event.d.ts} +1 -1
- package/compute/cli/commands/platform-resource-event.js +336 -0
- package/compute/cli/commands/platform-resource-status-check.d.ts +8 -0
- package/compute/cli/commands/platform-resource-status-check.js +340 -0
- package/compute/cli/commands/platform-resource.d.ts +8 -0
- package/compute/cli/commands/platform-resource.js +588 -0
- package/{api/cli/commands/provision-database-with-user.d.ts → compute/cli/commands/platform-resources-requirements-state.d.ts} +1 -1
- package/compute/cli/commands/platform-resources-requirements-state.js +183 -0
- package/compute/cli/commands/platform-resources-resolved-requirement.d.ts +8 -0
- package/compute/cli/commands/platform-resources-resolved-requirement.js +218 -0
- package/compute/cli/commands/resource-definition.d.ts +8 -0
- package/compute/cli/commands/resource-definition.js +542 -0
- package/compute/cli/commands/resource-status-check.d.ts +8 -0
- package/{modules/cli/commands/config-secrets-org-module.js → compute/cli/commands/resource-status-check.js} +90 -70
- package/compute/cli/commands/resource.js +88 -0
- package/compute/cli/commands/resources-requirements-state.d.ts +8 -0
- package/compute/cli/commands/resources-requirements-state.js +181 -0
- package/compute/cli/commands/resources-resolved-requirement.d.ts +8 -0
- package/compute/cli/commands/resources-resolved-requirement.js +214 -0
- package/compute/cli/commands.js +65 -15
- package/compute/cli/executor.d.ts +48 -11
- package/compute/orm/index.d.ts +76 -17
- package/compute/orm/index.js +56 -12
- package/compute/orm/input-types.d.ts +5893 -1343
- package/compute/orm/input-types.js +17 -3
- package/compute/orm/models/dbPreset.d.ts +54 -0
- package/compute/orm/models/dbPreset.js +104 -0
- package/compute/orm/models/functionGraphCommit.d.ts +2 -2
- package/compute/orm/models/functionGraphCommit.js +2 -2
- package/compute/orm/models/functionGraphObject.d.ts +2 -2
- package/compute/orm/models/functionGraphObject.js +2 -2
- package/compute/orm/models/functionGraphRef.d.ts +2 -2
- package/compute/orm/models/functionGraphRef.js +2 -2
- package/compute/orm/models/index.d.ts +28 -6
- package/compute/orm/models/index.js +57 -13
- package/compute/orm/models/infraCommit.d.ts +56 -0
- package/compute/orm/models/infraCommit.js +107 -0
- package/compute/orm/models/infraGetAllRecord.d.ts +30 -0
- package/compute/orm/models/infraGetAllRecord.js +59 -0
- package/compute/orm/models/infraObject.d.ts +56 -0
- package/compute/orm/models/infraObject.js +97 -0
- package/compute/orm/models/infraRef.d.ts +56 -0
- package/compute/orm/models/infraRef.js +107 -0
- package/compute/orm/models/infraStore.d.ts +54 -0
- package/compute/orm/models/infraStore.js +104 -0
- package/compute/orm/models/integrationProvider.d.ts +54 -0
- package/{modules/orm/models/configSecretsModule.js → compute/orm/models/integrationProvider.js} +27 -27
- package/compute/orm/models/namespace.d.ts +54 -0
- package/compute/orm/models/namespace.js +104 -0
- package/compute/orm/models/namespaceEvent.d.ts +56 -0
- package/compute/orm/models/{orgFunctionExecutionLog.js → namespaceEvent.js} +27 -27
- package/compute/orm/models/platformFunctionApiBinding.d.ts +54 -0
- package/compute/orm/models/platformFunctionApiBinding.js +104 -0
- package/compute/orm/models/platformFunctionDefinition.d.ts +54 -0
- package/compute/orm/models/platformFunctionDefinition.js +104 -0
- package/compute/orm/models/platformFunctionDeployment.d.ts +54 -0
- package/compute/orm/models/platformFunctionDeployment.js +104 -0
- package/compute/orm/models/platformFunctionDeploymentEvent.d.ts +56 -0
- package/compute/orm/models/platformFunctionDeploymentEvent.js +107 -0
- package/compute/orm/models/platformFunctionExecutionLog.d.ts +56 -0
- package/compute/orm/models/platformFunctionExecutionLog.js +107 -0
- package/compute/orm/models/platformFunctionInvocation.d.ts +56 -0
- package/compute/orm/models/platformFunctionInvocation.js +107 -0
- package/compute/orm/models/platformResource.d.ts +54 -0
- package/compute/orm/models/{secretDefinition.js → platformResource.js} +27 -27
- package/compute/orm/models/platformResourceDefinition.d.ts +54 -0
- package/compute/orm/models/platformResourceDefinition.js +104 -0
- package/compute/orm/models/platformResourceEvent.d.ts +56 -0
- package/compute/orm/models/{orgFunctionInvocation.js → platformResourceEvent.js} +27 -27
- package/compute/orm/models/platformResourceStatusCheck.d.ts +54 -0
- package/compute/orm/models/platformResourceStatusCheck.js +104 -0
- package/compute/orm/models/platformResourcesRequirementsState.d.ts +30 -0
- package/compute/orm/models/platformResourcesRequirementsState.js +59 -0
- package/compute/orm/models/platformResourcesResolvedRequirement.d.ts +30 -0
- package/compute/orm/models/platformResourcesResolvedRequirement.js +59 -0
- package/compute/orm/models/resourceDefinition.d.ts +54 -0
- package/compute/orm/models/resourceDefinition.js +104 -0
- package/compute/orm/models/resourceStatusCheck.d.ts +54 -0
- package/compute/orm/models/resourceStatusCheck.js +104 -0
- package/compute/orm/models/resourcesRequirementsState.d.ts +30 -0
- package/compute/orm/models/resourcesRequirementsState.js +59 -0
- package/compute/orm/models/resourcesResolvedRequirement.d.ts +30 -0
- package/compute/orm/models/resourcesResolvedRequirement.js +59 -0
- package/compute/orm/mutation/index.d.ts +33 -9
- package/compute/orm/mutation/index.js +48 -12
- package/config/cli/commands/config.d.ts +8 -0
- package/config/cli/commands/{platform-config-definition.js → config.js} +127 -65
- package/config/cli/commands/platform-config.js +22 -0
- package/config/cli/commands/platform-internal-secret.d.ts +8 -0
- package/config/cli/commands/platform-internal-secret.js +200 -0
- package/config/cli/commands/platform-internal-secrets-del.d.ts +8 -0
- package/{api/cli/commands/provision-database-with-user.js → config/cli/commands/platform-internal-secrets-del.js} +3 -3
- package/config/cli/commands/platform-internal-secrets-remove-array.d.ts +8 -0
- package/config/cli/commands/platform-internal-secrets-remove-array.js +36 -0
- package/config/cli/commands/platform-internal-secrets-rotate.d.ts +8 -0
- package/config/cli/commands/platform-internal-secrets-rotate.js +36 -0
- package/config/cli/commands/platform-internal-secrets-set.d.ts +8 -0
- package/config/cli/commands/platform-internal-secrets-set.js +36 -0
- package/config/cli/commands/platform-secret.d.ts +8 -0
- package/config/cli/commands/platform-secret.js +212 -0
- package/config/cli/commands/secret.d.ts +8 -0
- package/config/cli/commands/secret.js +224 -0
- package/config/cli/commands/secrets-del.d.ts +8 -0
- package/{api/cli/commands/bootstrap-user.js → config/cli/commands/secrets-del.js} +3 -3
- package/config/cli/commands/secrets-remove-array.d.ts +8 -0
- package/config/cli/commands/secrets-remove-array.js +36 -0
- package/config/cli/commands/secrets-rotate.d.ts +8 -0
- package/config/cli/commands/{org-secrets-set.js → secrets-rotate.js} +3 -3
- package/config/cli/commands/secrets-set.d.ts +8 -0
- package/config/cli/commands/{org-secrets-del.js → secrets-set.js} +3 -3
- package/config/cli/commands.js +25 -11
- package/config/cli/executor.d.ts +38 -15
- package/config/orm/index.d.ts +42 -16
- package/config/orm/index.js +8 -2
- package/config/orm/input-types.d.ts +595 -154
- package/config/orm/models/config.d.ts +54 -0
- package/{modules/orm/models/configSecretsOrgModule.js → config/orm/models/config.js} +27 -27
- package/config/orm/models/index.d.ts +4 -1
- package/config/orm/models/index.js +9 -3
- package/config/orm/models/platformInternalSecret.d.ts +36 -0
- package/config/orm/models/platformInternalSecret.js +80 -0
- package/config/orm/models/platformSecret.d.ts +36 -0
- package/config/orm/models/platformSecret.js +80 -0
- package/config/orm/models/secret.d.ts +36 -0
- package/config/orm/models/secret.js +80 -0
- package/config/orm/mutation/index.d.ts +56 -24
- package/config/orm/mutation/index.js +78 -30
- package/esm/agent/cli/commands/agent-message.js +20 -0
- package/esm/agent/cli/commands/agent-persona.js +20 -0
- package/esm/agent/cli/commands/agent-plan.js +20 -0
- package/esm/agent/cli/commands/agent-prompt.js +20 -0
- package/esm/agent/cli/commands/agent-resource.js +21 -0
- package/esm/agent/cli/commands/agent-task.js +20 -0
- package/esm/agent/cli/commands/agent-thread.js +20 -0
- package/esm/agent/cli/commands/agent.js +20 -0
- package/esm/agent/orm/input-types.d.ts +96 -8
- package/esm/api/cli/commands/database.js +22 -0
- package/esm/api/cli/commands/field.js +44 -0
- package/esm/api/cli/commands/policy.js +22 -0
- package/esm/api/cli/commands/request-database.d.ts +8 -0
- package/esm/api/cli/commands/request-database.js +34 -0
- package/esm/api/cli/commands/table.js +22 -0
- package/esm/api/cli/commands.js +5 -9
- package/esm/api/cli/executor.d.ts +4 -14
- package/esm/api/orm/index.d.ts +5 -15
- package/esm/api/orm/index.js +2 -2
- package/esm/api/orm/input-types.d.ts +250 -231
- package/esm/api/orm/models/index.d.ts +1 -1
- package/esm/api/orm/models/index.js +1 -1
- package/esm/api/orm/mutation/index.d.ts +11 -36
- package/esm/api/orm/mutation/index.js +6 -30
- package/esm/auth/cli/commands/delete-principal.d.ts +8 -0
- package/esm/{config/cli/commands/org-secrets-rotate.js → auth/cli/commands/delete-principal.js} +3 -3
- package/esm/auth/cli/commands/principal-scope-override.js +18 -7
- package/esm/auth/cli/commands/principal.d.ts +1 -1
- package/esm/auth/cli/commands/principal.js +78 -67
- package/esm/auth/cli/commands.js +5 -3
- package/esm/auth/cli/executor.d.ts +10 -5
- package/esm/auth/orm/index.d.ts +10 -5
- package/esm/auth/orm/input-types.d.ts +54 -45
- package/esm/auth/orm/models/principal.d.ts +1 -10
- package/esm/auth/orm/models/principal.js +1 -14
- package/esm/auth/orm/mutation/index.d.ts +17 -9
- package/esm/auth/orm/mutation/index.js +24 -12
- package/esm/compute/cli/commands/db-preset.d.ts +8 -0
- package/esm/compute/cli/commands/db-preset.js +392 -0
- package/esm/compute/cli/commands/function-definition.js +208 -12
- package/esm/compute/cli/commands/function-deployment.js +42 -20
- package/esm/compute/cli/commands/function-graph-commit.js +15 -15
- package/esm/compute/cli/commands/function-graph-execution-node-state.js +12 -12
- package/esm/compute/cli/commands/function-graph-execution-output.js +12 -12
- package/esm/compute/cli/commands/function-graph-execution.js +37 -13
- package/esm/compute/cli/commands/function-graph-object.js +15 -15
- package/esm/compute/cli/commands/function-graph-ref.js +15 -15
- package/esm/compute/cli/commands/function-graph-store.js +12 -12
- package/esm/compute/cli/commands/function-graph.js +12 -12
- package/esm/compute/cli/commands/infra-commit.d.ts +8 -0
- package/esm/compute/cli/commands/infra-commit.js +387 -0
- package/esm/compute/cli/commands/infra-get-all-record.d.ts +8 -0
- package/esm/compute/cli/commands/infra-get-all-record.js +124 -0
- package/esm/compute/cli/commands/infra-init-empty-repo.d.ts +8 -0
- package/esm/compute/cli/commands/infra-init-empty-repo.js +34 -0
- package/esm/compute/cli/commands/infra-insert-node-at-path.d.ts +8 -0
- package/esm/{config/cli/commands/org-secrets-remove-array.js → compute/cli/commands/infra-insert-node-at-path.js} +3 -3
- package/esm/compute/cli/commands/infra-object.d.ts +8 -0
- package/esm/compute/cli/commands/infra-object.js +307 -0
- package/esm/compute/cli/commands/infra-ref.d.ts +8 -0
- package/esm/compute/cli/commands/infra-ref.js +297 -0
- package/esm/compute/cli/commands/infra-set-data-at-path.d.ts +8 -0
- package/esm/compute/cli/commands/infra-set-data-at-path.js +34 -0
- package/esm/compute/cli/commands/infra-store.d.ts +8 -0
- package/esm/compute/cli/commands/infra-store.js +276 -0
- package/esm/compute/cli/commands/integration-provider.d.ts +8 -0
- package/esm/compute/cli/commands/integration-provider.js +414 -0
- package/esm/compute/cli/commands/namespace-event.d.ts +8 -0
- package/esm/compute/cli/commands/namespace-event.js +508 -0
- package/esm/compute/cli/commands/namespace.d.ts +8 -0
- package/esm/compute/cli/commands/{secret-definition.js → namespace.js} +106 -20
- package/esm/compute/cli/commands/platform-function-api-binding.d.ts +8 -0
- package/esm/compute/cli/commands/platform-function-api-binding.js +292 -0
- package/esm/compute/cli/commands/platform-function-definition.d.ts +8 -0
- package/esm/compute/cli/commands/platform-function-definition.js +962 -0
- package/esm/compute/cli/commands/platform-function-deployment-event.d.ts +8 -0
- package/esm/compute/cli/commands/platform-function-deployment-event.js +334 -0
- package/esm/compute/cli/commands/platform-function-deployment.d.ts +8 -0
- package/esm/compute/cli/commands/platform-function-deployment.js +612 -0
- package/esm/compute/cli/commands/platform-function-execution-log.d.ts +8 -0
- package/esm/compute/cli/commands/{org-function-execution-log.js → platform-function-execution-log.js} +8 -8
- package/esm/compute/cli/commands/platform-function-invocation.d.ts +8 -0
- package/esm/compute/cli/commands/{org-function-invocation.js → platform-function-invocation.js} +8 -8
- package/esm/compute/cli/commands/platform-namespace-event.js +0 -20
- package/esm/compute/cli/commands/platform-namespace.js +40 -60
- package/esm/compute/cli/commands/platform-resource-definition.d.ts +8 -0
- package/esm/compute/cli/commands/platform-resource-definition.js +520 -0
- package/{compute/cli/commands/org-function-invocation.d.ts → esm/compute/cli/commands/platform-resource-event.d.ts} +1 -1
- package/esm/compute/cli/commands/platform-resource-event.js +334 -0
- package/esm/compute/cli/commands/platform-resource-status-check.d.ts +8 -0
- package/esm/compute/cli/commands/platform-resource-status-check.js +338 -0
- package/esm/compute/cli/commands/platform-resource.d.ts +8 -0
- package/esm/compute/cli/commands/platform-resource.js +586 -0
- package/esm/compute/cli/commands/platform-resources-requirements-state.d.ts +8 -0
- package/esm/compute/cli/commands/platform-resources-requirements-state.js +181 -0
- package/esm/compute/cli/commands/platform-resources-resolved-requirement.d.ts +8 -0
- package/esm/compute/cli/commands/platform-resources-resolved-requirement.js +216 -0
- package/esm/compute/cli/commands/resource-definition.d.ts +8 -0
- package/esm/compute/cli/commands/resource-definition.js +540 -0
- package/esm/compute/cli/commands/resource-status-check.d.ts +8 -0
- package/esm/{modules/cli/commands/config-secrets-org-module.js → compute/cli/commands/resource-status-check.js} +90 -70
- package/esm/compute/cli/commands/resource.js +88 -0
- package/esm/compute/cli/commands/resources-requirements-state.d.ts +8 -0
- package/esm/compute/cli/commands/resources-requirements-state.js +179 -0
- package/esm/compute/cli/commands/resources-resolved-requirement.d.ts +8 -0
- package/esm/compute/cli/commands/resources-resolved-requirement.js +212 -0
- package/esm/compute/cli/commands.js +65 -15
- package/esm/compute/cli/executor.d.ts +48 -11
- package/esm/compute/orm/index.d.ts +76 -17
- package/esm/compute/orm/index.js +56 -12
- package/esm/compute/orm/input-types.d.ts +5893 -1343
- package/esm/compute/orm/input-types.js +17 -3
- package/esm/compute/orm/models/dbPreset.d.ts +54 -0
- package/esm/compute/orm/models/dbPreset.js +100 -0
- package/esm/compute/orm/models/functionGraphCommit.d.ts +2 -2
- package/esm/compute/orm/models/functionGraphCommit.js +2 -2
- package/esm/compute/orm/models/functionGraphObject.d.ts +2 -2
- package/esm/compute/orm/models/functionGraphObject.js +2 -2
- package/esm/compute/orm/models/functionGraphRef.d.ts +2 -2
- package/esm/compute/orm/models/functionGraphRef.js +2 -2
- package/esm/compute/orm/models/index.d.ts +28 -6
- package/esm/compute/orm/models/index.js +28 -6
- package/esm/compute/orm/models/infraCommit.d.ts +56 -0
- package/esm/compute/orm/models/infraCommit.js +103 -0
- package/esm/compute/orm/models/infraGetAllRecord.d.ts +30 -0
- package/esm/compute/orm/models/infraGetAllRecord.js +55 -0
- package/esm/compute/orm/models/infraObject.d.ts +56 -0
- package/esm/compute/orm/models/infraObject.js +93 -0
- package/esm/compute/orm/models/infraRef.d.ts +56 -0
- package/esm/compute/orm/models/infraRef.js +103 -0
- package/esm/compute/orm/models/infraStore.d.ts +54 -0
- package/esm/compute/orm/models/infraStore.js +100 -0
- package/esm/compute/orm/models/integrationProvider.d.ts +54 -0
- package/esm/compute/orm/models/integrationProvider.js +100 -0
- package/esm/compute/orm/models/namespace.d.ts +54 -0
- package/esm/compute/orm/models/namespace.js +100 -0
- package/esm/compute/orm/models/namespaceEvent.d.ts +56 -0
- package/esm/compute/orm/models/{orgFunctionExecutionLog.js → namespaceEvent.js} +25 -25
- package/esm/compute/orm/models/platformFunctionApiBinding.d.ts +54 -0
- package/esm/compute/orm/models/platformFunctionApiBinding.js +100 -0
- package/esm/compute/orm/models/platformFunctionDefinition.d.ts +54 -0
- package/esm/compute/orm/models/platformFunctionDefinition.js +100 -0
- package/esm/compute/orm/models/platformFunctionDeployment.d.ts +54 -0
- package/esm/compute/orm/models/platformFunctionDeployment.js +100 -0
- package/esm/compute/orm/models/platformFunctionDeploymentEvent.d.ts +56 -0
- package/esm/compute/orm/models/platformFunctionDeploymentEvent.js +103 -0
- package/esm/compute/orm/models/platformFunctionExecutionLog.d.ts +56 -0
- package/esm/compute/orm/models/platformFunctionExecutionLog.js +103 -0
- package/esm/compute/orm/models/platformFunctionInvocation.d.ts +56 -0
- package/esm/compute/orm/models/platformFunctionInvocation.js +103 -0
- package/esm/compute/orm/models/platformResource.d.ts +54 -0
- package/esm/compute/orm/models/{secretDefinition.js → platformResource.js} +25 -25
- package/esm/compute/orm/models/platformResourceDefinition.d.ts +54 -0
- package/esm/compute/orm/models/platformResourceDefinition.js +100 -0
- package/esm/compute/orm/models/platformResourceEvent.d.ts +56 -0
- package/esm/compute/orm/models/{orgFunctionInvocation.js → platformResourceEvent.js} +25 -25
- package/esm/compute/orm/models/platformResourceStatusCheck.d.ts +54 -0
- package/esm/compute/orm/models/platformResourceStatusCheck.js +100 -0
- package/esm/compute/orm/models/platformResourcesRequirementsState.d.ts +30 -0
- package/esm/compute/orm/models/platformResourcesRequirementsState.js +55 -0
- package/esm/compute/orm/models/platformResourcesResolvedRequirement.d.ts +30 -0
- package/esm/compute/orm/models/platformResourcesResolvedRequirement.js +55 -0
- package/esm/compute/orm/models/resourceDefinition.d.ts +54 -0
- package/esm/{modules/orm/models/configSecretsOrgModule.js → compute/orm/models/resourceDefinition.js} +25 -25
- package/esm/compute/orm/models/resourceStatusCheck.d.ts +54 -0
- package/esm/compute/orm/models/resourceStatusCheck.js +100 -0
- package/esm/compute/orm/models/resourcesRequirementsState.d.ts +30 -0
- package/esm/compute/orm/models/resourcesRequirementsState.js +55 -0
- package/esm/compute/orm/models/resourcesResolvedRequirement.d.ts +30 -0
- package/esm/compute/orm/models/resourcesResolvedRequirement.js +55 -0
- package/esm/compute/orm/mutation/index.d.ts +33 -9
- package/esm/compute/orm/mutation/index.js +48 -12
- package/esm/config/cli/commands/config.d.ts +8 -0
- package/esm/config/cli/commands/{platform-config-definition.js → config.js} +127 -65
- package/esm/config/cli/commands/platform-config.js +22 -0
- package/esm/config/cli/commands/platform-internal-secret.d.ts +8 -0
- package/esm/config/cli/commands/platform-internal-secret.js +198 -0
- package/esm/config/cli/commands/platform-internal-secrets-del.d.ts +8 -0
- package/esm/{api/cli/commands/provision-database-with-user.js → config/cli/commands/platform-internal-secrets-del.js} +3 -3
- package/esm/config/cli/commands/platform-internal-secrets-remove-array.d.ts +8 -0
- package/esm/config/cli/commands/platform-internal-secrets-remove-array.js +34 -0
- package/esm/config/cli/commands/platform-internal-secrets-rotate.d.ts +8 -0
- package/esm/config/cli/commands/platform-internal-secrets-rotate.js +34 -0
- package/esm/config/cli/commands/platform-internal-secrets-set.d.ts +8 -0
- package/esm/config/cli/commands/platform-internal-secrets-set.js +34 -0
- package/esm/config/cli/commands/platform-secret.d.ts +8 -0
- package/esm/config/cli/commands/platform-secret.js +210 -0
- package/esm/config/cli/commands/secret.d.ts +8 -0
- package/esm/config/cli/commands/secret.js +222 -0
- package/esm/config/cli/commands/secrets-del.d.ts +8 -0
- package/esm/{api/cli/commands/bootstrap-user.js → config/cli/commands/secrets-del.js} +3 -3
- package/esm/config/cli/commands/secrets-remove-array.d.ts +8 -0
- package/esm/config/cli/commands/secrets-remove-array.js +34 -0
- package/esm/config/cli/commands/secrets-rotate.d.ts +8 -0
- package/esm/config/cli/commands/{org-secrets-del.js → secrets-rotate.js} +3 -3
- package/esm/config/cli/commands/secrets-set.d.ts +8 -0
- package/esm/config/cli/commands/{org-secrets-set.js → secrets-set.js} +3 -3
- package/esm/config/cli/commands.js +25 -11
- package/esm/config/cli/executor.d.ts +38 -15
- package/esm/config/orm/index.d.ts +42 -16
- package/esm/config/orm/index.js +8 -2
- package/esm/config/orm/input-types.d.ts +595 -154
- package/esm/config/orm/models/config.d.ts +54 -0
- package/esm/{modules/orm/models/configSecretsModule.js → config/orm/models/config.js} +25 -25
- package/esm/config/orm/models/index.d.ts +4 -1
- package/esm/config/orm/models/index.js +4 -1
- package/esm/config/orm/models/platformInternalSecret.d.ts +36 -0
- package/esm/config/orm/models/platformInternalSecret.js +76 -0
- package/esm/config/orm/models/platformSecret.d.ts +36 -0
- package/esm/config/orm/models/platformSecret.js +76 -0
- package/esm/config/orm/models/secret.d.ts +36 -0
- package/esm/config/orm/models/secret.js +76 -0
- package/esm/config/orm/mutation/index.d.ts +56 -24
- package/esm/config/orm/mutation/index.js +78 -30
- package/esm/index.d.ts +1 -0
- package/esm/index.js +1 -0
- package/esm/infra/cli/commands/auth.d.ts +8 -0
- package/esm/infra/cli/commands/auth.js +105 -0
- package/esm/infra/cli/commands/context.d.ts +8 -0
- package/esm/infra/cli/commands/context.js +156 -0
- package/esm/infra/cli/commands/db-preset.d.ts +8 -0
- package/esm/infra/cli/commands/db-preset.js +392 -0
- package/esm/infra/cli/commands/infra-commit.d.ts +8 -0
- package/esm/infra/cli/commands/infra-commit.js +387 -0
- package/esm/infra/cli/commands/infra-get-all-record.d.ts +8 -0
- package/esm/infra/cli/commands/infra-get-all-record.js +124 -0
- package/esm/infra/cli/commands/infra-init-empty-repo.d.ts +8 -0
- package/esm/infra/cli/commands/infra-init-empty-repo.js +34 -0
- package/esm/infra/cli/commands/infra-insert-node-at-path.d.ts +8 -0
- package/esm/infra/cli/commands/infra-insert-node-at-path.js +34 -0
- package/esm/infra/cli/commands/infra-object.d.ts +8 -0
- package/esm/infra/cli/commands/infra-object.js +307 -0
- package/esm/infra/cli/commands/infra-ref.d.ts +8 -0
- package/esm/infra/cli/commands/infra-ref.js +297 -0
- package/esm/infra/cli/commands/infra-set-data-at-path.d.ts +8 -0
- package/esm/infra/cli/commands/infra-set-data-at-path.js +34 -0
- package/esm/infra/cli/commands/infra-store.d.ts +8 -0
- package/esm/infra/cli/commands/infra-store.js +276 -0
- package/esm/infra/cli/commands/namespace-event.d.ts +8 -0
- package/esm/infra/cli/commands/namespace-event.js +508 -0
- package/esm/infra/cli/commands/namespace.d.ts +8 -0
- package/esm/infra/cli/commands/namespace.js +434 -0
- package/esm/infra/cli/commands/platform-namespace-event.d.ts +8 -0
- package/esm/infra/cli/commands/platform-namespace-event.js +488 -0
- package/esm/infra/cli/commands/platform-namespace.d.ts +8 -0
- package/esm/infra/cli/commands/platform-namespace.js +414 -0
- package/esm/infra/cli/commands/provision-bucket.d.ts +8 -0
- package/esm/infra/cli/commands/provision-bucket.js +34 -0
- package/esm/infra/cli/commands.d.ts +7 -0
- package/esm/infra/cli/commands.js +69 -0
- package/esm/infra/cli/executor.d.ts +35 -0
- package/esm/infra/cli/executor.js +35 -0
- package/esm/infra/cli/index.d.ts +1 -0
- package/esm/infra/cli/index.js +24 -0
- package/esm/infra/cli/utils.d.ts +88 -0
- package/esm/infra/cli/utils.js +281 -0
- package/esm/infra/index.d.ts +6 -0
- package/esm/infra/index.js +6 -0
- package/esm/infra/orm/client.d.ts +97 -0
- package/esm/infra/orm/client.js +145 -0
- package/esm/infra/orm/index.d.ts +74 -0
- package/esm/infra/orm/index.js +61 -0
- package/esm/infra/orm/input-types.d.ts +1953 -0
- package/esm/infra/orm/input-types.js +2 -0
- package/esm/infra/orm/models/dbPreset.d.ts +54 -0
- package/esm/infra/orm/models/dbPreset.js +100 -0
- package/esm/infra/orm/models/index.d.ts +15 -0
- package/esm/infra/orm/models/index.js +15 -0
- package/esm/infra/orm/models/infraCommit.d.ts +56 -0
- package/esm/infra/orm/models/infraCommit.js +103 -0
- package/esm/infra/orm/models/infraGetAllRecord.d.ts +30 -0
- package/esm/infra/orm/models/infraGetAllRecord.js +55 -0
- package/esm/infra/orm/models/infraObject.d.ts +56 -0
- package/esm/infra/orm/models/infraObject.js +93 -0
- package/esm/infra/orm/models/infraRef.d.ts +56 -0
- package/esm/infra/orm/models/infraRef.js +103 -0
- package/esm/infra/orm/models/infraStore.d.ts +54 -0
- package/esm/infra/orm/models/infraStore.js +100 -0
- package/esm/infra/orm/models/namespace.d.ts +54 -0
- package/esm/infra/orm/models/namespace.js +100 -0
- package/esm/infra/orm/models/namespaceEvent.d.ts +56 -0
- package/esm/infra/orm/models/namespaceEvent.js +103 -0
- package/esm/infra/orm/models/platformNamespace.d.ts +54 -0
- package/esm/{config/orm/models/platformConfigDefinition.js → infra/orm/models/platformNamespace.js} +25 -25
- package/esm/infra/orm/models/platformNamespaceEvent.d.ts +56 -0
- package/esm/infra/orm/models/platformNamespaceEvent.js +103 -0
- package/esm/infra/orm/mutation/index.d.ts +50 -0
- package/esm/infra/orm/mutation/index.js +54 -0
- package/esm/infra/orm/query-builder.d.ts +110 -0
- package/esm/infra/orm/query-builder.js +705 -0
- package/esm/infra/orm/realtime.d.ts +142 -0
- package/esm/infra/orm/realtime.js +100 -0
- package/esm/infra/orm/select-types.d.ts +125 -0
- package/esm/infra/orm/select-types.js +1 -0
- package/esm/infra/orm/types.d.ts +6 -0
- package/esm/infra/orm/types.js +7 -0
- package/esm/modules/cli/commands/agent-module.js +22 -0
- package/esm/modules/cli/commands/billing-module.js +44 -0
- package/esm/modules/cli/commands/compute-log-module.js +22 -0
- package/esm/modules/cli/commands/config-secrets-user-module.js +22 -22
- package/esm/modules/cli/commands/database-provision-module.js +88 -0
- package/esm/modules/cli/commands/db-pool-config.d.ts +8 -0
- package/esm/modules/cli/commands/db-pool-config.js +368 -0
- package/esm/modules/cli/commands/db-pool.d.ts +8 -0
- package/esm/modules/cli/commands/db-pool.js +438 -0
- package/esm/modules/cli/commands/db-preset-module.d.ts +8 -0
- package/esm/modules/cli/commands/db-preset-module.js +534 -0
- package/esm/modules/cli/commands/db-usage-module.js +110 -0
- package/esm/modules/cli/commands/entity-type-provision.js +0 -22
- package/esm/modules/cli/commands/events-module.js +22 -22
- package/esm/modules/cli/commands/function-deployment-module.js +22 -0
- package/esm/modules/cli/commands/function-invocation-module.js +22 -0
- package/esm/modules/cli/commands/function-module.js +22 -44
- package/esm/modules/cli/commands/graph-execution-module.js +22 -0
- package/esm/modules/cli/commands/graph-module.js +22 -0
- package/esm/modules/cli/commands/hierarchy-module.js +22 -0
- package/esm/modules/cli/commands/identity-providers-module.js +22 -0
- package/esm/modules/cli/commands/inference-log-module.js +22 -0
- package/esm/modules/cli/commands/infra-config-module.d.ts +8 -0
- package/esm/modules/cli/commands/infra-config-module.js +536 -0
- package/esm/modules/cli/commands/infra-secrets-module.d.ts +8 -0
- package/esm/modules/cli/commands/{config-secrets-module.js → infra-secrets-module.js} +54 -76
- package/esm/modules/cli/commands/integration-providers-module.d.ts +8 -0
- package/esm/modules/cli/commands/integration-providers-module.js +492 -0
- package/{config/cli/commands/org-secrets-del.d.ts → esm/modules/cli/commands/internal-secrets-module.d.ts} +1 -1
- package/esm/modules/cli/commands/internal-secrets-module.js +536 -0
- package/esm/modules/cli/commands/invites-module.js +22 -0
- package/esm/modules/cli/commands/limits-module.js +22 -0
- package/esm/modules/cli/commands/memberships-module.js +22 -0
- package/esm/modules/cli/commands/merkle-store-module.js +22 -0
- package/esm/modules/cli/commands/namespace-module.js +22 -22
- package/esm/modules/cli/commands/notifications-module.js +22 -0
- package/esm/modules/cli/commands/permissions-module.js +22 -0
- package/esm/modules/cli/commands/profiles-module.js +22 -0
- package/esm/modules/cli/commands/resource-module.js +154 -0
- package/esm/modules/cli/commands/storage-log-module.js +22 -0
- package/esm/modules/cli/commands/storage-module.js +22 -0
- package/esm/modules/cli/commands/transfer-log-module.js +22 -0
- package/esm/modules/cli/commands/user-credentials-module.js +22 -22
- package/esm/modules/cli/commands/user-state-module.js +22 -0
- package/esm/modules/cli/commands.js +49 -39
- package/esm/modules/cli/executor.d.ts +24 -19
- package/esm/modules/orm/index.d.ts +48 -38
- package/esm/modules/orm/index.js +48 -38
- package/esm/modules/orm/input-types.d.ts +5378 -4022
- package/esm/modules/orm/input-types.js +1 -0
- package/esm/modules/orm/models/dbPool.d.ts +54 -0
- package/esm/modules/orm/models/dbPool.js +100 -0
- package/esm/modules/orm/models/dbPoolConfig.d.ts +54 -0
- package/esm/modules/orm/models/dbPoolConfig.js +100 -0
- package/esm/modules/orm/models/dbPresetModule.d.ts +54 -0
- package/esm/modules/orm/models/dbPresetModule.js +100 -0
- package/esm/modules/orm/models/index.d.ts +24 -19
- package/esm/modules/orm/models/index.js +24 -19
- package/esm/modules/orm/models/infraConfigModule.d.ts +54 -0
- package/esm/modules/orm/models/infraConfigModule.js +100 -0
- package/esm/modules/orm/models/infraSecretsModule.d.ts +54 -0
- package/esm/modules/orm/models/infraSecretsModule.js +100 -0
- package/esm/modules/orm/models/integrationProvidersModule.d.ts +54 -0
- package/esm/modules/orm/models/integrationProvidersModule.js +100 -0
- package/esm/modules/orm/models/internalSecretsModule.d.ts +54 -0
- package/esm/modules/orm/models/internalSecretsModule.js +100 -0
- package/index.d.ts +1 -0
- package/index.js +2 -1
- package/infra/cli/commands/auth.d.ts +8 -0
- package/infra/cli/commands/auth.js +107 -0
- package/infra/cli/commands/context.d.ts +8 -0
- package/infra/cli/commands/context.js +158 -0
- package/infra/cli/commands/db-preset.d.ts +8 -0
- package/infra/cli/commands/db-preset.js +394 -0
- package/infra/cli/commands/infra-commit.d.ts +8 -0
- package/infra/cli/commands/infra-commit.js +389 -0
- package/infra/cli/commands/infra-get-all-record.d.ts +8 -0
- package/infra/cli/commands/infra-get-all-record.js +126 -0
- package/infra/cli/commands/infra-init-empty-repo.d.ts +8 -0
- package/infra/cli/commands/infra-init-empty-repo.js +36 -0
- package/infra/cli/commands/infra-insert-node-at-path.d.ts +8 -0
- package/infra/cli/commands/infra-insert-node-at-path.js +36 -0
- package/infra/cli/commands/infra-object.d.ts +8 -0
- package/infra/cli/commands/infra-object.js +309 -0
- package/infra/cli/commands/infra-ref.d.ts +8 -0
- package/infra/cli/commands/infra-ref.js +299 -0
- package/infra/cli/commands/infra-set-data-at-path.d.ts +8 -0
- package/infra/cli/commands/infra-set-data-at-path.js +36 -0
- package/infra/cli/commands/infra-store.d.ts +8 -0
- package/infra/cli/commands/infra-store.js +278 -0
- package/infra/cli/commands/namespace-event.d.ts +8 -0
- package/infra/cli/commands/namespace-event.js +510 -0
- package/infra/cli/commands/namespace.d.ts +8 -0
- package/infra/cli/commands/namespace.js +436 -0
- package/infra/cli/commands/platform-namespace-event.d.ts +8 -0
- package/infra/cli/commands/platform-namespace-event.js +490 -0
- package/infra/cli/commands/platform-namespace.d.ts +8 -0
- package/infra/cli/commands/platform-namespace.js +416 -0
- package/infra/cli/commands/provision-bucket.d.ts +8 -0
- package/infra/cli/commands/provision-bucket.js +36 -0
- package/infra/cli/commands.d.ts +7 -0
- package/infra/cli/commands.js +76 -0
- package/infra/cli/executor.d.ts +35 -0
- package/infra/cli/executor.js +40 -0
- package/infra/cli/index.d.ts +1 -0
- package/infra/cli/index.js +26 -0
- package/infra/cli/utils.d.ts +88 -0
- package/infra/cli/utils.js +297 -0
- package/infra/index.d.ts +6 -0
- package/infra/index.js +22 -0
- package/infra/orm/client.d.ts +97 -0
- package/infra/orm/client.js +152 -0
- package/infra/orm/index.d.ts +74 -0
- package/infra/orm/index.js +83 -0
- package/infra/orm/input-types.d.ts +1953 -0
- package/infra/orm/input-types.js +5 -0
- package/infra/orm/models/dbPreset.d.ts +54 -0
- package/infra/orm/models/dbPreset.js +104 -0
- package/infra/orm/models/index.d.ts +15 -0
- package/infra/orm/models/index.js +28 -0
- package/infra/orm/models/infraCommit.d.ts +56 -0
- package/infra/orm/models/infraCommit.js +107 -0
- package/infra/orm/models/infraGetAllRecord.d.ts +30 -0
- package/infra/orm/models/infraGetAllRecord.js +59 -0
- package/infra/orm/models/infraObject.d.ts +56 -0
- package/infra/orm/models/infraObject.js +97 -0
- package/infra/orm/models/infraRef.d.ts +56 -0
- package/infra/orm/models/infraRef.js +107 -0
- package/infra/orm/models/infraStore.d.ts +54 -0
- package/infra/orm/models/infraStore.js +104 -0
- package/infra/orm/models/namespace.d.ts +54 -0
- package/infra/orm/models/namespace.js +104 -0
- package/infra/orm/models/namespaceEvent.d.ts +56 -0
- package/infra/orm/models/namespaceEvent.js +107 -0
- package/infra/orm/models/platformNamespace.d.ts +54 -0
- package/infra/orm/models/platformNamespace.js +104 -0
- package/infra/orm/models/platformNamespaceEvent.d.ts +56 -0
- package/{config/orm/models/platformConfigDefinition.js → infra/orm/models/platformNamespaceEvent.js} +30 -27
- package/infra/orm/mutation/index.d.ts +50 -0
- package/infra/orm/mutation/index.js +57 -0
- package/infra/orm/query-builder.d.ts +110 -0
- package/infra/orm/query-builder.js +757 -0
- package/infra/orm/realtime.d.ts +142 -0
- package/infra/orm/realtime.js +104 -0
- package/infra/orm/select-types.d.ts +125 -0
- package/infra/orm/select-types.js +2 -0
- package/infra/orm/types.d.ts +6 -0
- package/infra/orm/types.js +23 -0
- package/modules/cli/commands/agent-module.js +22 -0
- package/modules/cli/commands/billing-module.js +44 -0
- package/modules/cli/commands/compute-log-module.js +22 -0
- package/modules/cli/commands/config-secrets-user-module.js +22 -22
- package/modules/cli/commands/database-provision-module.js +88 -0
- package/modules/cli/commands/db-pool-config.d.ts +8 -0
- package/modules/cli/commands/db-pool-config.js +370 -0
- package/modules/cli/commands/db-pool.d.ts +8 -0
- package/modules/cli/commands/db-pool.js +440 -0
- package/modules/cli/commands/db-preset-module.d.ts +8 -0
- package/modules/cli/commands/db-preset-module.js +536 -0
- package/modules/cli/commands/db-usage-module.js +110 -0
- package/modules/cli/commands/entity-type-provision.js +0 -22
- package/modules/cli/commands/events-module.js +22 -22
- package/modules/cli/commands/function-deployment-module.js +22 -0
- package/modules/cli/commands/function-invocation-module.js +22 -0
- package/modules/cli/commands/function-module.js +22 -44
- package/modules/cli/commands/graph-execution-module.js +22 -0
- package/modules/cli/commands/graph-module.js +22 -0
- package/modules/cli/commands/hierarchy-module.js +22 -0
- package/modules/cli/commands/identity-providers-module.js +22 -0
- package/modules/cli/commands/inference-log-module.js +22 -0
- package/modules/cli/commands/infra-config-module.d.ts +8 -0
- package/modules/cli/commands/infra-config-module.js +538 -0
- package/modules/cli/commands/infra-secrets-module.d.ts +8 -0
- package/modules/cli/commands/{config-secrets-module.js → infra-secrets-module.js} +54 -76
- package/modules/cli/commands/integration-providers-module.d.ts +8 -0
- package/modules/cli/commands/integration-providers-module.js +494 -0
- package/modules/cli/commands/internal-secrets-module.d.ts +8 -0
- package/modules/cli/commands/internal-secrets-module.js +538 -0
- package/modules/cli/commands/invites-module.js +22 -0
- package/modules/cli/commands/limits-module.js +22 -0
- package/modules/cli/commands/memberships-module.js +22 -0
- package/modules/cli/commands/merkle-store-module.js +22 -0
- package/modules/cli/commands/namespace-module.js +22 -22
- package/modules/cli/commands/notifications-module.js +22 -0
- package/modules/cli/commands/permissions-module.js +22 -0
- package/modules/cli/commands/profiles-module.js +22 -0
- package/modules/cli/commands/resource-module.js +154 -0
- package/modules/cli/commands/storage-log-module.js +22 -0
- package/modules/cli/commands/storage-module.js +22 -0
- package/modules/cli/commands/transfer-log-module.js +22 -0
- package/modules/cli/commands/user-credentials-module.js +22 -22
- package/modules/cli/commands/user-state-module.js +22 -0
- package/modules/cli/commands.js +49 -39
- package/modules/cli/executor.d.ts +24 -19
- package/modules/orm/index.d.ts +48 -38
- package/modules/orm/index.js +48 -38
- package/modules/orm/input-types.d.ts +5378 -4022
- package/modules/orm/input-types.js +1 -0
- package/modules/orm/models/dbPool.d.ts +54 -0
- package/modules/orm/models/dbPool.js +104 -0
- package/modules/orm/models/dbPoolConfig.d.ts +54 -0
- package/modules/orm/models/dbPoolConfig.js +104 -0
- package/modules/orm/models/dbPresetModule.d.ts +54 -0
- package/modules/orm/models/dbPresetModule.js +104 -0
- package/modules/orm/models/index.d.ts +24 -19
- package/modules/orm/models/index.js +50 -40
- package/modules/orm/models/infraConfigModule.d.ts +54 -0
- package/modules/orm/models/infraConfigModule.js +104 -0
- package/modules/orm/models/infraSecretsModule.d.ts +54 -0
- package/modules/orm/models/infraSecretsModule.js +104 -0
- package/modules/orm/models/integrationProvidersModule.d.ts +54 -0
- package/modules/orm/models/integrationProvidersModule.js +104 -0
- package/modules/orm/models/internalSecretsModule.d.ts +54 -0
- package/modules/orm/models/internalSecretsModule.js +104 -0
- package/package.json +7 -7
- 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
|
@@ -6,19 +6,25 @@
|
|
|
6
6
|
import { OrmClient } from '../client';
|
|
7
7
|
import { QueryBuilder } from '../query-builder';
|
|
8
8
|
import type { InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
-
import type { ValidateFunctionGraphInput,
|
|
9
|
+
import type { ValidateFunctionGraphInput, InfraInitEmptyRepoInput, InitEmptyRepoInput, ImportDefinitionsInput, InfraSetDataAtPathInput, SetDataAtPathInput, CopyGraphInput, SaveGraphInput, AddEdgeAndSaveInput, AddNodeAndSaveInput, ImportGraphJsonInput, AddEdgeInput, AddNodeInput, InfraInsertNodeAtPathInput, InsertNodeAtPathInput, StartExecutionInput, ProvisionBucketInput, ValidateFunctionGraphPayload, InfraInitEmptyRepoPayload, InitEmptyRepoPayload, ImportDefinitionsPayload, InfraSetDataAtPathPayload, SetDataAtPathPayload, CopyGraphPayload, SaveGraphPayload, AddEdgeAndSavePayload, AddNodeAndSavePayload, ImportGraphJsonPayload, AddEdgePayload, AddNodePayload, InfraInsertNodeAtPathPayload, InsertNodeAtPathPayload, StartExecutionPayload, ProvisionBucketPayload, ValidateFunctionGraphPayloadSelect, InfraInitEmptyRepoPayloadSelect, InitEmptyRepoPayloadSelect, ImportDefinitionsPayloadSelect, InfraSetDataAtPathPayloadSelect, SetDataAtPathPayloadSelect, CopyGraphPayloadSelect, SaveGraphPayloadSelect, AddEdgeAndSavePayloadSelect, AddNodeAndSavePayloadSelect, ImportGraphJsonPayloadSelect, AddEdgePayloadSelect, AddNodePayloadSelect, InfraInsertNodeAtPathPayloadSelect, InsertNodeAtPathPayloadSelect, StartExecutionPayloadSelect, ProvisionBucketPayloadSelect } from '../input-types';
|
|
10
10
|
export interface ValidateFunctionGraphVariables {
|
|
11
11
|
input: ValidateFunctionGraphInput;
|
|
12
12
|
}
|
|
13
|
+
export interface InfraInitEmptyRepoVariables {
|
|
14
|
+
input: InfraInitEmptyRepoInput;
|
|
15
|
+
}
|
|
13
16
|
export interface InitEmptyRepoVariables {
|
|
14
17
|
input: InitEmptyRepoInput;
|
|
15
18
|
}
|
|
16
|
-
export interface SetDataAtPathVariables {
|
|
17
|
-
input: SetDataAtPathInput;
|
|
18
|
-
}
|
|
19
19
|
export interface ImportDefinitionsVariables {
|
|
20
20
|
input: ImportDefinitionsInput;
|
|
21
21
|
}
|
|
22
|
+
export interface InfraSetDataAtPathVariables {
|
|
23
|
+
input: InfraSetDataAtPathInput;
|
|
24
|
+
}
|
|
25
|
+
export interface SetDataAtPathVariables {
|
|
26
|
+
input: SetDataAtPathInput;
|
|
27
|
+
}
|
|
22
28
|
export interface CopyGraphVariables {
|
|
23
29
|
input: CopyGraphInput;
|
|
24
30
|
}
|
|
@@ -40,6 +46,9 @@ export interface AddEdgeVariables {
|
|
|
40
46
|
export interface AddNodeVariables {
|
|
41
47
|
input: AddNodeInput;
|
|
42
48
|
}
|
|
49
|
+
export interface InfraInsertNodeAtPathVariables {
|
|
50
|
+
input: InfraInsertNodeAtPathInput;
|
|
51
|
+
}
|
|
43
52
|
export interface InsertNodeAtPathVariables {
|
|
44
53
|
input: InsertNodeAtPathInput;
|
|
45
54
|
}
|
|
@@ -62,21 +71,31 @@ export declare function createMutationOperations(client: OrmClient): {
|
|
|
62
71
|
} & StrictSelect<S, ValidateFunctionGraphPayloadSelect>) => QueryBuilder<{
|
|
63
72
|
validateFunctionGraph: InferSelectResult<ValidateFunctionGraphPayload, S> | null;
|
|
64
73
|
}>;
|
|
74
|
+
infraInitEmptyRepo: <S extends InfraInitEmptyRepoPayloadSelect>(args: InfraInitEmptyRepoVariables, options: {
|
|
75
|
+
select: S;
|
|
76
|
+
} & StrictSelect<S, InfraInitEmptyRepoPayloadSelect>) => QueryBuilder<{
|
|
77
|
+
infraInitEmptyRepo: InferSelectResult<InfraInitEmptyRepoPayload, S> | null;
|
|
78
|
+
}>;
|
|
65
79
|
initEmptyRepo: <S extends InitEmptyRepoPayloadSelect>(args: InitEmptyRepoVariables, options: {
|
|
66
80
|
select: S;
|
|
67
81
|
} & StrictSelect<S, InitEmptyRepoPayloadSelect>) => QueryBuilder<{
|
|
68
82
|
initEmptyRepo: InferSelectResult<InitEmptyRepoPayload, S> | null;
|
|
69
83
|
}>;
|
|
70
|
-
setDataAtPath: <S extends SetDataAtPathPayloadSelect>(args: SetDataAtPathVariables, options: {
|
|
71
|
-
select: S;
|
|
72
|
-
} & StrictSelect<S, SetDataAtPathPayloadSelect>) => QueryBuilder<{
|
|
73
|
-
setDataAtPath: InferSelectResult<SetDataAtPathPayload, S> | null;
|
|
74
|
-
}>;
|
|
75
84
|
importDefinitions: <S extends ImportDefinitionsPayloadSelect>(args: ImportDefinitionsVariables, options: {
|
|
76
85
|
select: S;
|
|
77
86
|
} & StrictSelect<S, ImportDefinitionsPayloadSelect>) => QueryBuilder<{
|
|
78
87
|
importDefinitions: InferSelectResult<ImportDefinitionsPayload, S> | null;
|
|
79
88
|
}>;
|
|
89
|
+
infraSetDataAtPath: <S extends InfraSetDataAtPathPayloadSelect>(args: InfraSetDataAtPathVariables, options: {
|
|
90
|
+
select: S;
|
|
91
|
+
} & StrictSelect<S, InfraSetDataAtPathPayloadSelect>) => QueryBuilder<{
|
|
92
|
+
infraSetDataAtPath: InferSelectResult<InfraSetDataAtPathPayload, S> | null;
|
|
93
|
+
}>;
|
|
94
|
+
setDataAtPath: <S extends SetDataAtPathPayloadSelect>(args: SetDataAtPathVariables, options: {
|
|
95
|
+
select: S;
|
|
96
|
+
} & StrictSelect<S, SetDataAtPathPayloadSelect>) => QueryBuilder<{
|
|
97
|
+
setDataAtPath: InferSelectResult<SetDataAtPathPayload, S> | null;
|
|
98
|
+
}>;
|
|
80
99
|
copyGraph: <S extends CopyGraphPayloadSelect>(args: CopyGraphVariables, options: {
|
|
81
100
|
select: S;
|
|
82
101
|
} & StrictSelect<S, CopyGraphPayloadSelect>) => QueryBuilder<{
|
|
@@ -112,6 +131,11 @@ export declare function createMutationOperations(client: OrmClient): {
|
|
|
112
131
|
} & StrictSelect<S, AddNodePayloadSelect>) => QueryBuilder<{
|
|
113
132
|
addNode: InferSelectResult<AddNodePayload, S> | null;
|
|
114
133
|
}>;
|
|
134
|
+
infraInsertNodeAtPath: <S extends InfraInsertNodeAtPathPayloadSelect>(args: InfraInsertNodeAtPathVariables, options: {
|
|
135
|
+
select: S;
|
|
136
|
+
} & StrictSelect<S, InfraInsertNodeAtPathPayloadSelect>) => QueryBuilder<{
|
|
137
|
+
infraInsertNodeAtPath: InferSelectResult<InfraInsertNodeAtPathPayload, S> | null;
|
|
138
|
+
}>;
|
|
115
139
|
insertNodeAtPath: <S extends InsertNodeAtPathPayloadSelect>(args: InsertNodeAtPathVariables, options: {
|
|
116
140
|
select: S;
|
|
117
141
|
} & StrictSelect<S, InsertNodeAtPathPayloadSelect>) => QueryBuilder<{
|
|
@@ -14,29 +14,29 @@ export function createMutationOperations(client) {
|
|
|
14
14
|
},
|
|
15
15
|
], connectionFieldsMap, 'ValidateFunctionGraphPayload'),
|
|
16
16
|
}),
|
|
17
|
-
|
|
17
|
+
infraInitEmptyRepo: (args, options) => new QueryBuilder({
|
|
18
18
|
client,
|
|
19
19
|
operation: 'mutation',
|
|
20
|
-
operationName: '
|
|
21
|
-
fieldName: '
|
|
22
|
-
...buildCustomDocument('mutation', '
|
|
20
|
+
operationName: 'InfraInitEmptyRepo',
|
|
21
|
+
fieldName: 'infraInitEmptyRepo',
|
|
22
|
+
...buildCustomDocument('mutation', 'InfraInitEmptyRepo', 'infraInitEmptyRepo', options.select, args, [
|
|
23
23
|
{
|
|
24
24
|
name: 'input',
|
|
25
|
-
type: '
|
|
25
|
+
type: 'InfraInitEmptyRepoInput!',
|
|
26
26
|
},
|
|
27
|
-
], connectionFieldsMap, '
|
|
27
|
+
], connectionFieldsMap, 'InfraInitEmptyRepoPayload'),
|
|
28
28
|
}),
|
|
29
|
-
|
|
29
|
+
initEmptyRepo: (args, options) => new QueryBuilder({
|
|
30
30
|
client,
|
|
31
31
|
operation: 'mutation',
|
|
32
|
-
operationName: '
|
|
33
|
-
fieldName: '
|
|
34
|
-
...buildCustomDocument('mutation', '
|
|
32
|
+
operationName: 'InitEmptyRepo',
|
|
33
|
+
fieldName: 'initEmptyRepo',
|
|
34
|
+
...buildCustomDocument('mutation', 'InitEmptyRepo', 'initEmptyRepo', options.select, args, [
|
|
35
35
|
{
|
|
36
36
|
name: 'input',
|
|
37
|
-
type: '
|
|
37
|
+
type: 'InitEmptyRepoInput!',
|
|
38
38
|
},
|
|
39
|
-
], connectionFieldsMap, '
|
|
39
|
+
], connectionFieldsMap, 'InitEmptyRepoPayload'),
|
|
40
40
|
}),
|
|
41
41
|
importDefinitions: (args, options) => new QueryBuilder({
|
|
42
42
|
client,
|
|
@@ -50,6 +50,30 @@ export function createMutationOperations(client) {
|
|
|
50
50
|
},
|
|
51
51
|
], connectionFieldsMap, 'ImportDefinitionsPayload'),
|
|
52
52
|
}),
|
|
53
|
+
infraSetDataAtPath: (args, options) => new QueryBuilder({
|
|
54
|
+
client,
|
|
55
|
+
operation: 'mutation',
|
|
56
|
+
operationName: 'InfraSetDataAtPath',
|
|
57
|
+
fieldName: 'infraSetDataAtPath',
|
|
58
|
+
...buildCustomDocument('mutation', 'InfraSetDataAtPath', 'infraSetDataAtPath', options.select, args, [
|
|
59
|
+
{
|
|
60
|
+
name: 'input',
|
|
61
|
+
type: 'InfraSetDataAtPathInput!',
|
|
62
|
+
},
|
|
63
|
+
], connectionFieldsMap, 'InfraSetDataAtPathPayload'),
|
|
64
|
+
}),
|
|
65
|
+
setDataAtPath: (args, options) => new QueryBuilder({
|
|
66
|
+
client,
|
|
67
|
+
operation: 'mutation',
|
|
68
|
+
operationName: 'SetDataAtPath',
|
|
69
|
+
fieldName: 'setDataAtPath',
|
|
70
|
+
...buildCustomDocument('mutation', 'SetDataAtPath', 'setDataAtPath', options.select, args, [
|
|
71
|
+
{
|
|
72
|
+
name: 'input',
|
|
73
|
+
type: 'SetDataAtPathInput!',
|
|
74
|
+
},
|
|
75
|
+
], connectionFieldsMap, 'SetDataAtPathPayload'),
|
|
76
|
+
}),
|
|
53
77
|
copyGraph: (args, options) => new QueryBuilder({
|
|
54
78
|
client,
|
|
55
79
|
operation: 'mutation',
|
|
@@ -134,6 +158,18 @@ export function createMutationOperations(client) {
|
|
|
134
158
|
},
|
|
135
159
|
], connectionFieldsMap, 'AddNodePayload'),
|
|
136
160
|
}),
|
|
161
|
+
infraInsertNodeAtPath: (args, options) => new QueryBuilder({
|
|
162
|
+
client,
|
|
163
|
+
operation: 'mutation',
|
|
164
|
+
operationName: 'InfraInsertNodeAtPath',
|
|
165
|
+
fieldName: 'infraInsertNodeAtPath',
|
|
166
|
+
...buildCustomDocument('mutation', 'InfraInsertNodeAtPath', 'infraInsertNodeAtPath', options.select, args, [
|
|
167
|
+
{
|
|
168
|
+
name: 'input',
|
|
169
|
+
type: 'InfraInsertNodeAtPathInput!',
|
|
170
|
+
},
|
|
171
|
+
], connectionFieldsMap, 'InfraInsertNodeAtPathPayload'),
|
|
172
|
+
}),
|
|
137
173
|
insertNodeAtPath: (args, options) => new QueryBuilder({
|
|
138
174
|
client,
|
|
139
175
|
operation: 'mutation',
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CLI commands for Config
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import { CLIOptions, Inquirerer } from 'inquirerer';
|
|
7
|
+
declare const _default: (argv: Partial<Record<string, unknown>>, prompter: Inquirerer, _options: CLIOptions) => Promise<void>;
|
|
8
|
+
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* CLI commands for
|
|
2
|
+
* CLI commands for Config
|
|
3
3
|
* @generated by @constructive-io/graphql-codegen
|
|
4
4
|
* DO NOT EDIT - changes will be overwritten
|
|
5
5
|
*/
|
|
@@ -8,16 +8,19 @@ import { getClient } from '../executor';
|
|
|
8
8
|
import { coerceAnswers, parseFindFirstArgs, parseFindManyArgs, stripUndefined } from '../utils';
|
|
9
9
|
const fieldSchema = {
|
|
10
10
|
id: 'uuid',
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
namespaceId: 'uuid',
|
|
12
|
+
databaseId: 'uuid',
|
|
13
13
|
name: 'string',
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
isBuiltIn: 'boolean',
|
|
14
|
+
provider: 'string',
|
|
15
|
+
value: 'string',
|
|
17
16
|
labels: 'json',
|
|
18
17
|
annotations: 'json',
|
|
18
|
+
description: 'string',
|
|
19
|
+
createdAt: 'string',
|
|
20
|
+
updatedAt: 'string',
|
|
21
|
+
expiresAt: 'string',
|
|
19
22
|
};
|
|
20
|
-
const usage = '\
|
|
23
|
+
const usage = '\nconfig <command>\n\nCommands:\n list List config records\n find-first Find first matching config record\n get Get a config by ID\n create Create a new config\n update Update an existing config\n delete Delete a config\n\nList Options:\n --limit <n> Max number of records to return (forward pagination)\n --last <n> Number of records from the end (backward pagination)\n --after <cursor> Cursor for forward pagination\n --before <cursor> Cursor for backward pagination\n --offset <n> Number of records to skip\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.name.equalTo foo)\n --condition.<f>.<op> Condition filter (dot-notation)\n --orderBy <values> Comma-separated ordering values (e.g. NAME_ASC,CREATED_AT_DESC)\n\nFind-First Options:\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.status.equalTo active)\n --condition.<f>.<op> Condition filter (dot-notation)\n --orderBy <values> Comma-separated ordering values (e.g. NAME_ASC,CREATED_AT_DESC)\n\n --help, -h Show this help message\n';
|
|
21
24
|
export default async (argv, prompter, _options) => {
|
|
22
25
|
if (argv.help || argv.h) {
|
|
23
26
|
console.log(usage);
|
|
@@ -60,18 +63,21 @@ async function handleList(argv, _prompter) {
|
|
|
60
63
|
try {
|
|
61
64
|
const defaultSelect = {
|
|
62
65
|
id: true,
|
|
63
|
-
|
|
64
|
-
|
|
66
|
+
namespaceId: true,
|
|
67
|
+
databaseId: true,
|
|
65
68
|
name: true,
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
isBuiltIn: true,
|
|
69
|
+
provider: true,
|
|
70
|
+
value: true,
|
|
69
71
|
labels: true,
|
|
70
72
|
annotations: true,
|
|
73
|
+
description: true,
|
|
74
|
+
createdAt: true,
|
|
75
|
+
updatedAt: true,
|
|
76
|
+
expiresAt: true,
|
|
71
77
|
};
|
|
72
78
|
const findManyArgs = parseFindManyArgs(argv, defaultSelect);
|
|
73
79
|
const client = getClient();
|
|
74
|
-
const result = await client.
|
|
80
|
+
const result = await client.config.findMany(findManyArgs).execute();
|
|
75
81
|
console.log(JSON.stringify(result, null, 2));
|
|
76
82
|
}
|
|
77
83
|
catch (error) {
|
|
@@ -86,18 +92,21 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
86
92
|
try {
|
|
87
93
|
const defaultSelect = {
|
|
88
94
|
id: true,
|
|
89
|
-
|
|
90
|
-
|
|
95
|
+
namespaceId: true,
|
|
96
|
+
databaseId: true,
|
|
91
97
|
name: true,
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
isBuiltIn: true,
|
|
98
|
+
provider: true,
|
|
99
|
+
value: true,
|
|
95
100
|
labels: true,
|
|
96
101
|
annotations: true,
|
|
102
|
+
description: true,
|
|
103
|
+
createdAt: true,
|
|
104
|
+
updatedAt: true,
|
|
105
|
+
expiresAt: true,
|
|
97
106
|
};
|
|
98
107
|
const findFirstArgs = parseFindFirstArgs(argv, defaultSelect);
|
|
99
108
|
const client = getClient();
|
|
100
|
-
const result = await client.
|
|
109
|
+
const result = await client.config.findFirst(findFirstArgs).execute();
|
|
101
110
|
console.log(JSON.stringify(result, null, 2));
|
|
102
111
|
}
|
|
103
112
|
catch (error) {
|
|
@@ -119,19 +128,22 @@ async function handleGet(argv, prompter) {
|
|
|
119
128
|
},
|
|
120
129
|
]);
|
|
121
130
|
const client = getClient();
|
|
122
|
-
const result = await client.
|
|
131
|
+
const result = await client.config
|
|
123
132
|
.findOne({
|
|
124
133
|
id: answers.id,
|
|
125
134
|
select: {
|
|
126
135
|
id: true,
|
|
127
|
-
|
|
128
|
-
|
|
136
|
+
namespaceId: true,
|
|
137
|
+
databaseId: true,
|
|
129
138
|
name: true,
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
isBuiltIn: true,
|
|
139
|
+
provider: true,
|
|
140
|
+
value: true,
|
|
133
141
|
labels: true,
|
|
134
142
|
annotations: true,
|
|
143
|
+
description: true,
|
|
144
|
+
createdAt: true,
|
|
145
|
+
updatedAt: true,
|
|
146
|
+
expiresAt: true,
|
|
135
147
|
},
|
|
136
148
|
})
|
|
137
149
|
.execute();
|
|
@@ -150,28 +162,33 @@ async function handleCreate(argv, prompter) {
|
|
|
150
162
|
const rawAnswers = await prompter.prompt(argv, [
|
|
151
163
|
{
|
|
152
164
|
type: 'text',
|
|
153
|
-
name: '
|
|
154
|
-
message: '
|
|
165
|
+
name: 'namespaceId',
|
|
166
|
+
message: 'namespaceId',
|
|
155
167
|
required: true,
|
|
156
168
|
},
|
|
157
169
|
{
|
|
158
170
|
type: 'text',
|
|
159
|
-
name: '
|
|
160
|
-
message: '
|
|
161
|
-
required:
|
|
162
|
-
|
|
171
|
+
name: 'databaseId',
|
|
172
|
+
message: 'databaseId',
|
|
173
|
+
required: true,
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
type: 'text',
|
|
177
|
+
name: 'name',
|
|
178
|
+
message: 'name',
|
|
179
|
+
required: true,
|
|
163
180
|
},
|
|
164
181
|
{
|
|
165
182
|
type: 'text',
|
|
166
|
-
name: '
|
|
167
|
-
message: '
|
|
183
|
+
name: 'provider',
|
|
184
|
+
message: 'provider',
|
|
168
185
|
required: false,
|
|
169
186
|
skipPrompt: true,
|
|
170
187
|
},
|
|
171
188
|
{
|
|
172
|
-
type: '
|
|
173
|
-
name: '
|
|
174
|
-
message: '
|
|
189
|
+
type: 'text',
|
|
190
|
+
name: 'value',
|
|
191
|
+
message: 'value',
|
|
175
192
|
required: false,
|
|
176
193
|
skipPrompt: true,
|
|
177
194
|
},
|
|
@@ -189,30 +206,50 @@ async function handleCreate(argv, prompter) {
|
|
|
189
206
|
required: false,
|
|
190
207
|
skipPrompt: true,
|
|
191
208
|
},
|
|
209
|
+
{
|
|
210
|
+
type: 'text',
|
|
211
|
+
name: 'description',
|
|
212
|
+
message: 'description',
|
|
213
|
+
required: false,
|
|
214
|
+
skipPrompt: true,
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
type: 'text',
|
|
218
|
+
name: 'expiresAt',
|
|
219
|
+
message: 'expiresAt',
|
|
220
|
+
required: false,
|
|
221
|
+
skipPrompt: true,
|
|
222
|
+
},
|
|
192
223
|
]);
|
|
193
224
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
194
225
|
const cleanedData = stripUndefined(answers, fieldSchema);
|
|
195
226
|
const client = getClient();
|
|
196
|
-
const result = await client.
|
|
227
|
+
const result = await client.config
|
|
197
228
|
.create({
|
|
198
229
|
data: {
|
|
230
|
+
namespaceId: cleanedData.namespaceId,
|
|
231
|
+
databaseId: cleanedData.databaseId,
|
|
199
232
|
name: cleanedData.name,
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
isBuiltIn: cleanedData.isBuiltIn,
|
|
233
|
+
provider: cleanedData.provider,
|
|
234
|
+
value: cleanedData.value,
|
|
203
235
|
labels: cleanedData.labels,
|
|
204
236
|
annotations: cleanedData.annotations,
|
|
237
|
+
description: cleanedData.description,
|
|
238
|
+
expiresAt: cleanedData.expiresAt,
|
|
205
239
|
},
|
|
206
240
|
select: {
|
|
207
241
|
id: true,
|
|
208
|
-
|
|
209
|
-
|
|
242
|
+
namespaceId: true,
|
|
243
|
+
databaseId: true,
|
|
210
244
|
name: true,
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
isBuiltIn: true,
|
|
245
|
+
provider: true,
|
|
246
|
+
value: true,
|
|
214
247
|
labels: true,
|
|
215
248
|
annotations: true,
|
|
249
|
+
description: true,
|
|
250
|
+
createdAt: true,
|
|
251
|
+
updatedAt: true,
|
|
252
|
+
expiresAt: true,
|
|
216
253
|
},
|
|
217
254
|
})
|
|
218
255
|
.execute();
|
|
@@ -237,28 +274,33 @@ async function handleUpdate(argv, prompter) {
|
|
|
237
274
|
},
|
|
238
275
|
{
|
|
239
276
|
type: 'text',
|
|
240
|
-
name: '
|
|
241
|
-
message: '
|
|
277
|
+
name: 'namespaceId',
|
|
278
|
+
message: 'namespaceId',
|
|
242
279
|
required: false,
|
|
243
280
|
},
|
|
244
281
|
{
|
|
245
282
|
type: 'text',
|
|
246
|
-
name: '
|
|
247
|
-
message: '
|
|
283
|
+
name: 'databaseId',
|
|
284
|
+
message: 'databaseId',
|
|
248
285
|
required: false,
|
|
249
|
-
skipPrompt: true,
|
|
250
286
|
},
|
|
251
287
|
{
|
|
252
288
|
type: 'text',
|
|
253
|
-
name: '
|
|
254
|
-
message: '
|
|
289
|
+
name: 'name',
|
|
290
|
+
message: 'name',
|
|
291
|
+
required: false,
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
type: 'text',
|
|
295
|
+
name: 'provider',
|
|
296
|
+
message: 'provider',
|
|
255
297
|
required: false,
|
|
256
298
|
skipPrompt: true,
|
|
257
299
|
},
|
|
258
300
|
{
|
|
259
|
-
type: '
|
|
260
|
-
name: '
|
|
261
|
-
message: '
|
|
301
|
+
type: 'text',
|
|
302
|
+
name: 'value',
|
|
303
|
+
message: 'value',
|
|
262
304
|
required: false,
|
|
263
305
|
skipPrompt: true,
|
|
264
306
|
},
|
|
@@ -276,33 +318,53 @@ async function handleUpdate(argv, prompter) {
|
|
|
276
318
|
required: false,
|
|
277
319
|
skipPrompt: true,
|
|
278
320
|
},
|
|
321
|
+
{
|
|
322
|
+
type: 'text',
|
|
323
|
+
name: 'description',
|
|
324
|
+
message: 'description',
|
|
325
|
+
required: false,
|
|
326
|
+
skipPrompt: true,
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
type: 'text',
|
|
330
|
+
name: 'expiresAt',
|
|
331
|
+
message: 'expiresAt',
|
|
332
|
+
required: false,
|
|
333
|
+
skipPrompt: true,
|
|
334
|
+
},
|
|
279
335
|
]);
|
|
280
336
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
281
337
|
const cleanedData = stripUndefined(answers, fieldSchema);
|
|
282
338
|
const client = getClient();
|
|
283
|
-
const result = await client.
|
|
339
|
+
const result = await client.config
|
|
284
340
|
.update({
|
|
285
341
|
where: {
|
|
286
342
|
id: answers.id,
|
|
287
343
|
},
|
|
288
344
|
data: {
|
|
345
|
+
namespaceId: cleanedData.namespaceId,
|
|
346
|
+
databaseId: cleanedData.databaseId,
|
|
289
347
|
name: cleanedData.name,
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
isBuiltIn: cleanedData.isBuiltIn,
|
|
348
|
+
provider: cleanedData.provider,
|
|
349
|
+
value: cleanedData.value,
|
|
293
350
|
labels: cleanedData.labels,
|
|
294
351
|
annotations: cleanedData.annotations,
|
|
352
|
+
description: cleanedData.description,
|
|
353
|
+
expiresAt: cleanedData.expiresAt,
|
|
295
354
|
},
|
|
296
355
|
select: {
|
|
297
356
|
id: true,
|
|
298
|
-
|
|
299
|
-
|
|
357
|
+
namespaceId: true,
|
|
358
|
+
databaseId: true,
|
|
300
359
|
name: true,
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
isBuiltIn: true,
|
|
360
|
+
provider: true,
|
|
361
|
+
value: true,
|
|
304
362
|
labels: true,
|
|
305
363
|
annotations: true,
|
|
364
|
+
description: true,
|
|
365
|
+
createdAt: true,
|
|
366
|
+
updatedAt: true,
|
|
367
|
+
expiresAt: true,
|
|
306
368
|
},
|
|
307
369
|
})
|
|
308
370
|
.execute();
|
|
@@ -328,7 +390,7 @@ async function handleDelete(argv, prompter) {
|
|
|
328
390
|
]);
|
|
329
391
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
330
392
|
const client = getClient();
|
|
331
|
-
const result = await client.
|
|
393
|
+
const result = await client.config
|
|
332
394
|
.delete({
|
|
333
395
|
where: {
|
|
334
396
|
id: answers.id,
|
|
@@ -10,6 +10,7 @@ const fieldSchema = {
|
|
|
10
10
|
id: 'uuid',
|
|
11
11
|
namespaceId: 'uuid',
|
|
12
12
|
name: 'string',
|
|
13
|
+
provider: 'string',
|
|
13
14
|
value: 'string',
|
|
14
15
|
labels: 'json',
|
|
15
16
|
annotations: 'json',
|
|
@@ -63,6 +64,7 @@ async function handleList(argv, _prompter) {
|
|
|
63
64
|
id: true,
|
|
64
65
|
namespaceId: true,
|
|
65
66
|
name: true,
|
|
67
|
+
provider: true,
|
|
66
68
|
value: true,
|
|
67
69
|
labels: true,
|
|
68
70
|
annotations: true,
|
|
@@ -90,6 +92,7 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
90
92
|
id: true,
|
|
91
93
|
namespaceId: true,
|
|
92
94
|
name: true,
|
|
95
|
+
provider: true,
|
|
93
96
|
value: true,
|
|
94
97
|
labels: true,
|
|
95
98
|
annotations: true,
|
|
@@ -129,6 +132,7 @@ async function handleGet(argv, prompter) {
|
|
|
129
132
|
id: true,
|
|
130
133
|
namespaceId: true,
|
|
131
134
|
name: true,
|
|
135
|
+
provider: true,
|
|
132
136
|
value: true,
|
|
133
137
|
labels: true,
|
|
134
138
|
annotations: true,
|
|
@@ -164,6 +168,13 @@ async function handleCreate(argv, prompter) {
|
|
|
164
168
|
message: 'name',
|
|
165
169
|
required: true,
|
|
166
170
|
},
|
|
171
|
+
{
|
|
172
|
+
type: 'text',
|
|
173
|
+
name: 'provider',
|
|
174
|
+
message: 'provider',
|
|
175
|
+
required: false,
|
|
176
|
+
skipPrompt: true,
|
|
177
|
+
},
|
|
167
178
|
{
|
|
168
179
|
type: 'text',
|
|
169
180
|
name: 'value',
|
|
@@ -208,6 +219,7 @@ async function handleCreate(argv, prompter) {
|
|
|
208
219
|
data: {
|
|
209
220
|
namespaceId: cleanedData.namespaceId,
|
|
210
221
|
name: cleanedData.name,
|
|
222
|
+
provider: cleanedData.provider,
|
|
211
223
|
value: cleanedData.value,
|
|
212
224
|
labels: cleanedData.labels,
|
|
213
225
|
annotations: cleanedData.annotations,
|
|
@@ -218,6 +230,7 @@ async function handleCreate(argv, prompter) {
|
|
|
218
230
|
id: true,
|
|
219
231
|
namespaceId: true,
|
|
220
232
|
name: true,
|
|
233
|
+
provider: true,
|
|
221
234
|
value: true,
|
|
222
235
|
labels: true,
|
|
223
236
|
annotations: true,
|
|
@@ -259,6 +272,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
259
272
|
message: 'name',
|
|
260
273
|
required: false,
|
|
261
274
|
},
|
|
275
|
+
{
|
|
276
|
+
type: 'text',
|
|
277
|
+
name: 'provider',
|
|
278
|
+
message: 'provider',
|
|
279
|
+
required: false,
|
|
280
|
+
skipPrompt: true,
|
|
281
|
+
},
|
|
262
282
|
{
|
|
263
283
|
type: 'text',
|
|
264
284
|
name: 'value',
|
|
@@ -306,6 +326,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
306
326
|
data: {
|
|
307
327
|
namespaceId: cleanedData.namespaceId,
|
|
308
328
|
name: cleanedData.name,
|
|
329
|
+
provider: cleanedData.provider,
|
|
309
330
|
value: cleanedData.value,
|
|
310
331
|
labels: cleanedData.labels,
|
|
311
332
|
annotations: cleanedData.annotations,
|
|
@@ -316,6 +337,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
316
337
|
id: true,
|
|
317
338
|
namespaceId: true,
|
|
318
339
|
name: true,
|
|
340
|
+
provider: true,
|
|
319
341
|
value: true,
|
|
320
342
|
labels: true,
|
|
321
343
|
annotations: true,
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CLI commands for PlatformInternalSecret
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import { CLIOptions, Inquirerer } from 'inquirerer';
|
|
7
|
+
declare const _default: (argv: Partial<Record<string, unknown>>, prompter: Inquirerer, _options: CLIOptions) => Promise<void>;
|
|
8
|
+
export default _default;
|