@constructive-sdk/cli 0.30.0 → 0.30.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/agent/cli/commands/agent-message.js +20 -0
- package/agent/cli/commands/agent-persona.js +20 -0
- package/agent/cli/commands/agent-plan.js +20 -0
- package/agent/cli/commands/agent-prompt.js +20 -0
- package/agent/cli/commands/agent-resource.js +21 -0
- package/agent/cli/commands/agent-task.js +20 -0
- package/agent/cli/commands/agent-thread.js +20 -0
- package/agent/cli/commands/agent.js +20 -0
- package/agent/orm/input-types.d.ts +96 -8
- package/api/cli/commands/database.js +22 -0
- package/api/cli/commands/field.js +44 -0
- package/api/cli/commands/policy.js +22 -0
- package/{compute/cli/commands/org-function-execution-log.d.ts → api/cli/commands/request-database.d.ts} +1 -1
- package/api/cli/commands/request-database.js +36 -0
- package/api/cli/commands/table.js +22 -0
- package/api/cli/commands.js +5 -9
- package/api/cli/executor.d.ts +4 -14
- package/api/orm/index.d.ts +5 -15
- package/api/orm/index.js +2 -2
- package/api/orm/input-types.d.ts +250 -231
- package/api/orm/models/index.d.ts +1 -1
- package/api/orm/models/index.js +3 -3
- package/api/orm/mutation/index.d.ts +11 -36
- package/api/orm/mutation/index.js +6 -30
- package/auth/cli/commands/delete-principal.d.ts +8 -0
- package/{config/cli/commands/org-secrets-rotate.js → auth/cli/commands/delete-principal.js} +3 -3
- package/auth/cli/commands/principal-scope-override.js +18 -7
- package/auth/cli/commands/principal.d.ts +1 -1
- package/auth/cli/commands/principal.js +75 -64
- package/auth/cli/commands.js +5 -3
- package/auth/cli/executor.d.ts +10 -5
- package/auth/orm/index.d.ts +10 -5
- package/auth/orm/input-types.d.ts +54 -45
- package/auth/orm/models/principal.d.ts +1 -10
- package/auth/orm/models/principal.js +0 -13
- package/auth/orm/mutation/index.d.ts +17 -9
- package/auth/orm/mutation/index.js +24 -12
- package/{esm/compute/cli/commands/secret-definition.d.ts → compute/cli/commands/db-preset.d.ts} +1 -1
- package/compute/cli/commands/db-preset.js +394 -0
- package/compute/cli/commands/function-definition.js +208 -12
- package/compute/cli/commands/function-deployment.js +42 -20
- package/compute/cli/commands/function-graph-commit.js +15 -15
- package/compute/cli/commands/function-graph-execution-node-state.js +12 -12
- package/compute/cli/commands/function-graph-execution-output.js +12 -12
- package/compute/cli/commands/function-graph-execution.js +37 -13
- package/compute/cli/commands/function-graph-object.js +15 -15
- package/compute/cli/commands/function-graph-ref.js +15 -15
- package/compute/cli/commands/function-graph-store.js +12 -12
- package/compute/cli/commands/function-graph.js +12 -12
- package/compute/cli/commands/{secret-definition.d.ts → infra-commit.d.ts} +1 -1
- package/compute/cli/commands/infra-commit.js +389 -0
- package/{esm/modules/cli/commands/config-secrets-module.d.ts → compute/cli/commands/infra-get-all-record.d.ts} +1 -1
- package/compute/cli/commands/infra-get-all-record.js +126 -0
- package/{api/cli/commands/create-user-database.d.ts → compute/cli/commands/infra-init-empty-repo.d.ts} +1 -1
- package/compute/cli/commands/infra-init-empty-repo.js +36 -0
- package/compute/cli/commands/infra-insert-node-at-path.d.ts +8 -0
- package/{config/cli/commands/org-secrets-remove-array.js → compute/cli/commands/infra-insert-node-at-path.js} +3 -3
- package/{modules/cli/commands/config-secrets-module.d.ts → compute/cli/commands/infra-object.d.ts} +1 -1
- package/compute/cli/commands/infra-object.js +309 -0
- package/compute/cli/commands/infra-ref.d.ts +8 -0
- package/compute/cli/commands/infra-ref.js +299 -0
- package/compute/cli/commands/infra-set-data-at-path.d.ts +8 -0
- package/compute/cli/commands/infra-set-data-at-path.js +36 -0
- package/compute/cli/commands/infra-store.d.ts +8 -0
- package/compute/cli/commands/infra-store.js +278 -0
- package/compute/cli/commands/integration-provider.d.ts +8 -0
- package/compute/cli/commands/integration-provider.js +416 -0
- package/compute/cli/commands/namespace-event.d.ts +8 -0
- package/compute/cli/commands/namespace-event.js +510 -0
- package/compute/cli/commands/namespace.d.ts +8 -0
- package/compute/cli/commands/{secret-definition.js → namespace.js} +106 -20
- package/compute/cli/commands/platform-function-api-binding.d.ts +8 -0
- package/compute/cli/commands/platform-function-api-binding.js +294 -0
- package/compute/cli/commands/platform-function-definition.d.ts +8 -0
- package/compute/cli/commands/platform-function-definition.js +964 -0
- package/compute/cli/commands/platform-function-deployment-event.d.ts +8 -0
- package/compute/cli/commands/platform-function-deployment-event.js +336 -0
- package/compute/cli/commands/platform-function-deployment.d.ts +8 -0
- package/compute/cli/commands/platform-function-deployment.js +614 -0
- package/compute/cli/commands/platform-function-execution-log.d.ts +8 -0
- package/compute/cli/commands/{org-function-execution-log.js → platform-function-execution-log.js} +8 -8
- package/compute/cli/commands/platform-function-invocation.d.ts +8 -0
- package/compute/cli/commands/{org-function-invocation.js → platform-function-invocation.js} +8 -8
- package/compute/cli/commands/platform-namespace-event.js +0 -20
- package/compute/cli/commands/platform-namespace.js +40 -60
- package/compute/cli/commands/platform-resource-definition.d.ts +8 -0
- package/compute/cli/commands/platform-resource-definition.js +522 -0
- package/{api/cli/commands/bootstrap-user.d.ts → compute/cli/commands/platform-resource-event.d.ts} +1 -1
- package/compute/cli/commands/platform-resource-event.js +336 -0
- package/compute/cli/commands/platform-resource-status-check.d.ts +8 -0
- package/compute/cli/commands/platform-resource-status-check.js +340 -0
- package/compute/cli/commands/platform-resource.d.ts +8 -0
- package/compute/cli/commands/platform-resource.js +588 -0
- package/{api/cli/commands/provision-database-with-user.d.ts → compute/cli/commands/platform-resources-requirements-state.d.ts} +1 -1
- package/compute/cli/commands/platform-resources-requirements-state.js +183 -0
- package/compute/cli/commands/platform-resources-resolved-requirement.d.ts +8 -0
- package/compute/cli/commands/platform-resources-resolved-requirement.js +218 -0
- package/compute/cli/commands/resource-definition.d.ts +8 -0
- package/compute/cli/commands/resource-definition.js +542 -0
- package/compute/cli/commands/resource-status-check.d.ts +8 -0
- package/{modules/cli/commands/config-secrets-org-module.js → compute/cli/commands/resource-status-check.js} +90 -70
- package/compute/cli/commands/resource.js +88 -0
- package/compute/cli/commands/resources-requirements-state.d.ts +8 -0
- package/compute/cli/commands/resources-requirements-state.js +181 -0
- package/compute/cli/commands/resources-resolved-requirement.d.ts +8 -0
- package/compute/cli/commands/resources-resolved-requirement.js +214 -0
- package/compute/cli/commands.js +65 -15
- package/compute/cli/executor.d.ts +48 -11
- package/compute/orm/index.d.ts +76 -17
- package/compute/orm/index.js +56 -12
- package/compute/orm/input-types.d.ts +5893 -1343
- package/compute/orm/input-types.js +17 -3
- package/compute/orm/models/dbPreset.d.ts +54 -0
- package/compute/orm/models/dbPreset.js +104 -0
- package/compute/orm/models/functionGraphCommit.d.ts +2 -2
- package/compute/orm/models/functionGraphCommit.js +2 -2
- package/compute/orm/models/functionGraphObject.d.ts +2 -2
- package/compute/orm/models/functionGraphObject.js +2 -2
- package/compute/orm/models/functionGraphRef.d.ts +2 -2
- package/compute/orm/models/functionGraphRef.js +2 -2
- package/compute/orm/models/index.d.ts +28 -6
- package/compute/orm/models/index.js +57 -13
- package/compute/orm/models/infraCommit.d.ts +56 -0
- package/compute/orm/models/infraCommit.js +107 -0
- package/compute/orm/models/infraGetAllRecord.d.ts +30 -0
- package/compute/orm/models/infraGetAllRecord.js +59 -0
- package/compute/orm/models/infraObject.d.ts +56 -0
- package/compute/orm/models/infraObject.js +97 -0
- package/compute/orm/models/infraRef.d.ts +56 -0
- package/compute/orm/models/infraRef.js +107 -0
- package/compute/orm/models/infraStore.d.ts +54 -0
- package/compute/orm/models/infraStore.js +104 -0
- package/compute/orm/models/integrationProvider.d.ts +54 -0
- package/{modules/orm/models/configSecretsModule.js → compute/orm/models/integrationProvider.js} +27 -27
- package/compute/orm/models/namespace.d.ts +54 -0
- package/compute/orm/models/namespace.js +104 -0
- package/compute/orm/models/namespaceEvent.d.ts +56 -0
- package/compute/orm/models/{orgFunctionExecutionLog.js → namespaceEvent.js} +27 -27
- package/compute/orm/models/platformFunctionApiBinding.d.ts +54 -0
- package/compute/orm/models/platformFunctionApiBinding.js +104 -0
- package/compute/orm/models/platformFunctionDefinition.d.ts +54 -0
- package/compute/orm/models/platformFunctionDefinition.js +104 -0
- package/compute/orm/models/platformFunctionDeployment.d.ts +54 -0
- package/compute/orm/models/platformFunctionDeployment.js +104 -0
- package/compute/orm/models/platformFunctionDeploymentEvent.d.ts +56 -0
- package/compute/orm/models/platformFunctionDeploymentEvent.js +107 -0
- package/compute/orm/models/platformFunctionExecutionLog.d.ts +56 -0
- package/compute/orm/models/platformFunctionExecutionLog.js +107 -0
- package/compute/orm/models/platformFunctionInvocation.d.ts +56 -0
- package/compute/orm/models/platformFunctionInvocation.js +107 -0
- package/compute/orm/models/platformResource.d.ts +54 -0
- package/compute/orm/models/{secretDefinition.js → platformResource.js} +27 -27
- package/compute/orm/models/platformResourceDefinition.d.ts +54 -0
- package/compute/orm/models/platformResourceDefinition.js +104 -0
- package/compute/orm/models/platformResourceEvent.d.ts +56 -0
- package/compute/orm/models/{orgFunctionInvocation.js → platformResourceEvent.js} +27 -27
- package/compute/orm/models/platformResourceStatusCheck.d.ts +54 -0
- package/compute/orm/models/platformResourceStatusCheck.js +104 -0
- package/compute/orm/models/platformResourcesRequirementsState.d.ts +30 -0
- package/compute/orm/models/platformResourcesRequirementsState.js +59 -0
- package/compute/orm/models/platformResourcesResolvedRequirement.d.ts +30 -0
- package/compute/orm/models/platformResourcesResolvedRequirement.js +59 -0
- package/compute/orm/models/resourceDefinition.d.ts +54 -0
- package/compute/orm/models/resourceDefinition.js +104 -0
- package/compute/orm/models/resourceStatusCheck.d.ts +54 -0
- package/compute/orm/models/resourceStatusCheck.js +104 -0
- package/compute/orm/models/resourcesRequirementsState.d.ts +30 -0
- package/compute/orm/models/resourcesRequirementsState.js +59 -0
- package/compute/orm/models/resourcesResolvedRequirement.d.ts +30 -0
- package/compute/orm/models/resourcesResolvedRequirement.js +59 -0
- package/compute/orm/mutation/index.d.ts +33 -9
- package/compute/orm/mutation/index.js +48 -12
- package/config/cli/commands/config.d.ts +8 -0
- package/config/cli/commands/{platform-config-definition.js → config.js} +127 -65
- package/config/cli/commands/platform-config.js +22 -0
- package/config/cli/commands/platform-internal-secret.d.ts +8 -0
- package/config/cli/commands/platform-internal-secret.js +200 -0
- package/config/cli/commands/platform-internal-secrets-del.d.ts +8 -0
- package/{api/cli/commands/provision-database-with-user.js → config/cli/commands/platform-internal-secrets-del.js} +3 -3
- package/config/cli/commands/platform-internal-secrets-remove-array.d.ts +8 -0
- package/config/cli/commands/platform-internal-secrets-remove-array.js +36 -0
- package/config/cli/commands/platform-internal-secrets-rotate.d.ts +8 -0
- package/config/cli/commands/platform-internal-secrets-rotate.js +36 -0
- package/config/cli/commands/platform-internal-secrets-set.d.ts +8 -0
- package/config/cli/commands/platform-internal-secrets-set.js +36 -0
- package/config/cli/commands/platform-secret.d.ts +8 -0
- package/config/cli/commands/platform-secret.js +212 -0
- package/config/cli/commands/secret.d.ts +8 -0
- package/config/cli/commands/secret.js +224 -0
- package/config/cli/commands/secrets-del.d.ts +8 -0
- package/{api/cli/commands/bootstrap-user.js → config/cli/commands/secrets-del.js} +3 -3
- package/config/cli/commands/secrets-remove-array.d.ts +8 -0
- package/config/cli/commands/secrets-remove-array.js +36 -0
- package/config/cli/commands/secrets-rotate.d.ts +8 -0
- package/config/cli/commands/{org-secrets-set.js → secrets-rotate.js} +3 -3
- package/config/cli/commands/secrets-set.d.ts +8 -0
- package/config/cli/commands/{org-secrets-del.js → secrets-set.js} +3 -3
- package/config/cli/commands.js +25 -11
- package/config/cli/executor.d.ts +38 -15
- package/config/orm/index.d.ts +42 -16
- package/config/orm/index.js +8 -2
- package/config/orm/input-types.d.ts +595 -154
- package/config/orm/models/config.d.ts +54 -0
- package/{modules/orm/models/configSecretsOrgModule.js → config/orm/models/config.js} +27 -27
- package/config/orm/models/index.d.ts +4 -1
- package/config/orm/models/index.js +9 -3
- package/config/orm/models/platformInternalSecret.d.ts +36 -0
- package/config/orm/models/platformInternalSecret.js +80 -0
- package/config/orm/models/platformSecret.d.ts +36 -0
- package/config/orm/models/platformSecret.js +80 -0
- package/config/orm/models/secret.d.ts +36 -0
- package/config/orm/models/secret.js +80 -0
- package/config/orm/mutation/index.d.ts +56 -24
- package/config/orm/mutation/index.js +78 -30
- package/esm/agent/cli/commands/agent-message.js +20 -0
- package/esm/agent/cli/commands/agent-persona.js +20 -0
- package/esm/agent/cli/commands/agent-plan.js +20 -0
- package/esm/agent/cli/commands/agent-prompt.js +20 -0
- package/esm/agent/cli/commands/agent-resource.js +21 -0
- package/esm/agent/cli/commands/agent-task.js +20 -0
- package/esm/agent/cli/commands/agent-thread.js +20 -0
- package/esm/agent/cli/commands/agent.js +20 -0
- package/esm/agent/orm/input-types.d.ts +96 -8
- package/esm/api/cli/commands/database.js +22 -0
- package/esm/api/cli/commands/field.js +44 -0
- package/esm/api/cli/commands/policy.js +22 -0
- package/esm/api/cli/commands/request-database.d.ts +8 -0
- package/esm/api/cli/commands/request-database.js +34 -0
- package/esm/api/cli/commands/table.js +22 -0
- package/esm/api/cli/commands.js +5 -9
- package/esm/api/cli/executor.d.ts +4 -14
- package/esm/api/orm/index.d.ts +5 -15
- package/esm/api/orm/index.js +2 -2
- package/esm/api/orm/input-types.d.ts +250 -231
- package/esm/api/orm/models/index.d.ts +1 -1
- package/esm/api/orm/models/index.js +1 -1
- package/esm/api/orm/mutation/index.d.ts +11 -36
- package/esm/api/orm/mutation/index.js +6 -30
- package/esm/auth/cli/commands/delete-principal.d.ts +8 -0
- package/esm/{config/cli/commands/org-secrets-rotate.js → auth/cli/commands/delete-principal.js} +3 -3
- package/esm/auth/cli/commands/principal-scope-override.js +18 -7
- package/esm/auth/cli/commands/principal.d.ts +1 -1
- package/esm/auth/cli/commands/principal.js +78 -67
- package/esm/auth/cli/commands.js +5 -3
- package/esm/auth/cli/executor.d.ts +10 -5
- package/esm/auth/orm/index.d.ts +10 -5
- package/esm/auth/orm/input-types.d.ts +54 -45
- package/esm/auth/orm/models/principal.d.ts +1 -10
- package/esm/auth/orm/models/principal.js +1 -14
- package/esm/auth/orm/mutation/index.d.ts +17 -9
- package/esm/auth/orm/mutation/index.js +24 -12
- package/esm/compute/cli/commands/db-preset.d.ts +8 -0
- package/esm/compute/cli/commands/db-preset.js +392 -0
- package/esm/compute/cli/commands/function-definition.js +208 -12
- package/esm/compute/cli/commands/function-deployment.js +42 -20
- package/esm/compute/cli/commands/function-graph-commit.js +15 -15
- package/esm/compute/cli/commands/function-graph-execution-node-state.js +12 -12
- package/esm/compute/cli/commands/function-graph-execution-output.js +12 -12
- package/esm/compute/cli/commands/function-graph-execution.js +37 -13
- package/esm/compute/cli/commands/function-graph-object.js +15 -15
- package/esm/compute/cli/commands/function-graph-ref.js +15 -15
- package/esm/compute/cli/commands/function-graph-store.js +12 -12
- package/esm/compute/cli/commands/function-graph.js +12 -12
- package/esm/compute/cli/commands/infra-commit.d.ts +8 -0
- package/esm/compute/cli/commands/infra-commit.js +387 -0
- package/esm/compute/cli/commands/infra-get-all-record.d.ts +8 -0
- package/esm/compute/cli/commands/infra-get-all-record.js +124 -0
- package/esm/compute/cli/commands/infra-init-empty-repo.d.ts +8 -0
- package/esm/compute/cli/commands/infra-init-empty-repo.js +34 -0
- package/esm/compute/cli/commands/infra-insert-node-at-path.d.ts +8 -0
- package/esm/{config/cli/commands/org-secrets-remove-array.js → compute/cli/commands/infra-insert-node-at-path.js} +3 -3
- package/esm/compute/cli/commands/infra-object.d.ts +8 -0
- package/esm/compute/cli/commands/infra-object.js +307 -0
- package/esm/compute/cli/commands/infra-ref.d.ts +8 -0
- package/esm/compute/cli/commands/infra-ref.js +297 -0
- package/esm/compute/cli/commands/infra-set-data-at-path.d.ts +8 -0
- package/esm/compute/cli/commands/infra-set-data-at-path.js +34 -0
- package/esm/compute/cli/commands/infra-store.d.ts +8 -0
- package/esm/compute/cli/commands/infra-store.js +276 -0
- package/esm/compute/cli/commands/integration-provider.d.ts +8 -0
- package/esm/compute/cli/commands/integration-provider.js +414 -0
- package/esm/compute/cli/commands/namespace-event.d.ts +8 -0
- package/esm/compute/cli/commands/namespace-event.js +508 -0
- package/esm/compute/cli/commands/namespace.d.ts +8 -0
- package/esm/compute/cli/commands/{secret-definition.js → namespace.js} +106 -20
- package/esm/compute/cli/commands/platform-function-api-binding.d.ts +8 -0
- package/esm/compute/cli/commands/platform-function-api-binding.js +292 -0
- package/esm/compute/cli/commands/platform-function-definition.d.ts +8 -0
- package/esm/compute/cli/commands/platform-function-definition.js +962 -0
- package/esm/compute/cli/commands/platform-function-deployment-event.d.ts +8 -0
- package/esm/compute/cli/commands/platform-function-deployment-event.js +334 -0
- package/esm/compute/cli/commands/platform-function-deployment.d.ts +8 -0
- package/esm/compute/cli/commands/platform-function-deployment.js +612 -0
- package/esm/compute/cli/commands/platform-function-execution-log.d.ts +8 -0
- package/esm/compute/cli/commands/{org-function-execution-log.js → platform-function-execution-log.js} +8 -8
- package/esm/compute/cli/commands/platform-function-invocation.d.ts +8 -0
- package/esm/compute/cli/commands/{org-function-invocation.js → platform-function-invocation.js} +8 -8
- package/esm/compute/cli/commands/platform-namespace-event.js +0 -20
- package/esm/compute/cli/commands/platform-namespace.js +40 -60
- package/esm/compute/cli/commands/platform-resource-definition.d.ts +8 -0
- package/esm/compute/cli/commands/platform-resource-definition.js +520 -0
- package/{compute/cli/commands/org-function-invocation.d.ts → esm/compute/cli/commands/platform-resource-event.d.ts} +1 -1
- package/esm/compute/cli/commands/platform-resource-event.js +334 -0
- package/esm/compute/cli/commands/platform-resource-status-check.d.ts +8 -0
- package/esm/compute/cli/commands/platform-resource-status-check.js +338 -0
- package/esm/compute/cli/commands/platform-resource.d.ts +8 -0
- package/esm/compute/cli/commands/platform-resource.js +586 -0
- package/esm/compute/cli/commands/platform-resources-requirements-state.d.ts +8 -0
- package/esm/compute/cli/commands/platform-resources-requirements-state.js +181 -0
- package/esm/compute/cli/commands/platform-resources-resolved-requirement.d.ts +8 -0
- package/esm/compute/cli/commands/platform-resources-resolved-requirement.js +216 -0
- package/esm/compute/cli/commands/resource-definition.d.ts +8 -0
- package/esm/compute/cli/commands/resource-definition.js +540 -0
- package/esm/compute/cli/commands/resource-status-check.d.ts +8 -0
- package/esm/{modules/cli/commands/config-secrets-org-module.js → compute/cli/commands/resource-status-check.js} +90 -70
- package/esm/compute/cli/commands/resource.js +88 -0
- package/esm/compute/cli/commands/resources-requirements-state.d.ts +8 -0
- package/esm/compute/cli/commands/resources-requirements-state.js +179 -0
- package/esm/compute/cli/commands/resources-resolved-requirement.d.ts +8 -0
- package/esm/compute/cli/commands/resources-resolved-requirement.js +212 -0
- package/esm/compute/cli/commands.js +65 -15
- package/esm/compute/cli/executor.d.ts +48 -11
- package/esm/compute/orm/index.d.ts +76 -17
- package/esm/compute/orm/index.js +56 -12
- package/esm/compute/orm/input-types.d.ts +5893 -1343
- package/esm/compute/orm/input-types.js +17 -3
- package/esm/compute/orm/models/dbPreset.d.ts +54 -0
- package/esm/compute/orm/models/dbPreset.js +100 -0
- package/esm/compute/orm/models/functionGraphCommit.d.ts +2 -2
- package/esm/compute/orm/models/functionGraphCommit.js +2 -2
- package/esm/compute/orm/models/functionGraphObject.d.ts +2 -2
- package/esm/compute/orm/models/functionGraphObject.js +2 -2
- package/esm/compute/orm/models/functionGraphRef.d.ts +2 -2
- package/esm/compute/orm/models/functionGraphRef.js +2 -2
- package/esm/compute/orm/models/index.d.ts +28 -6
- package/esm/compute/orm/models/index.js +28 -6
- package/esm/compute/orm/models/infraCommit.d.ts +56 -0
- package/esm/compute/orm/models/infraCommit.js +103 -0
- package/esm/compute/orm/models/infraGetAllRecord.d.ts +30 -0
- package/esm/compute/orm/models/infraGetAllRecord.js +55 -0
- package/esm/compute/orm/models/infraObject.d.ts +56 -0
- package/esm/compute/orm/models/infraObject.js +93 -0
- package/esm/compute/orm/models/infraRef.d.ts +56 -0
- package/esm/compute/orm/models/infraRef.js +103 -0
- package/esm/compute/orm/models/infraStore.d.ts +54 -0
- package/esm/compute/orm/models/infraStore.js +100 -0
- package/esm/compute/orm/models/integrationProvider.d.ts +54 -0
- package/esm/compute/orm/models/integrationProvider.js +100 -0
- package/esm/compute/orm/models/namespace.d.ts +54 -0
- package/esm/compute/orm/models/namespace.js +100 -0
- package/esm/compute/orm/models/namespaceEvent.d.ts +56 -0
- package/esm/compute/orm/models/{orgFunctionExecutionLog.js → namespaceEvent.js} +25 -25
- package/esm/compute/orm/models/platformFunctionApiBinding.d.ts +54 -0
- package/esm/compute/orm/models/platformFunctionApiBinding.js +100 -0
- package/esm/compute/orm/models/platformFunctionDefinition.d.ts +54 -0
- package/esm/compute/orm/models/platformFunctionDefinition.js +100 -0
- package/esm/compute/orm/models/platformFunctionDeployment.d.ts +54 -0
- package/esm/compute/orm/models/platformFunctionDeployment.js +100 -0
- package/esm/compute/orm/models/platformFunctionDeploymentEvent.d.ts +56 -0
- package/esm/compute/orm/models/platformFunctionDeploymentEvent.js +103 -0
- package/esm/compute/orm/models/platformFunctionExecutionLog.d.ts +56 -0
- package/esm/compute/orm/models/platformFunctionExecutionLog.js +103 -0
- package/esm/compute/orm/models/platformFunctionInvocation.d.ts +56 -0
- package/esm/compute/orm/models/platformFunctionInvocation.js +103 -0
- package/esm/compute/orm/models/platformResource.d.ts +54 -0
- package/esm/compute/orm/models/{secretDefinition.js → platformResource.js} +25 -25
- package/esm/compute/orm/models/platformResourceDefinition.d.ts +54 -0
- package/esm/compute/orm/models/platformResourceDefinition.js +100 -0
- package/esm/compute/orm/models/platformResourceEvent.d.ts +56 -0
- package/esm/compute/orm/models/{orgFunctionInvocation.js → platformResourceEvent.js} +25 -25
- package/esm/compute/orm/models/platformResourceStatusCheck.d.ts +54 -0
- package/esm/compute/orm/models/platformResourceStatusCheck.js +100 -0
- package/esm/compute/orm/models/platformResourcesRequirementsState.d.ts +30 -0
- package/esm/compute/orm/models/platformResourcesRequirementsState.js +55 -0
- package/esm/compute/orm/models/platformResourcesResolvedRequirement.d.ts +30 -0
- package/esm/compute/orm/models/platformResourcesResolvedRequirement.js +55 -0
- package/esm/compute/orm/models/resourceDefinition.d.ts +54 -0
- package/esm/{modules/orm/models/configSecretsOrgModule.js → compute/orm/models/resourceDefinition.js} +25 -25
- package/esm/compute/orm/models/resourceStatusCheck.d.ts +54 -0
- package/esm/compute/orm/models/resourceStatusCheck.js +100 -0
- package/esm/compute/orm/models/resourcesRequirementsState.d.ts +30 -0
- package/esm/compute/orm/models/resourcesRequirementsState.js +55 -0
- package/esm/compute/orm/models/resourcesResolvedRequirement.d.ts +30 -0
- package/esm/compute/orm/models/resourcesResolvedRequirement.js +55 -0
- package/esm/compute/orm/mutation/index.d.ts +33 -9
- package/esm/compute/orm/mutation/index.js +48 -12
- package/esm/config/cli/commands/config.d.ts +8 -0
- package/esm/config/cli/commands/{platform-config-definition.js → config.js} +127 -65
- package/esm/config/cli/commands/platform-config.js +22 -0
- package/esm/config/cli/commands/platform-internal-secret.d.ts +8 -0
- package/esm/config/cli/commands/platform-internal-secret.js +198 -0
- package/esm/config/cli/commands/platform-internal-secrets-del.d.ts +8 -0
- package/esm/{api/cli/commands/provision-database-with-user.js → config/cli/commands/platform-internal-secrets-del.js} +3 -3
- package/esm/config/cli/commands/platform-internal-secrets-remove-array.d.ts +8 -0
- package/esm/config/cli/commands/platform-internal-secrets-remove-array.js +34 -0
- package/esm/config/cli/commands/platform-internal-secrets-rotate.d.ts +8 -0
- package/esm/config/cli/commands/platform-internal-secrets-rotate.js +34 -0
- package/esm/config/cli/commands/platform-internal-secrets-set.d.ts +8 -0
- package/esm/config/cli/commands/platform-internal-secrets-set.js +34 -0
- package/esm/config/cli/commands/platform-secret.d.ts +8 -0
- package/esm/config/cli/commands/platform-secret.js +210 -0
- package/esm/config/cli/commands/secret.d.ts +8 -0
- package/esm/config/cli/commands/secret.js +222 -0
- package/esm/config/cli/commands/secrets-del.d.ts +8 -0
- package/esm/{api/cli/commands/bootstrap-user.js → config/cli/commands/secrets-del.js} +3 -3
- package/esm/config/cli/commands/secrets-remove-array.d.ts +8 -0
- package/esm/config/cli/commands/secrets-remove-array.js +34 -0
- package/esm/config/cli/commands/secrets-rotate.d.ts +8 -0
- package/esm/config/cli/commands/{org-secrets-del.js → secrets-rotate.js} +3 -3
- package/esm/config/cli/commands/secrets-set.d.ts +8 -0
- package/esm/config/cli/commands/{org-secrets-set.js → secrets-set.js} +3 -3
- package/esm/config/cli/commands.js +25 -11
- package/esm/config/cli/executor.d.ts +38 -15
- package/esm/config/orm/index.d.ts +42 -16
- package/esm/config/orm/index.js +8 -2
- package/esm/config/orm/input-types.d.ts +595 -154
- package/esm/config/orm/models/config.d.ts +54 -0
- package/esm/{modules/orm/models/configSecretsModule.js → config/orm/models/config.js} +25 -25
- package/esm/config/orm/models/index.d.ts +4 -1
- package/esm/config/orm/models/index.js +4 -1
- package/esm/config/orm/models/platformInternalSecret.d.ts +36 -0
- package/esm/config/orm/models/platformInternalSecret.js +76 -0
- package/esm/config/orm/models/platformSecret.d.ts +36 -0
- package/esm/config/orm/models/platformSecret.js +76 -0
- package/esm/config/orm/models/secret.d.ts +36 -0
- package/esm/config/orm/models/secret.js +76 -0
- package/esm/config/orm/mutation/index.d.ts +56 -24
- package/esm/config/orm/mutation/index.js +78 -30
- package/esm/index.d.ts +1 -0
- package/esm/index.js +1 -0
- package/esm/infra/cli/commands/auth.d.ts +8 -0
- package/esm/infra/cli/commands/auth.js +105 -0
- package/esm/infra/cli/commands/context.d.ts +8 -0
- package/esm/infra/cli/commands/context.js +156 -0
- package/esm/infra/cli/commands/db-preset.d.ts +8 -0
- package/esm/infra/cli/commands/db-preset.js +392 -0
- package/esm/infra/cli/commands/infra-commit.d.ts +8 -0
- package/esm/infra/cli/commands/infra-commit.js +387 -0
- package/esm/infra/cli/commands/infra-get-all-record.d.ts +8 -0
- package/esm/infra/cli/commands/infra-get-all-record.js +124 -0
- package/esm/infra/cli/commands/infra-init-empty-repo.d.ts +8 -0
- package/esm/infra/cli/commands/infra-init-empty-repo.js +34 -0
- package/esm/infra/cli/commands/infra-insert-node-at-path.d.ts +8 -0
- package/esm/infra/cli/commands/infra-insert-node-at-path.js +34 -0
- package/esm/infra/cli/commands/infra-object.d.ts +8 -0
- package/esm/infra/cli/commands/infra-object.js +307 -0
- package/esm/infra/cli/commands/infra-ref.d.ts +8 -0
- package/esm/infra/cli/commands/infra-ref.js +297 -0
- package/esm/infra/cli/commands/infra-set-data-at-path.d.ts +8 -0
- package/esm/infra/cli/commands/infra-set-data-at-path.js +34 -0
- package/esm/infra/cli/commands/infra-store.d.ts +8 -0
- package/esm/infra/cli/commands/infra-store.js +276 -0
- package/esm/infra/cli/commands/namespace-event.d.ts +8 -0
- package/esm/infra/cli/commands/namespace-event.js +508 -0
- package/esm/infra/cli/commands/namespace.d.ts +8 -0
- package/esm/infra/cli/commands/namespace.js +434 -0
- package/esm/infra/cli/commands/platform-namespace-event.d.ts +8 -0
- package/esm/infra/cli/commands/platform-namespace-event.js +488 -0
- package/esm/infra/cli/commands/platform-namespace.d.ts +8 -0
- package/esm/infra/cli/commands/platform-namespace.js +414 -0
- package/esm/infra/cli/commands/provision-bucket.d.ts +8 -0
- package/esm/infra/cli/commands/provision-bucket.js +34 -0
- package/esm/infra/cli/commands.d.ts +7 -0
- package/esm/infra/cli/commands.js +69 -0
- package/esm/infra/cli/executor.d.ts +35 -0
- package/esm/infra/cli/executor.js +35 -0
- package/esm/infra/cli/index.d.ts +1 -0
- package/esm/infra/cli/index.js +24 -0
- package/esm/infra/cli/utils.d.ts +88 -0
- package/esm/infra/cli/utils.js +281 -0
- package/esm/infra/index.d.ts +6 -0
- package/esm/infra/index.js +6 -0
- package/esm/infra/orm/client.d.ts +97 -0
- package/esm/infra/orm/client.js +145 -0
- package/esm/infra/orm/index.d.ts +74 -0
- package/esm/infra/orm/index.js +61 -0
- package/esm/infra/orm/input-types.d.ts +1953 -0
- package/esm/infra/orm/input-types.js +2 -0
- package/esm/infra/orm/models/dbPreset.d.ts +54 -0
- package/esm/infra/orm/models/dbPreset.js +100 -0
- package/esm/infra/orm/models/index.d.ts +15 -0
- package/esm/infra/orm/models/index.js +15 -0
- package/esm/infra/orm/models/infraCommit.d.ts +56 -0
- package/esm/infra/orm/models/infraCommit.js +103 -0
- package/esm/infra/orm/models/infraGetAllRecord.d.ts +30 -0
- package/esm/infra/orm/models/infraGetAllRecord.js +55 -0
- package/esm/infra/orm/models/infraObject.d.ts +56 -0
- package/esm/infra/orm/models/infraObject.js +93 -0
- package/esm/infra/orm/models/infraRef.d.ts +56 -0
- package/esm/infra/orm/models/infraRef.js +103 -0
- package/esm/infra/orm/models/infraStore.d.ts +54 -0
- package/esm/infra/orm/models/infraStore.js +100 -0
- package/esm/infra/orm/models/namespace.d.ts +54 -0
- package/esm/infra/orm/models/namespace.js +100 -0
- package/esm/infra/orm/models/namespaceEvent.d.ts +56 -0
- package/esm/infra/orm/models/namespaceEvent.js +103 -0
- package/esm/infra/orm/models/platformNamespace.d.ts +54 -0
- package/esm/{config/orm/models/platformConfigDefinition.js → infra/orm/models/platformNamespace.js} +25 -25
- package/esm/infra/orm/models/platformNamespaceEvent.d.ts +56 -0
- package/esm/infra/orm/models/platformNamespaceEvent.js +103 -0
- package/esm/infra/orm/mutation/index.d.ts +50 -0
- package/esm/infra/orm/mutation/index.js +54 -0
- package/esm/infra/orm/query-builder.d.ts +110 -0
- package/esm/infra/orm/query-builder.js +705 -0
- package/esm/infra/orm/realtime.d.ts +142 -0
- package/esm/infra/orm/realtime.js +100 -0
- package/esm/infra/orm/select-types.d.ts +125 -0
- package/esm/infra/orm/select-types.js +1 -0
- package/esm/infra/orm/types.d.ts +6 -0
- package/esm/infra/orm/types.js +7 -0
- package/esm/modules/cli/commands/agent-module.js +22 -0
- package/esm/modules/cli/commands/billing-module.js +44 -0
- package/esm/modules/cli/commands/compute-log-module.js +22 -0
- package/esm/modules/cli/commands/config-secrets-user-module.js +22 -22
- package/esm/modules/cli/commands/database-provision-module.js +88 -0
- package/esm/modules/cli/commands/db-pool-config.d.ts +8 -0
- package/esm/modules/cli/commands/db-pool-config.js +368 -0
- package/esm/modules/cli/commands/db-pool.d.ts +8 -0
- package/esm/modules/cli/commands/db-pool.js +438 -0
- package/esm/modules/cli/commands/db-preset-module.d.ts +8 -0
- package/esm/modules/cli/commands/db-preset-module.js +534 -0
- package/esm/modules/cli/commands/db-usage-module.js +110 -0
- package/esm/modules/cli/commands/entity-type-provision.js +0 -22
- package/esm/modules/cli/commands/events-module.js +22 -22
- package/esm/modules/cli/commands/function-deployment-module.js +22 -0
- package/esm/modules/cli/commands/function-invocation-module.js +22 -0
- package/esm/modules/cli/commands/function-module.js +22 -44
- package/esm/modules/cli/commands/graph-execution-module.js +22 -0
- package/esm/modules/cli/commands/graph-module.js +22 -0
- package/esm/modules/cli/commands/hierarchy-module.js +22 -0
- package/esm/modules/cli/commands/identity-providers-module.js +22 -0
- package/esm/modules/cli/commands/inference-log-module.js +22 -0
- package/esm/modules/cli/commands/infra-config-module.d.ts +8 -0
- package/esm/modules/cli/commands/infra-config-module.js +536 -0
- package/esm/modules/cli/commands/infra-secrets-module.d.ts +8 -0
- package/esm/modules/cli/commands/{config-secrets-module.js → infra-secrets-module.js} +54 -76
- package/esm/modules/cli/commands/integration-providers-module.d.ts +8 -0
- package/esm/modules/cli/commands/integration-providers-module.js +492 -0
- package/{config/cli/commands/org-secrets-del.d.ts → esm/modules/cli/commands/internal-secrets-module.d.ts} +1 -1
- package/esm/modules/cli/commands/internal-secrets-module.js +536 -0
- package/esm/modules/cli/commands/invites-module.js +22 -0
- package/esm/modules/cli/commands/limits-module.js +22 -0
- package/esm/modules/cli/commands/memberships-module.js +22 -0
- package/esm/modules/cli/commands/merkle-store-module.js +22 -0
- package/esm/modules/cli/commands/namespace-module.js +22 -22
- package/esm/modules/cli/commands/notifications-module.js +22 -0
- package/esm/modules/cli/commands/permissions-module.js +22 -0
- package/esm/modules/cli/commands/profiles-module.js +22 -0
- package/esm/modules/cli/commands/resource-module.js +154 -0
- package/esm/modules/cli/commands/storage-log-module.js +22 -0
- package/esm/modules/cli/commands/storage-module.js +22 -0
- package/esm/modules/cli/commands/transfer-log-module.js +22 -0
- package/esm/modules/cli/commands/user-credentials-module.js +22 -22
- package/esm/modules/cli/commands/user-state-module.js +22 -0
- package/esm/modules/cli/commands.js +49 -39
- package/esm/modules/cli/executor.d.ts +24 -19
- package/esm/modules/orm/index.d.ts +48 -38
- package/esm/modules/orm/index.js +48 -38
- package/esm/modules/orm/input-types.d.ts +5378 -4022
- package/esm/modules/orm/input-types.js +1 -0
- package/esm/modules/orm/models/dbPool.d.ts +54 -0
- package/esm/modules/orm/models/dbPool.js +100 -0
- package/esm/modules/orm/models/dbPoolConfig.d.ts +54 -0
- package/esm/modules/orm/models/dbPoolConfig.js +100 -0
- package/esm/modules/orm/models/dbPresetModule.d.ts +54 -0
- package/esm/modules/orm/models/dbPresetModule.js +100 -0
- package/esm/modules/orm/models/index.d.ts +24 -19
- package/esm/modules/orm/models/index.js +24 -19
- package/esm/modules/orm/models/infraConfigModule.d.ts +54 -0
- package/esm/modules/orm/models/infraConfigModule.js +100 -0
- package/esm/modules/orm/models/infraSecretsModule.d.ts +54 -0
- package/esm/modules/orm/models/infraSecretsModule.js +100 -0
- package/esm/modules/orm/models/integrationProvidersModule.d.ts +54 -0
- package/esm/modules/orm/models/integrationProvidersModule.js +100 -0
- package/esm/modules/orm/models/internalSecretsModule.d.ts +54 -0
- package/esm/modules/orm/models/internalSecretsModule.js +100 -0
- package/index.d.ts +1 -0
- package/index.js +2 -1
- package/infra/cli/commands/auth.d.ts +8 -0
- package/infra/cli/commands/auth.js +107 -0
- package/infra/cli/commands/context.d.ts +8 -0
- package/infra/cli/commands/context.js +158 -0
- package/infra/cli/commands/db-preset.d.ts +8 -0
- package/infra/cli/commands/db-preset.js +394 -0
- package/infra/cli/commands/infra-commit.d.ts +8 -0
- package/infra/cli/commands/infra-commit.js +389 -0
- package/infra/cli/commands/infra-get-all-record.d.ts +8 -0
- package/infra/cli/commands/infra-get-all-record.js +126 -0
- package/infra/cli/commands/infra-init-empty-repo.d.ts +8 -0
- package/infra/cli/commands/infra-init-empty-repo.js +36 -0
- package/infra/cli/commands/infra-insert-node-at-path.d.ts +8 -0
- package/infra/cli/commands/infra-insert-node-at-path.js +36 -0
- package/infra/cli/commands/infra-object.d.ts +8 -0
- package/infra/cli/commands/infra-object.js +309 -0
- package/infra/cli/commands/infra-ref.d.ts +8 -0
- package/infra/cli/commands/infra-ref.js +299 -0
- package/infra/cli/commands/infra-set-data-at-path.d.ts +8 -0
- package/infra/cli/commands/infra-set-data-at-path.js +36 -0
- package/infra/cli/commands/infra-store.d.ts +8 -0
- package/infra/cli/commands/infra-store.js +278 -0
- package/infra/cli/commands/namespace-event.d.ts +8 -0
- package/infra/cli/commands/namespace-event.js +510 -0
- package/infra/cli/commands/namespace.d.ts +8 -0
- package/infra/cli/commands/namespace.js +436 -0
- package/infra/cli/commands/platform-namespace-event.d.ts +8 -0
- package/infra/cli/commands/platform-namespace-event.js +490 -0
- package/infra/cli/commands/platform-namespace.d.ts +8 -0
- package/infra/cli/commands/platform-namespace.js +416 -0
- package/infra/cli/commands/provision-bucket.d.ts +8 -0
- package/infra/cli/commands/provision-bucket.js +36 -0
- package/infra/cli/commands.d.ts +7 -0
- package/infra/cli/commands.js +76 -0
- package/infra/cli/executor.d.ts +35 -0
- package/infra/cli/executor.js +40 -0
- package/infra/cli/index.d.ts +1 -0
- package/infra/cli/index.js +26 -0
- package/infra/cli/utils.d.ts +88 -0
- package/infra/cli/utils.js +297 -0
- package/infra/index.d.ts +6 -0
- package/infra/index.js +22 -0
- package/infra/orm/client.d.ts +97 -0
- package/infra/orm/client.js +152 -0
- package/infra/orm/index.d.ts +74 -0
- package/infra/orm/index.js +83 -0
- package/infra/orm/input-types.d.ts +1953 -0
- package/infra/orm/input-types.js +5 -0
- package/infra/orm/models/dbPreset.d.ts +54 -0
- package/infra/orm/models/dbPreset.js +104 -0
- package/infra/orm/models/index.d.ts +15 -0
- package/infra/orm/models/index.js +28 -0
- package/infra/orm/models/infraCommit.d.ts +56 -0
- package/infra/orm/models/infraCommit.js +107 -0
- package/infra/orm/models/infraGetAllRecord.d.ts +30 -0
- package/infra/orm/models/infraGetAllRecord.js +59 -0
- package/infra/orm/models/infraObject.d.ts +56 -0
- package/infra/orm/models/infraObject.js +97 -0
- package/infra/orm/models/infraRef.d.ts +56 -0
- package/infra/orm/models/infraRef.js +107 -0
- package/infra/orm/models/infraStore.d.ts +54 -0
- package/infra/orm/models/infraStore.js +104 -0
- package/infra/orm/models/namespace.d.ts +54 -0
- package/infra/orm/models/namespace.js +104 -0
- package/infra/orm/models/namespaceEvent.d.ts +56 -0
- package/infra/orm/models/namespaceEvent.js +107 -0
- package/infra/orm/models/platformNamespace.d.ts +54 -0
- package/infra/orm/models/platformNamespace.js +104 -0
- package/infra/orm/models/platformNamespaceEvent.d.ts +56 -0
- package/{config/orm/models/platformConfigDefinition.js → infra/orm/models/platformNamespaceEvent.js} +30 -27
- package/infra/orm/mutation/index.d.ts +50 -0
- package/infra/orm/mutation/index.js +57 -0
- package/infra/orm/query-builder.d.ts +110 -0
- package/infra/orm/query-builder.js +757 -0
- package/infra/orm/realtime.d.ts +142 -0
- package/infra/orm/realtime.js +104 -0
- package/infra/orm/select-types.d.ts +125 -0
- package/infra/orm/select-types.js +2 -0
- package/infra/orm/types.d.ts +6 -0
- package/infra/orm/types.js +23 -0
- package/modules/cli/commands/agent-module.js +22 -0
- package/modules/cli/commands/billing-module.js +44 -0
- package/modules/cli/commands/compute-log-module.js +22 -0
- package/modules/cli/commands/config-secrets-user-module.js +22 -22
- package/modules/cli/commands/database-provision-module.js +88 -0
- package/modules/cli/commands/db-pool-config.d.ts +8 -0
- package/modules/cli/commands/db-pool-config.js +370 -0
- package/modules/cli/commands/db-pool.d.ts +8 -0
- package/modules/cli/commands/db-pool.js +440 -0
- package/modules/cli/commands/db-preset-module.d.ts +8 -0
- package/modules/cli/commands/db-preset-module.js +536 -0
- package/modules/cli/commands/db-usage-module.js +110 -0
- package/modules/cli/commands/entity-type-provision.js +0 -22
- package/modules/cli/commands/events-module.js +22 -22
- package/modules/cli/commands/function-deployment-module.js +22 -0
- package/modules/cli/commands/function-invocation-module.js +22 -0
- package/modules/cli/commands/function-module.js +22 -44
- package/modules/cli/commands/graph-execution-module.js +22 -0
- package/modules/cli/commands/graph-module.js +22 -0
- package/modules/cli/commands/hierarchy-module.js +22 -0
- package/modules/cli/commands/identity-providers-module.js +22 -0
- package/modules/cli/commands/inference-log-module.js +22 -0
- package/modules/cli/commands/infra-config-module.d.ts +8 -0
- package/modules/cli/commands/infra-config-module.js +538 -0
- package/modules/cli/commands/infra-secrets-module.d.ts +8 -0
- package/modules/cli/commands/{config-secrets-module.js → infra-secrets-module.js} +54 -76
- package/modules/cli/commands/integration-providers-module.d.ts +8 -0
- package/modules/cli/commands/integration-providers-module.js +494 -0
- package/modules/cli/commands/internal-secrets-module.d.ts +8 -0
- package/modules/cli/commands/internal-secrets-module.js +538 -0
- package/modules/cli/commands/invites-module.js +22 -0
- package/modules/cli/commands/limits-module.js +22 -0
- package/modules/cli/commands/memberships-module.js +22 -0
- package/modules/cli/commands/merkle-store-module.js +22 -0
- package/modules/cli/commands/namespace-module.js +22 -22
- package/modules/cli/commands/notifications-module.js +22 -0
- package/modules/cli/commands/permissions-module.js +22 -0
- package/modules/cli/commands/profiles-module.js +22 -0
- package/modules/cli/commands/resource-module.js +154 -0
- package/modules/cli/commands/storage-log-module.js +22 -0
- package/modules/cli/commands/storage-module.js +22 -0
- package/modules/cli/commands/transfer-log-module.js +22 -0
- package/modules/cli/commands/user-credentials-module.js +22 -22
- package/modules/cli/commands/user-state-module.js +22 -0
- package/modules/cli/commands.js +49 -39
- package/modules/cli/executor.d.ts +24 -19
- package/modules/orm/index.d.ts +48 -38
- package/modules/orm/index.js +48 -38
- package/modules/orm/input-types.d.ts +5378 -4022
- package/modules/orm/input-types.js +1 -0
- package/modules/orm/models/dbPool.d.ts +54 -0
- package/modules/orm/models/dbPool.js +104 -0
- package/modules/orm/models/dbPoolConfig.d.ts +54 -0
- package/modules/orm/models/dbPoolConfig.js +104 -0
- package/modules/orm/models/dbPresetModule.d.ts +54 -0
- package/modules/orm/models/dbPresetModule.js +104 -0
- package/modules/orm/models/index.d.ts +24 -19
- package/modules/orm/models/index.js +50 -40
- package/modules/orm/models/infraConfigModule.d.ts +54 -0
- package/modules/orm/models/infraConfigModule.js +104 -0
- package/modules/orm/models/infraSecretsModule.d.ts +54 -0
- package/modules/orm/models/infraSecretsModule.js +104 -0
- package/modules/orm/models/integrationProvidersModule.d.ts +54 -0
- package/modules/orm/models/integrationProvidersModule.js +104 -0
- package/modules/orm/models/internalSecretsModule.d.ts +54 -0
- package/modules/orm/models/internalSecretsModule.js +104 -0
- package/package.json +4 -4
- package/api/cli/commands/create-user-database.js +0 -36
- package/compute/orm/models/orgFunctionExecutionLog.d.ts +0 -56
- package/compute/orm/models/orgFunctionInvocation.d.ts +0 -56
- package/compute/orm/models/secretDefinition.d.ts +0 -54
- package/config/cli/commands/org-secrets-remove-array.d.ts +0 -8
- package/config/cli/commands/org-secrets-rotate.d.ts +0 -8
- package/config/cli/commands/org-secrets-set.d.ts +0 -8
- package/config/cli/commands/platform-config-definition.d.ts +0 -8
- package/config/orm/models/platformConfigDefinition.d.ts +0 -54
- package/esm/api/cli/commands/bootstrap-user.d.ts +0 -8
- package/esm/api/cli/commands/create-user-database.d.ts +0 -8
- package/esm/api/cli/commands/create-user-database.js +0 -34
- package/esm/api/cli/commands/provision-database-with-user.d.ts +0 -8
- package/esm/compute/cli/commands/org-function-execution-log.d.ts +0 -8
- package/esm/compute/cli/commands/org-function-invocation.d.ts +0 -8
- package/esm/compute/orm/models/orgFunctionExecutionLog.d.ts +0 -56
- package/esm/compute/orm/models/orgFunctionInvocation.d.ts +0 -56
- package/esm/compute/orm/models/secretDefinition.d.ts +0 -54
- package/esm/config/cli/commands/org-secrets-del.d.ts +0 -8
- package/esm/config/cli/commands/org-secrets-remove-array.d.ts +0 -8
- package/esm/config/cli/commands/org-secrets-rotate.d.ts +0 -8
- package/esm/config/cli/commands/org-secrets-set.d.ts +0 -8
- package/esm/config/cli/commands/platform-config-definition.d.ts +0 -8
- package/esm/config/orm/models/platformConfigDefinition.d.ts +0 -54
- package/esm/modules/cli/commands/config-secrets-org-module.d.ts +0 -8
- package/esm/modules/orm/models/configSecretsModule.d.ts +0 -54
- package/esm/modules/orm/models/configSecretsOrgModule.d.ts +0 -54
- package/modules/cli/commands/config-secrets-org-module.d.ts +0 -8
- package/modules/orm/models/configSecretsModule.d.ts +0 -54
- package/modules/orm/models/configSecretsOrgModule.d.ts +0 -54
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PlatformNamespace model for ORM client
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import { OrmClient } from '../client';
|
|
7
|
+
import { QueryBuilder } from '../query-builder';
|
|
8
|
+
import type { ConnectionResult, FindManyArgs, FindFirstArgs, CreateArgs, UpdateArgs, DeleteArgs, InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
+
import type { PlatformNamespaceWithRelations, PlatformNamespaceSelect, PlatformNamespaceFilter, PlatformNamespaceOrderBy, CreatePlatformNamespaceInput, PlatformNamespacePatch } from '../input-types';
|
|
10
|
+
export declare class PlatformNamespaceModel {
|
|
11
|
+
private client;
|
|
12
|
+
constructor(client: OrmClient);
|
|
13
|
+
findMany<S extends PlatformNamespaceSelect>(args: FindManyArgs<S, PlatformNamespaceFilter, PlatformNamespaceOrderBy> & {
|
|
14
|
+
select: S;
|
|
15
|
+
} & StrictSelect<S, PlatformNamespaceSelect>): QueryBuilder<{
|
|
16
|
+
platformNamespaces: ConnectionResult<InferSelectResult<PlatformNamespaceWithRelations, S>>;
|
|
17
|
+
}>;
|
|
18
|
+
findFirst<S extends PlatformNamespaceSelect>(args: FindFirstArgs<S, PlatformNamespaceFilter, PlatformNamespaceOrderBy> & {
|
|
19
|
+
select: S;
|
|
20
|
+
} & StrictSelect<S, PlatformNamespaceSelect>): QueryBuilder<{
|
|
21
|
+
platformNamespace: InferSelectResult<PlatformNamespaceWithRelations, S> | null;
|
|
22
|
+
}>;
|
|
23
|
+
findOne<S extends PlatformNamespaceSelect>(args: {
|
|
24
|
+
id: string;
|
|
25
|
+
select: S;
|
|
26
|
+
} & StrictSelect<S, PlatformNamespaceSelect>): QueryBuilder<{
|
|
27
|
+
platformNamespace: InferSelectResult<PlatformNamespaceWithRelations, S> | null;
|
|
28
|
+
}>;
|
|
29
|
+
create<S extends PlatformNamespaceSelect>(args: CreateArgs<S, CreatePlatformNamespaceInput['platformNamespace']> & {
|
|
30
|
+
select: S;
|
|
31
|
+
} & StrictSelect<S, PlatformNamespaceSelect>): QueryBuilder<{
|
|
32
|
+
createPlatformNamespace: {
|
|
33
|
+
platformNamespace: InferSelectResult<PlatformNamespaceWithRelations, S>;
|
|
34
|
+
};
|
|
35
|
+
}>;
|
|
36
|
+
update<S extends PlatformNamespaceSelect>(args: UpdateArgs<S, {
|
|
37
|
+
id: string;
|
|
38
|
+
}, PlatformNamespacePatch> & {
|
|
39
|
+
select: S;
|
|
40
|
+
} & StrictSelect<S, PlatformNamespaceSelect>): QueryBuilder<{
|
|
41
|
+
updatePlatformNamespace: {
|
|
42
|
+
platformNamespace: InferSelectResult<PlatformNamespaceWithRelations, S>;
|
|
43
|
+
};
|
|
44
|
+
}>;
|
|
45
|
+
delete<S extends PlatformNamespaceSelect>(args: DeleteArgs<{
|
|
46
|
+
id: string;
|
|
47
|
+
}, S> & {
|
|
48
|
+
select: S;
|
|
49
|
+
} & StrictSelect<S, PlatformNamespaceSelect>): QueryBuilder<{
|
|
50
|
+
deletePlatformNamespace: {
|
|
51
|
+
platformNamespace: InferSelectResult<PlatformNamespaceWithRelations, S>;
|
|
52
|
+
};
|
|
53
|
+
}>;
|
|
54
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PlatformNamespaceModel = void 0;
|
|
4
|
+
const query_builder_1 = require("../query-builder");
|
|
5
|
+
const input_types_1 = require("../input-types");
|
|
6
|
+
class PlatformNamespaceModel {
|
|
7
|
+
client;
|
|
8
|
+
constructor(client) {
|
|
9
|
+
this.client = client;
|
|
10
|
+
}
|
|
11
|
+
findMany(args) {
|
|
12
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('PlatformNamespace', 'platformNamespaces', args.select, {
|
|
13
|
+
where: args?.where,
|
|
14
|
+
orderBy: args?.orderBy,
|
|
15
|
+
first: args?.first,
|
|
16
|
+
last: args?.last,
|
|
17
|
+
after: args?.after,
|
|
18
|
+
before: args?.before,
|
|
19
|
+
offset: args?.offset,
|
|
20
|
+
}, 'PlatformNamespaceFilter', 'PlatformNamespaceOrderBy', input_types_1.connectionFieldsMap);
|
|
21
|
+
return new query_builder_1.QueryBuilder({
|
|
22
|
+
client: this.client,
|
|
23
|
+
operation: 'query',
|
|
24
|
+
operationName: 'PlatformNamespace',
|
|
25
|
+
fieldName: 'platformNamespaces',
|
|
26
|
+
document,
|
|
27
|
+
variables,
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
findFirst(args) {
|
|
31
|
+
const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('PlatformNamespace', 'platformNamespaces', args.select, {
|
|
32
|
+
where: args?.where,
|
|
33
|
+
orderBy: args?.orderBy,
|
|
34
|
+
}, 'PlatformNamespaceFilter', 'PlatformNamespaceOrderBy', input_types_1.connectionFieldsMap);
|
|
35
|
+
return new query_builder_1.QueryBuilder({
|
|
36
|
+
client: this.client,
|
|
37
|
+
operation: 'query',
|
|
38
|
+
operationName: 'PlatformNamespace',
|
|
39
|
+
fieldName: 'platformNamespace',
|
|
40
|
+
document,
|
|
41
|
+
variables,
|
|
42
|
+
transform: (data) => ({
|
|
43
|
+
platformNamespace: data.platformNamespaces?.nodes?.[0] ?? null,
|
|
44
|
+
}),
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
findOne(args) {
|
|
48
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('PlatformNamespace', 'platformNamespaces', args.select, {
|
|
49
|
+
where: {
|
|
50
|
+
id: {
|
|
51
|
+
equalTo: args.id,
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
first: 1,
|
|
55
|
+
}, 'PlatformNamespaceFilter', 'PlatformNamespaceOrderBy', input_types_1.connectionFieldsMap);
|
|
56
|
+
return new query_builder_1.QueryBuilder({
|
|
57
|
+
client: this.client,
|
|
58
|
+
operation: 'query',
|
|
59
|
+
operationName: 'PlatformNamespace',
|
|
60
|
+
fieldName: 'platformNamespace',
|
|
61
|
+
document,
|
|
62
|
+
variables,
|
|
63
|
+
transform: (data) => ({
|
|
64
|
+
platformNamespace: data.platformNamespaces?.nodes?.[0] ?? null,
|
|
65
|
+
}),
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
create(args) {
|
|
69
|
+
const { document, variables } = (0, query_builder_1.buildCreateDocument)('PlatformNamespace', 'createPlatformNamespace', 'platformNamespace', args.select, args.data, 'CreatePlatformNamespaceInput', input_types_1.connectionFieldsMap);
|
|
70
|
+
return new query_builder_1.QueryBuilder({
|
|
71
|
+
client: this.client,
|
|
72
|
+
operation: 'mutation',
|
|
73
|
+
operationName: 'PlatformNamespace',
|
|
74
|
+
fieldName: 'createPlatformNamespace',
|
|
75
|
+
document,
|
|
76
|
+
variables,
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
update(args) {
|
|
80
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('PlatformNamespace', 'updatePlatformNamespace', 'platformNamespace', args.select, args.where.id, args.data, 'UpdatePlatformNamespaceInput', 'id', 'platformNamespacePatch', input_types_1.connectionFieldsMap, undefined);
|
|
81
|
+
return new query_builder_1.QueryBuilder({
|
|
82
|
+
client: this.client,
|
|
83
|
+
operation: 'mutation',
|
|
84
|
+
operationName: 'PlatformNamespace',
|
|
85
|
+
fieldName: 'updatePlatformNamespace',
|
|
86
|
+
document,
|
|
87
|
+
variables,
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
delete(args) {
|
|
91
|
+
const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('PlatformNamespace', 'deletePlatformNamespace', 'platformNamespace', {
|
|
92
|
+
id: args.where.id,
|
|
93
|
+
}, 'DeletePlatformNamespaceInput', args.select, input_types_1.connectionFieldsMap);
|
|
94
|
+
return new query_builder_1.QueryBuilder({
|
|
95
|
+
client: this.client,
|
|
96
|
+
operation: 'mutation',
|
|
97
|
+
operationName: 'PlatformNamespace',
|
|
98
|
+
fieldName: 'deletePlatformNamespace',
|
|
99
|
+
document,
|
|
100
|
+
variables,
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
exports.PlatformNamespaceModel = PlatformNamespaceModel;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PlatformNamespaceEvent model for ORM client
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import { OrmClient } from '../client';
|
|
7
|
+
import { QueryBuilder } from '../query-builder';
|
|
8
|
+
import type { ConnectionResult, FindManyArgs, FindFirstArgs, CreateArgs, UpdateArgs, DeleteArgs, InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
+
import type { PlatformNamespaceEventWithRelations, PlatformNamespaceEventSelect, PlatformNamespaceEventFilter, PlatformNamespaceEventOrderBy, CreatePlatformNamespaceEventInput, PlatformNamespaceEventPatch } from '../input-types';
|
|
10
|
+
export declare class PlatformNamespaceEventModel {
|
|
11
|
+
private client;
|
|
12
|
+
constructor(client: OrmClient);
|
|
13
|
+
findMany<S extends PlatformNamespaceEventSelect>(args: FindManyArgs<S, PlatformNamespaceEventFilter, PlatformNamespaceEventOrderBy> & {
|
|
14
|
+
select: S;
|
|
15
|
+
} & StrictSelect<S, PlatformNamespaceEventSelect>): QueryBuilder<{
|
|
16
|
+
platformNamespaceEvents: ConnectionResult<InferSelectResult<PlatformNamespaceEventWithRelations, S>>;
|
|
17
|
+
}>;
|
|
18
|
+
findFirst<S extends PlatformNamespaceEventSelect>(args: FindFirstArgs<S, PlatformNamespaceEventFilter, PlatformNamespaceEventOrderBy> & {
|
|
19
|
+
select: S;
|
|
20
|
+
} & StrictSelect<S, PlatformNamespaceEventSelect>): QueryBuilder<{
|
|
21
|
+
platformNamespaceEvent: InferSelectResult<PlatformNamespaceEventWithRelations, S> | null;
|
|
22
|
+
}>;
|
|
23
|
+
findOne<S extends PlatformNamespaceEventSelect>(args: {
|
|
24
|
+
id: string;
|
|
25
|
+
select: S;
|
|
26
|
+
} & StrictSelect<S, PlatformNamespaceEventSelect>): QueryBuilder<{
|
|
27
|
+
platformNamespaceEvent: InferSelectResult<PlatformNamespaceEventWithRelations, S> | null;
|
|
28
|
+
}>;
|
|
29
|
+
create<S extends PlatformNamespaceEventSelect>(args: CreateArgs<S, CreatePlatformNamespaceEventInput['platformNamespaceEvent']> & {
|
|
30
|
+
select: S;
|
|
31
|
+
} & StrictSelect<S, PlatformNamespaceEventSelect>): QueryBuilder<{
|
|
32
|
+
createPlatformNamespaceEvent: {
|
|
33
|
+
platformNamespaceEvent: InferSelectResult<PlatformNamespaceEventWithRelations, S>;
|
|
34
|
+
};
|
|
35
|
+
}>;
|
|
36
|
+
update<S extends PlatformNamespaceEventSelect>(args: UpdateArgs<S, {
|
|
37
|
+
id: string;
|
|
38
|
+
createdAt: string;
|
|
39
|
+
}, PlatformNamespaceEventPatch> & {
|
|
40
|
+
select: S;
|
|
41
|
+
} & StrictSelect<S, PlatformNamespaceEventSelect>): QueryBuilder<{
|
|
42
|
+
updatePlatformNamespaceEvent: {
|
|
43
|
+
platformNamespaceEvent: InferSelectResult<PlatformNamespaceEventWithRelations, S>;
|
|
44
|
+
};
|
|
45
|
+
}>;
|
|
46
|
+
delete<S extends PlatformNamespaceEventSelect>(args: DeleteArgs<{
|
|
47
|
+
id: string;
|
|
48
|
+
createdAt: string;
|
|
49
|
+
}, S> & {
|
|
50
|
+
select: S;
|
|
51
|
+
} & StrictSelect<S, PlatformNamespaceEventSelect>): QueryBuilder<{
|
|
52
|
+
deletePlatformNamespaceEvent: {
|
|
53
|
+
platformNamespaceEvent: InferSelectResult<PlatformNamespaceEventWithRelations, S>;
|
|
54
|
+
};
|
|
55
|
+
}>;
|
|
56
|
+
}
|
package/{config/orm/models/platformConfigDefinition.js → infra/orm/models/platformNamespaceEvent.js}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.PlatformNamespaceEventModel = void 0;
|
|
4
4
|
const query_builder_1 = require("../query-builder");
|
|
5
5
|
const input_types_1 = require("../input-types");
|
|
6
|
-
class
|
|
6
|
+
class PlatformNamespaceEventModel {
|
|
7
7
|
client;
|
|
8
8
|
constructor(client) {
|
|
9
9
|
this.client = client;
|
|
10
10
|
}
|
|
11
11
|
findMany(args) {
|
|
12
|
-
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('
|
|
12
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('PlatformNamespaceEvent', 'platformNamespaceEvents', args.select, {
|
|
13
13
|
where: args?.where,
|
|
14
14
|
orderBy: args?.orderBy,
|
|
15
15
|
first: args?.first,
|
|
@@ -17,88 +17,91 @@ class PlatformConfigDefinitionModel {
|
|
|
17
17
|
after: args?.after,
|
|
18
18
|
before: args?.before,
|
|
19
19
|
offset: args?.offset,
|
|
20
|
-
}, '
|
|
20
|
+
}, 'PlatformNamespaceEventFilter', 'PlatformNamespaceEventOrderBy', input_types_1.connectionFieldsMap);
|
|
21
21
|
return new query_builder_1.QueryBuilder({
|
|
22
22
|
client: this.client,
|
|
23
23
|
operation: 'query',
|
|
24
|
-
operationName: '
|
|
25
|
-
fieldName: '
|
|
24
|
+
operationName: 'PlatformNamespaceEvent',
|
|
25
|
+
fieldName: 'platformNamespaceEvents',
|
|
26
26
|
document,
|
|
27
27
|
variables,
|
|
28
28
|
});
|
|
29
29
|
}
|
|
30
30
|
findFirst(args) {
|
|
31
|
-
const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('
|
|
31
|
+
const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('PlatformNamespaceEvent', 'platformNamespaceEvents', args.select, {
|
|
32
32
|
where: args?.where,
|
|
33
33
|
orderBy: args?.orderBy,
|
|
34
|
-
}, '
|
|
34
|
+
}, 'PlatformNamespaceEventFilter', 'PlatformNamespaceEventOrderBy', input_types_1.connectionFieldsMap);
|
|
35
35
|
return new query_builder_1.QueryBuilder({
|
|
36
36
|
client: this.client,
|
|
37
37
|
operation: 'query',
|
|
38
|
-
operationName: '
|
|
39
|
-
fieldName: '
|
|
38
|
+
operationName: 'PlatformNamespaceEvent',
|
|
39
|
+
fieldName: 'platformNamespaceEvent',
|
|
40
40
|
document,
|
|
41
41
|
variables,
|
|
42
42
|
transform: (data) => ({
|
|
43
|
-
|
|
43
|
+
platformNamespaceEvent: data.platformNamespaceEvents?.nodes?.[0] ?? null,
|
|
44
44
|
}),
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
findOne(args) {
|
|
48
|
-
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('
|
|
48
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('PlatformNamespaceEvent', 'platformNamespaceEvents', args.select, {
|
|
49
49
|
where: {
|
|
50
50
|
id: {
|
|
51
51
|
equalTo: args.id,
|
|
52
52
|
},
|
|
53
53
|
},
|
|
54
54
|
first: 1,
|
|
55
|
-
}, '
|
|
55
|
+
}, 'PlatformNamespaceEventFilter', 'PlatformNamespaceEventOrderBy', input_types_1.connectionFieldsMap);
|
|
56
56
|
return new query_builder_1.QueryBuilder({
|
|
57
57
|
client: this.client,
|
|
58
58
|
operation: 'query',
|
|
59
|
-
operationName: '
|
|
60
|
-
fieldName: '
|
|
59
|
+
operationName: 'PlatformNamespaceEvent',
|
|
60
|
+
fieldName: 'platformNamespaceEvent',
|
|
61
61
|
document,
|
|
62
62
|
variables,
|
|
63
63
|
transform: (data) => ({
|
|
64
|
-
|
|
64
|
+
platformNamespaceEvent: data.platformNamespaceEvents?.nodes?.[0] ?? null,
|
|
65
65
|
}),
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
68
|
create(args) {
|
|
69
|
-
const { document, variables } = (0, query_builder_1.buildCreateDocument)('
|
|
69
|
+
const { document, variables } = (0, query_builder_1.buildCreateDocument)('PlatformNamespaceEvent', 'createPlatformNamespaceEvent', 'platformNamespaceEvent', args.select, args.data, 'CreatePlatformNamespaceEventInput', input_types_1.connectionFieldsMap);
|
|
70
70
|
return new query_builder_1.QueryBuilder({
|
|
71
71
|
client: this.client,
|
|
72
72
|
operation: 'mutation',
|
|
73
|
-
operationName: '
|
|
74
|
-
fieldName: '
|
|
73
|
+
operationName: 'PlatformNamespaceEvent',
|
|
74
|
+
fieldName: 'createPlatformNamespaceEvent',
|
|
75
75
|
document,
|
|
76
76
|
variables,
|
|
77
77
|
});
|
|
78
78
|
}
|
|
79
79
|
update(args) {
|
|
80
|
-
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('
|
|
80
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('PlatformNamespaceEvent', 'updatePlatformNamespaceEvent', 'platformNamespaceEvent', args.select, args.where.id, args.data, 'UpdatePlatformNamespaceEventInput', 'id', 'platformNamespaceEventPatch', input_types_1.connectionFieldsMap, {
|
|
81
|
+
createdAt: args.where.createdAt,
|
|
82
|
+
});
|
|
81
83
|
return new query_builder_1.QueryBuilder({
|
|
82
84
|
client: this.client,
|
|
83
85
|
operation: 'mutation',
|
|
84
|
-
operationName: '
|
|
85
|
-
fieldName: '
|
|
86
|
+
operationName: 'PlatformNamespaceEvent',
|
|
87
|
+
fieldName: 'updatePlatformNamespaceEvent',
|
|
86
88
|
document,
|
|
87
89
|
variables,
|
|
88
90
|
});
|
|
89
91
|
}
|
|
90
92
|
delete(args) {
|
|
91
|
-
const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('
|
|
93
|
+
const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('PlatformNamespaceEvent', 'deletePlatformNamespaceEvent', 'platformNamespaceEvent', {
|
|
92
94
|
id: args.where.id,
|
|
93
|
-
|
|
95
|
+
createdAt: args.where.createdAt,
|
|
96
|
+
}, 'DeletePlatformNamespaceEventInput', args.select, input_types_1.connectionFieldsMap);
|
|
94
97
|
return new query_builder_1.QueryBuilder({
|
|
95
98
|
client: this.client,
|
|
96
99
|
operation: 'mutation',
|
|
97
|
-
operationName: '
|
|
98
|
-
fieldName: '
|
|
100
|
+
operationName: 'PlatformNamespaceEvent',
|
|
101
|
+
fieldName: 'deletePlatformNamespaceEvent',
|
|
99
102
|
document,
|
|
100
103
|
variables,
|
|
101
104
|
});
|
|
102
105
|
}
|
|
103
106
|
}
|
|
104
|
-
exports.
|
|
107
|
+
exports.PlatformNamespaceEventModel = PlatformNamespaceEventModel;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom mutation operations
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import { OrmClient } from '../client';
|
|
7
|
+
import { QueryBuilder } from '../query-builder';
|
|
8
|
+
import type { InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
+
import type { InfraInitEmptyRepoInput, InfraSetDataAtPathInput, InfraInsertNodeAtPathInput, ProvisionBucketInput, InfraInitEmptyRepoPayload, InfraSetDataAtPathPayload, InfraInsertNodeAtPathPayload, ProvisionBucketPayload, InfraInitEmptyRepoPayloadSelect, InfraSetDataAtPathPayloadSelect, InfraInsertNodeAtPathPayloadSelect, ProvisionBucketPayloadSelect } from '../input-types';
|
|
10
|
+
export interface InfraInitEmptyRepoVariables {
|
|
11
|
+
input: InfraInitEmptyRepoInput;
|
|
12
|
+
}
|
|
13
|
+
export interface InfraSetDataAtPathVariables {
|
|
14
|
+
input: InfraSetDataAtPathInput;
|
|
15
|
+
}
|
|
16
|
+
export interface InfraInsertNodeAtPathVariables {
|
|
17
|
+
input: InfraInsertNodeAtPathInput;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Variables for provisionBucket
|
|
21
|
+
* Provision an S3 bucket for a logical bucket in the database.
|
|
22
|
+
Reads the bucket config via RLS, then creates and configures
|
|
23
|
+
the S3 bucket with the appropriate privacy policies, CORS rules,
|
|
24
|
+
and lifecycle settings.
|
|
25
|
+
*/
|
|
26
|
+
export interface ProvisionBucketVariables {
|
|
27
|
+
input: ProvisionBucketInput;
|
|
28
|
+
}
|
|
29
|
+
export declare function createMutationOperations(client: OrmClient): {
|
|
30
|
+
infraInitEmptyRepo: <S extends InfraInitEmptyRepoPayloadSelect>(args: InfraInitEmptyRepoVariables, options: {
|
|
31
|
+
select: S;
|
|
32
|
+
} & StrictSelect<S, InfraInitEmptyRepoPayloadSelect>) => QueryBuilder<{
|
|
33
|
+
infraInitEmptyRepo: InferSelectResult<InfraInitEmptyRepoPayload, S> | null;
|
|
34
|
+
}>;
|
|
35
|
+
infraSetDataAtPath: <S extends InfraSetDataAtPathPayloadSelect>(args: InfraSetDataAtPathVariables, options: {
|
|
36
|
+
select: S;
|
|
37
|
+
} & StrictSelect<S, InfraSetDataAtPathPayloadSelect>) => QueryBuilder<{
|
|
38
|
+
infraSetDataAtPath: InferSelectResult<InfraSetDataAtPathPayload, S> | null;
|
|
39
|
+
}>;
|
|
40
|
+
infraInsertNodeAtPath: <S extends InfraInsertNodeAtPathPayloadSelect>(args: InfraInsertNodeAtPathVariables, options: {
|
|
41
|
+
select: S;
|
|
42
|
+
} & StrictSelect<S, InfraInsertNodeAtPathPayloadSelect>) => QueryBuilder<{
|
|
43
|
+
infraInsertNodeAtPath: InferSelectResult<InfraInsertNodeAtPathPayload, S> | null;
|
|
44
|
+
}>;
|
|
45
|
+
provisionBucket: <S extends ProvisionBucketPayloadSelect>(args: ProvisionBucketVariables, options: {
|
|
46
|
+
select: S;
|
|
47
|
+
} & StrictSelect<S, ProvisionBucketPayloadSelect>) => QueryBuilder<{
|
|
48
|
+
provisionBucket: InferSelectResult<ProvisionBucketPayload, S> | null;
|
|
49
|
+
}>;
|
|
50
|
+
};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createMutationOperations = createMutationOperations;
|
|
4
|
+
const query_builder_1 = require("../query-builder");
|
|
5
|
+
const input_types_1 = require("../input-types");
|
|
6
|
+
function createMutationOperations(client) {
|
|
7
|
+
return {
|
|
8
|
+
infraInitEmptyRepo: (args, options) => new query_builder_1.QueryBuilder({
|
|
9
|
+
client,
|
|
10
|
+
operation: 'mutation',
|
|
11
|
+
operationName: 'InfraInitEmptyRepo',
|
|
12
|
+
fieldName: 'infraInitEmptyRepo',
|
|
13
|
+
...(0, query_builder_1.buildCustomDocument)('mutation', 'InfraInitEmptyRepo', 'infraInitEmptyRepo', options.select, args, [
|
|
14
|
+
{
|
|
15
|
+
name: 'input',
|
|
16
|
+
type: 'InfraInitEmptyRepoInput!',
|
|
17
|
+
},
|
|
18
|
+
], input_types_1.connectionFieldsMap, 'InfraInitEmptyRepoPayload'),
|
|
19
|
+
}),
|
|
20
|
+
infraSetDataAtPath: (args, options) => new query_builder_1.QueryBuilder({
|
|
21
|
+
client,
|
|
22
|
+
operation: 'mutation',
|
|
23
|
+
operationName: 'InfraSetDataAtPath',
|
|
24
|
+
fieldName: 'infraSetDataAtPath',
|
|
25
|
+
...(0, query_builder_1.buildCustomDocument)('mutation', 'InfraSetDataAtPath', 'infraSetDataAtPath', options.select, args, [
|
|
26
|
+
{
|
|
27
|
+
name: 'input',
|
|
28
|
+
type: 'InfraSetDataAtPathInput!',
|
|
29
|
+
},
|
|
30
|
+
], input_types_1.connectionFieldsMap, 'InfraSetDataAtPathPayload'),
|
|
31
|
+
}),
|
|
32
|
+
infraInsertNodeAtPath: (args, options) => new query_builder_1.QueryBuilder({
|
|
33
|
+
client,
|
|
34
|
+
operation: 'mutation',
|
|
35
|
+
operationName: 'InfraInsertNodeAtPath',
|
|
36
|
+
fieldName: 'infraInsertNodeAtPath',
|
|
37
|
+
...(0, query_builder_1.buildCustomDocument)('mutation', 'InfraInsertNodeAtPath', 'infraInsertNodeAtPath', options.select, args, [
|
|
38
|
+
{
|
|
39
|
+
name: 'input',
|
|
40
|
+
type: 'InfraInsertNodeAtPathInput!',
|
|
41
|
+
},
|
|
42
|
+
], input_types_1.connectionFieldsMap, 'InfraInsertNodeAtPathPayload'),
|
|
43
|
+
}),
|
|
44
|
+
provisionBucket: (args, options) => new query_builder_1.QueryBuilder({
|
|
45
|
+
client,
|
|
46
|
+
operation: 'mutation',
|
|
47
|
+
operationName: 'ProvisionBucket',
|
|
48
|
+
fieldName: 'provisionBucket',
|
|
49
|
+
...(0, query_builder_1.buildCustomDocument)('mutation', 'ProvisionBucket', 'provisionBucket', options.select, args, [
|
|
50
|
+
{
|
|
51
|
+
name: 'input',
|
|
52
|
+
type: 'ProvisionBucketInput!',
|
|
53
|
+
},
|
|
54
|
+
], input_types_1.connectionFieldsMap, 'ProvisionBucketPayload'),
|
|
55
|
+
}),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import type { FieldNode } from 'graphql';
|
|
2
|
+
import { OrmClient, QueryResult } from './client';
|
|
3
|
+
export interface QueryBuilderConfig<TResult> {
|
|
4
|
+
client: OrmClient;
|
|
5
|
+
operation: 'query' | 'mutation';
|
|
6
|
+
operationName: string;
|
|
7
|
+
fieldName: string;
|
|
8
|
+
document: string;
|
|
9
|
+
variables?: Record<string, unknown>;
|
|
10
|
+
transform?: (data: any) => TResult;
|
|
11
|
+
}
|
|
12
|
+
export declare class QueryBuilder<TResult> {
|
|
13
|
+
private config;
|
|
14
|
+
constructor(config: QueryBuilderConfig<TResult>);
|
|
15
|
+
/**
|
|
16
|
+
* Execute the query and return a discriminated union result
|
|
17
|
+
* Use result.ok to check success, or .unwrap() to throw on error
|
|
18
|
+
*/
|
|
19
|
+
execute(): Promise<QueryResult<TResult>>;
|
|
20
|
+
/**
|
|
21
|
+
* Execute and unwrap the result, throwing GraphQLRequestError on failure
|
|
22
|
+
* @throws {GraphQLRequestError} If the query returns errors
|
|
23
|
+
*/
|
|
24
|
+
unwrap(): Promise<TResult>;
|
|
25
|
+
/**
|
|
26
|
+
* Execute and unwrap, returning defaultValue on error instead of throwing
|
|
27
|
+
*/
|
|
28
|
+
unwrapOr<D>(defaultValue: D): Promise<TResult | D>;
|
|
29
|
+
/**
|
|
30
|
+
* Execute and unwrap, calling onError callback on failure
|
|
31
|
+
*/
|
|
32
|
+
unwrapOrElse<D>(onError: (errors: import('./client').GraphQLError[]) => D): Promise<TResult | D>;
|
|
33
|
+
toGraphQL(): string;
|
|
34
|
+
getVariables(): Record<string, unknown> | undefined;
|
|
35
|
+
}
|
|
36
|
+
export declare function buildSelections(select: Record<string, unknown> | undefined, connectionFieldsMap?: Record<string, Record<string, string>>, entityType?: string): FieldNode[];
|
|
37
|
+
export declare function buildFindManyDocument<TSelect, TWhere>(operationName: string, queryField: string, select: TSelect, args: {
|
|
38
|
+
where?: TWhere;
|
|
39
|
+
orderBy?: string[];
|
|
40
|
+
first?: number;
|
|
41
|
+
last?: number;
|
|
42
|
+
after?: string;
|
|
43
|
+
before?: string;
|
|
44
|
+
offset?: number;
|
|
45
|
+
}, filterTypeName: string, orderByTypeName: string, connectionFieldsMap?: Record<string, Record<string, string>>): {
|
|
46
|
+
document: string;
|
|
47
|
+
variables: Record<string, unknown>;
|
|
48
|
+
};
|
|
49
|
+
export declare function buildFindFirstDocument<TSelect, TWhere>(operationName: string, queryField: string, select: TSelect, args: {
|
|
50
|
+
where?: TWhere;
|
|
51
|
+
orderBy?: string[];
|
|
52
|
+
}, filterTypeName: string, orderByTypeName: string, connectionFieldsMap?: Record<string, Record<string, string>>): {
|
|
53
|
+
document: string;
|
|
54
|
+
variables: Record<string, unknown>;
|
|
55
|
+
};
|
|
56
|
+
export declare function buildCreateDocument<TSelect, TData>(operationName: string, mutationField: string, entityField: string, select: TSelect, data: TData, inputTypeName: string, connectionFieldsMap?: Record<string, Record<string, string>>): {
|
|
57
|
+
document: string;
|
|
58
|
+
variables: Record<string, unknown>;
|
|
59
|
+
};
|
|
60
|
+
export declare function buildUpdateDocument<TSelect, TWhere extends {
|
|
61
|
+
id: string;
|
|
62
|
+
}, TData>(operationName: string, mutationField: string, entityField: string, select: TSelect, where: TWhere, data: TData, inputTypeName: string, patchFieldName: string, connectionFieldsMap?: Record<string, Record<string, string>>): {
|
|
63
|
+
document: string;
|
|
64
|
+
variables: Record<string, unknown>;
|
|
65
|
+
};
|
|
66
|
+
export declare function buildUpdateByPkDocument<TSelect, TData>(operationName: string, mutationField: string, entityField: string, select: TSelect, id: string | number, data: TData, inputTypeName: string, idFieldName: string, patchFieldName: string, connectionFieldsMap?: Record<string, Record<string, string>>, extraKeys?: Record<string, unknown>): {
|
|
67
|
+
document: string;
|
|
68
|
+
variables: Record<string, unknown>;
|
|
69
|
+
};
|
|
70
|
+
export declare function buildFindOneDocument<TSelect>(operationName: string, queryField: string, id: string | number, select: TSelect, idArgName: string, idTypeName: string, connectionFieldsMap?: Record<string, Record<string, string>>): {
|
|
71
|
+
document: string;
|
|
72
|
+
variables: Record<string, unknown>;
|
|
73
|
+
};
|
|
74
|
+
export declare function buildDeleteDocument<TWhere extends {
|
|
75
|
+
id: string;
|
|
76
|
+
}, TSelect = undefined>(operationName: string, mutationField: string, entityField: string, where: TWhere, inputTypeName: string, select?: TSelect, connectionFieldsMap?: Record<string, Record<string, string>>): {
|
|
77
|
+
document: string;
|
|
78
|
+
variables: Record<string, unknown>;
|
|
79
|
+
};
|
|
80
|
+
export declare function buildDeleteByPkDocument<TSelect = undefined>(operationName: string, mutationField: string, entityField: string, keys: Record<string, unknown>, inputTypeName: string, select?: TSelect, connectionFieldsMap?: Record<string, Record<string, string>>): {
|
|
81
|
+
document: string;
|
|
82
|
+
variables: Record<string, unknown>;
|
|
83
|
+
};
|
|
84
|
+
export declare function buildJunctionRemoveDocument(operationName: string, mutationField: string, keys: Record<string, unknown>, inputTypeName: string): {
|
|
85
|
+
document: string;
|
|
86
|
+
variables: Record<string, unknown>;
|
|
87
|
+
};
|
|
88
|
+
export declare function buildCustomDocument<TSelect, TArgs>(operationType: 'query' | 'mutation', operationName: string, fieldName: string, select: TSelect, args: TArgs, variableDefinitions: Array<{
|
|
89
|
+
name: string;
|
|
90
|
+
type: string;
|
|
91
|
+
}>, connectionFieldsMap?: Record<string, Record<string, string>>, entityType?: string): {
|
|
92
|
+
document: string;
|
|
93
|
+
variables: Record<string, unknown>;
|
|
94
|
+
};
|
|
95
|
+
export declare function buildBulkInsertDocument<TSelect, TData>(operationName: string, mutationField: string, select: TSelect, data: TData[], inputTypeName: string, onConflict?: unknown, connectionFieldsMap?: Record<string, Record<string, string>>): {
|
|
96
|
+
document: string;
|
|
97
|
+
variables: Record<string, unknown>;
|
|
98
|
+
};
|
|
99
|
+
export declare function buildBulkUpsertDocument<TSelect, TData>(operationName: string, mutationField: string, select: TSelect, data: TData[], inputTypeName: string, onConflict: unknown, connectionFieldsMap?: Record<string, Record<string, string>>): {
|
|
100
|
+
document: string;
|
|
101
|
+
variables: Record<string, unknown>;
|
|
102
|
+
};
|
|
103
|
+
export declare function buildBulkUpdateDocument<TSelect, TWhere, TData>(operationName: string, mutationField: string, select: TSelect, where: TWhere, data: TData, inputTypeName: string, connectionFieldsMap?: Record<string, Record<string, string>>): {
|
|
104
|
+
document: string;
|
|
105
|
+
variables: Record<string, unknown>;
|
|
106
|
+
};
|
|
107
|
+
export declare function buildBulkDeleteDocument<TSelect, TWhere>(operationName: string, mutationField: string, select: TSelect, where: TWhere, inputTypeName: string, connectionFieldsMap?: Record<string, Record<string, string>>): {
|
|
108
|
+
document: string;
|
|
109
|
+
variables: Record<string, unknown>;
|
|
110
|
+
};
|