@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
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CLI command for mutation _secretsRotate
|
|
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;
|
|
@@ -5,7 +5,7 @@ const utils_1 = require("../utils");
|
|
|
5
5
|
exports.default = async (argv, prompter, _options) => {
|
|
6
6
|
try {
|
|
7
7
|
if (argv.help || argv.h) {
|
|
8
|
-
console.log('
|
|
8
|
+
console.log('secrets-rotate - _secretsRotate\n\nUsage: secrets-rotate [OPTIONS]\n');
|
|
9
9
|
process.exit(0);
|
|
10
10
|
}
|
|
11
11
|
const answers = await prompter.prompt(argv, [
|
|
@@ -20,14 +20,14 @@ exports.default = async (argv, prompter, _options) => {
|
|
|
20
20
|
const parsedAnswers = (0, utils_1.unflattenDotNotation)(answers);
|
|
21
21
|
const selectFields = (0, utils_1.buildSelectFromPaths)(argv.select ?? 'clientMutationId');
|
|
22
22
|
const result = await client.mutation
|
|
23
|
-
.
|
|
23
|
+
._secretsRotate(parsedAnswers, {
|
|
24
24
|
select: selectFields,
|
|
25
25
|
})
|
|
26
26
|
.execute();
|
|
27
27
|
console.log(JSON.stringify(result, null, 2));
|
|
28
28
|
}
|
|
29
29
|
catch (error) {
|
|
30
|
-
console.error('Failed:
|
|
30
|
+
console.error('Failed: _secretsRotate');
|
|
31
31
|
if (error instanceof Error) {
|
|
32
32
|
console.error(error.message);
|
|
33
33
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CLI command for mutation _secretsSet
|
|
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;
|
|
@@ -5,7 +5,7 @@ const utils_1 = require("../utils");
|
|
|
5
5
|
exports.default = async (argv, prompter, _options) => {
|
|
6
6
|
try {
|
|
7
7
|
if (argv.help || argv.h) {
|
|
8
|
-
console.log('
|
|
8
|
+
console.log('secrets-set - _secretsSet\n\nUsage: secrets-set [OPTIONS]\n');
|
|
9
9
|
process.exit(0);
|
|
10
10
|
}
|
|
11
11
|
const answers = await prompter.prompt(argv, [
|
|
@@ -20,14 +20,14 @@ exports.default = async (argv, prompter, _options) => {
|
|
|
20
20
|
const parsedAnswers = (0, utils_1.unflattenDotNotation)(answers);
|
|
21
21
|
const selectFields = (0, utils_1.buildSelectFromPaths)(argv.select ?? 'clientMutationId');
|
|
22
22
|
const result = await client.mutation
|
|
23
|
-
.
|
|
23
|
+
._secretsSet(parsedAnswers, {
|
|
24
24
|
select: selectFields,
|
|
25
25
|
})
|
|
26
26
|
.execute();
|
|
27
27
|
console.log(JSON.stringify(result, null, 2));
|
|
28
28
|
}
|
|
29
29
|
catch (error) {
|
|
30
|
-
console.error('Failed:
|
|
30
|
+
console.error('Failed: _secretsSet');
|
|
31
31
|
if (error instanceof Error) {
|
|
32
32
|
console.error(error.message);
|
|
33
33
|
}
|
package/config/cli/commands.js
CHANGED
|
@@ -12,33 +12,47 @@ exports.commands = void 0;
|
|
|
12
12
|
const inquirerer_1 = require("inquirerer");
|
|
13
13
|
const context_1 = __importDefault(require("./commands/context"));
|
|
14
14
|
const auth_1 = __importDefault(require("./commands/auth"));
|
|
15
|
-
const platform_config_definition_1 = __importDefault(require("./commands/platform-config-definition"));
|
|
16
15
|
const platform_config_1 = __importDefault(require("./commands/platform-config"));
|
|
16
|
+
const config_1 = __importDefault(require("./commands/config"));
|
|
17
|
+
const platform_internal_secret_1 = __importDefault(require("./commands/platform-internal-secret"));
|
|
18
|
+
const platform_secret_1 = __importDefault(require("./commands/platform-secret"));
|
|
19
|
+
const secret_1 = __importDefault(require("./commands/secret"));
|
|
20
|
+
const platform_internal_secrets_del_1 = __importDefault(require("./commands/platform-internal-secrets-del"));
|
|
17
21
|
const platform_secrets_del_1 = __importDefault(require("./commands/platform-secrets-del"));
|
|
18
|
-
const
|
|
22
|
+
const secrets_del_1 = __importDefault(require("./commands/secrets-del"));
|
|
23
|
+
const platform_internal_secrets_remove_array_1 = __importDefault(require("./commands/platform-internal-secrets-remove-array"));
|
|
19
24
|
const platform_secrets_remove_array_1 = __importDefault(require("./commands/platform-secrets-remove-array"));
|
|
20
|
-
const
|
|
25
|
+
const secrets_remove_array_1 = __importDefault(require("./commands/secrets-remove-array"));
|
|
26
|
+
const platform_internal_secrets_rotate_1 = __importDefault(require("./commands/platform-internal-secrets-rotate"));
|
|
27
|
+
const platform_internal_secrets_set_1 = __importDefault(require("./commands/platform-internal-secrets-set"));
|
|
21
28
|
const platform_secrets_rotate_1 = __importDefault(require("./commands/platform-secrets-rotate"));
|
|
29
|
+
const secrets_rotate_1 = __importDefault(require("./commands/secrets-rotate"));
|
|
22
30
|
const platform_secrets_set_1 = __importDefault(require("./commands/platform-secrets-set"));
|
|
23
|
-
const
|
|
24
|
-
const org_secrets_set_1 = __importDefault(require("./commands/org-secrets-set"));
|
|
31
|
+
const secrets_set_1 = __importDefault(require("./commands/secrets-set"));
|
|
25
32
|
const provision_bucket_1 = __importDefault(require("./commands/provision-bucket"));
|
|
26
33
|
const createCommandMap = () => ({
|
|
27
34
|
context: context_1.default,
|
|
28
35
|
auth: auth_1.default,
|
|
29
|
-
'platform-config-definition': platform_config_definition_1.default,
|
|
30
36
|
'platform-config': platform_config_1.default,
|
|
37
|
+
config: config_1.default,
|
|
38
|
+
'platform-internal-secret': platform_internal_secret_1.default,
|
|
39
|
+
'platform-secret': platform_secret_1.default,
|
|
40
|
+
secret: secret_1.default,
|
|
41
|
+
'platform-internal-secrets-del': platform_internal_secrets_del_1.default,
|
|
31
42
|
'platform-secrets-del': platform_secrets_del_1.default,
|
|
32
|
-
'
|
|
43
|
+
'secrets-del': secrets_del_1.default,
|
|
44
|
+
'platform-internal-secrets-remove-array': platform_internal_secrets_remove_array_1.default,
|
|
33
45
|
'platform-secrets-remove-array': platform_secrets_remove_array_1.default,
|
|
34
|
-
'
|
|
46
|
+
'secrets-remove-array': secrets_remove_array_1.default,
|
|
47
|
+
'platform-internal-secrets-rotate': platform_internal_secrets_rotate_1.default,
|
|
48
|
+
'platform-internal-secrets-set': platform_internal_secrets_set_1.default,
|
|
35
49
|
'platform-secrets-rotate': platform_secrets_rotate_1.default,
|
|
50
|
+
'secrets-rotate': secrets_rotate_1.default,
|
|
36
51
|
'platform-secrets-set': platform_secrets_set_1.default,
|
|
37
|
-
'
|
|
38
|
-
'org-secrets-set': org_secrets_set_1.default,
|
|
52
|
+
'secrets-set': secrets_set_1.default,
|
|
39
53
|
'provision-bucket': provision_bucket_1.default,
|
|
40
54
|
});
|
|
41
|
-
const usage = '\ncsdk <command>\n\nCommands:\n context Manage API contexts\n auth Manage authentication\n platform-config-
|
|
55
|
+
const usage = '\ncsdk <command>\n\nCommands:\n context Manage API contexts\n auth Manage authentication\n platform-config platformConfig CRUD operations\n config config CRUD operations\n platform-internal-secret platformInternalSecret CRUD operations\n platform-secret platformSecret CRUD operations\n secret secret CRUD operations\n platform-internal-secrets-del platformInternalSecretsDel\n platform-secrets-del platformSecretsDel\n secrets-del _secretsDel\n platform-internal-secrets-remove-array platformInternalSecretsRemoveArray\n platform-secrets-remove-array platformSecretsRemoveArray\n secrets-remove-array _secretsRemoveArray\n platform-internal-secrets-rotate platformInternalSecretsRotate\n platform-internal-secrets-set platformInternalSecretsSet\n platform-secrets-rotate platformSecretsRotate\n secrets-rotate _secretsRotate\n platform-secrets-set platformSecretsSet\n secrets-set _secretsSet\n provision-bucket Provision an S3 bucket for a logical bucket in the database.\nReads the bucket config via RLS, then creates and configures\nthe S3 bucket with the appropriate privacy policies, CORS rules,\nand lifecycle settings.\n\n --help, -h Show this help message\n --version, -v Show version\n';
|
|
42
56
|
const commands = async (argv, prompter, options) => {
|
|
43
57
|
if (argv.help || argv.h) {
|
|
44
58
|
console.log(usage);
|
package/config/cli/executor.d.ts
CHANGED
|
@@ -1,47 +1,70 @@
|
|
|
1
1
|
export declare const getStore: () => import("appstash").ConfigStore;
|
|
2
2
|
export declare function getClient(contextName?: string): {
|
|
3
|
-
platformConfigDefinition: import("../orm").PlatformConfigDefinitionModel;
|
|
4
3
|
platformConfig: import("../orm").PlatformConfigModel;
|
|
4
|
+
config: import("../orm").ConfigModel;
|
|
5
|
+
platformInternalSecret: import("../orm").PlatformInternalSecretModel;
|
|
6
|
+
platformSecret: import("../orm").PlatformSecretModel;
|
|
7
|
+
secret: import("../orm").SecretModel;
|
|
5
8
|
mutation: {
|
|
9
|
+
platformInternalSecretsDel: <S extends import("../orm/input-types").PlatformInternalSecretsDelPayloadSelect>(args: import("../orm/mutation").PlatformInternalSecretsDelVariables, options: {
|
|
10
|
+
select: S;
|
|
11
|
+
} & import("../orm").StrictSelect<S, import("../orm/input-types").PlatformInternalSecretsDelPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
12
|
+
platformInternalSecretsDel: import("../orm").InferSelectResult<import("../orm/input-types").PlatformInternalSecretsDelPayload, S> | null;
|
|
13
|
+
}>;
|
|
6
14
|
platformSecretsDel: <S extends import("../orm/input-types").PlatformSecretsDelPayloadSelect>(args: import("../orm/mutation").PlatformSecretsDelVariables, options: {
|
|
7
15
|
select: S;
|
|
8
16
|
} & import("../orm").StrictSelect<S, import("../orm/input-types").PlatformSecretsDelPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
9
17
|
platformSecretsDel: import("../orm").InferSelectResult<import("../orm/input-types").PlatformSecretsDelPayload, S> | null;
|
|
10
18
|
}>;
|
|
11
|
-
|
|
19
|
+
_secretsDel: <S extends import("../orm/input-types")._SecretsDelPayloadSelect>(args: import("../orm/mutation")._secretsDelVariables, options: {
|
|
20
|
+
select: S;
|
|
21
|
+
} & import("../orm").StrictSelect<S, import("../orm/input-types")._SecretsDelPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
22
|
+
_secretsDel: import("../orm").InferSelectResult<import("../orm/input-types")._SecretsDelPayload, S> | null;
|
|
23
|
+
}>;
|
|
24
|
+
platformInternalSecretsRemoveArray: <S extends import("../orm/input-types").PlatformInternalSecretsRemoveArrayPayloadSelect>(args: import("../orm/mutation").PlatformInternalSecretsRemoveArrayVariables, options: {
|
|
12
25
|
select: S;
|
|
13
|
-
} & import("../orm").StrictSelect<S, import("../orm/input-types").
|
|
14
|
-
|
|
26
|
+
} & import("../orm").StrictSelect<S, import("../orm/input-types").PlatformInternalSecretsRemoveArrayPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
27
|
+
platformInternalSecretsRemoveArray: import("../orm").InferSelectResult<import("../orm/input-types").PlatformInternalSecretsRemoveArrayPayload, S> | null;
|
|
15
28
|
}>;
|
|
16
29
|
platformSecretsRemoveArray: <S extends import("../orm/input-types").PlatformSecretsRemoveArrayPayloadSelect>(args: import("../orm/mutation").PlatformSecretsRemoveArrayVariables, options: {
|
|
17
30
|
select: S;
|
|
18
31
|
} & import("../orm").StrictSelect<S, import("../orm/input-types").PlatformSecretsRemoveArrayPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
19
32
|
platformSecretsRemoveArray: import("../orm").InferSelectResult<import("../orm/input-types").PlatformSecretsRemoveArrayPayload, S> | null;
|
|
20
33
|
}>;
|
|
21
|
-
|
|
34
|
+
_secretsRemoveArray: <S extends import("../orm/input-types")._SecretsRemoveArrayPayloadSelect>(args: import("../orm/mutation")._secretsRemoveArrayVariables, options: {
|
|
35
|
+
select: S;
|
|
36
|
+
} & import("../orm").StrictSelect<S, import("../orm/input-types")._SecretsRemoveArrayPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
37
|
+
_secretsRemoveArray: import("../orm").InferSelectResult<import("../orm/input-types")._SecretsRemoveArrayPayload, S> | null;
|
|
38
|
+
}>;
|
|
39
|
+
platformInternalSecretsRotate: <S extends import("../orm/input-types").PlatformInternalSecretsRotatePayloadSelect>(args: import("../orm/mutation").PlatformInternalSecretsRotateVariables, options: {
|
|
22
40
|
select: S;
|
|
23
|
-
} & import("../orm").StrictSelect<S, import("../orm/input-types").
|
|
24
|
-
|
|
41
|
+
} & import("../orm").StrictSelect<S, import("../orm/input-types").PlatformInternalSecretsRotatePayloadSelect>) => import("../orm").QueryBuilder<{
|
|
42
|
+
platformInternalSecretsRotate: import("../orm").InferSelectResult<import("../orm/input-types").PlatformInternalSecretsRotatePayload, S> | null;
|
|
43
|
+
}>;
|
|
44
|
+
platformInternalSecretsSet: <S extends import("../orm/input-types").PlatformInternalSecretsSetPayloadSelect>(args: import("../orm/mutation").PlatformInternalSecretsSetVariables, options: {
|
|
45
|
+
select: S;
|
|
46
|
+
} & import("../orm").StrictSelect<S, import("../orm/input-types").PlatformInternalSecretsSetPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
47
|
+
platformInternalSecretsSet: import("../orm").InferSelectResult<import("../orm/input-types").PlatformInternalSecretsSetPayload, S> | null;
|
|
25
48
|
}>;
|
|
26
49
|
platformSecretsRotate: <S extends import("../orm/input-types").PlatformSecretsRotatePayloadSelect>(args: import("../orm/mutation").PlatformSecretsRotateVariables, options: {
|
|
27
50
|
select: S;
|
|
28
51
|
} & import("../orm").StrictSelect<S, import("../orm/input-types").PlatformSecretsRotatePayloadSelect>) => import("../orm").QueryBuilder<{
|
|
29
52
|
platformSecretsRotate: import("../orm").InferSelectResult<import("../orm/input-types").PlatformSecretsRotatePayload, S> | null;
|
|
30
53
|
}>;
|
|
54
|
+
_secretsRotate: <S extends import("../orm/input-types")._SecretsRotatePayloadSelect>(args: import("../orm/mutation")._secretsRotateVariables, options: {
|
|
55
|
+
select: S;
|
|
56
|
+
} & import("../orm").StrictSelect<S, import("../orm/input-types")._SecretsRotatePayloadSelect>) => import("../orm").QueryBuilder<{
|
|
57
|
+
_secretsRotate: import("../orm").InferSelectResult<import("../orm/input-types")._SecretsRotatePayload, S> | null;
|
|
58
|
+
}>;
|
|
31
59
|
platformSecretsSet: <S extends import("../orm/input-types").PlatformSecretsSetPayloadSelect>(args: import("../orm/mutation").PlatformSecretsSetVariables, options: {
|
|
32
60
|
select: S;
|
|
33
61
|
} & import("../orm").StrictSelect<S, import("../orm/input-types").PlatformSecretsSetPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
34
62
|
platformSecretsSet: import("../orm").InferSelectResult<import("../orm/input-types").PlatformSecretsSetPayload, S> | null;
|
|
35
63
|
}>;
|
|
36
|
-
|
|
37
|
-
select: S;
|
|
38
|
-
} & import("../orm").StrictSelect<S, import("../orm/input-types").OrgSecretsRotatePayloadSelect>) => import("../orm").QueryBuilder<{
|
|
39
|
-
orgSecretsRotate: import("../orm").InferSelectResult<import("../orm/input-types").OrgSecretsRotatePayload, S> | null;
|
|
40
|
-
}>;
|
|
41
|
-
orgSecretsSet: <S extends import("../orm/input-types").OrgSecretsSetPayloadSelect>(args: import("../orm/mutation").OrgSecretsSetVariables, options: {
|
|
64
|
+
_secretsSet: <S extends import("../orm/input-types")._SecretsSetPayloadSelect>(args: import("../orm/mutation")._secretsSetVariables, options: {
|
|
42
65
|
select: S;
|
|
43
|
-
} & import("../orm").StrictSelect<S, import("../orm/input-types").
|
|
44
|
-
|
|
66
|
+
} & import("../orm").StrictSelect<S, import("../orm/input-types")._SecretsSetPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
67
|
+
_secretsSet: import("../orm").InferSelectResult<import("../orm/input-types")._SecretsSetPayload, S> | null;
|
|
45
68
|
}>;
|
|
46
69
|
provisionBucket: <S extends import("../orm/input-types").ProvisionBucketPayloadSelect>(args: import("../orm/mutation").ProvisionBucketVariables, options: {
|
|
47
70
|
select: S;
|
package/config/orm/index.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import type { OrmClientConfig } from './client';
|
|
2
|
-
import { PlatformConfigDefinitionModel } from './models/platformConfigDefinition';
|
|
3
2
|
import { PlatformConfigModel } from './models/platformConfig';
|
|
3
|
+
import { ConfigModel } from './models/config';
|
|
4
|
+
import { PlatformInternalSecretModel } from './models/platformInternalSecret';
|
|
5
|
+
import { PlatformSecretModel } from './models/platformSecret';
|
|
6
|
+
import { SecretModel } from './models/secret';
|
|
4
7
|
export type { OrmClientConfig, QueryResult, GraphQLError, GraphQLAdapter } from './client';
|
|
5
8
|
export { GraphQLRequestError, FetchAdapter } from './client';
|
|
6
9
|
export { QueryBuilder } from './query-builder';
|
|
@@ -31,48 +34,71 @@ export { createMutationOperations } from './mutation';
|
|
|
31
34
|
* ```
|
|
32
35
|
*/
|
|
33
36
|
export declare function createClient(config: OrmClientConfig): {
|
|
34
|
-
platformConfigDefinition: PlatformConfigDefinitionModel;
|
|
35
37
|
platformConfig: PlatformConfigModel;
|
|
38
|
+
config: ConfigModel;
|
|
39
|
+
platformInternalSecret: PlatformInternalSecretModel;
|
|
40
|
+
platformSecret: PlatformSecretModel;
|
|
41
|
+
secret: SecretModel;
|
|
36
42
|
mutation: {
|
|
43
|
+
platformInternalSecretsDel: <S extends import("./input-types").PlatformInternalSecretsDelPayloadSelect>(args: import("./mutation").PlatformInternalSecretsDelVariables, options: {
|
|
44
|
+
select: S;
|
|
45
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").PlatformInternalSecretsDelPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
46
|
+
platformInternalSecretsDel: import("./select-types").InferSelectResult<import("./input-types").PlatformInternalSecretsDelPayload, S> | null;
|
|
47
|
+
}>;
|
|
37
48
|
platformSecretsDel: <S extends import("./input-types").PlatformSecretsDelPayloadSelect>(args: import("./mutation").PlatformSecretsDelVariables, options: {
|
|
38
49
|
select: S;
|
|
39
50
|
} & import("./select-types").StrictSelect<S, import("./input-types").PlatformSecretsDelPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
40
51
|
platformSecretsDel: import("./select-types").InferSelectResult<import("./input-types").PlatformSecretsDelPayload, S> | null;
|
|
41
52
|
}>;
|
|
42
|
-
|
|
53
|
+
_secretsDel: <S extends import("./input-types")._SecretsDelPayloadSelect>(args: import("./mutation")._secretsDelVariables, options: {
|
|
54
|
+
select: S;
|
|
55
|
+
} & import("./select-types").StrictSelect<S, import("./input-types")._SecretsDelPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
56
|
+
_secretsDel: import("./select-types").InferSelectResult<import("./input-types")._SecretsDelPayload, S> | null;
|
|
57
|
+
}>;
|
|
58
|
+
platformInternalSecretsRemoveArray: <S extends import("./input-types").PlatformInternalSecretsRemoveArrayPayloadSelect>(args: import("./mutation").PlatformInternalSecretsRemoveArrayVariables, options: {
|
|
43
59
|
select: S;
|
|
44
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").
|
|
45
|
-
|
|
60
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").PlatformInternalSecretsRemoveArrayPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
61
|
+
platformInternalSecretsRemoveArray: import("./select-types").InferSelectResult<import("./input-types").PlatformInternalSecretsRemoveArrayPayload, S> | null;
|
|
46
62
|
}>;
|
|
47
63
|
platformSecretsRemoveArray: <S extends import("./input-types").PlatformSecretsRemoveArrayPayloadSelect>(args: import("./mutation").PlatformSecretsRemoveArrayVariables, options: {
|
|
48
64
|
select: S;
|
|
49
65
|
} & import("./select-types").StrictSelect<S, import("./input-types").PlatformSecretsRemoveArrayPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
50
66
|
platformSecretsRemoveArray: import("./select-types").InferSelectResult<import("./input-types").PlatformSecretsRemoveArrayPayload, S> | null;
|
|
51
67
|
}>;
|
|
52
|
-
|
|
68
|
+
_secretsRemoveArray: <S extends import("./input-types")._SecretsRemoveArrayPayloadSelect>(args: import("./mutation")._secretsRemoveArrayVariables, options: {
|
|
69
|
+
select: S;
|
|
70
|
+
} & import("./select-types").StrictSelect<S, import("./input-types")._SecretsRemoveArrayPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
71
|
+
_secretsRemoveArray: import("./select-types").InferSelectResult<import("./input-types")._SecretsRemoveArrayPayload, S> | null;
|
|
72
|
+
}>;
|
|
73
|
+
platformInternalSecretsRotate: <S extends import("./input-types").PlatformInternalSecretsRotatePayloadSelect>(args: import("./mutation").PlatformInternalSecretsRotateVariables, options: {
|
|
53
74
|
select: S;
|
|
54
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").
|
|
55
|
-
|
|
75
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").PlatformInternalSecretsRotatePayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
76
|
+
platformInternalSecretsRotate: import("./select-types").InferSelectResult<import("./input-types").PlatformInternalSecretsRotatePayload, S> | null;
|
|
77
|
+
}>;
|
|
78
|
+
platformInternalSecretsSet: <S extends import("./input-types").PlatformInternalSecretsSetPayloadSelect>(args: import("./mutation").PlatformInternalSecretsSetVariables, options: {
|
|
79
|
+
select: S;
|
|
80
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").PlatformInternalSecretsSetPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
81
|
+
platformInternalSecretsSet: import("./select-types").InferSelectResult<import("./input-types").PlatformInternalSecretsSetPayload, S> | null;
|
|
56
82
|
}>;
|
|
57
83
|
platformSecretsRotate: <S extends import("./input-types").PlatformSecretsRotatePayloadSelect>(args: import("./mutation").PlatformSecretsRotateVariables, options: {
|
|
58
84
|
select: S;
|
|
59
85
|
} & import("./select-types").StrictSelect<S, import("./input-types").PlatformSecretsRotatePayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
60
86
|
platformSecretsRotate: import("./select-types").InferSelectResult<import("./input-types").PlatformSecretsRotatePayload, S> | null;
|
|
61
87
|
}>;
|
|
88
|
+
_secretsRotate: <S extends import("./input-types")._SecretsRotatePayloadSelect>(args: import("./mutation")._secretsRotateVariables, options: {
|
|
89
|
+
select: S;
|
|
90
|
+
} & import("./select-types").StrictSelect<S, import("./input-types")._SecretsRotatePayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
91
|
+
_secretsRotate: import("./select-types").InferSelectResult<import("./input-types")._SecretsRotatePayload, S> | null;
|
|
92
|
+
}>;
|
|
62
93
|
platformSecretsSet: <S extends import("./input-types").PlatformSecretsSetPayloadSelect>(args: import("./mutation").PlatformSecretsSetVariables, options: {
|
|
63
94
|
select: S;
|
|
64
95
|
} & import("./select-types").StrictSelect<S, import("./input-types").PlatformSecretsSetPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
65
96
|
platformSecretsSet: import("./select-types").InferSelectResult<import("./input-types").PlatformSecretsSetPayload, S> | null;
|
|
66
97
|
}>;
|
|
67
|
-
|
|
68
|
-
select: S;
|
|
69
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").OrgSecretsRotatePayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
70
|
-
orgSecretsRotate: import("./select-types").InferSelectResult<import("./input-types").OrgSecretsRotatePayload, S> | null;
|
|
71
|
-
}>;
|
|
72
|
-
orgSecretsSet: <S extends import("./input-types").OrgSecretsSetPayloadSelect>(args: import("./mutation").OrgSecretsSetVariables, options: {
|
|
98
|
+
_secretsSet: <S extends import("./input-types")._SecretsSetPayloadSelect>(args: import("./mutation")._secretsSetVariables, options: {
|
|
73
99
|
select: S;
|
|
74
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").
|
|
75
|
-
|
|
100
|
+
} & import("./select-types").StrictSelect<S, import("./input-types")._SecretsSetPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
101
|
+
_secretsSet: import("./select-types").InferSelectResult<import("./input-types")._SecretsSetPayload, S> | null;
|
|
76
102
|
}>;
|
|
77
103
|
provisionBucket: <S extends import("./input-types").ProvisionBucketPayloadSelect>(args: import("./mutation").ProvisionBucketVariables, options: {
|
|
78
104
|
select: S;
|
package/config/orm/index.js
CHANGED
|
@@ -22,8 +22,11 @@ exports.createClient = createClient;
|
|
|
22
22
|
* DO NOT EDIT - changes will be overwritten
|
|
23
23
|
*/
|
|
24
24
|
const client_1 = require("./client");
|
|
25
|
-
const platformConfigDefinition_1 = require("./models/platformConfigDefinition");
|
|
26
25
|
const platformConfig_1 = require("./models/platformConfig");
|
|
26
|
+
const config_1 = require("./models/config");
|
|
27
|
+
const platformInternalSecret_1 = require("./models/platformInternalSecret");
|
|
28
|
+
const platformSecret_1 = require("./models/platformSecret");
|
|
29
|
+
const secret_1 = require("./models/secret");
|
|
27
30
|
const mutation_1 = require("./mutation");
|
|
28
31
|
var client_2 = require("./client");
|
|
29
32
|
Object.defineProperty(exports, "GraphQLRequestError", { enumerable: true, get: function () { return client_2.GraphQLRequestError; } });
|
|
@@ -60,8 +63,11 @@ Object.defineProperty(exports, "createMutationOperations", { enumerable: true, g
|
|
|
60
63
|
function createClient(config) {
|
|
61
64
|
const client = new client_1.OrmClient(config);
|
|
62
65
|
return {
|
|
63
|
-
platformConfigDefinition: new platformConfigDefinition_1.PlatformConfigDefinitionModel(client),
|
|
64
66
|
platformConfig: new platformConfig_1.PlatformConfigModel(client),
|
|
67
|
+
config: new config_1.ConfigModel(client),
|
|
68
|
+
platformInternalSecret: new platformInternalSecret_1.PlatformInternalSecretModel(client),
|
|
69
|
+
platformSecret: new platformSecret_1.PlatformSecretModel(client),
|
|
70
|
+
secret: new secret_1.SecretModel(client),
|
|
65
71
|
mutation: (0, mutation_1.createMutationOperations)(client),
|
|
66
72
|
};
|
|
67
73
|
}
|