@constructive-sdk/cli 0.23.3 → 0.24.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -0
- package/admin/cli/commands/app-limit-event.js +248 -2
- package/admin/cli/commands/app-limit.js +44 -0
- package/admin/cli/commands/org-limit-aggregate.js +44 -0
- package/admin/cli/commands/org-limit-event.js +248 -2
- package/admin/cli/commands/org-limit.js +44 -0
- package/admin/cli/commands.js +31 -33
- package/admin/cli/executor.d.ts +15 -16
- package/admin/orm/index.d.ts +31 -33
- package/admin/orm/index.js +32 -33
- package/admin/orm/input-types.d.ts +2090 -2039
- package/admin/orm/input-types.js +4 -4
- package/admin/orm/models/appLimitEvent.d.ts +26 -2
- package/admin/orm/models/appLimitEvent.js +45 -0
- package/admin/orm/models/index.d.ts +15 -16
- package/admin/orm/models/index.js +31 -33
- package/admin/orm/models/orgLimitEvent.d.ts +26 -2
- package/admin/orm/models/orgLimitEvent.js +45 -0
- package/{esm/public/cli/commands/agent-message.d.ts → auth/cli/commands/audit-log-auth.d.ts} +1 -1
- package/auth/cli/commands/{audit-log.js → audit-log-auth.js} +14 -14
- package/auth/cli/commands.js +5 -5
- package/auth/cli/executor.d.ts +6 -6
- package/auth/orm/index.d.ts +8 -8
- package/auth/orm/index.js +4 -3
- package/auth/orm/input-types.d.ts +94 -94
- package/auth/orm/input-types.js +1 -1
- package/auth/orm/models/auditLogAuth.d.ts +54 -0
- package/{public/orm/models/agentMessage.js → auth/orm/models/auditLogAuth.js} +27 -27
- package/auth/orm/models/index.d.ts +1 -1
- package/auth/orm/models/index.js +3 -3
- package/auth/orm/mutation/index.d.ts +9 -9
- package/auth/orm/mutation/index.js +12 -12
- package/esm/admin/cli/commands/app-limit-event.js +248 -2
- package/esm/admin/cli/commands/app-limit.js +44 -0
- package/esm/admin/cli/commands/org-limit-aggregate.js +44 -0
- package/esm/admin/cli/commands/org-limit-event.js +248 -2
- package/esm/admin/cli/commands/org-limit.js +44 -0
- package/esm/admin/cli/commands.js +31 -33
- package/esm/admin/cli/executor.d.ts +15 -16
- package/esm/admin/orm/index.d.ts +31 -33
- package/esm/admin/orm/index.js +31 -33
- package/esm/admin/orm/input-types.d.ts +2090 -2039
- package/esm/admin/orm/input-types.js +4 -4
- package/esm/admin/orm/models/appLimitEvent.d.ts +26 -2
- package/esm/admin/orm/models/appLimitEvent.js +46 -1
- package/esm/admin/orm/models/index.d.ts +15 -16
- package/esm/admin/orm/models/index.js +15 -16
- package/esm/admin/orm/models/orgLimitEvent.d.ts +26 -2
- package/esm/admin/orm/models/orgLimitEvent.js +46 -1
- package/esm/auth/cli/commands/audit-log-auth.d.ts +8 -0
- package/esm/{public/cli/commands/audit-log.js → auth/cli/commands/audit-log-auth.js} +14 -14
- package/esm/auth/cli/commands.js +5 -5
- package/esm/auth/cli/executor.d.ts +6 -6
- package/esm/auth/orm/index.d.ts +8 -8
- package/esm/auth/orm/index.js +3 -3
- package/esm/auth/orm/input-types.d.ts +94 -94
- package/esm/auth/orm/input-types.js +1 -1
- package/esm/auth/orm/models/auditLogAuth.d.ts +54 -0
- package/esm/{public/orm/models/auditLog.js → auth/orm/models/auditLogAuth.js} +25 -25
- package/esm/auth/orm/models/index.d.ts +1 -1
- package/esm/auth/orm/models/index.js +1 -1
- package/esm/auth/orm/mutation/index.d.ts +9 -9
- package/esm/auth/orm/mutation/index.js +12 -12
- package/esm/objects/orm/index.d.ts +1 -1
- package/esm/objects/orm/index.js +1 -1
- package/esm/public/cli/commands/{agent-thread.d.ts → agent-module.d.ts} +1 -1
- package/esm/public/cli/commands/agent-module.js +690 -0
- package/esm/public/cli/commands/app-limit-event.js +248 -2
- package/esm/public/cli/commands/app-limit.js +44 -0
- package/esm/public/cli/commands/apply-registry-defaults.d.ts +8 -0
- package/esm/public/cli/commands/{rev-parse.js → apply-registry-defaults.js} +9 -12
- package/esm/public/cli/commands/audit-log-auth.d.ts +8 -0
- package/esm/{auth/cli/commands/audit-log.js → public/cli/commands/audit-log-auth.js} +14 -14
- package/esm/public/cli/commands/billing-module.js +88 -0
- package/esm/public/cli/commands/compute-log-module.d.ts +8 -0
- package/esm/public/cli/commands/compute-log-module.js +514 -0
- package/esm/public/cli/commands/config-secrets-org-module.d.ts +8 -0
- package/esm/public/cli/commands/{encrypted-secrets-module.js → config-secrets-org-module.js} +8 -8
- package/esm/public/cli/commands/config-secrets-user-module.d.ts +8 -0
- package/esm/public/cli/commands/{object.js → config-secrets-user-module.js} +60 -67
- package/esm/public/cli/commands/construct-blueprint.js +1 -1
- package/{admin/cli/commands/usage-snapshot.d.ts → esm/public/cli/commands/db-usage-module.d.ts} +1 -1
- package/esm/public/cli/commands/db-usage-module.js +558 -0
- package/esm/public/cli/commands/entity-type-provision.js +386 -34
- package/esm/public/cli/commands/field.js +4 -26
- package/esm/public/cli/commands/function-module.d.ts +8 -0
- package/esm/public/cli/commands/function-module.js +778 -0
- package/{auth/cli/commands/audit-log.d.ts → esm/public/cli/commands/graph-module.d.ts} +1 -1
- package/esm/public/cli/commands/graph-module.js +584 -0
- package/esm/public/cli/commands/inference-log-module.d.ts +8 -0
- package/esm/public/cli/commands/inference-log-module.js +514 -0
- package/esm/public/cli/commands/memberships-module.js +22 -0
- package/esm/public/cli/commands/merkle-store-module.d.ts +8 -0
- package/esm/public/cli/commands/merkle-store-module.js +498 -0
- package/esm/public/cli/commands/namespace-module.d.ts +8 -0
- package/esm/public/cli/commands/namespace-module.js +558 -0
- package/esm/public/cli/commands/org-limit-aggregate.js +44 -0
- package/esm/public/cli/commands/org-limit-event.js +248 -2
- package/esm/public/cli/commands/org-limit.js +44 -0
- package/esm/public/cli/commands/partition.js +44 -0
- package/esm/public/cli/commands/storage-log-module.d.ts +8 -0
- package/esm/public/cli/commands/storage-log-module.js +514 -0
- package/esm/public/cli/commands/storage-module.js +36 -14
- package/esm/public/cli/commands/transfer-log-module.d.ts +8 -0
- package/esm/public/cli/commands/transfer-log-module.js +514 -0
- package/esm/public/cli/commands.js +83 -101
- package/esm/public/cli/executor.d.ts +72 -125
- package/esm/public/orm/index.d.ts +102 -153
- package/esm/public/orm/index.js +59 -55
- package/esm/public/orm/input-types.d.ts +6255 -3877
- package/esm/public/orm/input-types.js +24 -15
- package/esm/public/orm/models/agentModule.d.ts +54 -0
- package/esm/public/orm/models/{agentThread.js → agentModule.js} +25 -25
- package/esm/public/orm/models/appLimitEvent.d.ts +26 -2
- package/esm/public/orm/models/appLimitEvent.js +46 -1
- package/esm/public/orm/models/auditLogAuth.d.ts +54 -0
- package/esm/{auth/orm/models/auditLog.js → public/orm/models/auditLogAuth.js} +25 -25
- package/esm/public/orm/models/computeLogModule.d.ts +54 -0
- package/esm/public/orm/models/{commit.js → computeLogModule.js} +25 -25
- package/esm/public/orm/models/configSecretsOrgModule.d.ts +54 -0
- package/esm/public/orm/models/{encryptedSecretsModule.js → configSecretsOrgModule.js} +25 -25
- package/esm/public/orm/models/configSecretsUserModule.d.ts +54 -0
- package/esm/public/orm/models/configSecretsUserModule.js +100 -0
- package/esm/public/orm/models/dbUsageModule.d.ts +54 -0
- package/esm/{admin/orm/models/usageSnapshot.js → public/orm/models/dbUsageModule.js} +25 -25
- package/esm/public/orm/models/functionModule.d.ts +54 -0
- package/esm/public/orm/models/{agentMessage.js → functionModule.js} +25 -25
- package/esm/public/orm/models/graphModule.d.ts +54 -0
- package/esm/public/orm/models/{agentTask.js → graphModule.js} +25 -25
- package/esm/public/orm/models/index.d.ts +29 -27
- package/esm/public/orm/models/index.js +29 -27
- package/esm/public/orm/models/inferenceLogModule.d.ts +54 -0
- package/esm/public/orm/models/inferenceLogModule.js +100 -0
- package/esm/public/orm/models/merkleStoreModule.d.ts +54 -0
- package/esm/public/orm/models/merkleStoreModule.js +100 -0
- package/esm/public/orm/models/namespaceModule.d.ts +54 -0
- package/esm/public/orm/models/namespaceModule.js +100 -0
- package/esm/public/orm/models/orgLimitEvent.d.ts +26 -2
- package/esm/public/orm/models/orgLimitEvent.js +46 -1
- package/esm/public/orm/models/storageLogModule.d.ts +54 -0
- package/esm/public/orm/models/{store.js → storageLogModule.js} +25 -25
- package/esm/public/orm/models/transferLogModule.d.ts +54 -0
- package/esm/public/orm/models/transferLogModule.js +100 -0
- package/esm/public/orm/mutation/index.d.ts +69 -133
- package/esm/public/orm/mutation/index.js +78 -174
- package/esm/public/orm/query/index.d.ts +22 -71
- package/esm/public/orm/query/index.js +36 -124
- package/objects/orm/index.d.ts +1 -1
- package/objects/orm/index.js +2 -1
- package/package.json +6 -6
- package/{esm/public/cli/commands/agent-task.d.ts → public/cli/commands/agent-module.d.ts} +1 -1
- package/public/cli/commands/agent-module.js +692 -0
- package/public/cli/commands/app-limit-event.js +248 -2
- package/public/cli/commands/app-limit.js +44 -0
- package/public/cli/commands/apply-registry-defaults.d.ts +8 -0
- package/public/cli/commands/{rev-parse.js → apply-registry-defaults.js} +9 -12
- package/public/cli/commands/audit-log-auth.d.ts +8 -0
- package/public/cli/commands/{audit-log.js → audit-log-auth.js} +14 -14
- package/public/cli/commands/billing-module.js +88 -0
- package/public/cli/commands/compute-log-module.d.ts +8 -0
- package/public/cli/commands/compute-log-module.js +516 -0
- package/public/cli/commands/config-secrets-org-module.d.ts +8 -0
- package/public/cli/commands/{encrypted-secrets-module.js → config-secrets-org-module.js} +8 -8
- package/public/cli/commands/config-secrets-user-module.d.ts +8 -0
- package/public/cli/commands/{object.js → config-secrets-user-module.js} +60 -67
- package/public/cli/commands/construct-blueprint.js +1 -1
- package/{esm/admin/cli/commands/usage-snapshot.d.ts → public/cli/commands/db-usage-module.d.ts} +1 -1
- package/public/cli/commands/db-usage-module.js +560 -0
- package/public/cli/commands/entity-type-provision.js +386 -34
- package/public/cli/commands/field.js +4 -26
- package/public/cli/commands/function-module.d.ts +8 -0
- package/public/cli/commands/function-module.js +780 -0
- package/{esm/auth/cli/commands/audit-log.d.ts → public/cli/commands/graph-module.d.ts} +1 -1
- package/public/cli/commands/graph-module.js +586 -0
- package/public/cli/commands/inference-log-module.d.ts +8 -0
- package/public/cli/commands/inference-log-module.js +516 -0
- package/public/cli/commands/memberships-module.js +22 -0
- package/public/cli/commands/merkle-store-module.d.ts +8 -0
- package/public/cli/commands/merkle-store-module.js +500 -0
- package/public/cli/commands/namespace-module.d.ts +8 -0
- package/public/cli/commands/namespace-module.js +560 -0
- package/public/cli/commands/org-limit-aggregate.js +44 -0
- package/public/cli/commands/org-limit-event.js +248 -2
- package/public/cli/commands/org-limit.js +44 -0
- package/public/cli/commands/partition.js +44 -0
- package/public/cli/commands/storage-log-module.d.ts +8 -0
- package/public/cli/commands/storage-log-module.js +516 -0
- package/public/cli/commands/storage-module.js +36 -14
- package/public/cli/commands/transfer-log-module.d.ts +8 -0
- package/public/cli/commands/transfer-log-module.js +516 -0
- package/public/cli/commands.js +83 -101
- package/public/cli/executor.d.ts +72 -125
- package/public/orm/index.d.ts +102 -153
- package/public/orm/index.js +60 -55
- package/public/orm/input-types.d.ts +6255 -3877
- package/public/orm/input-types.js +24 -15
- package/public/orm/models/agentModule.d.ts +54 -0
- package/public/orm/models/{agentThread.js → agentModule.js} +27 -27
- package/public/orm/models/appLimitEvent.d.ts +26 -2
- package/public/orm/models/appLimitEvent.js +45 -0
- package/public/orm/models/auditLogAuth.d.ts +54 -0
- package/{admin/orm/models/usageSnapshot.js → public/orm/models/auditLogAuth.js} +27 -27
- package/public/orm/models/computeLogModule.d.ts +54 -0
- package/{auth/orm/models/auditLog.js → public/orm/models/computeLogModule.js} +27 -27
- package/public/orm/models/configSecretsOrgModule.d.ts +54 -0
- package/public/orm/models/{encryptedSecretsModule.js → configSecretsOrgModule.js} +27 -27
- package/public/orm/models/configSecretsUserModule.d.ts +54 -0
- package/public/orm/models/{ref.js → configSecretsUserModule.js} +27 -27
- package/public/orm/models/dbUsageModule.d.ts +54 -0
- package/public/orm/models/{usageSnapshot.js → dbUsageModule.js} +27 -27
- package/public/orm/models/functionModule.d.ts +54 -0
- package/public/orm/models/functionModule.js +104 -0
- package/public/orm/models/graphModule.d.ts +54 -0
- package/public/orm/models/{agentTask.js → graphModule.js} +27 -27
- package/public/orm/models/index.d.ts +29 -27
- package/public/orm/models/index.js +61 -57
- package/public/orm/models/inferenceLogModule.d.ts +54 -0
- package/public/orm/models/inferenceLogModule.js +104 -0
- package/public/orm/models/merkleStoreModule.d.ts +54 -0
- package/public/orm/models/merkleStoreModule.js +104 -0
- package/public/orm/models/namespaceModule.d.ts +54 -0
- package/public/orm/models/namespaceModule.js +104 -0
- package/public/orm/models/orgLimitEvent.d.ts +26 -2
- package/public/orm/models/orgLimitEvent.js +45 -0
- package/public/orm/models/storageLogModule.d.ts +54 -0
- package/public/orm/models/storageLogModule.js +104 -0
- package/public/orm/models/transferLogModule.d.ts +54 -0
- package/public/orm/models/transferLogModule.js +104 -0
- package/public/orm/mutation/index.d.ts +69 -133
- package/public/orm/mutation/index.js +78 -174
- package/public/orm/query/index.d.ts +22 -71
- package/public/orm/query/index.js +36 -124
- package/admin/cli/commands/usage-snapshot.js +0 -316
- package/admin/orm/models/usageSnapshot.d.ts +0 -54
- package/auth/orm/models/auditLog.d.ts +0 -54
- package/esm/admin/cli/commands/usage-snapshot.js +0 -314
- package/esm/admin/orm/models/usageSnapshot.d.ts +0 -54
- package/esm/auth/orm/models/auditLog.d.ts +0 -54
- package/esm/public/cli/commands/agent-message.js +0 -324
- package/esm/public/cli/commands/agent-task.js +0 -368
- package/esm/public/cli/commands/agent-thread.js +0 -372
- package/esm/public/cli/commands/audit-log.d.ts +0 -8
- package/esm/public/cli/commands/commit.d.ts +0 -8
- package/esm/public/cli/commands/commit.js +0 -380
- package/esm/public/cli/commands/encrypted-secrets-module.d.ts +0 -8
- package/esm/public/cli/commands/freeze-objects.d.ts +0 -8
- package/esm/public/cli/commands/freeze-objects.js +0 -34
- package/esm/public/cli/commands/get-all-objects-from-root.d.ts +0 -8
- package/esm/public/cli/commands/get-all-objects-from-root.js +0 -52
- package/esm/public/cli/commands/get-all-record.d.ts +0 -8
- package/esm/public/cli/commands/get-all-record.js +0 -124
- package/esm/public/cli/commands/get-object-at-path.d.ts +0 -8
- package/esm/public/cli/commands/get-object-at-path.js +0 -47
- package/esm/public/cli/commands/get-path-objects-from-root.d.ts +0 -8
- package/esm/public/cli/commands/get-path-objects-from-root.js +0 -57
- package/esm/public/cli/commands/init-empty-repo.d.ts +0 -8
- package/esm/public/cli/commands/init-empty-repo.js +0 -34
- package/esm/public/cli/commands/insert-node-at-path.d.ts +0 -8
- package/esm/public/cli/commands/insert-node-at-path.js +0 -34
- package/esm/public/cli/commands/object.d.ts +0 -8
- package/esm/public/cli/commands/ref.d.ts +0 -8
- package/esm/public/cli/commands/ref.js +0 -290
- package/esm/public/cli/commands/remove-node-at-path.d.ts +0 -8
- package/esm/public/cli/commands/remove-node-at-path.js +0 -34
- package/esm/public/cli/commands/rev-parse.d.ts +0 -8
- package/esm/public/cli/commands/set-and-commit.d.ts +0 -8
- package/esm/public/cli/commands/set-and-commit.js +0 -34
- package/esm/public/cli/commands/set-data-at-path.d.ts +0 -8
- package/esm/public/cli/commands/set-data-at-path.js +0 -34
- package/esm/public/cli/commands/set-props-and-commit.d.ts +0 -8
- package/esm/public/cli/commands/set-props-and-commit.js +0 -34
- package/esm/public/cli/commands/store.d.ts +0 -8
- package/esm/public/cli/commands/store.js +0 -276
- package/esm/public/cli/commands/update-node-at-path.d.ts +0 -8
- package/esm/public/cli/commands/update-node-at-path.js +0 -34
- package/esm/public/cli/commands/usage-snapshot.d.ts +0 -8
- package/esm/public/cli/commands/usage-snapshot.js +0 -314
- package/esm/public/orm/models/agentMessage.d.ts +0 -54
- package/esm/public/orm/models/agentTask.d.ts +0 -54
- package/esm/public/orm/models/agentThread.d.ts +0 -54
- package/esm/public/orm/models/auditLog.d.ts +0 -54
- package/esm/public/orm/models/commit.d.ts +0 -54
- package/esm/public/orm/models/encryptedSecretsModule.d.ts +0 -54
- package/esm/public/orm/models/getAllRecord.d.ts +0 -30
- package/esm/public/orm/models/getAllRecord.js +0 -55
- package/esm/public/orm/models/object.d.ts +0 -54
- package/esm/public/orm/models/object.js +0 -90
- package/esm/public/orm/models/ref.d.ts +0 -54
- package/esm/public/orm/models/ref.js +0 -100
- package/esm/public/orm/models/store.d.ts +0 -54
- package/esm/public/orm/models/usageSnapshot.d.ts +0 -54
- package/esm/public/orm/models/usageSnapshot.js +0 -100
- package/public/cli/commands/agent-message.d.ts +0 -8
- package/public/cli/commands/agent-message.js +0 -326
- package/public/cli/commands/agent-task.d.ts +0 -8
- package/public/cli/commands/agent-task.js +0 -370
- package/public/cli/commands/agent-thread.d.ts +0 -8
- package/public/cli/commands/agent-thread.js +0 -374
- package/public/cli/commands/audit-log.d.ts +0 -8
- package/public/cli/commands/commit.d.ts +0 -8
- package/public/cli/commands/commit.js +0 -382
- package/public/cli/commands/encrypted-secrets-module.d.ts +0 -8
- package/public/cli/commands/freeze-objects.d.ts +0 -8
- package/public/cli/commands/freeze-objects.js +0 -36
- package/public/cli/commands/get-all-objects-from-root.d.ts +0 -8
- package/public/cli/commands/get-all-objects-from-root.js +0 -54
- package/public/cli/commands/get-all-record.d.ts +0 -8
- package/public/cli/commands/get-all-record.js +0 -126
- package/public/cli/commands/get-object-at-path.d.ts +0 -8
- package/public/cli/commands/get-object-at-path.js +0 -49
- package/public/cli/commands/get-path-objects-from-root.d.ts +0 -8
- package/public/cli/commands/get-path-objects-from-root.js +0 -59
- package/public/cli/commands/init-empty-repo.d.ts +0 -8
- package/public/cli/commands/init-empty-repo.js +0 -36
- package/public/cli/commands/insert-node-at-path.d.ts +0 -8
- package/public/cli/commands/insert-node-at-path.js +0 -36
- package/public/cli/commands/object.d.ts +0 -8
- package/public/cli/commands/ref.d.ts +0 -8
- package/public/cli/commands/ref.js +0 -292
- package/public/cli/commands/remove-node-at-path.d.ts +0 -8
- package/public/cli/commands/remove-node-at-path.js +0 -36
- package/public/cli/commands/rev-parse.d.ts +0 -8
- package/public/cli/commands/set-and-commit.d.ts +0 -8
- package/public/cli/commands/set-and-commit.js +0 -36
- package/public/cli/commands/set-data-at-path.d.ts +0 -8
- package/public/cli/commands/set-data-at-path.js +0 -36
- package/public/cli/commands/set-props-and-commit.d.ts +0 -8
- package/public/cli/commands/set-props-and-commit.js +0 -36
- package/public/cli/commands/store.d.ts +0 -8
- package/public/cli/commands/store.js +0 -278
- package/public/cli/commands/update-node-at-path.d.ts +0 -8
- package/public/cli/commands/update-node-at-path.js +0 -36
- package/public/cli/commands/usage-snapshot.d.ts +0 -8
- package/public/cli/commands/usage-snapshot.js +0 -316
- package/public/orm/models/agentMessage.d.ts +0 -54
- package/public/orm/models/agentTask.d.ts +0 -54
- package/public/orm/models/agentThread.d.ts +0 -54
- package/public/orm/models/auditLog.d.ts +0 -54
- package/public/orm/models/auditLog.js +0 -104
- package/public/orm/models/commit.d.ts +0 -54
- package/public/orm/models/commit.js +0 -104
- package/public/orm/models/encryptedSecretsModule.d.ts +0 -54
- package/public/orm/models/getAllRecord.d.ts +0 -30
- package/public/orm/models/getAllRecord.js +0 -59
- package/public/orm/models/object.d.ts +0 -54
- package/public/orm/models/object.js +0 -94
- package/public/orm/models/ref.d.ts +0 -54
- package/public/orm/models/store.d.ts +0 -54
- package/public/orm/models/store.js +0 -104
- package/public/orm/models/usageSnapshot.d.ts +0 -54
|
@@ -18,10 +18,13 @@ const fieldSchema = {
|
|
|
18
18
|
hasLimits: 'boolean',
|
|
19
19
|
hasProfiles: 'boolean',
|
|
20
20
|
hasLevels: 'boolean',
|
|
21
|
-
hasStorage: 'boolean',
|
|
22
21
|
hasInvites: 'boolean',
|
|
23
22
|
hasInviteAchievements: 'boolean',
|
|
24
|
-
|
|
23
|
+
storage: 'json',
|
|
24
|
+
namespaces: 'json',
|
|
25
|
+
functions: 'json',
|
|
26
|
+
graphs: 'json',
|
|
27
|
+
agents: 'json',
|
|
25
28
|
skipEntityPolicies: 'boolean',
|
|
26
29
|
tableProvision: 'json',
|
|
27
30
|
outMembershipType: 'int',
|
|
@@ -33,6 +36,19 @@ const fieldSchema = {
|
|
|
33
36
|
outFilesTableId: 'uuid',
|
|
34
37
|
outPathSharesTableId: 'uuid',
|
|
35
38
|
outInvitesModuleId: 'uuid',
|
|
39
|
+
outNamespaceModuleId: 'uuid',
|
|
40
|
+
outNamespacesTableId: 'uuid',
|
|
41
|
+
outNamespaceEventsTableId: 'uuid',
|
|
42
|
+
outFunctionModuleId: 'uuid',
|
|
43
|
+
outDefinitionsTableId: 'uuid',
|
|
44
|
+
outInvocationsTableId: 'uuid',
|
|
45
|
+
outExecutionLogsTableId: 'uuid',
|
|
46
|
+
outSecretDefinitionsTableId: 'uuid',
|
|
47
|
+
outRequirementsTableId: 'uuid',
|
|
48
|
+
outConfigRequirementsTableId: 'uuid',
|
|
49
|
+
outGraphModuleId: 'uuid',
|
|
50
|
+
outGraphsTableId: 'uuid',
|
|
51
|
+
outAgentModuleId: 'uuid',
|
|
36
52
|
};
|
|
37
53
|
const usage = '\nentity-type-provision <command>\n\nCommands:\n list List entityTypeProvision records\n find-first Find first matching entityTypeProvision record\n get Get a entityTypeProvision by ID\n create Create a new entityTypeProvision\n update Update an existing entityTypeProvision\n delete Delete a entityTypeProvision\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';
|
|
38
54
|
export default async (argv, prompter, _options) => {
|
|
@@ -87,10 +103,13 @@ async function handleList(argv, _prompter) {
|
|
|
87
103
|
hasLimits: true,
|
|
88
104
|
hasProfiles: true,
|
|
89
105
|
hasLevels: true,
|
|
90
|
-
hasStorage: true,
|
|
91
106
|
hasInvites: true,
|
|
92
107
|
hasInviteAchievements: true,
|
|
93
|
-
|
|
108
|
+
storage: true,
|
|
109
|
+
namespaces: true,
|
|
110
|
+
functions: true,
|
|
111
|
+
graphs: true,
|
|
112
|
+
agents: true,
|
|
94
113
|
skipEntityPolicies: true,
|
|
95
114
|
tableProvision: true,
|
|
96
115
|
outMembershipType: true,
|
|
@@ -102,6 +121,19 @@ async function handleList(argv, _prompter) {
|
|
|
102
121
|
outFilesTableId: true,
|
|
103
122
|
outPathSharesTableId: true,
|
|
104
123
|
outInvitesModuleId: true,
|
|
124
|
+
outNamespaceModuleId: true,
|
|
125
|
+
outNamespacesTableId: true,
|
|
126
|
+
outNamespaceEventsTableId: true,
|
|
127
|
+
outFunctionModuleId: true,
|
|
128
|
+
outDefinitionsTableId: true,
|
|
129
|
+
outInvocationsTableId: true,
|
|
130
|
+
outExecutionLogsTableId: true,
|
|
131
|
+
outSecretDefinitionsTableId: true,
|
|
132
|
+
outRequirementsTableId: true,
|
|
133
|
+
outConfigRequirementsTableId: true,
|
|
134
|
+
outGraphModuleId: true,
|
|
135
|
+
outGraphsTableId: true,
|
|
136
|
+
outAgentModuleId: true,
|
|
105
137
|
};
|
|
106
138
|
const findManyArgs = parseFindManyArgs(argv, defaultSelect);
|
|
107
139
|
const client = getClient();
|
|
@@ -130,10 +162,13 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
130
162
|
hasLimits: true,
|
|
131
163
|
hasProfiles: true,
|
|
132
164
|
hasLevels: true,
|
|
133
|
-
hasStorage: true,
|
|
134
165
|
hasInvites: true,
|
|
135
166
|
hasInviteAchievements: true,
|
|
136
|
-
|
|
167
|
+
storage: true,
|
|
168
|
+
namespaces: true,
|
|
169
|
+
functions: true,
|
|
170
|
+
graphs: true,
|
|
171
|
+
agents: true,
|
|
137
172
|
skipEntityPolicies: true,
|
|
138
173
|
tableProvision: true,
|
|
139
174
|
outMembershipType: true,
|
|
@@ -145,6 +180,19 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
145
180
|
outFilesTableId: true,
|
|
146
181
|
outPathSharesTableId: true,
|
|
147
182
|
outInvitesModuleId: true,
|
|
183
|
+
outNamespaceModuleId: true,
|
|
184
|
+
outNamespacesTableId: true,
|
|
185
|
+
outNamespaceEventsTableId: true,
|
|
186
|
+
outFunctionModuleId: true,
|
|
187
|
+
outDefinitionsTableId: true,
|
|
188
|
+
outInvocationsTableId: true,
|
|
189
|
+
outExecutionLogsTableId: true,
|
|
190
|
+
outSecretDefinitionsTableId: true,
|
|
191
|
+
outRequirementsTableId: true,
|
|
192
|
+
outConfigRequirementsTableId: true,
|
|
193
|
+
outGraphModuleId: true,
|
|
194
|
+
outGraphsTableId: true,
|
|
195
|
+
outAgentModuleId: true,
|
|
148
196
|
};
|
|
149
197
|
const findFirstArgs = parseFindFirstArgs(argv, defaultSelect);
|
|
150
198
|
const client = getClient();
|
|
@@ -185,10 +233,13 @@ async function handleGet(argv, prompter) {
|
|
|
185
233
|
hasLimits: true,
|
|
186
234
|
hasProfiles: true,
|
|
187
235
|
hasLevels: true,
|
|
188
|
-
hasStorage: true,
|
|
189
236
|
hasInvites: true,
|
|
190
237
|
hasInviteAchievements: true,
|
|
191
|
-
|
|
238
|
+
storage: true,
|
|
239
|
+
namespaces: true,
|
|
240
|
+
functions: true,
|
|
241
|
+
graphs: true,
|
|
242
|
+
agents: true,
|
|
192
243
|
skipEntityPolicies: true,
|
|
193
244
|
tableProvision: true,
|
|
194
245
|
outMembershipType: true,
|
|
@@ -200,6 +251,19 @@ async function handleGet(argv, prompter) {
|
|
|
200
251
|
outFilesTableId: true,
|
|
201
252
|
outPathSharesTableId: true,
|
|
202
253
|
outInvitesModuleId: true,
|
|
254
|
+
outNamespaceModuleId: true,
|
|
255
|
+
outNamespacesTableId: true,
|
|
256
|
+
outNamespaceEventsTableId: true,
|
|
257
|
+
outFunctionModuleId: true,
|
|
258
|
+
outDefinitionsTableId: true,
|
|
259
|
+
outInvocationsTableId: true,
|
|
260
|
+
outExecutionLogsTableId: true,
|
|
261
|
+
outSecretDefinitionsTableId: true,
|
|
262
|
+
outRequirementsTableId: true,
|
|
263
|
+
outConfigRequirementsTableId: true,
|
|
264
|
+
outGraphModuleId: true,
|
|
265
|
+
outGraphsTableId: true,
|
|
266
|
+
outAgentModuleId: true,
|
|
203
267
|
},
|
|
204
268
|
})
|
|
205
269
|
.execute();
|
|
@@ -283,13 +347,6 @@ async function handleCreate(argv, prompter) {
|
|
|
283
347
|
required: false,
|
|
284
348
|
skipPrompt: true,
|
|
285
349
|
},
|
|
286
|
-
{
|
|
287
|
-
type: 'boolean',
|
|
288
|
-
name: 'hasStorage',
|
|
289
|
-
message: 'hasStorage',
|
|
290
|
-
required: false,
|
|
291
|
-
skipPrompt: true,
|
|
292
|
-
},
|
|
293
350
|
{
|
|
294
351
|
type: 'boolean',
|
|
295
352
|
name: 'hasInvites',
|
|
@@ -306,8 +363,36 @@ async function handleCreate(argv, prompter) {
|
|
|
306
363
|
},
|
|
307
364
|
{
|
|
308
365
|
type: 'json',
|
|
309
|
-
name: '
|
|
310
|
-
message: '
|
|
366
|
+
name: 'storage',
|
|
367
|
+
message: 'storage',
|
|
368
|
+
required: false,
|
|
369
|
+
skipPrompt: true,
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
type: 'json',
|
|
373
|
+
name: 'namespaces',
|
|
374
|
+
message: 'namespaces',
|
|
375
|
+
required: false,
|
|
376
|
+
skipPrompt: true,
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
type: 'json',
|
|
380
|
+
name: 'functions',
|
|
381
|
+
message: 'functions',
|
|
382
|
+
required: false,
|
|
383
|
+
skipPrompt: true,
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
type: 'json',
|
|
387
|
+
name: 'graphs',
|
|
388
|
+
message: 'graphs',
|
|
389
|
+
required: false,
|
|
390
|
+
skipPrompt: true,
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
type: 'json',
|
|
394
|
+
name: 'agents',
|
|
395
|
+
message: 'agents',
|
|
311
396
|
required: false,
|
|
312
397
|
skipPrompt: true,
|
|
313
398
|
},
|
|
@@ -388,6 +473,97 @@ async function handleCreate(argv, prompter) {
|
|
|
388
473
|
required: false,
|
|
389
474
|
skipPrompt: true,
|
|
390
475
|
},
|
|
476
|
+
{
|
|
477
|
+
type: 'text',
|
|
478
|
+
name: 'outNamespaceModuleId',
|
|
479
|
+
message: 'outNamespaceModuleId',
|
|
480
|
+
required: false,
|
|
481
|
+
skipPrompt: true,
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
type: 'text',
|
|
485
|
+
name: 'outNamespacesTableId',
|
|
486
|
+
message: 'outNamespacesTableId',
|
|
487
|
+
required: false,
|
|
488
|
+
skipPrompt: true,
|
|
489
|
+
},
|
|
490
|
+
{
|
|
491
|
+
type: 'text',
|
|
492
|
+
name: 'outNamespaceEventsTableId',
|
|
493
|
+
message: 'outNamespaceEventsTableId',
|
|
494
|
+
required: false,
|
|
495
|
+
skipPrompt: true,
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
type: 'text',
|
|
499
|
+
name: 'outFunctionModuleId',
|
|
500
|
+
message: 'outFunctionModuleId',
|
|
501
|
+
required: false,
|
|
502
|
+
skipPrompt: true,
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
type: 'text',
|
|
506
|
+
name: 'outDefinitionsTableId',
|
|
507
|
+
message: 'outDefinitionsTableId',
|
|
508
|
+
required: false,
|
|
509
|
+
skipPrompt: true,
|
|
510
|
+
},
|
|
511
|
+
{
|
|
512
|
+
type: 'text',
|
|
513
|
+
name: 'outInvocationsTableId',
|
|
514
|
+
message: 'outInvocationsTableId',
|
|
515
|
+
required: false,
|
|
516
|
+
skipPrompt: true,
|
|
517
|
+
},
|
|
518
|
+
{
|
|
519
|
+
type: 'text',
|
|
520
|
+
name: 'outExecutionLogsTableId',
|
|
521
|
+
message: 'outExecutionLogsTableId',
|
|
522
|
+
required: false,
|
|
523
|
+
skipPrompt: true,
|
|
524
|
+
},
|
|
525
|
+
{
|
|
526
|
+
type: 'text',
|
|
527
|
+
name: 'outSecretDefinitionsTableId',
|
|
528
|
+
message: 'outSecretDefinitionsTableId',
|
|
529
|
+
required: false,
|
|
530
|
+
skipPrompt: true,
|
|
531
|
+
},
|
|
532
|
+
{
|
|
533
|
+
type: 'text',
|
|
534
|
+
name: 'outRequirementsTableId',
|
|
535
|
+
message: 'outRequirementsTableId',
|
|
536
|
+
required: false,
|
|
537
|
+
skipPrompt: true,
|
|
538
|
+
},
|
|
539
|
+
{
|
|
540
|
+
type: 'text',
|
|
541
|
+
name: 'outConfigRequirementsTableId',
|
|
542
|
+
message: 'outConfigRequirementsTableId',
|
|
543
|
+
required: false,
|
|
544
|
+
skipPrompt: true,
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
type: 'text',
|
|
548
|
+
name: 'outGraphModuleId',
|
|
549
|
+
message: 'outGraphModuleId',
|
|
550
|
+
required: false,
|
|
551
|
+
skipPrompt: true,
|
|
552
|
+
},
|
|
553
|
+
{
|
|
554
|
+
type: 'text',
|
|
555
|
+
name: 'outGraphsTableId',
|
|
556
|
+
message: 'outGraphsTableId',
|
|
557
|
+
required: false,
|
|
558
|
+
skipPrompt: true,
|
|
559
|
+
},
|
|
560
|
+
{
|
|
561
|
+
type: 'text',
|
|
562
|
+
name: 'outAgentModuleId',
|
|
563
|
+
message: 'outAgentModuleId',
|
|
564
|
+
required: false,
|
|
565
|
+
skipPrompt: true,
|
|
566
|
+
},
|
|
391
567
|
]);
|
|
392
568
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
393
569
|
const cleanedData = stripUndefined(answers, fieldSchema);
|
|
@@ -405,10 +581,13 @@ async function handleCreate(argv, prompter) {
|
|
|
405
581
|
hasLimits: cleanedData.hasLimits,
|
|
406
582
|
hasProfiles: cleanedData.hasProfiles,
|
|
407
583
|
hasLevels: cleanedData.hasLevels,
|
|
408
|
-
hasStorage: cleanedData.hasStorage,
|
|
409
584
|
hasInvites: cleanedData.hasInvites,
|
|
410
585
|
hasInviteAchievements: cleanedData.hasInviteAchievements,
|
|
411
|
-
|
|
586
|
+
storage: cleanedData.storage,
|
|
587
|
+
namespaces: cleanedData.namespaces,
|
|
588
|
+
functions: cleanedData.functions,
|
|
589
|
+
graphs: cleanedData.graphs,
|
|
590
|
+
agents: cleanedData.agents,
|
|
412
591
|
skipEntityPolicies: cleanedData.skipEntityPolicies,
|
|
413
592
|
tableProvision: cleanedData.tableProvision,
|
|
414
593
|
outMembershipType: cleanedData.outMembershipType,
|
|
@@ -420,6 +599,19 @@ async function handleCreate(argv, prompter) {
|
|
|
420
599
|
outFilesTableId: cleanedData.outFilesTableId,
|
|
421
600
|
outPathSharesTableId: cleanedData.outPathSharesTableId,
|
|
422
601
|
outInvitesModuleId: cleanedData.outInvitesModuleId,
|
|
602
|
+
outNamespaceModuleId: cleanedData.outNamespaceModuleId,
|
|
603
|
+
outNamespacesTableId: cleanedData.outNamespacesTableId,
|
|
604
|
+
outNamespaceEventsTableId: cleanedData.outNamespaceEventsTableId,
|
|
605
|
+
outFunctionModuleId: cleanedData.outFunctionModuleId,
|
|
606
|
+
outDefinitionsTableId: cleanedData.outDefinitionsTableId,
|
|
607
|
+
outInvocationsTableId: cleanedData.outInvocationsTableId,
|
|
608
|
+
outExecutionLogsTableId: cleanedData.outExecutionLogsTableId,
|
|
609
|
+
outSecretDefinitionsTableId: cleanedData.outSecretDefinitionsTableId,
|
|
610
|
+
outRequirementsTableId: cleanedData.outRequirementsTableId,
|
|
611
|
+
outConfigRequirementsTableId: cleanedData.outConfigRequirementsTableId,
|
|
612
|
+
outGraphModuleId: cleanedData.outGraphModuleId,
|
|
613
|
+
outGraphsTableId: cleanedData.outGraphsTableId,
|
|
614
|
+
outAgentModuleId: cleanedData.outAgentModuleId,
|
|
423
615
|
},
|
|
424
616
|
select: {
|
|
425
617
|
id: true,
|
|
@@ -433,10 +625,13 @@ async function handleCreate(argv, prompter) {
|
|
|
433
625
|
hasLimits: true,
|
|
434
626
|
hasProfiles: true,
|
|
435
627
|
hasLevels: true,
|
|
436
|
-
hasStorage: true,
|
|
437
628
|
hasInvites: true,
|
|
438
629
|
hasInviteAchievements: true,
|
|
439
|
-
|
|
630
|
+
storage: true,
|
|
631
|
+
namespaces: true,
|
|
632
|
+
functions: true,
|
|
633
|
+
graphs: true,
|
|
634
|
+
agents: true,
|
|
440
635
|
skipEntityPolicies: true,
|
|
441
636
|
tableProvision: true,
|
|
442
637
|
outMembershipType: true,
|
|
@@ -448,6 +643,19 @@ async function handleCreate(argv, prompter) {
|
|
|
448
643
|
outFilesTableId: true,
|
|
449
644
|
outPathSharesTableId: true,
|
|
450
645
|
outInvitesModuleId: true,
|
|
646
|
+
outNamespaceModuleId: true,
|
|
647
|
+
outNamespacesTableId: true,
|
|
648
|
+
outNamespaceEventsTableId: true,
|
|
649
|
+
outFunctionModuleId: true,
|
|
650
|
+
outDefinitionsTableId: true,
|
|
651
|
+
outInvocationsTableId: true,
|
|
652
|
+
outExecutionLogsTableId: true,
|
|
653
|
+
outSecretDefinitionsTableId: true,
|
|
654
|
+
outRequirementsTableId: true,
|
|
655
|
+
outConfigRequirementsTableId: true,
|
|
656
|
+
outGraphModuleId: true,
|
|
657
|
+
outGraphsTableId: true,
|
|
658
|
+
outAgentModuleId: true,
|
|
451
659
|
},
|
|
452
660
|
})
|
|
453
661
|
.execute();
|
|
@@ -537,13 +745,6 @@ async function handleUpdate(argv, prompter) {
|
|
|
537
745
|
required: false,
|
|
538
746
|
skipPrompt: true,
|
|
539
747
|
},
|
|
540
|
-
{
|
|
541
|
-
type: 'boolean',
|
|
542
|
-
name: 'hasStorage',
|
|
543
|
-
message: 'hasStorage',
|
|
544
|
-
required: false,
|
|
545
|
-
skipPrompt: true,
|
|
546
|
-
},
|
|
547
748
|
{
|
|
548
749
|
type: 'boolean',
|
|
549
750
|
name: 'hasInvites',
|
|
@@ -560,8 +761,36 @@ async function handleUpdate(argv, prompter) {
|
|
|
560
761
|
},
|
|
561
762
|
{
|
|
562
763
|
type: 'json',
|
|
563
|
-
name: '
|
|
564
|
-
message: '
|
|
764
|
+
name: 'storage',
|
|
765
|
+
message: 'storage',
|
|
766
|
+
required: false,
|
|
767
|
+
skipPrompt: true,
|
|
768
|
+
},
|
|
769
|
+
{
|
|
770
|
+
type: 'json',
|
|
771
|
+
name: 'namespaces',
|
|
772
|
+
message: 'namespaces',
|
|
773
|
+
required: false,
|
|
774
|
+
skipPrompt: true,
|
|
775
|
+
},
|
|
776
|
+
{
|
|
777
|
+
type: 'json',
|
|
778
|
+
name: 'functions',
|
|
779
|
+
message: 'functions',
|
|
780
|
+
required: false,
|
|
781
|
+
skipPrompt: true,
|
|
782
|
+
},
|
|
783
|
+
{
|
|
784
|
+
type: 'json',
|
|
785
|
+
name: 'graphs',
|
|
786
|
+
message: 'graphs',
|
|
787
|
+
required: false,
|
|
788
|
+
skipPrompt: true,
|
|
789
|
+
},
|
|
790
|
+
{
|
|
791
|
+
type: 'json',
|
|
792
|
+
name: 'agents',
|
|
793
|
+
message: 'agents',
|
|
565
794
|
required: false,
|
|
566
795
|
skipPrompt: true,
|
|
567
796
|
},
|
|
@@ -642,6 +871,97 @@ async function handleUpdate(argv, prompter) {
|
|
|
642
871
|
required: false,
|
|
643
872
|
skipPrompt: true,
|
|
644
873
|
},
|
|
874
|
+
{
|
|
875
|
+
type: 'text',
|
|
876
|
+
name: 'outNamespaceModuleId',
|
|
877
|
+
message: 'outNamespaceModuleId',
|
|
878
|
+
required: false,
|
|
879
|
+
skipPrompt: true,
|
|
880
|
+
},
|
|
881
|
+
{
|
|
882
|
+
type: 'text',
|
|
883
|
+
name: 'outNamespacesTableId',
|
|
884
|
+
message: 'outNamespacesTableId',
|
|
885
|
+
required: false,
|
|
886
|
+
skipPrompt: true,
|
|
887
|
+
},
|
|
888
|
+
{
|
|
889
|
+
type: 'text',
|
|
890
|
+
name: 'outNamespaceEventsTableId',
|
|
891
|
+
message: 'outNamespaceEventsTableId',
|
|
892
|
+
required: false,
|
|
893
|
+
skipPrompt: true,
|
|
894
|
+
},
|
|
895
|
+
{
|
|
896
|
+
type: 'text',
|
|
897
|
+
name: 'outFunctionModuleId',
|
|
898
|
+
message: 'outFunctionModuleId',
|
|
899
|
+
required: false,
|
|
900
|
+
skipPrompt: true,
|
|
901
|
+
},
|
|
902
|
+
{
|
|
903
|
+
type: 'text',
|
|
904
|
+
name: 'outDefinitionsTableId',
|
|
905
|
+
message: 'outDefinitionsTableId',
|
|
906
|
+
required: false,
|
|
907
|
+
skipPrompt: true,
|
|
908
|
+
},
|
|
909
|
+
{
|
|
910
|
+
type: 'text',
|
|
911
|
+
name: 'outInvocationsTableId',
|
|
912
|
+
message: 'outInvocationsTableId',
|
|
913
|
+
required: false,
|
|
914
|
+
skipPrompt: true,
|
|
915
|
+
},
|
|
916
|
+
{
|
|
917
|
+
type: 'text',
|
|
918
|
+
name: 'outExecutionLogsTableId',
|
|
919
|
+
message: 'outExecutionLogsTableId',
|
|
920
|
+
required: false,
|
|
921
|
+
skipPrompt: true,
|
|
922
|
+
},
|
|
923
|
+
{
|
|
924
|
+
type: 'text',
|
|
925
|
+
name: 'outSecretDefinitionsTableId',
|
|
926
|
+
message: 'outSecretDefinitionsTableId',
|
|
927
|
+
required: false,
|
|
928
|
+
skipPrompt: true,
|
|
929
|
+
},
|
|
930
|
+
{
|
|
931
|
+
type: 'text',
|
|
932
|
+
name: 'outRequirementsTableId',
|
|
933
|
+
message: 'outRequirementsTableId',
|
|
934
|
+
required: false,
|
|
935
|
+
skipPrompt: true,
|
|
936
|
+
},
|
|
937
|
+
{
|
|
938
|
+
type: 'text',
|
|
939
|
+
name: 'outConfigRequirementsTableId',
|
|
940
|
+
message: 'outConfigRequirementsTableId',
|
|
941
|
+
required: false,
|
|
942
|
+
skipPrompt: true,
|
|
943
|
+
},
|
|
944
|
+
{
|
|
945
|
+
type: 'text',
|
|
946
|
+
name: 'outGraphModuleId',
|
|
947
|
+
message: 'outGraphModuleId',
|
|
948
|
+
required: false,
|
|
949
|
+
skipPrompt: true,
|
|
950
|
+
},
|
|
951
|
+
{
|
|
952
|
+
type: 'text',
|
|
953
|
+
name: 'outGraphsTableId',
|
|
954
|
+
message: 'outGraphsTableId',
|
|
955
|
+
required: false,
|
|
956
|
+
skipPrompt: true,
|
|
957
|
+
},
|
|
958
|
+
{
|
|
959
|
+
type: 'text',
|
|
960
|
+
name: 'outAgentModuleId',
|
|
961
|
+
message: 'outAgentModuleId',
|
|
962
|
+
required: false,
|
|
963
|
+
skipPrompt: true,
|
|
964
|
+
},
|
|
645
965
|
]);
|
|
646
966
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
647
967
|
const cleanedData = stripUndefined(answers, fieldSchema);
|
|
@@ -662,10 +982,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
662
982
|
hasLimits: cleanedData.hasLimits,
|
|
663
983
|
hasProfiles: cleanedData.hasProfiles,
|
|
664
984
|
hasLevels: cleanedData.hasLevels,
|
|
665
|
-
hasStorage: cleanedData.hasStorage,
|
|
666
985
|
hasInvites: cleanedData.hasInvites,
|
|
667
986
|
hasInviteAchievements: cleanedData.hasInviteAchievements,
|
|
668
|
-
|
|
987
|
+
storage: cleanedData.storage,
|
|
988
|
+
namespaces: cleanedData.namespaces,
|
|
989
|
+
functions: cleanedData.functions,
|
|
990
|
+
graphs: cleanedData.graphs,
|
|
991
|
+
agents: cleanedData.agents,
|
|
669
992
|
skipEntityPolicies: cleanedData.skipEntityPolicies,
|
|
670
993
|
tableProvision: cleanedData.tableProvision,
|
|
671
994
|
outMembershipType: cleanedData.outMembershipType,
|
|
@@ -677,6 +1000,19 @@ async function handleUpdate(argv, prompter) {
|
|
|
677
1000
|
outFilesTableId: cleanedData.outFilesTableId,
|
|
678
1001
|
outPathSharesTableId: cleanedData.outPathSharesTableId,
|
|
679
1002
|
outInvitesModuleId: cleanedData.outInvitesModuleId,
|
|
1003
|
+
outNamespaceModuleId: cleanedData.outNamespaceModuleId,
|
|
1004
|
+
outNamespacesTableId: cleanedData.outNamespacesTableId,
|
|
1005
|
+
outNamespaceEventsTableId: cleanedData.outNamespaceEventsTableId,
|
|
1006
|
+
outFunctionModuleId: cleanedData.outFunctionModuleId,
|
|
1007
|
+
outDefinitionsTableId: cleanedData.outDefinitionsTableId,
|
|
1008
|
+
outInvocationsTableId: cleanedData.outInvocationsTableId,
|
|
1009
|
+
outExecutionLogsTableId: cleanedData.outExecutionLogsTableId,
|
|
1010
|
+
outSecretDefinitionsTableId: cleanedData.outSecretDefinitionsTableId,
|
|
1011
|
+
outRequirementsTableId: cleanedData.outRequirementsTableId,
|
|
1012
|
+
outConfigRequirementsTableId: cleanedData.outConfigRequirementsTableId,
|
|
1013
|
+
outGraphModuleId: cleanedData.outGraphModuleId,
|
|
1014
|
+
outGraphsTableId: cleanedData.outGraphsTableId,
|
|
1015
|
+
outAgentModuleId: cleanedData.outAgentModuleId,
|
|
680
1016
|
},
|
|
681
1017
|
select: {
|
|
682
1018
|
id: true,
|
|
@@ -690,10 +1026,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
690
1026
|
hasLimits: true,
|
|
691
1027
|
hasProfiles: true,
|
|
692
1028
|
hasLevels: true,
|
|
693
|
-
hasStorage: true,
|
|
694
1029
|
hasInvites: true,
|
|
695
1030
|
hasInviteAchievements: true,
|
|
696
|
-
|
|
1031
|
+
storage: true,
|
|
1032
|
+
namespaces: true,
|
|
1033
|
+
functions: true,
|
|
1034
|
+
graphs: true,
|
|
1035
|
+
agents: true,
|
|
697
1036
|
skipEntityPolicies: true,
|
|
698
1037
|
tableProvision: true,
|
|
699
1038
|
outMembershipType: true,
|
|
@@ -705,6 +1044,19 @@ async function handleUpdate(argv, prompter) {
|
|
|
705
1044
|
outFilesTableId: true,
|
|
706
1045
|
outPathSharesTableId: true,
|
|
707
1046
|
outInvitesModuleId: true,
|
|
1047
|
+
outNamespaceModuleId: true,
|
|
1048
|
+
outNamespacesTableId: true,
|
|
1049
|
+
outNamespaceEventsTableId: true,
|
|
1050
|
+
outFunctionModuleId: true,
|
|
1051
|
+
outDefinitionsTableId: true,
|
|
1052
|
+
outInvocationsTableId: true,
|
|
1053
|
+
outExecutionLogsTableId: true,
|
|
1054
|
+
outSecretDefinitionsTableId: true,
|
|
1055
|
+
outRequirementsTableId: true,
|
|
1056
|
+
outConfigRequirementsTableId: true,
|
|
1057
|
+
outGraphModuleId: true,
|
|
1058
|
+
outGraphsTableId: true,
|
|
1059
|
+
outAgentModuleId: true,
|
|
708
1060
|
},
|
|
709
1061
|
})
|
|
710
1062
|
.execute();
|
|
@@ -16,9 +16,8 @@ const fieldSchema = {
|
|
|
16
16
|
smartTags: 'json',
|
|
17
17
|
isRequired: 'boolean',
|
|
18
18
|
apiRequired: 'boolean',
|
|
19
|
-
defaultValue: '
|
|
20
|
-
|
|
21
|
-
type: 'string',
|
|
19
|
+
defaultValue: 'json',
|
|
20
|
+
type: 'json',
|
|
22
21
|
fieldOrder: 'int',
|
|
23
22
|
regexp: 'string',
|
|
24
23
|
chk: 'json',
|
|
@@ -84,7 +83,6 @@ async function handleList(argv, _prompter) {
|
|
|
84
83
|
isRequired: true,
|
|
85
84
|
apiRequired: true,
|
|
86
85
|
defaultValue: true,
|
|
87
|
-
defaultValueAst: true,
|
|
88
86
|
type: true,
|
|
89
87
|
fieldOrder: true,
|
|
90
88
|
regexp: true,
|
|
@@ -125,7 +123,6 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
125
123
|
isRequired: true,
|
|
126
124
|
apiRequired: true,
|
|
127
125
|
defaultValue: true,
|
|
128
|
-
defaultValueAst: true,
|
|
129
126
|
type: true,
|
|
130
127
|
fieldOrder: true,
|
|
131
128
|
regexp: true,
|
|
@@ -178,7 +175,6 @@ async function handleGet(argv, prompter) {
|
|
|
178
175
|
isRequired: true,
|
|
179
176
|
apiRequired: true,
|
|
180
177
|
defaultValue: true,
|
|
181
|
-
defaultValueAst: true,
|
|
182
178
|
type: true,
|
|
183
179
|
fieldOrder: true,
|
|
184
180
|
regexp: true,
|
|
@@ -263,7 +259,7 @@ async function handleCreate(argv, prompter) {
|
|
|
263
259
|
skipPrompt: true,
|
|
264
260
|
},
|
|
265
261
|
{
|
|
266
|
-
type: '
|
|
262
|
+
type: 'json',
|
|
267
263
|
name: 'defaultValue',
|
|
268
264
|
message: 'defaultValue',
|
|
269
265
|
required: false,
|
|
@@ -271,13 +267,6 @@ async function handleCreate(argv, prompter) {
|
|
|
271
267
|
},
|
|
272
268
|
{
|
|
273
269
|
type: 'json',
|
|
274
|
-
name: 'defaultValueAst',
|
|
275
|
-
message: 'defaultValueAst',
|
|
276
|
-
required: false,
|
|
277
|
-
skipPrompt: true,
|
|
278
|
-
},
|
|
279
|
-
{
|
|
280
|
-
type: 'text',
|
|
281
270
|
name: 'type',
|
|
282
271
|
message: 'type',
|
|
283
272
|
required: true,
|
|
@@ -368,7 +357,6 @@ async function handleCreate(argv, prompter) {
|
|
|
368
357
|
isRequired: cleanedData.isRequired,
|
|
369
358
|
apiRequired: cleanedData.apiRequired,
|
|
370
359
|
defaultValue: cleanedData.defaultValue,
|
|
371
|
-
defaultValueAst: cleanedData.defaultValueAst,
|
|
372
360
|
type: cleanedData.type,
|
|
373
361
|
fieldOrder: cleanedData.fieldOrder,
|
|
374
362
|
regexp: cleanedData.regexp,
|
|
@@ -392,7 +380,6 @@ async function handleCreate(argv, prompter) {
|
|
|
392
380
|
isRequired: true,
|
|
393
381
|
apiRequired: true,
|
|
394
382
|
defaultValue: true,
|
|
395
|
-
defaultValueAst: true,
|
|
396
383
|
type: true,
|
|
397
384
|
fieldOrder: true,
|
|
398
385
|
regexp: true,
|
|
@@ -483,7 +470,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
483
470
|
skipPrompt: true,
|
|
484
471
|
},
|
|
485
472
|
{
|
|
486
|
-
type: '
|
|
473
|
+
type: 'json',
|
|
487
474
|
name: 'defaultValue',
|
|
488
475
|
message: 'defaultValue',
|
|
489
476
|
required: false,
|
|
@@ -491,13 +478,6 @@ async function handleUpdate(argv, prompter) {
|
|
|
491
478
|
},
|
|
492
479
|
{
|
|
493
480
|
type: 'json',
|
|
494
|
-
name: 'defaultValueAst',
|
|
495
|
-
message: 'defaultValueAst',
|
|
496
|
-
required: false,
|
|
497
|
-
skipPrompt: true,
|
|
498
|
-
},
|
|
499
|
-
{
|
|
500
|
-
type: 'text',
|
|
501
481
|
name: 'type',
|
|
502
482
|
message: 'type',
|
|
503
483
|
required: false,
|
|
@@ -591,7 +571,6 @@ async function handleUpdate(argv, prompter) {
|
|
|
591
571
|
isRequired: cleanedData.isRequired,
|
|
592
572
|
apiRequired: cleanedData.apiRequired,
|
|
593
573
|
defaultValue: cleanedData.defaultValue,
|
|
594
|
-
defaultValueAst: cleanedData.defaultValueAst,
|
|
595
574
|
type: cleanedData.type,
|
|
596
575
|
fieldOrder: cleanedData.fieldOrder,
|
|
597
576
|
regexp: cleanedData.regexp,
|
|
@@ -615,7 +594,6 @@ async function handleUpdate(argv, prompter) {
|
|
|
615
594
|
isRequired: true,
|
|
616
595
|
apiRequired: true,
|
|
617
596
|
defaultValue: true,
|
|
618
|
-
defaultValueAst: true,
|
|
619
597
|
type: true,
|
|
620
598
|
fieldOrder: true,
|
|
621
599
|
regexp: true,
|