@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,214 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
/**
|
|
4
|
+
* CLI commands for ResourcesResolvedRequirement
|
|
5
|
+
* @generated by @constructive-io/graphql-codegen
|
|
6
|
+
* DO NOT EDIT - changes will be overwritten
|
|
7
|
+
*/
|
|
8
|
+
const inquirerer_1 = require("inquirerer");
|
|
9
|
+
const executor_1 = require("../executor");
|
|
10
|
+
const utils_1 = require("../utils");
|
|
11
|
+
const fieldSchema = {
|
|
12
|
+
resourceId: 'uuid',
|
|
13
|
+
slug: 'string',
|
|
14
|
+
namespaceId: 'uuid',
|
|
15
|
+
requirementKind: 'string',
|
|
16
|
+
name: 'string',
|
|
17
|
+
required: 'boolean',
|
|
18
|
+
atomId: 'uuid',
|
|
19
|
+
present: 'boolean',
|
|
20
|
+
secretsObjectName: 'string',
|
|
21
|
+
configObjectName: 'string',
|
|
22
|
+
};
|
|
23
|
+
const usage = '\nresources-resolved-requirement <command>\n\nCommands:\n list List resourcesResolvedRequirement records\n find-first Find first matching resourcesResolvedRequirement record\n create Create a new resourcesResolvedRequirement\n\nList Options:\n --limit <n> Max number of records to return (forward pagination)\n --last <n> Number of records from the end (backward pagination)\n --after <cursor> Cursor for forward pagination\n --before <cursor> Cursor for backward pagination\n --offset <n> Number of records to skip\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.name.equalTo foo)\n --condition.<f>.<op> Condition filter (dot-notation)\n --orderBy <values> Comma-separated ordering values (e.g. NAME_ASC,CREATED_AT_DESC)\n\nFind-First Options:\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.status.equalTo active)\n --condition.<f>.<op> Condition filter (dot-notation)\n --orderBy <values> Comma-separated ordering values (e.g. NAME_ASC,CREATED_AT_DESC)\n\n --help, -h Show this help message\n';
|
|
24
|
+
exports.default = async (argv, prompter, _options) => {
|
|
25
|
+
if (argv.help || argv.h) {
|
|
26
|
+
console.log(usage);
|
|
27
|
+
process.exit(0);
|
|
28
|
+
}
|
|
29
|
+
const { first: subcommand, newArgv } = (0, inquirerer_1.extractFirst)(argv);
|
|
30
|
+
if (!subcommand) {
|
|
31
|
+
const answer = await prompter.prompt(argv, [
|
|
32
|
+
{
|
|
33
|
+
type: 'autocomplete',
|
|
34
|
+
name: 'subcommand',
|
|
35
|
+
message: 'What do you want to do?',
|
|
36
|
+
options: ['list', 'find-first', 'create'],
|
|
37
|
+
},
|
|
38
|
+
]);
|
|
39
|
+
return handleTableSubcommand(answer.subcommand, newArgv, prompter);
|
|
40
|
+
}
|
|
41
|
+
return handleTableSubcommand(subcommand, newArgv, prompter);
|
|
42
|
+
};
|
|
43
|
+
async function handleTableSubcommand(subcommand, argv, prompter) {
|
|
44
|
+
switch (subcommand) {
|
|
45
|
+
case 'list':
|
|
46
|
+
return handleList(argv, prompter);
|
|
47
|
+
case 'find-first':
|
|
48
|
+
return handleFindFirst(argv, prompter);
|
|
49
|
+
case 'create':
|
|
50
|
+
return handleCreate(argv, prompter);
|
|
51
|
+
default:
|
|
52
|
+
console.log(usage);
|
|
53
|
+
process.exit(1);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
async function handleList(argv, _prompter) {
|
|
57
|
+
try {
|
|
58
|
+
const defaultSelect = {
|
|
59
|
+
resourceId: true,
|
|
60
|
+
slug: true,
|
|
61
|
+
namespaceId: true,
|
|
62
|
+
requirementKind: true,
|
|
63
|
+
name: true,
|
|
64
|
+
required: true,
|
|
65
|
+
atomId: true,
|
|
66
|
+
present: true,
|
|
67
|
+
secretsObjectName: true,
|
|
68
|
+
configObjectName: true,
|
|
69
|
+
};
|
|
70
|
+
const findManyArgs = (0, utils_1.parseFindManyArgs)(argv, defaultSelect);
|
|
71
|
+
const client = (0, executor_1.getClient)();
|
|
72
|
+
const result = await client.resourcesResolvedRequirement.findMany(findManyArgs).execute();
|
|
73
|
+
console.log(JSON.stringify(result, null, 2));
|
|
74
|
+
}
|
|
75
|
+
catch (error) {
|
|
76
|
+
console.error('Failed to list records.');
|
|
77
|
+
if (error instanceof Error) {
|
|
78
|
+
console.error(error.message);
|
|
79
|
+
}
|
|
80
|
+
process.exit(1);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
async function handleFindFirst(argv, _prompter) {
|
|
84
|
+
try {
|
|
85
|
+
const defaultSelect = {
|
|
86
|
+
resourceId: true,
|
|
87
|
+
slug: true,
|
|
88
|
+
namespaceId: true,
|
|
89
|
+
requirementKind: true,
|
|
90
|
+
name: true,
|
|
91
|
+
required: true,
|
|
92
|
+
atomId: true,
|
|
93
|
+
present: true,
|
|
94
|
+
secretsObjectName: true,
|
|
95
|
+
configObjectName: true,
|
|
96
|
+
};
|
|
97
|
+
const findFirstArgs = (0, utils_1.parseFindFirstArgs)(argv, defaultSelect);
|
|
98
|
+
const client = (0, executor_1.getClient)();
|
|
99
|
+
const result = await client.resourcesResolvedRequirement.findFirst(findFirstArgs).execute();
|
|
100
|
+
console.log(JSON.stringify(result, null, 2));
|
|
101
|
+
}
|
|
102
|
+
catch (error) {
|
|
103
|
+
console.error('Failed to find record.');
|
|
104
|
+
if (error instanceof Error) {
|
|
105
|
+
console.error(error.message);
|
|
106
|
+
}
|
|
107
|
+
process.exit(1);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
async function handleCreate(argv, prompter) {
|
|
111
|
+
try {
|
|
112
|
+
const rawAnswers = await prompter.prompt(argv, [
|
|
113
|
+
{
|
|
114
|
+
type: 'text',
|
|
115
|
+
name: 'resourceId',
|
|
116
|
+
message: 'resourceId',
|
|
117
|
+
required: true,
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
type: 'text',
|
|
121
|
+
name: 'slug',
|
|
122
|
+
message: 'slug',
|
|
123
|
+
required: true,
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
type: 'text',
|
|
127
|
+
name: 'namespaceId',
|
|
128
|
+
message: 'namespaceId',
|
|
129
|
+
required: true,
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
type: 'text',
|
|
133
|
+
name: 'requirementKind',
|
|
134
|
+
message: 'requirementKind',
|
|
135
|
+
required: true,
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
type: 'text',
|
|
139
|
+
name: 'name',
|
|
140
|
+
message: 'name',
|
|
141
|
+
required: true,
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
type: 'boolean',
|
|
145
|
+
name: 'required',
|
|
146
|
+
message: 'required',
|
|
147
|
+
required: true,
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
type: 'text',
|
|
151
|
+
name: 'atomId',
|
|
152
|
+
message: 'atomId',
|
|
153
|
+
required: true,
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
type: 'boolean',
|
|
157
|
+
name: 'present',
|
|
158
|
+
message: 'present',
|
|
159
|
+
required: true,
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
type: 'text',
|
|
163
|
+
name: 'secretsObjectName',
|
|
164
|
+
message: 'secretsObjectName',
|
|
165
|
+
required: true,
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
type: 'text',
|
|
169
|
+
name: 'configObjectName',
|
|
170
|
+
message: 'configObjectName',
|
|
171
|
+
required: true,
|
|
172
|
+
},
|
|
173
|
+
]);
|
|
174
|
+
const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
|
|
175
|
+
const cleanedData = (0, utils_1.stripUndefined)(answers, fieldSchema);
|
|
176
|
+
const client = (0, executor_1.getClient)();
|
|
177
|
+
const result = await client.resourcesResolvedRequirement
|
|
178
|
+
.create({
|
|
179
|
+
data: {
|
|
180
|
+
resourceId: cleanedData.resourceId,
|
|
181
|
+
slug: cleanedData.slug,
|
|
182
|
+
namespaceId: cleanedData.namespaceId,
|
|
183
|
+
requirementKind: cleanedData.requirementKind,
|
|
184
|
+
name: cleanedData.name,
|
|
185
|
+
required: cleanedData.required,
|
|
186
|
+
atomId: cleanedData.atomId,
|
|
187
|
+
present: cleanedData.present,
|
|
188
|
+
secretsObjectName: cleanedData.secretsObjectName,
|
|
189
|
+
configObjectName: cleanedData.configObjectName,
|
|
190
|
+
},
|
|
191
|
+
select: {
|
|
192
|
+
resourceId: true,
|
|
193
|
+
slug: true,
|
|
194
|
+
namespaceId: true,
|
|
195
|
+
requirementKind: true,
|
|
196
|
+
name: true,
|
|
197
|
+
required: true,
|
|
198
|
+
atomId: true,
|
|
199
|
+
present: true,
|
|
200
|
+
secretsObjectName: true,
|
|
201
|
+
configObjectName: true,
|
|
202
|
+
},
|
|
203
|
+
})
|
|
204
|
+
.execute();
|
|
205
|
+
console.log(JSON.stringify(result, null, 2));
|
|
206
|
+
}
|
|
207
|
+
catch (error) {
|
|
208
|
+
console.error('Failed to create record.');
|
|
209
|
+
if (error instanceof Error) {
|
|
210
|
+
console.error(error.message);
|
|
211
|
+
}
|
|
212
|
+
process.exit(1);
|
|
213
|
+
}
|
|
214
|
+
}
|
package/compute/cli/commands.js
CHANGED
|
@@ -12,33 +12,57 @@ 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 infra_get_all_record_1 = __importDefault(require("./commands/infra-get-all-record"));
|
|
15
16
|
const get_all_record_1 = __importDefault(require("./commands/get-all-record"));
|
|
17
|
+
const infra_ref_1 = __importDefault(require("./commands/infra-ref"));
|
|
18
|
+
const infra_store_1 = __importDefault(require("./commands/infra-store"));
|
|
16
19
|
const function_api_binding_1 = __importDefault(require("./commands/function-api-binding"));
|
|
17
|
-
const function_deployment_1 = __importDefault(require("./commands/function-deployment"));
|
|
18
|
-
const resource_1 = __importDefault(require("./commands/resource"));
|
|
19
20
|
const function_graph_ref_1 = __importDefault(require("./commands/function-graph-ref"));
|
|
20
21
|
const function_graph_store_1 = __importDefault(require("./commands/function-graph-store"));
|
|
22
|
+
const platform_function_api_binding_1 = __importDefault(require("./commands/platform-function-api-binding"));
|
|
23
|
+
const platform_resources_requirements_state_1 = __importDefault(require("./commands/platform-resources-requirements-state"));
|
|
24
|
+
const resources_requirements_state_1 = __importDefault(require("./commands/resources-requirements-state"));
|
|
25
|
+
const platform_resource_status_check_1 = __importDefault(require("./commands/platform-resource-status-check"));
|
|
26
|
+
const platform_function_deployment_1 = __importDefault(require("./commands/platform-function-deployment"));
|
|
27
|
+
const platform_resource_1 = __importDefault(require("./commands/platform-resource"));
|
|
28
|
+
const platform_resource_definition_1 = __importDefault(require("./commands/platform-resource-definition"));
|
|
29
|
+
const infra_object_1 = __importDefault(require("./commands/infra-object"));
|
|
21
30
|
const function_graph_object_1 = __importDefault(require("./commands/function-graph-object"));
|
|
31
|
+
const platform_function_deployment_event_1 = __importDefault(require("./commands/platform-function-deployment-event"));
|
|
32
|
+
const platform_resource_event_1 = __importDefault(require("./commands/platform-resource-event"));
|
|
33
|
+
const resource_status_check_1 = __importDefault(require("./commands/resource-status-check"));
|
|
34
|
+
const function_deployment_1 = __importDefault(require("./commands/function-deployment"));
|
|
35
|
+
const resource_1 = __importDefault(require("./commands/resource"));
|
|
36
|
+
const resource_definition_1 = __importDefault(require("./commands/resource-definition"));
|
|
22
37
|
const function_deployment_event_1 = __importDefault(require("./commands/function-deployment-event"));
|
|
23
|
-
const
|
|
38
|
+
const platform_function_execution_log_1 = __importDefault(require("./commands/platform-function-execution-log"));
|
|
24
39
|
const resource_event_1 = __importDefault(require("./commands/resource-event"));
|
|
25
40
|
const function_graph_execution_output_1 = __importDefault(require("./commands/function-graph-execution-output"));
|
|
41
|
+
const infra_commit_1 = __importDefault(require("./commands/infra-commit"));
|
|
26
42
|
const function_graph_commit_1 = __importDefault(require("./commands/function-graph-commit"));
|
|
27
|
-
const secret_definition_1 = __importDefault(require("./commands/secret-definition"));
|
|
28
43
|
const function_execution_log_1 = __importDefault(require("./commands/function-execution-log"));
|
|
44
|
+
const platform_resources_resolved_requirement_1 = __importDefault(require("./commands/platform-resources-resolved-requirement"));
|
|
45
|
+
const resources_resolved_requirement_1 = __importDefault(require("./commands/resources-resolved-requirement"));
|
|
46
|
+
const db_preset_1 = __importDefault(require("./commands/db-preset"));
|
|
47
|
+
const platform_namespace_1 = __importDefault(require("./commands/platform-namespace"));
|
|
29
48
|
const function_graph_1 = __importDefault(require("./commands/function-graph"));
|
|
30
49
|
const function_graph_execution_node_state_1 = __importDefault(require("./commands/function-graph-execution-node-state"));
|
|
31
|
-
const
|
|
32
|
-
const
|
|
50
|
+
const namespace_1 = __importDefault(require("./commands/namespace"));
|
|
51
|
+
const platform_function_invocation_1 = __importDefault(require("./commands/platform-function-invocation"));
|
|
33
52
|
const function_invocation_1 = __importDefault(require("./commands/function-invocation"));
|
|
34
53
|
const platform_namespace_event_1 = __importDefault(require("./commands/platform-namespace-event"));
|
|
54
|
+
const integration_provider_1 = __importDefault(require("./commands/integration-provider"));
|
|
55
|
+
const namespace_event_1 = __importDefault(require("./commands/namespace-event"));
|
|
35
56
|
const function_graph_execution_1 = __importDefault(require("./commands/function-graph-execution"));
|
|
57
|
+
const platform_function_definition_1 = __importDefault(require("./commands/platform-function-definition"));
|
|
36
58
|
const function_definition_1 = __importDefault(require("./commands/function-definition"));
|
|
37
59
|
const read_function_graph_1 = __importDefault(require("./commands/read-function-graph"));
|
|
38
60
|
const validate_function_graph_1 = __importDefault(require("./commands/validate-function-graph"));
|
|
61
|
+
const infra_init_empty_repo_1 = __importDefault(require("./commands/infra-init-empty-repo"));
|
|
39
62
|
const init_empty_repo_1 = __importDefault(require("./commands/init-empty-repo"));
|
|
40
|
-
const set_data_at_path_1 = __importDefault(require("./commands/set-data-at-path"));
|
|
41
63
|
const import_definitions_1 = __importDefault(require("./commands/import-definitions"));
|
|
64
|
+
const infra_set_data_at_path_1 = __importDefault(require("./commands/infra-set-data-at-path"));
|
|
65
|
+
const set_data_at_path_1 = __importDefault(require("./commands/set-data-at-path"));
|
|
42
66
|
const copy_graph_1 = __importDefault(require("./commands/copy-graph"));
|
|
43
67
|
const save_graph_1 = __importDefault(require("./commands/save-graph"));
|
|
44
68
|
const add_edge_and_save_1 = __importDefault(require("./commands/add-edge-and-save"));
|
|
@@ -46,39 +70,64 @@ const add_node_and_save_1 = __importDefault(require("./commands/add-node-and-sav
|
|
|
46
70
|
const import_graph_json_1 = __importDefault(require("./commands/import-graph-json"));
|
|
47
71
|
const add_edge_1 = __importDefault(require("./commands/add-edge"));
|
|
48
72
|
const add_node_1 = __importDefault(require("./commands/add-node"));
|
|
73
|
+
const infra_insert_node_at_path_1 = __importDefault(require("./commands/infra-insert-node-at-path"));
|
|
49
74
|
const insert_node_at_path_1 = __importDefault(require("./commands/insert-node-at-path"));
|
|
50
75
|
const start_execution_1 = __importDefault(require("./commands/start-execution"));
|
|
51
76
|
const provision_bucket_1 = __importDefault(require("./commands/provision-bucket"));
|
|
52
77
|
const createCommandMap = () => ({
|
|
53
78
|
context: context_1.default,
|
|
54
79
|
auth: auth_1.default,
|
|
80
|
+
'infra-get-all-record': infra_get_all_record_1.default,
|
|
55
81
|
'get-all-record': get_all_record_1.default,
|
|
82
|
+
'infra-ref': infra_ref_1.default,
|
|
83
|
+
'infra-store': infra_store_1.default,
|
|
56
84
|
'function-api-binding': function_api_binding_1.default,
|
|
57
|
-
'function-deployment': function_deployment_1.default,
|
|
58
|
-
resource: resource_1.default,
|
|
59
85
|
'function-graph-ref': function_graph_ref_1.default,
|
|
60
86
|
'function-graph-store': function_graph_store_1.default,
|
|
87
|
+
'platform-function-api-binding': platform_function_api_binding_1.default,
|
|
88
|
+
'platform-resources-requirements-state': platform_resources_requirements_state_1.default,
|
|
89
|
+
'resources-requirements-state': resources_requirements_state_1.default,
|
|
90
|
+
'platform-resource-status-check': platform_resource_status_check_1.default,
|
|
91
|
+
'platform-function-deployment': platform_function_deployment_1.default,
|
|
92
|
+
'platform-resource': platform_resource_1.default,
|
|
93
|
+
'platform-resource-definition': platform_resource_definition_1.default,
|
|
94
|
+
'infra-object': infra_object_1.default,
|
|
61
95
|
'function-graph-object': function_graph_object_1.default,
|
|
96
|
+
'platform-function-deployment-event': platform_function_deployment_event_1.default,
|
|
97
|
+
'platform-resource-event': platform_resource_event_1.default,
|
|
98
|
+
'resource-status-check': resource_status_check_1.default,
|
|
99
|
+
'function-deployment': function_deployment_1.default,
|
|
100
|
+
resource: resource_1.default,
|
|
101
|
+
'resource-definition': resource_definition_1.default,
|
|
62
102
|
'function-deployment-event': function_deployment_event_1.default,
|
|
63
|
-
'
|
|
103
|
+
'platform-function-execution-log': platform_function_execution_log_1.default,
|
|
64
104
|
'resource-event': resource_event_1.default,
|
|
65
105
|
'function-graph-execution-output': function_graph_execution_output_1.default,
|
|
106
|
+
'infra-commit': infra_commit_1.default,
|
|
66
107
|
'function-graph-commit': function_graph_commit_1.default,
|
|
67
|
-
'secret-definition': secret_definition_1.default,
|
|
68
108
|
'function-execution-log': function_execution_log_1.default,
|
|
109
|
+
'platform-resources-resolved-requirement': platform_resources_resolved_requirement_1.default,
|
|
110
|
+
'resources-resolved-requirement': resources_resolved_requirement_1.default,
|
|
111
|
+
'db-preset': db_preset_1.default,
|
|
112
|
+
'platform-namespace': platform_namespace_1.default,
|
|
69
113
|
'function-graph': function_graph_1.default,
|
|
70
114
|
'function-graph-execution-node-state': function_graph_execution_node_state_1.default,
|
|
71
|
-
|
|
72
|
-
'
|
|
115
|
+
namespace: namespace_1.default,
|
|
116
|
+
'platform-function-invocation': platform_function_invocation_1.default,
|
|
73
117
|
'function-invocation': function_invocation_1.default,
|
|
74
118
|
'platform-namespace-event': platform_namespace_event_1.default,
|
|
119
|
+
'integration-provider': integration_provider_1.default,
|
|
120
|
+
'namespace-event': namespace_event_1.default,
|
|
75
121
|
'function-graph-execution': function_graph_execution_1.default,
|
|
122
|
+
'platform-function-definition': platform_function_definition_1.default,
|
|
76
123
|
'function-definition': function_definition_1.default,
|
|
77
124
|
'read-function-graph': read_function_graph_1.default,
|
|
78
125
|
'validate-function-graph': validate_function_graph_1.default,
|
|
126
|
+
'infra-init-empty-repo': infra_init_empty_repo_1.default,
|
|
79
127
|
'init-empty-repo': init_empty_repo_1.default,
|
|
80
|
-
'set-data-at-path': set_data_at_path_1.default,
|
|
81
128
|
'import-definitions': import_definitions_1.default,
|
|
129
|
+
'infra-set-data-at-path': infra_set_data_at_path_1.default,
|
|
130
|
+
'set-data-at-path': set_data_at_path_1.default,
|
|
82
131
|
'copy-graph': copy_graph_1.default,
|
|
83
132
|
'save-graph': save_graph_1.default,
|
|
84
133
|
'add-edge-and-save': add_edge_and_save_1.default,
|
|
@@ -86,11 +135,12 @@ const createCommandMap = () => ({
|
|
|
86
135
|
'import-graph-json': import_graph_json_1.default,
|
|
87
136
|
'add-edge': add_edge_1.default,
|
|
88
137
|
'add-node': add_node_1.default,
|
|
138
|
+
'infra-insert-node-at-path': infra_insert_node_at_path_1.default,
|
|
89
139
|
'insert-node-at-path': insert_node_at_path_1.default,
|
|
90
140
|
'start-execution': start_execution_1.default,
|
|
91
141
|
'provision-bucket': provision_bucket_1.default,
|
|
92
142
|
});
|
|
93
|
-
const usage = '\ncsdk <command>\n\nCommands:\n context Manage API contexts\n auth Manage authentication\n get-all-record getAllRecord CRUD operations\n function-api-binding functionApiBinding CRUD operations\n function-
|
|
143
|
+
const usage = '\ncsdk <command>\n\nCommands:\n context Manage API contexts\n auth Manage authentication\n infra-get-all-record infraGetAllRecord CRUD operations\n get-all-record getAllRecord CRUD operations\n infra-ref infraRef CRUD operations\n infra-store infraStore CRUD operations\n function-api-binding functionApiBinding CRUD operations\n function-graph-ref functionGraphRef CRUD operations\n function-graph-store functionGraphStore CRUD operations\n platform-function-api-binding platformFunctionApiBinding CRUD operations\n platform-resources-requirements-state platformResourcesRequirementsState CRUD operations\n resources-requirements-state resourcesRequirementsState CRUD operations\n platform-resource-status-check platformResourceStatusCheck CRUD operations\n platform-function-deployment platformFunctionDeployment CRUD operations\n platform-resource platformResource CRUD operations\n platform-resource-definition platformResourceDefinition CRUD operations\n infra-object infraObject CRUD operations\n function-graph-object functionGraphObject CRUD operations\n platform-function-deployment-event platformFunctionDeploymentEvent CRUD operations\n platform-resource-event platformResourceEvent CRUD operations\n resource-status-check resourceStatusCheck CRUD operations\n function-deployment functionDeployment CRUD operations\n resource resource CRUD operations\n resource-definition resourceDefinition CRUD operations\n function-deployment-event functionDeploymentEvent CRUD operations\n platform-function-execution-log platformFunctionExecutionLog CRUD operations\n resource-event resourceEvent CRUD operations\n function-graph-execution-output functionGraphExecutionOutput CRUD operations\n infra-commit infraCommit CRUD operations\n function-graph-commit functionGraphCommit CRUD operations\n function-execution-log functionExecutionLog CRUD operations\n platform-resources-resolved-requirement platformResourcesResolvedRequirement CRUD operations\n resources-resolved-requirement resourcesResolvedRequirement CRUD operations\n db-preset dbPreset CRUD operations\n platform-namespace platformNamespace CRUD operations\n function-graph functionGraph CRUD operations\n function-graph-execution-node-state functionGraphExecutionNodeState CRUD operations\n namespace namespace CRUD operations\n platform-function-invocation platformFunctionInvocation CRUD operations\n function-invocation functionInvocation CRUD operations\n platform-namespace-event platformNamespaceEvent CRUD operations\n integration-provider integrationProvider CRUD operations\n namespace-event namespaceEvent CRUD operations\n function-graph-execution functionGraphExecution CRUD operations\n platform-function-definition platformFunctionDefinition CRUD operations\n function-definition functionDefinition CRUD operations\n read-function-graph readFunctionGraph\n validate-function-graph validateFunctionGraph\n infra-init-empty-repo infraInitEmptyRepo\n init-empty-repo initEmptyRepo\n import-definitions importDefinitions\n infra-set-data-at-path infraSetDataAtPath\n set-data-at-path setDataAtPath\n copy-graph copyGraph\n save-graph saveGraph\n add-edge-and-save addEdgeAndSave\n add-node-and-save addNodeAndSave\n import-graph-json importGraphJson\n add-edge addEdge\n add-node addNode\n infra-insert-node-at-path infraInsertNodeAtPath\n insert-node-at-path insertNodeAtPath\n start-execution startExecution\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';
|
|
94
144
|
const commands = async (argv, prompter, options) => {
|
|
95
145
|
if (argv.help || argv.h) {
|
|
96
146
|
console.log(usage);
|
|
@@ -1,26 +1,48 @@
|
|
|
1
1
|
export declare const getStore: () => import("appstash").ConfigStore;
|
|
2
2
|
export declare function getClient(contextName?: string): {
|
|
3
|
+
infraGetAllRecord: import("../orm").InfraGetAllRecordModel;
|
|
3
4
|
getAllRecord: import("../orm").GetAllRecordModel;
|
|
5
|
+
infraRef: import("../orm").InfraRefModel;
|
|
6
|
+
infraStore: import("../orm").InfraStoreModel;
|
|
4
7
|
functionApiBinding: import("../orm").FunctionApiBindingModel;
|
|
5
|
-
functionDeployment: import("../orm").FunctionDeploymentModel;
|
|
6
|
-
resource: import("../orm").ResourceModel;
|
|
7
8
|
functionGraphRef: import("../orm").FunctionGraphRefModel;
|
|
8
9
|
functionGraphStore: import("../orm").FunctionGraphStoreModel;
|
|
10
|
+
platformFunctionApiBinding: import("../orm").PlatformFunctionApiBindingModel;
|
|
11
|
+
platformResourcesRequirementsState: import("../orm").PlatformResourcesRequirementsStateModel;
|
|
12
|
+
resourcesRequirementsState: import("../orm").ResourcesRequirementsStateModel;
|
|
13
|
+
platformResourceStatusCheck: import("../orm").PlatformResourceStatusCheckModel;
|
|
14
|
+
platformFunctionDeployment: import("../orm").PlatformFunctionDeploymentModel;
|
|
15
|
+
platformResource: import("../orm").PlatformResourceModel;
|
|
16
|
+
platformResourceDefinition: import("../orm").PlatformResourceDefinitionModel;
|
|
17
|
+
infraObject: import("../orm").InfraObjectModel;
|
|
9
18
|
functionGraphObject: import("../orm").FunctionGraphObjectModel;
|
|
19
|
+
platformFunctionDeploymentEvent: import("../orm").PlatformFunctionDeploymentEventModel;
|
|
20
|
+
platformResourceEvent: import("../orm").PlatformResourceEventModel;
|
|
21
|
+
resourceStatusCheck: import("../orm").ResourceStatusCheckModel;
|
|
22
|
+
functionDeployment: import("../orm").FunctionDeploymentModel;
|
|
23
|
+
resource: import("../orm").ResourceModel;
|
|
24
|
+
resourceDefinition: import("../orm").ResourceDefinitionModel;
|
|
10
25
|
functionDeploymentEvent: import("../orm").FunctionDeploymentEventModel;
|
|
11
|
-
|
|
26
|
+
platformFunctionExecutionLog: import("../orm").PlatformFunctionExecutionLogModel;
|
|
12
27
|
resourceEvent: import("../orm").ResourceEventModel;
|
|
13
28
|
functionGraphExecutionOutput: import("../orm").FunctionGraphExecutionOutputModel;
|
|
29
|
+
infraCommit: import("../orm").InfraCommitModel;
|
|
14
30
|
functionGraphCommit: import("../orm").FunctionGraphCommitModel;
|
|
15
|
-
secretDefinition: import("../orm").SecretDefinitionModel;
|
|
16
31
|
functionExecutionLog: import("../orm").FunctionExecutionLogModel;
|
|
32
|
+
platformResourcesResolvedRequirement: import("../orm").PlatformResourcesResolvedRequirementModel;
|
|
33
|
+
resourcesResolvedRequirement: import("../orm").ResourcesResolvedRequirementModel;
|
|
34
|
+
dbPreset: import("../orm").DbPresetModel;
|
|
35
|
+
platformNamespace: import("../orm").PlatformNamespaceModel;
|
|
17
36
|
functionGraph: import("../orm").FunctionGraphModel;
|
|
18
37
|
functionGraphExecutionNodeState: import("../orm").FunctionGraphExecutionNodeStateModel;
|
|
19
|
-
|
|
20
|
-
|
|
38
|
+
namespace: import("../orm").NamespaceModel;
|
|
39
|
+
platformFunctionInvocation: import("../orm").PlatformFunctionInvocationModel;
|
|
21
40
|
functionInvocation: import("../orm").FunctionInvocationModel;
|
|
22
41
|
platformNamespaceEvent: import("../orm").PlatformNamespaceEventModel;
|
|
42
|
+
integrationProvider: import("../orm").IntegrationProviderModel;
|
|
43
|
+
namespaceEvent: import("../orm").NamespaceEventModel;
|
|
23
44
|
functionGraphExecution: import("../orm").FunctionGraphExecutionModel;
|
|
45
|
+
platformFunctionDefinition: import("../orm").PlatformFunctionDefinitionModel;
|
|
24
46
|
functionDefinition: import("../orm").FunctionDefinitionModel;
|
|
25
47
|
query: {
|
|
26
48
|
readFunctionGraph: (args: import("../orm/query").ReadFunctionGraphVariables, options?: {
|
|
@@ -35,21 +57,31 @@ export declare function getClient(contextName?: string): {
|
|
|
35
57
|
} & import("../orm").StrictSelect<S, import("../orm/input-types").ValidateFunctionGraphPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
36
58
|
validateFunctionGraph: import("../orm").InferSelectResult<import("../orm/input-types").ValidateFunctionGraphPayload, S> | null;
|
|
37
59
|
}>;
|
|
60
|
+
infraInitEmptyRepo: <S extends import("../orm/input-types").InfraInitEmptyRepoPayloadSelect>(args: import("../orm/mutation").InfraInitEmptyRepoVariables, options: {
|
|
61
|
+
select: S;
|
|
62
|
+
} & import("../orm").StrictSelect<S, import("../orm/input-types").InfraInitEmptyRepoPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
63
|
+
infraInitEmptyRepo: import("../orm").InferSelectResult<import("../orm/input-types").InfraInitEmptyRepoPayload, S> | null;
|
|
64
|
+
}>;
|
|
38
65
|
initEmptyRepo: <S extends import("../orm/input-types").InitEmptyRepoPayloadSelect>(args: import("../orm/mutation").InitEmptyRepoVariables, options: {
|
|
39
66
|
select: S;
|
|
40
67
|
} & import("../orm").StrictSelect<S, import("../orm/input-types").InitEmptyRepoPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
41
68
|
initEmptyRepo: import("../orm").InferSelectResult<import("../orm/input-types").InitEmptyRepoPayload, S> | null;
|
|
42
69
|
}>;
|
|
43
|
-
setDataAtPath: <S extends import("../orm/input-types").SetDataAtPathPayloadSelect>(args: import("../orm/mutation").SetDataAtPathVariables, options: {
|
|
44
|
-
select: S;
|
|
45
|
-
} & import("../orm").StrictSelect<S, import("../orm/input-types").SetDataAtPathPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
46
|
-
setDataAtPath: import("../orm").InferSelectResult<import("../orm/input-types").SetDataAtPathPayload, S> | null;
|
|
47
|
-
}>;
|
|
48
70
|
importDefinitions: <S extends import("../orm/input-types").ImportDefinitionsPayloadSelect>(args: import("../orm/mutation").ImportDefinitionsVariables, options: {
|
|
49
71
|
select: S;
|
|
50
72
|
} & import("../orm").StrictSelect<S, import("../orm/input-types").ImportDefinitionsPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
51
73
|
importDefinitions: import("../orm").InferSelectResult<import("../orm/input-types").ImportDefinitionsPayload, S> | null;
|
|
52
74
|
}>;
|
|
75
|
+
infraSetDataAtPath: <S extends import("../orm/input-types").InfraSetDataAtPathPayloadSelect>(args: import("../orm/mutation").InfraSetDataAtPathVariables, options: {
|
|
76
|
+
select: S;
|
|
77
|
+
} & import("../orm").StrictSelect<S, import("../orm/input-types").InfraSetDataAtPathPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
78
|
+
infraSetDataAtPath: import("../orm").InferSelectResult<import("../orm/input-types").InfraSetDataAtPathPayload, S> | null;
|
|
79
|
+
}>;
|
|
80
|
+
setDataAtPath: <S extends import("../orm/input-types").SetDataAtPathPayloadSelect>(args: import("../orm/mutation").SetDataAtPathVariables, options: {
|
|
81
|
+
select: S;
|
|
82
|
+
} & import("../orm").StrictSelect<S, import("../orm/input-types").SetDataAtPathPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
83
|
+
setDataAtPath: import("../orm").InferSelectResult<import("../orm/input-types").SetDataAtPathPayload, S> | null;
|
|
84
|
+
}>;
|
|
53
85
|
copyGraph: <S extends import("../orm/input-types").CopyGraphPayloadSelect>(args: import("../orm/mutation").CopyGraphVariables, options: {
|
|
54
86
|
select: S;
|
|
55
87
|
} & import("../orm").StrictSelect<S, import("../orm/input-types").CopyGraphPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
@@ -85,6 +117,11 @@ export declare function getClient(contextName?: string): {
|
|
|
85
117
|
} & import("../orm").StrictSelect<S, import("../orm/input-types").AddNodePayloadSelect>) => import("../orm").QueryBuilder<{
|
|
86
118
|
addNode: import("../orm").InferSelectResult<import("../orm/input-types").AddNodePayload, S> | null;
|
|
87
119
|
}>;
|
|
120
|
+
infraInsertNodeAtPath: <S extends import("../orm/input-types").InfraInsertNodeAtPathPayloadSelect>(args: import("../orm/mutation").InfraInsertNodeAtPathVariables, options: {
|
|
121
|
+
select: S;
|
|
122
|
+
} & import("../orm").StrictSelect<S, import("../orm/input-types").InfraInsertNodeAtPathPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
123
|
+
infraInsertNodeAtPath: import("../orm").InferSelectResult<import("../orm/input-types").InfraInsertNodeAtPathPayload, S> | null;
|
|
124
|
+
}>;
|
|
88
125
|
insertNodeAtPath: <S extends import("../orm/input-types").InsertNodeAtPathPayloadSelect>(args: import("../orm/mutation").InsertNodeAtPathVariables, options: {
|
|
89
126
|
select: S;
|
|
90
127
|
} & import("../orm").StrictSelect<S, import("../orm/input-types").InsertNodeAtPathPayloadSelect>) => import("../orm").QueryBuilder<{
|