@constructive-sdk/cli 0.32.1 → 0.32.3
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/agent/orm/input-types.d.ts +24 -0
- package/agent/orm/input-types.js +3 -0
- package/api/cli/commands/ast-migration.js +20 -31
- package/{esm/infra/cli/commands/infra-ref.d.ts → api/cli/commands/http-route.d.ts} +1 -1
- package/api/cli/commands/http-route.js +434 -0
- package/{esm/compute/cli/commands/get-all-record.d.ts → api/cli/commands/managed-domain.d.ts} +1 -1
- package/api/cli/commands/managed-domain.js +382 -0
- package/api/cli/commands/resolve-http-route.d.ts +8 -0
- package/api/cli/commands/resolve-http-route.js +44 -0
- package/api/cli/commands/sql-action.js +20 -31
- package/api/cli/commands.js +7 -3
- package/api/cli/executor.d.ts +7 -1
- package/api/orm/index.d.ts +9 -2
- package/api/orm/index.js +4 -2
- package/api/orm/input-types.d.ts +498 -143
- package/api/orm/input-types.js +4 -0
- package/api/orm/models/httpRoute.d.ts +54 -0
- package/{infra/orm/models/infraRef.js → api/orm/models/httpRoute.js} +27 -30
- package/api/orm/models/index.d.ts +2 -1
- package/api/orm/models/index.js +5 -3
- package/api/orm/models/managedDomain.d.ts +54 -0
- package/{infra/orm/models/infraCommit.js → api/orm/models/managedDomain.js} +27 -30
- package/api/orm/query/index.d.ts +12 -0
- package/api/orm/query/index.js +20 -0
- package/auth/cli/commands/identity-provider.js +4 -8
- package/auth/cli/commands/org-api-key-list.js +9 -18
- package/auth/cli/commands/user-connected-account.js +5 -10
- package/auth/orm/input-types.d.ts +155 -182
- package/auth/orm/input-types.js +4 -0
- package/compute/cli/commands/declared-capacity.d.ts +8 -0
- package/compute/cli/commands/declared-capacity.js +247 -0
- package/compute/cli/commands/function-definition.js +48 -0
- package/compute/cli/commands/function-graph-execution-node-state.js +66 -0
- package/compute/cli/commands/function-graph-execution.js +176 -0
- package/compute/cli/commands/function-invocation.js +66 -0
- package/compute/cli/commands/get-all-tree-nodes-record.d.ts +8 -0
- package/compute/cli/commands/{get-all-record.js → get-all-tree-nodes-record.js} +5 -5
- package/compute/cli/commands/infra-commit.js +19 -19
- package/compute/cli/commands/infra-get-all-tree-nodes-record.d.ts +8 -0
- package/{api/cli/commands/migrate-file.js → compute/cli/commands/infra-get-all-tree-nodes-record.js} +22 -28
- package/compute/cli/commands/infra-object.js +19 -19
- package/compute/cli/commands/infra-ref.js +17 -17
- package/compute/cli/commands/infra-store.js +20 -20
- package/compute/cli/commands/namespace-event.js +0 -154
- package/compute/cli/commands/platform-declared-capacity.d.ts +8 -0
- package/compute/cli/commands/platform-declared-capacity.js +247 -0
- package/compute/cli/commands/platform-function-definition.js +48 -0
- package/compute/cli/commands/platform-function-invocation.js +66 -0
- package/compute/cli/commands/platform-infra-commit.d.ts +8 -0
- package/{infra/cli/commands/infra-commit.js → compute/cli/commands/platform-infra-commit.js} +8 -8
- package/compute/cli/commands/platform-infra-get-all-tree-nodes-record.d.ts +8 -0
- package/compute/cli/commands/{infra-get-all-record.js → platform-infra-get-all-tree-nodes-record.js} +7 -5
- package/compute/cli/commands/platform-infra-init-empty-repo.d.ts +8 -0
- package/{infra/cli/commands/infra-init-empty-repo.js → compute/cli/commands/platform-infra-init-empty-repo.js} +3 -3
- package/compute/cli/commands/platform-infra-insert-node-at-path.d.ts +8 -0
- package/compute/cli/commands/platform-infra-insert-node-at-path.js +36 -0
- package/compute/cli/commands/platform-infra-object.d.ts +8 -0
- package/{infra/cli/commands/infra-object.js → compute/cli/commands/platform-infra-object.js} +8 -8
- package/compute/cli/commands/platform-infra-ref.d.ts +8 -0
- package/{infra/cli/commands/infra-ref.js → compute/cli/commands/platform-infra-ref.js} +8 -8
- package/compute/cli/commands/platform-infra-set-data-at-path.d.ts +8 -0
- package/{infra/cli/commands/infra-set-data-at-path.js → compute/cli/commands/platform-infra-set-data-at-path.js} +3 -3
- package/compute/cli/commands/{infra-get-all-record.d.ts → platform-infra-store.d.ts} +1 -1
- package/{infra/cli/commands/infra-store.js → compute/cli/commands/platform-infra-store.js} +8 -8
- package/compute/cli/commands/platform-namespace-event.js +0 -154
- package/compute/cli/commands/platform-resource-installation.d.ts +8 -0
- package/compute/cli/commands/platform-resource-installation.js +436 -0
- package/compute/cli/commands/platform-resource-installations-install.d.ts +8 -0
- package/compute/cli/commands/platform-resource-installations-install.js +36 -0
- package/compute/cli/commands/platform-resource-installations-rollback.d.ts +8 -0
- package/compute/cli/commands/platform-resource-installations-rollback.js +36 -0
- package/compute/cli/commands/platform-resource-installations-uninstall.d.ts +8 -0
- package/compute/cli/commands/platform-resource-installations-uninstall.js +36 -0
- package/compute/cli/commands/platform-resource-installations-upgrade.d.ts +8 -0
- package/compute/cli/commands/platform-resource-installations-upgrade.js +36 -0
- package/compute/cli/commands/platform-resource-usage-log.d.ts +8 -0
- package/compute/cli/commands/platform-resource-usage-log.js +386 -0
- package/compute/cli/commands/platform-resource-usage-summary.d.ts +8 -0
- package/compute/cli/commands/platform-resource-usage-summary.js +389 -0
- package/compute/cli/commands/platform-resource-utilization-daily.d.ts +8 -0
- package/compute/cli/commands/platform-resource-utilization-daily.js +313 -0
- package/compute/cli/commands/platform-resource.js +51 -0
- package/compute/cli/commands/platform-resources-health.d.ts +8 -0
- package/compute/cli/commands/platform-resources-health.js +413 -0
- package/compute/cli/commands/platform-webhook-endpoint.d.ts +8 -0
- package/compute/cli/commands/platform-webhook-endpoint.js +432 -0
- package/compute/cli/commands/platform-webhook-event.d.ts +8 -0
- package/compute/cli/commands/platform-webhook-event.js +414 -0
- package/compute/cli/commands/resource-installation.d.ts +8 -0
- package/compute/cli/commands/resource-installation.js +456 -0
- package/compute/cli/commands/resource-installations-install.d.ts +8 -0
- package/compute/cli/commands/resource-installations-install.js +36 -0
- package/compute/cli/commands/resource-installations-rollback.d.ts +8 -0
- package/compute/cli/commands/resource-installations-rollback.js +36 -0
- package/compute/cli/commands/resource-installations-uninstall.d.ts +8 -0
- package/compute/cli/commands/resource-installations-uninstall.js +36 -0
- package/compute/cli/commands/resource-installations-upgrade.d.ts +8 -0
- package/compute/cli/commands/resource-installations-upgrade.js +36 -0
- package/compute/cli/commands/resource-usage-log.d.ts +8 -0
- package/compute/cli/commands/resource-usage-log.js +406 -0
- package/compute/cli/commands/resource-usage-summary.d.ts +8 -0
- package/compute/cli/commands/resource-usage-summary.js +409 -0
- package/compute/cli/commands/resource-utilization-daily.d.ts +8 -0
- package/compute/cli/commands/resource-utilization-daily.js +313 -0
- package/compute/cli/commands/resource.js +51 -0
- package/compute/cli/commands/resources-health.d.ts +8 -0
- package/compute/cli/commands/resources-health.js +424 -0
- package/compute/cli/commands/webhook-endpoint.d.ts +8 -0
- package/compute/cli/commands/webhook-endpoint.js +452 -0
- package/{api/cli/commands/migrate-file.d.ts → compute/cli/commands/webhook-event.d.ts} +1 -1
- package/compute/cli/commands/webhook-event.js +434 -0
- package/compute/cli/commands.js +69 -5
- package/compute/cli/executor.d.ts +78 -2
- package/compute/orm/index.d.ts +101 -4
- package/compute/orm/index.js +46 -4
- package/compute/orm/input-types.d.ts +5356 -772
- package/compute/orm/input-types.js +34 -2
- package/compute/orm/models/declaredCapacity.d.ts +30 -0
- package/compute/orm/models/{infraGetAllRecord.js → declaredCapacity.js} +15 -15
- package/compute/orm/models/getAllTreeNodesRecord.d.ts +30 -0
- package/compute/orm/models/{getAllRecord.js → getAllTreeNodesRecord.js} +15 -15
- package/compute/orm/models/index.d.ts +23 -2
- package/compute/orm/models/index.js +48 -5
- package/compute/orm/models/infraCommit.d.ts +2 -2
- package/compute/orm/models/infraCommit.js +2 -2
- package/compute/orm/models/infraGetAllTreeNodesRecord.d.ts +30 -0
- package/compute/orm/models/infraGetAllTreeNodesRecord.js +59 -0
- package/compute/orm/models/infraObject.d.ts +2 -2
- package/compute/orm/models/infraObject.js +2 -2
- package/compute/orm/models/infraRef.d.ts +2 -2
- package/compute/orm/models/infraRef.js +2 -2
- package/compute/orm/models/platformDeclaredCapacity.d.ts +30 -0
- package/{objects/orm/models/getAllRecord.js → compute/orm/models/platformDeclaredCapacity.js} +15 -15
- package/compute/orm/models/platformInfraCommit.d.ts +56 -0
- package/compute/orm/models/platformInfraCommit.js +107 -0
- package/compute/orm/models/platformInfraGetAllTreeNodesRecord.d.ts +30 -0
- package/compute/orm/models/platformInfraGetAllTreeNodesRecord.js +59 -0
- package/compute/orm/models/platformInfraObject.d.ts +56 -0
- package/{infra/orm/models/infraObject.js → compute/orm/models/platformInfraObject.js} +25 -25
- package/compute/orm/models/platformInfraRef.d.ts +56 -0
- package/compute/orm/models/platformInfraRef.js +107 -0
- package/compute/orm/models/platformInfraStore.d.ts +54 -0
- package/compute/orm/models/platformInfraStore.js +104 -0
- package/compute/orm/models/platformResourceInstallation.d.ts +54 -0
- package/compute/orm/models/platformResourceInstallation.js +104 -0
- package/compute/orm/models/platformResourceUsageLog.d.ts +56 -0
- package/compute/orm/models/platformResourceUsageLog.js +107 -0
- package/compute/orm/models/platformResourceUsageSummary.d.ts +56 -0
- package/compute/orm/models/platformResourceUsageSummary.js +107 -0
- package/compute/orm/models/platformResourceUtilizationDaily.d.ts +30 -0
- package/compute/orm/models/platformResourceUtilizationDaily.js +59 -0
- package/compute/orm/models/platformResourcesHealth.d.ts +36 -0
- package/compute/orm/models/platformResourcesHealth.js +80 -0
- package/compute/orm/models/platformWebhookEndpoint.d.ts +54 -0
- package/compute/orm/models/platformWebhookEndpoint.js +104 -0
- package/compute/orm/models/platformWebhookEvent.d.ts +54 -0
- package/compute/orm/models/platformWebhookEvent.js +104 -0
- package/compute/orm/models/resourceInstallation.d.ts +54 -0
- package/compute/orm/models/resourceInstallation.js +104 -0
- package/compute/orm/models/resourceUsageLog.d.ts +56 -0
- package/compute/orm/models/resourceUsageLog.js +107 -0
- package/compute/orm/models/resourceUsageSummary.d.ts +56 -0
- package/compute/orm/models/resourceUsageSummary.js +107 -0
- package/compute/orm/models/resourceUtilizationDaily.d.ts +30 -0
- package/compute/orm/models/resourceUtilizationDaily.js +59 -0
- package/compute/orm/models/resourcesHealth.d.ts +36 -0
- package/{api/orm/models/migrateFile.js → compute/orm/models/resourcesHealth.js} +20 -20
- package/compute/orm/models/webhookEndpoint.d.ts +54 -0
- package/compute/orm/models/webhookEndpoint.js +104 -0
- package/compute/orm/models/webhookEvent.d.ts +54 -0
- package/{infra/orm/models/infraStore.js → compute/orm/models/webhookEvent.js} +27 -27
- package/compute/orm/mutation/index.d.ts +89 -1
- package/compute/orm/mutation/index.js +132 -0
- package/config/cli/commands/platform-internal-secret.js +7 -14
- package/config/cli/commands/platform-secret.js +8 -16
- package/config/cli/commands/secret.js +9 -18
- package/config/orm/input-types.d.ts +4 -79
- package/esm/agent/orm/input-types.d.ts +24 -0
- package/esm/agent/orm/input-types.js +3 -0
- package/esm/api/cli/commands/ast-migration.js +20 -31
- package/{infra/cli/commands/infra-ref.d.ts → esm/api/cli/commands/http-route.d.ts} +1 -1
- package/esm/api/cli/commands/http-route.js +432 -0
- package/esm/api/cli/commands/{migrate-file.d.ts → managed-domain.d.ts} +1 -1
- package/esm/api/cli/commands/managed-domain.js +380 -0
- package/esm/api/cli/commands/resolve-http-route.d.ts +8 -0
- package/esm/api/cli/commands/resolve-http-route.js +42 -0
- package/esm/api/cli/commands/sql-action.js +20 -31
- package/esm/api/cli/commands.js +7 -3
- package/esm/api/cli/executor.d.ts +7 -1
- package/esm/api/orm/index.d.ts +9 -2
- package/esm/api/orm/index.js +4 -2
- package/esm/api/orm/input-types.d.ts +498 -143
- package/esm/api/orm/input-types.js +4 -0
- package/esm/api/orm/models/httpRoute.d.ts +54 -0
- package/esm/{infra/orm/models/infraRef.js → api/orm/models/httpRoute.js} +25 -28
- package/esm/api/orm/models/index.d.ts +2 -1
- package/esm/api/orm/models/index.js +2 -1
- package/esm/api/orm/models/managedDomain.d.ts +54 -0
- package/esm/{infra/orm/models/infraCommit.js → api/orm/models/managedDomain.js} +25 -28
- package/esm/api/orm/query/index.d.ts +12 -0
- package/esm/api/orm/query/index.js +20 -0
- package/esm/auth/cli/commands/identity-provider.js +4 -8
- package/esm/auth/cli/commands/org-api-key-list.js +9 -18
- package/esm/auth/cli/commands/user-connected-account.js +5 -10
- package/esm/auth/orm/input-types.d.ts +155 -182
- package/esm/auth/orm/input-types.js +4 -0
- package/esm/compute/cli/commands/declared-capacity.d.ts +8 -0
- package/esm/compute/cli/commands/declared-capacity.js +245 -0
- package/esm/compute/cli/commands/function-definition.js +48 -0
- package/esm/compute/cli/commands/function-graph-execution-node-state.js +66 -0
- package/esm/compute/cli/commands/function-graph-execution.js +176 -0
- package/esm/compute/cli/commands/function-invocation.js +66 -0
- package/esm/compute/cli/commands/get-all-tree-nodes-record.d.ts +8 -0
- package/esm/{infra/cli/commands/infra-get-all-record.js → compute/cli/commands/get-all-tree-nodes-record.js} +5 -5
- package/esm/compute/cli/commands/infra-commit.js +19 -19
- package/esm/compute/cli/commands/infra-get-all-tree-nodes-record.d.ts +8 -0
- package/esm/{api/cli/commands/migrate-file.js → compute/cli/commands/infra-get-all-tree-nodes-record.js} +22 -28
- package/esm/compute/cli/commands/infra-object.js +19 -19
- package/esm/compute/cli/commands/infra-ref.js +17 -17
- package/esm/compute/cli/commands/infra-store.js +20 -20
- package/esm/compute/cli/commands/namespace-event.js +0 -154
- package/esm/compute/cli/commands/platform-declared-capacity.d.ts +8 -0
- package/esm/compute/cli/commands/platform-declared-capacity.js +245 -0
- package/esm/compute/cli/commands/platform-function-definition.js +48 -0
- package/esm/compute/cli/commands/platform-function-invocation.js +66 -0
- package/esm/compute/cli/commands/platform-infra-commit.d.ts +8 -0
- package/esm/{infra/cli/commands/infra-commit.js → compute/cli/commands/platform-infra-commit.js} +8 -8
- package/esm/compute/cli/commands/platform-infra-get-all-tree-nodes-record.d.ts +8 -0
- package/esm/compute/cli/commands/{infra-get-all-record.js → platform-infra-get-all-tree-nodes-record.js} +7 -5
- package/esm/compute/cli/commands/platform-infra-init-empty-repo.d.ts +8 -0
- package/esm/{infra/cli/commands/infra-insert-node-at-path.js → compute/cli/commands/platform-infra-init-empty-repo.js} +3 -3
- package/esm/compute/cli/commands/platform-infra-insert-node-at-path.d.ts +8 -0
- package/esm/compute/cli/commands/platform-infra-insert-node-at-path.js +34 -0
- package/esm/compute/cli/commands/platform-infra-object.d.ts +8 -0
- package/esm/{infra/cli/commands/infra-object.js → compute/cli/commands/platform-infra-object.js} +8 -8
- package/esm/compute/cli/commands/platform-infra-ref.d.ts +8 -0
- package/esm/{infra/cli/commands/infra-ref.js → compute/cli/commands/platform-infra-ref.js} +8 -8
- package/esm/compute/cli/commands/platform-infra-set-data-at-path.d.ts +8 -0
- package/esm/{infra/cli/commands/infra-set-data-at-path.js → compute/cli/commands/platform-infra-set-data-at-path.js} +3 -3
- package/esm/compute/cli/commands/platform-infra-store.d.ts +8 -0
- package/esm/{infra/cli/commands/infra-store.js → compute/cli/commands/platform-infra-store.js} +8 -8
- package/esm/compute/cli/commands/platform-namespace-event.js +0 -154
- package/esm/compute/cli/commands/platform-resource-installation.d.ts +8 -0
- package/esm/compute/cli/commands/platform-resource-installation.js +434 -0
- package/esm/compute/cli/commands/platform-resource-installations-install.d.ts +8 -0
- package/esm/compute/cli/commands/platform-resource-installations-install.js +34 -0
- package/esm/compute/cli/commands/platform-resource-installations-rollback.d.ts +8 -0
- package/esm/compute/cli/commands/platform-resource-installations-rollback.js +34 -0
- package/esm/compute/cli/commands/platform-resource-installations-uninstall.d.ts +8 -0
- package/esm/compute/cli/commands/platform-resource-installations-uninstall.js +34 -0
- package/esm/compute/cli/commands/platform-resource-installations-upgrade.d.ts +8 -0
- package/esm/compute/cli/commands/platform-resource-installations-upgrade.js +34 -0
- package/esm/compute/cli/commands/platform-resource-usage-log.d.ts +8 -0
- package/esm/compute/cli/commands/platform-resource-usage-log.js +384 -0
- package/esm/compute/cli/commands/platform-resource-usage-summary.d.ts +8 -0
- package/esm/compute/cli/commands/platform-resource-usage-summary.js +387 -0
- package/esm/compute/cli/commands/platform-resource-utilization-daily.d.ts +8 -0
- package/esm/compute/cli/commands/platform-resource-utilization-daily.js +311 -0
- package/esm/compute/cli/commands/platform-resource.js +51 -0
- package/esm/compute/cli/commands/platform-resources-health.d.ts +8 -0
- package/esm/compute/cli/commands/platform-resources-health.js +411 -0
- package/esm/compute/cli/commands/platform-webhook-endpoint.d.ts +8 -0
- package/esm/compute/cli/commands/platform-webhook-endpoint.js +430 -0
- package/esm/compute/cli/commands/platform-webhook-event.d.ts +8 -0
- package/esm/compute/cli/commands/platform-webhook-event.js +412 -0
- package/esm/compute/cli/commands/resource-installation.d.ts +8 -0
- package/esm/compute/cli/commands/resource-installation.js +454 -0
- package/esm/compute/cli/commands/resource-installations-install.d.ts +8 -0
- package/esm/compute/cli/commands/resource-installations-install.js +34 -0
- package/esm/compute/cli/commands/resource-installations-rollback.d.ts +8 -0
- package/esm/compute/cli/commands/resource-installations-rollback.js +34 -0
- package/esm/compute/cli/commands/resource-installations-uninstall.d.ts +8 -0
- package/esm/compute/cli/commands/resource-installations-uninstall.js +34 -0
- package/esm/compute/cli/commands/resource-installations-upgrade.d.ts +8 -0
- package/esm/compute/cli/commands/resource-installations-upgrade.js +34 -0
- package/esm/compute/cli/commands/resource-usage-log.d.ts +8 -0
- package/esm/compute/cli/commands/resource-usage-log.js +404 -0
- package/esm/compute/cli/commands/resource-usage-summary.d.ts +8 -0
- package/esm/compute/cli/commands/resource-usage-summary.js +407 -0
- package/esm/compute/cli/commands/resource-utilization-daily.d.ts +8 -0
- package/esm/compute/cli/commands/resource-utilization-daily.js +311 -0
- package/esm/compute/cli/commands/resource.js +51 -0
- package/esm/compute/cli/commands/resources-health.d.ts +8 -0
- package/esm/compute/cli/commands/resources-health.js +422 -0
- package/esm/compute/cli/commands/webhook-endpoint.d.ts +8 -0
- package/esm/compute/cli/commands/webhook-endpoint.js +450 -0
- package/{compute/cli/commands/get-all-record.d.ts → esm/compute/cli/commands/webhook-event.d.ts} +1 -1
- package/esm/compute/cli/commands/webhook-event.js +432 -0
- package/esm/compute/cli/commands.js +69 -5
- package/esm/compute/cli/executor.d.ts +78 -2
- package/esm/compute/orm/index.d.ts +101 -4
- package/esm/compute/orm/index.js +46 -4
- package/esm/compute/orm/input-types.d.ts +5356 -772
- package/esm/compute/orm/input-types.js +34 -2
- package/esm/compute/orm/models/declaredCapacity.d.ts +30 -0
- package/esm/{infra/orm/models/infraGetAllRecord.js → compute/orm/models/declaredCapacity.js} +13 -13
- package/esm/compute/orm/models/getAllTreeNodesRecord.d.ts +30 -0
- package/esm/{objects/orm/models/getAllRecord.js → compute/orm/models/getAllTreeNodesRecord.js} +13 -13
- package/esm/compute/orm/models/index.d.ts +23 -2
- package/esm/compute/orm/models/index.js +23 -2
- package/esm/compute/orm/models/infraCommit.d.ts +2 -2
- package/esm/compute/orm/models/infraCommit.js +2 -2
- package/esm/compute/orm/models/infraGetAllTreeNodesRecord.d.ts +30 -0
- package/esm/compute/orm/models/{infraGetAllRecord.js → infraGetAllTreeNodesRecord.js} +13 -13
- package/esm/compute/orm/models/infraObject.d.ts +2 -2
- package/esm/compute/orm/models/infraObject.js +2 -2
- package/esm/compute/orm/models/infraRef.d.ts +2 -2
- package/esm/compute/orm/models/infraRef.js +2 -2
- package/esm/compute/orm/models/platformDeclaredCapacity.d.ts +30 -0
- package/esm/compute/orm/models/platformDeclaredCapacity.js +55 -0
- package/esm/compute/orm/models/platformInfraCommit.d.ts +56 -0
- package/esm/compute/orm/models/platformInfraCommit.js +103 -0
- package/esm/compute/orm/models/platformInfraGetAllTreeNodesRecord.d.ts +30 -0
- package/esm/compute/orm/models/platformInfraGetAllTreeNodesRecord.js +55 -0
- package/esm/compute/orm/models/platformInfraObject.d.ts +56 -0
- package/esm/{infra/orm/models/infraObject.js → compute/orm/models/platformInfraObject.js} +23 -23
- package/esm/compute/orm/models/platformInfraRef.d.ts +56 -0
- package/esm/compute/orm/models/platformInfraRef.js +103 -0
- package/esm/compute/orm/models/platformInfraStore.d.ts +54 -0
- package/esm/compute/orm/models/platformInfraStore.js +100 -0
- package/esm/compute/orm/models/platformResourceInstallation.d.ts +54 -0
- package/esm/compute/orm/models/platformResourceInstallation.js +100 -0
- package/esm/compute/orm/models/platformResourceUsageLog.d.ts +56 -0
- package/esm/compute/orm/models/platformResourceUsageLog.js +103 -0
- package/esm/compute/orm/models/platformResourceUsageSummary.d.ts +56 -0
- package/esm/compute/orm/models/platformResourceUsageSummary.js +103 -0
- package/esm/compute/orm/models/platformResourceUtilizationDaily.d.ts +30 -0
- package/esm/compute/orm/models/platformResourceUtilizationDaily.js +55 -0
- package/esm/compute/orm/models/platformResourcesHealth.d.ts +36 -0
- package/esm/compute/orm/models/platformResourcesHealth.js +76 -0
- package/esm/compute/orm/models/platformWebhookEndpoint.d.ts +54 -0
- package/esm/compute/orm/models/platformWebhookEndpoint.js +100 -0
- package/esm/compute/orm/models/platformWebhookEvent.d.ts +54 -0
- package/esm/compute/orm/models/platformWebhookEvent.js +100 -0
- package/esm/compute/orm/models/resourceInstallation.d.ts +54 -0
- package/esm/compute/orm/models/resourceInstallation.js +100 -0
- package/esm/compute/orm/models/resourceUsageLog.d.ts +56 -0
- package/esm/compute/orm/models/resourceUsageLog.js +103 -0
- package/esm/compute/orm/models/resourceUsageSummary.d.ts +56 -0
- package/esm/compute/orm/models/resourceUsageSummary.js +103 -0
- package/esm/compute/orm/models/resourceUtilizationDaily.d.ts +30 -0
- package/esm/compute/orm/models/resourceUtilizationDaily.js +55 -0
- package/esm/compute/orm/models/resourcesHealth.d.ts +36 -0
- package/esm/{api/orm/models/migrateFile.js → compute/orm/models/resourcesHealth.js} +18 -18
- package/esm/compute/orm/models/webhookEndpoint.d.ts +54 -0
- package/esm/compute/orm/models/webhookEndpoint.js +100 -0
- package/esm/compute/orm/models/webhookEvent.d.ts +54 -0
- package/esm/{infra/orm/models/infraStore.js → compute/orm/models/webhookEvent.js} +25 -25
- package/esm/compute/orm/mutation/index.d.ts +89 -1
- package/esm/compute/orm/mutation/index.js +132 -0
- package/esm/config/cli/commands/platform-internal-secret.js +7 -14
- package/esm/config/cli/commands/platform-secret.js +8 -16
- package/esm/config/cli/commands/secret.js +9 -18
- package/esm/config/orm/input-types.d.ts +4 -79
- package/esm/infra/cli/commands/namespace-event.js +0 -154
- package/esm/infra/cli/commands/platform-infra-commit.d.ts +8 -0
- package/esm/infra/cli/commands/platform-infra-commit.js +387 -0
- package/esm/infra/cli/commands/platform-infra-get-all-tree-nodes-record.d.ts +8 -0
- package/esm/{objects/cli/commands/get-all-record.js → infra/cli/commands/platform-infra-get-all-tree-nodes-record.js} +7 -5
- package/esm/infra/cli/commands/platform-infra-init-empty-repo.d.ts +8 -0
- package/esm/infra/cli/commands/{infra-init-empty-repo.js → platform-infra-init-empty-repo.js} +3 -3
- package/esm/infra/cli/commands/platform-infra-insert-node-at-path.d.ts +8 -0
- package/esm/infra/cli/commands/platform-infra-insert-node-at-path.js +34 -0
- package/esm/infra/cli/commands/platform-infra-object.d.ts +8 -0
- package/esm/infra/cli/commands/platform-infra-object.js +307 -0
- package/esm/infra/cli/commands/platform-infra-ref.d.ts +8 -0
- package/esm/infra/cli/commands/platform-infra-ref.js +297 -0
- package/esm/infra/cli/commands/platform-infra-set-data-at-path.d.ts +8 -0
- package/esm/infra/cli/commands/platform-infra-set-data-at-path.js +34 -0
- package/esm/infra/cli/commands/platform-infra-store.d.ts +8 -0
- package/esm/infra/cli/commands/platform-infra-store.js +276 -0
- package/esm/infra/cli/commands/platform-namespace-event.js +0 -154
- package/esm/infra/cli/commands.js +17 -17
- package/esm/infra/cli/executor.d.ts +14 -14
- package/esm/infra/orm/index.d.ts +19 -19
- package/esm/infra/orm/index.js +10 -10
- package/esm/infra/orm/input-types.d.ts +542 -668
- package/esm/infra/orm/models/index.d.ts +5 -5
- package/esm/infra/orm/models/index.js +5 -5
- package/esm/infra/orm/models/platformInfraCommit.d.ts +56 -0
- package/esm/infra/orm/models/platformInfraCommit.js +103 -0
- package/esm/infra/orm/models/platformInfraGetAllTreeNodesRecord.d.ts +30 -0
- package/esm/infra/orm/models/platformInfraGetAllTreeNodesRecord.js +55 -0
- package/esm/infra/orm/models/platformInfraObject.d.ts +56 -0
- package/esm/infra/orm/models/platformInfraObject.js +93 -0
- package/esm/infra/orm/models/platformInfraRef.d.ts +56 -0
- package/esm/infra/orm/models/platformInfraRef.js +103 -0
- package/esm/infra/orm/models/platformInfraStore.d.ts +54 -0
- package/esm/infra/orm/models/platformInfraStore.js +100 -0
- package/esm/infra/orm/mutation/index.d.ts +16 -16
- package/esm/infra/orm/mutation/index.js +18 -18
- package/esm/modules/cli/commands/compute-log-module.js +24 -24
- package/esm/modules/cli/commands/db-usage-module.js +88 -88
- package/esm/modules/cli/commands/devices-module.js +32 -32
- package/esm/modules/cli/commands/function-module.js +44 -0
- package/esm/modules/cli/commands/http-route-module.d.ts +8 -0
- package/esm/modules/cli/commands/http-route-module.js +646 -0
- package/esm/modules/cli/commands/inference-log-module.js +24 -24
- package/esm/modules/cli/commands/rate-limits-module.js +46 -46
- package/esm/modules/cli/commands/resource-module.js +220 -0
- package/esm/modules/cli/commands/sessions-module.js +48 -48
- package/esm/modules/cli/commands/storage-log-module.js +24 -24
- package/esm/modules/cli/commands/transfer-log-module.js +24 -24
- package/esm/modules/cli/commands/webhook-module.d.ts +8 -0
- package/esm/modules/cli/commands/webhook-module.js +690 -0
- package/esm/modules/cli/commands.js +5 -1
- package/esm/modules/cli/executor.d.ts +2 -0
- package/esm/modules/orm/index.d.ts +4 -0
- package/esm/modules/orm/index.js +4 -0
- package/esm/modules/orm/input-types.d.ts +802 -166
- package/esm/modules/orm/models/httpRouteModule.d.ts +54 -0
- package/esm/modules/orm/models/httpRouteModule.js +100 -0
- package/esm/modules/orm/models/index.d.ts +2 -0
- package/esm/modules/orm/models/index.js +2 -0
- package/esm/modules/orm/models/webhookModule.d.ts +54 -0
- package/esm/modules/orm/models/webhookModule.js +100 -0
- package/esm/objects/cli/commands/get-all-tree-nodes-record.d.ts +8 -0
- package/esm/{compute/cli/commands/get-all-record.js → objects/cli/commands/get-all-tree-nodes-record.js} +5 -5
- package/esm/objects/cli/commands.js +3 -3
- package/esm/objects/cli/executor.d.ts +1 -1
- package/esm/objects/orm/index.d.ts +2 -2
- package/esm/objects/orm/index.js +2 -2
- package/esm/objects/orm/input-types.d.ts +15 -15
- package/esm/objects/orm/models/getAllTreeNodesRecord.d.ts +30 -0
- package/esm/{compute/orm/models/getAllRecord.js → objects/orm/models/getAllTreeNodesRecord.js} +13 -13
- package/esm/objects/orm/models/index.d.ts +1 -1
- package/esm/objects/orm/models/index.js +1 -1
- package/infra/cli/commands/namespace-event.js +0 -154
- package/infra/cli/commands/platform-infra-commit.d.ts +8 -0
- package/infra/cli/commands/platform-infra-commit.js +389 -0
- package/infra/cli/commands/platform-infra-get-all-tree-nodes-record.d.ts +8 -0
- package/infra/cli/commands/{infra-get-all-record.js → platform-infra-get-all-tree-nodes-record.js} +7 -5
- package/infra/cli/commands/platform-infra-init-empty-repo.d.ts +8 -0
- package/infra/cli/commands/{infra-insert-node-at-path.js → platform-infra-init-empty-repo.js} +3 -3
- package/infra/cli/commands/platform-infra-insert-node-at-path.d.ts +8 -0
- package/infra/cli/commands/platform-infra-insert-node-at-path.js +36 -0
- package/infra/cli/commands/platform-infra-object.d.ts +8 -0
- package/infra/cli/commands/platform-infra-object.js +309 -0
- package/infra/cli/commands/platform-infra-ref.d.ts +8 -0
- package/infra/cli/commands/platform-infra-ref.js +299 -0
- package/infra/cli/commands/platform-infra-set-data-at-path.d.ts +8 -0
- package/infra/cli/commands/platform-infra-set-data-at-path.js +36 -0
- package/infra/cli/commands/platform-infra-store.d.ts +8 -0
- package/infra/cli/commands/platform-infra-store.js +278 -0
- package/infra/cli/commands/platform-namespace-event.js +0 -154
- package/infra/cli/commands.js +17 -17
- package/infra/cli/executor.d.ts +14 -14
- package/infra/orm/index.d.ts +19 -19
- package/infra/orm/index.js +10 -10
- package/infra/orm/input-types.d.ts +542 -668
- package/infra/orm/models/index.d.ts +5 -5
- package/infra/orm/models/index.js +11 -11
- package/infra/orm/models/platformInfraCommit.d.ts +56 -0
- package/infra/orm/models/platformInfraCommit.js +107 -0
- package/infra/orm/models/platformInfraGetAllTreeNodesRecord.d.ts +30 -0
- package/infra/orm/models/platformInfraGetAllTreeNodesRecord.js +59 -0
- package/infra/orm/models/platformInfraObject.d.ts +56 -0
- package/infra/orm/models/platformInfraObject.js +97 -0
- package/infra/orm/models/platformInfraRef.d.ts +56 -0
- package/infra/orm/models/platformInfraRef.js +107 -0
- package/infra/orm/models/platformInfraStore.d.ts +54 -0
- package/infra/orm/models/platformInfraStore.js +104 -0
- package/infra/orm/mutation/index.d.ts +16 -16
- package/infra/orm/mutation/index.js +18 -18
- package/modules/cli/commands/compute-log-module.js +24 -24
- package/modules/cli/commands/db-usage-module.js +88 -88
- package/modules/cli/commands/devices-module.js +32 -32
- package/modules/cli/commands/function-module.js +44 -0
- package/modules/cli/commands/http-route-module.d.ts +8 -0
- package/modules/cli/commands/http-route-module.js +648 -0
- package/modules/cli/commands/inference-log-module.js +24 -24
- package/modules/cli/commands/rate-limits-module.js +46 -46
- package/modules/cli/commands/resource-module.js +220 -0
- package/modules/cli/commands/sessions-module.js +48 -48
- package/modules/cli/commands/storage-log-module.js +24 -24
- package/modules/cli/commands/transfer-log-module.js +24 -24
- package/modules/cli/commands/webhook-module.d.ts +8 -0
- package/modules/cli/commands/webhook-module.js +692 -0
- package/modules/cli/commands.js +5 -1
- package/modules/cli/executor.d.ts +2 -0
- package/modules/orm/index.d.ts +4 -0
- package/modules/orm/index.js +4 -0
- package/modules/orm/input-types.d.ts +802 -166
- package/modules/orm/models/httpRouteModule.d.ts +54 -0
- package/modules/orm/models/httpRouteModule.js +104 -0
- package/modules/orm/models/index.d.ts +2 -0
- package/modules/orm/models/index.js +6 -2
- package/modules/orm/models/webhookModule.d.ts +54 -0
- package/modules/orm/models/webhookModule.js +104 -0
- package/objects/cli/commands/get-all-tree-nodes-record.d.ts +8 -0
- package/objects/cli/commands/{get-all-record.js → get-all-tree-nodes-record.js} +5 -5
- package/objects/cli/commands.js +3 -3
- package/objects/cli/executor.d.ts +1 -1
- package/objects/orm/index.d.ts +2 -2
- package/objects/orm/index.js +2 -2
- package/objects/orm/input-types.d.ts +15 -15
- package/objects/orm/models/getAllTreeNodesRecord.d.ts +30 -0
- package/{infra/orm/models/infraGetAllRecord.js → objects/orm/models/getAllTreeNodesRecord.js} +15 -15
- package/objects/orm/models/index.d.ts +1 -1
- package/objects/orm/models/index.js +3 -3
- package/package.json +3 -3
- package/api/orm/models/migrateFile.d.ts +0 -36
- package/compute/orm/models/getAllRecord.d.ts +0 -30
- package/compute/orm/models/infraGetAllRecord.d.ts +0 -30
- package/esm/api/orm/models/migrateFile.d.ts +0 -36
- package/esm/compute/cli/commands/infra-get-all-record.d.ts +0 -8
- package/esm/compute/orm/models/getAllRecord.d.ts +0 -30
- package/esm/compute/orm/models/infraGetAllRecord.d.ts +0 -30
- package/esm/infra/cli/commands/infra-commit.d.ts +0 -8
- package/esm/infra/cli/commands/infra-get-all-record.d.ts +0 -8
- package/esm/infra/cli/commands/infra-init-empty-repo.d.ts +0 -8
- package/esm/infra/cli/commands/infra-insert-node-at-path.d.ts +0 -8
- package/esm/infra/cli/commands/infra-object.d.ts +0 -8
- package/esm/infra/cli/commands/infra-set-data-at-path.d.ts +0 -8
- package/esm/infra/cli/commands/infra-store.d.ts +0 -8
- package/esm/infra/orm/models/infraCommit.d.ts +0 -56
- package/esm/infra/orm/models/infraGetAllRecord.d.ts +0 -30
- package/esm/infra/orm/models/infraObject.d.ts +0 -56
- package/esm/infra/orm/models/infraRef.d.ts +0 -56
- package/esm/infra/orm/models/infraStore.d.ts +0 -54
- package/esm/objects/cli/commands/get-all-record.d.ts +0 -8
- package/esm/objects/orm/models/getAllRecord.d.ts +0 -30
- package/infra/cli/commands/infra-commit.d.ts +0 -8
- package/infra/cli/commands/infra-get-all-record.d.ts +0 -8
- package/infra/cli/commands/infra-init-empty-repo.d.ts +0 -8
- package/infra/cli/commands/infra-insert-node-at-path.d.ts +0 -8
- package/infra/cli/commands/infra-object.d.ts +0 -8
- package/infra/cli/commands/infra-set-data-at-path.d.ts +0 -8
- package/infra/cli/commands/infra-store.d.ts +0 -8
- package/infra/orm/models/infraCommit.d.ts +0 -56
- package/infra/orm/models/infraGetAllRecord.d.ts +0 -30
- package/infra/orm/models/infraObject.d.ts +0 -56
- package/infra/orm/models/infraRef.d.ts +0 -56
- package/infra/orm/models/infraStore.d.ts +0 -54
- package/objects/cli/commands/get-all-record.d.ts +0 -8
- package/objects/orm/models/getAllRecord.d.ts +0 -30
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
/**
|
|
4
|
-
* CLI commands for
|
|
4
|
+
* CLI commands for GetAllTreeNodesRecord
|
|
5
5
|
* @generated by @constructive-io/graphql-codegen
|
|
6
6
|
* DO NOT EDIT - changes will be overwritten
|
|
7
7
|
*/
|
|
@@ -12,7 +12,7 @@ const fieldSchema = {
|
|
|
12
12
|
data: 'json',
|
|
13
13
|
path: 'string',
|
|
14
14
|
};
|
|
15
|
-
const usage = '\nget-all-record <command>\n\nCommands:\n list List
|
|
15
|
+
const usage = '\nget-all-tree-nodes-record <command>\n\nCommands:\n list List getAllTreeNodesRecord records\n find-first Find first matching getAllTreeNodesRecord record\n create Create a new getAllTreeNodesRecord\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';
|
|
16
16
|
exports.default = async (argv, prompter, _options) => {
|
|
17
17
|
if (argv.help || argv.h) {
|
|
18
18
|
console.log(usage);
|
|
@@ -53,7 +53,7 @@ async function handleList(argv, _prompter) {
|
|
|
53
53
|
};
|
|
54
54
|
const findManyArgs = (0, utils_1.parseFindManyArgs)(argv, defaultSelect);
|
|
55
55
|
const client = (0, executor_1.getClient)();
|
|
56
|
-
const result = await client.
|
|
56
|
+
const result = await client.getAllTreeNodesRecord.findMany(findManyArgs).execute();
|
|
57
57
|
console.log(JSON.stringify(result, null, 2));
|
|
58
58
|
}
|
|
59
59
|
catch (error) {
|
|
@@ -72,7 +72,7 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
72
72
|
};
|
|
73
73
|
const findFirstArgs = (0, utils_1.parseFindFirstArgs)(argv, defaultSelect);
|
|
74
74
|
const client = (0, executor_1.getClient)();
|
|
75
|
-
const result = await client.
|
|
75
|
+
const result = await client.getAllTreeNodesRecord.findFirst(findFirstArgs).execute();
|
|
76
76
|
console.log(JSON.stringify(result, null, 2));
|
|
77
77
|
}
|
|
78
78
|
catch (error) {
|
|
@@ -102,7 +102,7 @@ async function handleCreate(argv, prompter) {
|
|
|
102
102
|
const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
|
|
103
103
|
const cleanedData = (0, utils_1.stripUndefined)(answers, fieldSchema);
|
|
104
104
|
const client = (0, executor_1.getClient)();
|
|
105
|
-
const result = await client.
|
|
105
|
+
const result = await client.getAllTreeNodesRecord
|
|
106
106
|
.create({
|
|
107
107
|
data: {
|
|
108
108
|
data: cleanedData.data,
|
|
@@ -11,11 +11,11 @@ const utils_1 = require("../utils");
|
|
|
11
11
|
const fieldSchema = {
|
|
12
12
|
authorId: 'uuid',
|
|
13
13
|
committerId: 'uuid',
|
|
14
|
+
databaseId: 'uuid',
|
|
14
15
|
date: 'string',
|
|
15
16
|
id: 'uuid',
|
|
16
17
|
message: 'string',
|
|
17
18
|
parentIds: 'uuid',
|
|
18
|
-
scopeId: 'uuid',
|
|
19
19
|
storeId: 'uuid',
|
|
20
20
|
treeId: 'uuid',
|
|
21
21
|
};
|
|
@@ -63,11 +63,11 @@ async function handleList(argv, _prompter) {
|
|
|
63
63
|
const defaultSelect = {
|
|
64
64
|
authorId: true,
|
|
65
65
|
committerId: true,
|
|
66
|
+
databaseId: true,
|
|
66
67
|
date: true,
|
|
67
68
|
id: true,
|
|
68
69
|
message: true,
|
|
69
70
|
parentIds: true,
|
|
70
|
-
scopeId: true,
|
|
71
71
|
storeId: true,
|
|
72
72
|
treeId: true,
|
|
73
73
|
};
|
|
@@ -89,11 +89,11 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
89
89
|
const defaultSelect = {
|
|
90
90
|
authorId: true,
|
|
91
91
|
committerId: true,
|
|
92
|
+
databaseId: true,
|
|
92
93
|
date: true,
|
|
93
94
|
id: true,
|
|
94
95
|
message: true,
|
|
95
96
|
parentIds: true,
|
|
96
|
-
scopeId: true,
|
|
97
97
|
storeId: true,
|
|
98
98
|
treeId: true,
|
|
99
99
|
};
|
|
@@ -127,11 +127,11 @@ async function handleGet(argv, prompter) {
|
|
|
127
127
|
select: {
|
|
128
128
|
authorId: true,
|
|
129
129
|
committerId: true,
|
|
130
|
+
databaseId: true,
|
|
130
131
|
date: true,
|
|
131
132
|
id: true,
|
|
132
133
|
message: true,
|
|
133
134
|
parentIds: true,
|
|
134
|
-
scopeId: true,
|
|
135
135
|
storeId: true,
|
|
136
136
|
treeId: true,
|
|
137
137
|
},
|
|
@@ -164,6 +164,12 @@ async function handleCreate(argv, prompter) {
|
|
|
164
164
|
required: false,
|
|
165
165
|
skipPrompt: true,
|
|
166
166
|
},
|
|
167
|
+
{
|
|
168
|
+
type: 'text',
|
|
169
|
+
name: 'databaseId',
|
|
170
|
+
message: 'databaseId',
|
|
171
|
+
required: true,
|
|
172
|
+
},
|
|
167
173
|
{
|
|
168
174
|
type: 'text',
|
|
169
175
|
name: 'date',
|
|
@@ -185,12 +191,6 @@ async function handleCreate(argv, prompter) {
|
|
|
185
191
|
required: false,
|
|
186
192
|
skipPrompt: true,
|
|
187
193
|
},
|
|
188
|
-
{
|
|
189
|
-
type: 'text',
|
|
190
|
-
name: 'scopeId',
|
|
191
|
-
message: 'scopeId',
|
|
192
|
-
required: true,
|
|
193
|
-
},
|
|
194
194
|
{
|
|
195
195
|
type: 'text',
|
|
196
196
|
name: 'storeId',
|
|
@@ -213,21 +213,21 @@ async function handleCreate(argv, prompter) {
|
|
|
213
213
|
data: {
|
|
214
214
|
authorId: cleanedData.authorId,
|
|
215
215
|
committerId: cleanedData.committerId,
|
|
216
|
+
databaseId: cleanedData.databaseId,
|
|
216
217
|
date: cleanedData.date,
|
|
217
218
|
message: cleanedData.message,
|
|
218
219
|
parentIds: cleanedData.parentIds,
|
|
219
|
-
scopeId: cleanedData.scopeId,
|
|
220
220
|
storeId: cleanedData.storeId,
|
|
221
221
|
treeId: cleanedData.treeId,
|
|
222
222
|
},
|
|
223
223
|
select: {
|
|
224
224
|
authorId: true,
|
|
225
225
|
committerId: true,
|
|
226
|
+
databaseId: true,
|
|
226
227
|
date: true,
|
|
227
228
|
id: true,
|
|
228
229
|
message: true,
|
|
229
230
|
parentIds: true,
|
|
230
|
-
scopeId: true,
|
|
231
231
|
storeId: true,
|
|
232
232
|
treeId: true,
|
|
233
233
|
},
|
|
@@ -254,8 +254,8 @@ async function handleUpdate(argv, prompter) {
|
|
|
254
254
|
},
|
|
255
255
|
{
|
|
256
256
|
type: 'text',
|
|
257
|
-
name: '
|
|
258
|
-
message: '
|
|
257
|
+
name: 'databaseId',
|
|
258
|
+
message: 'databaseId',
|
|
259
259
|
required: true,
|
|
260
260
|
},
|
|
261
261
|
{
|
|
@@ -314,7 +314,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
314
314
|
.update({
|
|
315
315
|
where: {
|
|
316
316
|
id: answers.id,
|
|
317
|
-
|
|
317
|
+
databaseId: answers.databaseId,
|
|
318
318
|
},
|
|
319
319
|
data: {
|
|
320
320
|
authorId: cleanedData.authorId,
|
|
@@ -328,11 +328,11 @@ async function handleUpdate(argv, prompter) {
|
|
|
328
328
|
select: {
|
|
329
329
|
authorId: true,
|
|
330
330
|
committerId: true,
|
|
331
|
+
databaseId: true,
|
|
331
332
|
date: true,
|
|
332
333
|
id: true,
|
|
333
334
|
message: true,
|
|
334
335
|
parentIds: true,
|
|
335
|
-
scopeId: true,
|
|
336
336
|
storeId: true,
|
|
337
337
|
treeId: true,
|
|
338
338
|
},
|
|
@@ -359,8 +359,8 @@ async function handleDelete(argv, prompter) {
|
|
|
359
359
|
},
|
|
360
360
|
{
|
|
361
361
|
type: 'text',
|
|
362
|
-
name: '
|
|
363
|
-
message: '
|
|
362
|
+
name: 'databaseId',
|
|
363
|
+
message: 'databaseId',
|
|
364
364
|
required: true,
|
|
365
365
|
},
|
|
366
366
|
]);
|
|
@@ -370,7 +370,7 @@ async function handleDelete(argv, prompter) {
|
|
|
370
370
|
.delete({
|
|
371
371
|
where: {
|
|
372
372
|
id: answers.id,
|
|
373
|
-
|
|
373
|
+
databaseId: answers.databaseId,
|
|
374
374
|
},
|
|
375
375
|
select: {
|
|
376
376
|
id: true,
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CLI commands for InfraGetAllTreeNodesRecord
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import { CLIOptions, Inquirerer } from 'inquirerer';
|
|
7
|
+
declare const _default: (argv: Partial<Record<string, unknown>>, prompter: Inquirerer, _options: CLIOptions) => Promise<void>;
|
|
8
|
+
export default _default;
|
package/{api/cli/commands/migrate-file.js → compute/cli/commands/infra-get-all-tree-nodes-record.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
/**
|
|
4
|
-
* CLI commands for
|
|
4
|
+
* CLI commands for InfraGetAllTreeNodesRecord
|
|
5
5
|
* @generated by @constructive-io/graphql-codegen
|
|
6
6
|
* DO NOT EDIT - changes will be overwritten
|
|
7
7
|
*/
|
|
@@ -9,11 +9,10 @@ const inquirerer_1 = require("inquirerer");
|
|
|
9
9
|
const executor_1 = require("../executor");
|
|
10
10
|
const utils_1 = require("../utils");
|
|
11
11
|
const fieldSchema = {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
upload: 'string',
|
|
12
|
+
data: 'json',
|
|
13
|
+
path: 'string',
|
|
15
14
|
};
|
|
16
|
-
const usage = '\
|
|
15
|
+
const usage = '\ninfra-get-all-tree-nodes-record <command>\n\nCommands:\n list List infraGetAllTreeNodesRecord records\n find-first Find first matching infraGetAllTreeNodesRecord record\n create Create a new infraGetAllTreeNodesRecord\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';
|
|
17
16
|
exports.default = async (argv, prompter, _options) => {
|
|
18
17
|
if (argv.help || argv.h) {
|
|
19
18
|
console.log(usage);
|
|
@@ -49,13 +48,12 @@ async function handleTableSubcommand(subcommand, argv, prompter) {
|
|
|
49
48
|
async function handleList(argv, _prompter) {
|
|
50
49
|
try {
|
|
51
50
|
const defaultSelect = {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
upload: true,
|
|
51
|
+
data: true,
|
|
52
|
+
path: true,
|
|
55
53
|
};
|
|
56
54
|
const findManyArgs = (0, utils_1.parseFindManyArgs)(argv, defaultSelect);
|
|
57
55
|
const client = (0, executor_1.getClient)();
|
|
58
|
-
const result = await client.
|
|
56
|
+
const result = await client.infraGetAllTreeNodesRecord.findMany(findManyArgs).execute();
|
|
59
57
|
console.log(JSON.stringify(result, null, 2));
|
|
60
58
|
}
|
|
61
59
|
catch (error) {
|
|
@@ -69,13 +67,12 @@ async function handleList(argv, _prompter) {
|
|
|
69
67
|
async function handleFindFirst(argv, _prompter) {
|
|
70
68
|
try {
|
|
71
69
|
const defaultSelect = {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
upload: true,
|
|
70
|
+
data: true,
|
|
71
|
+
path: true,
|
|
75
72
|
};
|
|
76
73
|
const findFirstArgs = (0, utils_1.parseFindFirstArgs)(argv, defaultSelect);
|
|
77
74
|
const client = (0, executor_1.getClient)();
|
|
78
|
-
const result = await client.
|
|
75
|
+
const result = await client.infraGetAllTreeNodesRecord.findFirst(findFirstArgs).execute();
|
|
79
76
|
console.log(JSON.stringify(result, null, 2));
|
|
80
77
|
}
|
|
81
78
|
catch (error) {
|
|
@@ -90,33 +87,30 @@ async function handleCreate(argv, prompter) {
|
|
|
90
87
|
try {
|
|
91
88
|
const rawAnswers = await prompter.prompt(argv, [
|
|
92
89
|
{
|
|
93
|
-
type: '
|
|
94
|
-
name: '
|
|
95
|
-
message: '
|
|
96
|
-
required:
|
|
97
|
-
skipPrompt: true,
|
|
90
|
+
type: 'json',
|
|
91
|
+
name: 'data',
|
|
92
|
+
message: 'data',
|
|
93
|
+
required: true,
|
|
98
94
|
},
|
|
99
95
|
{
|
|
100
96
|
type: 'text',
|
|
101
|
-
name: '
|
|
102
|
-
message: '
|
|
103
|
-
required:
|
|
104
|
-
skipPrompt: true,
|
|
97
|
+
name: 'path',
|
|
98
|
+
message: 'path',
|
|
99
|
+
required: true,
|
|
105
100
|
},
|
|
106
101
|
]);
|
|
107
102
|
const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
|
|
108
103
|
const cleanedData = (0, utils_1.stripUndefined)(answers, fieldSchema);
|
|
109
104
|
const client = (0, executor_1.getClient)();
|
|
110
|
-
const result = await client.
|
|
105
|
+
const result = await client.infraGetAllTreeNodesRecord
|
|
111
106
|
.create({
|
|
112
107
|
data: {
|
|
113
|
-
|
|
114
|
-
|
|
108
|
+
data: cleanedData.data,
|
|
109
|
+
path: cleanedData.path,
|
|
115
110
|
},
|
|
116
111
|
select: {
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
upload: true,
|
|
112
|
+
data: true,
|
|
113
|
+
path: true,
|
|
120
114
|
},
|
|
121
115
|
})
|
|
122
116
|
.execute();
|
|
@@ -11,10 +11,10 @@ const utils_1 = require("../utils");
|
|
|
11
11
|
const fieldSchema = {
|
|
12
12
|
createdAt: 'string',
|
|
13
13
|
data: 'json',
|
|
14
|
+
databaseId: 'uuid',
|
|
14
15
|
id: 'uuid',
|
|
15
16
|
kids: 'uuid',
|
|
16
17
|
ktree: 'string',
|
|
17
|
-
scopeId: 'uuid',
|
|
18
18
|
};
|
|
19
19
|
const usage = '\ninfra-object <command>\n\nCommands:\n list List infraObject records\n find-first Find first matching infraObject record\n get Get a infraObject by ID\n create Create a new infraObject\n update Update an existing infraObject\n delete Delete a infraObject\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';
|
|
20
20
|
exports.default = async (argv, prompter, _options) => {
|
|
@@ -60,10 +60,10 @@ async function handleList(argv, _prompter) {
|
|
|
60
60
|
const defaultSelect = {
|
|
61
61
|
createdAt: true,
|
|
62
62
|
data: true,
|
|
63
|
+
databaseId: true,
|
|
63
64
|
id: true,
|
|
64
65
|
kids: true,
|
|
65
66
|
ktree: true,
|
|
66
|
-
scopeId: true,
|
|
67
67
|
};
|
|
68
68
|
const findManyArgs = (0, utils_1.parseFindManyArgs)(argv, defaultSelect);
|
|
69
69
|
const client = (0, executor_1.getClient)();
|
|
@@ -83,10 +83,10 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
83
83
|
const defaultSelect = {
|
|
84
84
|
createdAt: true,
|
|
85
85
|
data: true,
|
|
86
|
+
databaseId: true,
|
|
86
87
|
id: true,
|
|
87
88
|
kids: true,
|
|
88
89
|
ktree: true,
|
|
89
|
-
scopeId: true,
|
|
90
90
|
};
|
|
91
91
|
const findFirstArgs = (0, utils_1.parseFindFirstArgs)(argv, defaultSelect);
|
|
92
92
|
const client = (0, executor_1.getClient)();
|
|
@@ -118,10 +118,10 @@ async function handleGet(argv, prompter) {
|
|
|
118
118
|
select: {
|
|
119
119
|
createdAt: true,
|
|
120
120
|
data: true,
|
|
121
|
+
databaseId: true,
|
|
121
122
|
id: true,
|
|
122
123
|
kids: true,
|
|
123
124
|
ktree: true,
|
|
124
|
-
scopeId: true,
|
|
125
125
|
},
|
|
126
126
|
})
|
|
127
127
|
.execute();
|
|
@@ -145,6 +145,12 @@ async function handleCreate(argv, prompter) {
|
|
|
145
145
|
required: false,
|
|
146
146
|
skipPrompt: true,
|
|
147
147
|
},
|
|
148
|
+
{
|
|
149
|
+
type: 'text',
|
|
150
|
+
name: 'databaseId',
|
|
151
|
+
message: 'databaseId',
|
|
152
|
+
required: true,
|
|
153
|
+
},
|
|
148
154
|
{
|
|
149
155
|
type: 'text',
|
|
150
156
|
name: 'kids',
|
|
@@ -159,12 +165,6 @@ async function handleCreate(argv, prompter) {
|
|
|
159
165
|
required: false,
|
|
160
166
|
skipPrompt: true,
|
|
161
167
|
},
|
|
162
|
-
{
|
|
163
|
-
type: 'text',
|
|
164
|
-
name: 'scopeId',
|
|
165
|
-
message: 'scopeId',
|
|
166
|
-
required: true,
|
|
167
|
-
},
|
|
168
168
|
]);
|
|
169
169
|
const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
|
|
170
170
|
const cleanedData = (0, utils_1.stripUndefined)(answers, fieldSchema);
|
|
@@ -173,17 +173,17 @@ async function handleCreate(argv, prompter) {
|
|
|
173
173
|
.create({
|
|
174
174
|
data: {
|
|
175
175
|
data: cleanedData.data,
|
|
176
|
+
databaseId: cleanedData.databaseId,
|
|
176
177
|
kids: cleanedData.kids,
|
|
177
178
|
ktree: cleanedData.ktree,
|
|
178
|
-
scopeId: cleanedData.scopeId,
|
|
179
179
|
},
|
|
180
180
|
select: {
|
|
181
181
|
createdAt: true,
|
|
182
182
|
data: true,
|
|
183
|
+
databaseId: true,
|
|
183
184
|
id: true,
|
|
184
185
|
kids: true,
|
|
185
186
|
ktree: true,
|
|
186
|
-
scopeId: true,
|
|
187
187
|
},
|
|
188
188
|
})
|
|
189
189
|
.execute();
|
|
@@ -208,8 +208,8 @@ async function handleUpdate(argv, prompter) {
|
|
|
208
208
|
},
|
|
209
209
|
{
|
|
210
210
|
type: 'text',
|
|
211
|
-
name: '
|
|
212
|
-
message: '
|
|
211
|
+
name: 'databaseId',
|
|
212
|
+
message: 'databaseId',
|
|
213
213
|
required: true,
|
|
214
214
|
},
|
|
215
215
|
{
|
|
@@ -241,7 +241,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
241
241
|
.update({
|
|
242
242
|
where: {
|
|
243
243
|
id: answers.id,
|
|
244
|
-
|
|
244
|
+
databaseId: answers.databaseId,
|
|
245
245
|
},
|
|
246
246
|
data: {
|
|
247
247
|
data: cleanedData.data,
|
|
@@ -251,10 +251,10 @@ async function handleUpdate(argv, prompter) {
|
|
|
251
251
|
select: {
|
|
252
252
|
createdAt: true,
|
|
253
253
|
data: true,
|
|
254
|
+
databaseId: true,
|
|
254
255
|
id: true,
|
|
255
256
|
kids: true,
|
|
256
257
|
ktree: true,
|
|
257
|
-
scopeId: true,
|
|
258
258
|
},
|
|
259
259
|
})
|
|
260
260
|
.execute();
|
|
@@ -279,8 +279,8 @@ async function handleDelete(argv, prompter) {
|
|
|
279
279
|
},
|
|
280
280
|
{
|
|
281
281
|
type: 'text',
|
|
282
|
-
name: '
|
|
283
|
-
message: '
|
|
282
|
+
name: 'databaseId',
|
|
283
|
+
message: 'databaseId',
|
|
284
284
|
required: true,
|
|
285
285
|
},
|
|
286
286
|
]);
|
|
@@ -290,7 +290,7 @@ async function handleDelete(argv, prompter) {
|
|
|
290
290
|
.delete({
|
|
291
291
|
where: {
|
|
292
292
|
id: answers.id,
|
|
293
|
-
|
|
293
|
+
databaseId: answers.databaseId,
|
|
294
294
|
},
|
|
295
295
|
select: {
|
|
296
296
|
id: true,
|
|
@@ -10,9 +10,9 @@ const executor_1 = require("../executor");
|
|
|
10
10
|
const utils_1 = require("../utils");
|
|
11
11
|
const fieldSchema = {
|
|
12
12
|
commitId: 'uuid',
|
|
13
|
+
databaseId: 'uuid',
|
|
13
14
|
id: 'uuid',
|
|
14
15
|
name: 'string',
|
|
15
|
-
scopeId: 'uuid',
|
|
16
16
|
storeId: 'uuid',
|
|
17
17
|
};
|
|
18
18
|
const usage = '\ninfra-ref <command>\n\nCommands:\n list List infraRef records\n find-first Find first matching infraRef record\n get Get a infraRef by ID\n create Create a new infraRef\n update Update an existing infraRef\n delete Delete a infraRef\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';
|
|
@@ -58,9 +58,9 @@ async function handleList(argv, _prompter) {
|
|
|
58
58
|
try {
|
|
59
59
|
const defaultSelect = {
|
|
60
60
|
commitId: true,
|
|
61
|
+
databaseId: true,
|
|
61
62
|
id: true,
|
|
62
63
|
name: true,
|
|
63
|
-
scopeId: true,
|
|
64
64
|
storeId: true,
|
|
65
65
|
};
|
|
66
66
|
const findManyArgs = (0, utils_1.parseFindManyArgs)(argv, defaultSelect);
|
|
@@ -80,9 +80,9 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
80
80
|
try {
|
|
81
81
|
const defaultSelect = {
|
|
82
82
|
commitId: true,
|
|
83
|
+
databaseId: true,
|
|
83
84
|
id: true,
|
|
84
85
|
name: true,
|
|
85
|
-
scopeId: true,
|
|
86
86
|
storeId: true,
|
|
87
87
|
};
|
|
88
88
|
const findFirstArgs = (0, utils_1.parseFindFirstArgs)(argv, defaultSelect);
|
|
@@ -114,9 +114,9 @@ async function handleGet(argv, prompter) {
|
|
|
114
114
|
id: answers.id,
|
|
115
115
|
select: {
|
|
116
116
|
commitId: true,
|
|
117
|
+
databaseId: true,
|
|
117
118
|
id: true,
|
|
118
119
|
name: true,
|
|
119
|
-
scopeId: true,
|
|
120
120
|
storeId: true,
|
|
121
121
|
},
|
|
122
122
|
})
|
|
@@ -143,14 +143,14 @@ async function handleCreate(argv, prompter) {
|
|
|
143
143
|
},
|
|
144
144
|
{
|
|
145
145
|
type: 'text',
|
|
146
|
-
name: '
|
|
147
|
-
message: '
|
|
146
|
+
name: 'databaseId',
|
|
147
|
+
message: 'databaseId',
|
|
148
148
|
required: true,
|
|
149
149
|
},
|
|
150
150
|
{
|
|
151
151
|
type: 'text',
|
|
152
|
-
name: '
|
|
153
|
-
message: '
|
|
152
|
+
name: 'name',
|
|
153
|
+
message: 'name',
|
|
154
154
|
required: true,
|
|
155
155
|
},
|
|
156
156
|
{
|
|
@@ -167,15 +167,15 @@ async function handleCreate(argv, prompter) {
|
|
|
167
167
|
.create({
|
|
168
168
|
data: {
|
|
169
169
|
commitId: cleanedData.commitId,
|
|
170
|
+
databaseId: cleanedData.databaseId,
|
|
170
171
|
name: cleanedData.name,
|
|
171
|
-
scopeId: cleanedData.scopeId,
|
|
172
172
|
storeId: cleanedData.storeId,
|
|
173
173
|
},
|
|
174
174
|
select: {
|
|
175
175
|
commitId: true,
|
|
176
|
+
databaseId: true,
|
|
176
177
|
id: true,
|
|
177
178
|
name: true,
|
|
178
|
-
scopeId: true,
|
|
179
179
|
storeId: true,
|
|
180
180
|
},
|
|
181
181
|
})
|
|
@@ -201,8 +201,8 @@ async function handleUpdate(argv, prompter) {
|
|
|
201
201
|
},
|
|
202
202
|
{
|
|
203
203
|
type: 'text',
|
|
204
|
-
name: '
|
|
205
|
-
message: '
|
|
204
|
+
name: 'databaseId',
|
|
205
|
+
message: 'databaseId',
|
|
206
206
|
required: true,
|
|
207
207
|
},
|
|
208
208
|
{
|
|
@@ -232,7 +232,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
232
232
|
.update({
|
|
233
233
|
where: {
|
|
234
234
|
id: answers.id,
|
|
235
|
-
|
|
235
|
+
databaseId: answers.databaseId,
|
|
236
236
|
},
|
|
237
237
|
data: {
|
|
238
238
|
commitId: cleanedData.commitId,
|
|
@@ -241,9 +241,9 @@ async function handleUpdate(argv, prompter) {
|
|
|
241
241
|
},
|
|
242
242
|
select: {
|
|
243
243
|
commitId: true,
|
|
244
|
+
databaseId: true,
|
|
244
245
|
id: true,
|
|
245
246
|
name: true,
|
|
246
|
-
scopeId: true,
|
|
247
247
|
storeId: true,
|
|
248
248
|
},
|
|
249
249
|
})
|
|
@@ -269,8 +269,8 @@ async function handleDelete(argv, prompter) {
|
|
|
269
269
|
},
|
|
270
270
|
{
|
|
271
271
|
type: 'text',
|
|
272
|
-
name: '
|
|
273
|
-
message: '
|
|
272
|
+
name: 'databaseId',
|
|
273
|
+
message: 'databaseId',
|
|
274
274
|
required: true,
|
|
275
275
|
},
|
|
276
276
|
]);
|
|
@@ -280,7 +280,7 @@ async function handleDelete(argv, prompter) {
|
|
|
280
280
|
.delete({
|
|
281
281
|
where: {
|
|
282
282
|
id: answers.id,
|
|
283
|
-
|
|
283
|
+
databaseId: answers.databaseId,
|
|
284
284
|
},
|
|
285
285
|
select: {
|
|
286
286
|
id: true,
|