@constructive-sdk/cli 0.23.2 → 0.24.0
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/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
package/public/cli/commands.js
CHANGED
|
@@ -14,10 +14,8 @@ const context_1 = __importDefault(require("./commands/context"));
|
|
|
14
14
|
const auth_1 = __importDefault(require("./commands/auth"));
|
|
15
15
|
const org_get_managers_record_1 = __importDefault(require("./commands/org-get-managers-record"));
|
|
16
16
|
const org_get_subordinates_record_1 = __importDefault(require("./commands/org-get-subordinates-record"));
|
|
17
|
-
const get_all_record_1 = __importDefault(require("./commands/get-all-record"));
|
|
18
17
|
const app_permission_1 = __importDefault(require("./commands/app-permission"));
|
|
19
18
|
const org_permission_1 = __importDefault(require("./commands/org-permission"));
|
|
20
|
-
const object_1 = __importDefault(require("./commands/object"));
|
|
21
19
|
const database_1 = __importDefault(require("./commands/database"));
|
|
22
20
|
const schema_1 = __importDefault(require("./commands/schema"));
|
|
23
21
|
const table_1 = __importDefault(require("./commands/table"));
|
|
@@ -42,6 +40,7 @@ const relation_provision_1 = __importDefault(require("./commands/relation-provis
|
|
|
42
40
|
const session_secrets_module_1 = __importDefault(require("./commands/session-secrets-module"));
|
|
43
41
|
const identity_providers_module_1 = __importDefault(require("./commands/identity-providers-module"));
|
|
44
42
|
const realtime_module_1 = __importDefault(require("./commands/realtime-module"));
|
|
43
|
+
const config_secrets_org_module_1 = __importDefault(require("./commands/config-secrets-org-module"));
|
|
45
44
|
const schema_grant_1 = __importDefault(require("./commands/schema-grant"));
|
|
46
45
|
const default_privilege_1 = __importDefault(require("./commands/default-privilege"));
|
|
47
46
|
const enum_1 = __importDefault(require("./commands/enum"));
|
|
@@ -53,9 +52,11 @@ const site_metadatum_1 = __importDefault(require("./commands/site-metadatum"));
|
|
|
53
52
|
const site_module_1 = __importDefault(require("./commands/site-module"));
|
|
54
53
|
const site_theme_1 = __importDefault(require("./commands/site-theme"));
|
|
55
54
|
const cors_setting_1 = __importDefault(require("./commands/cors-setting"));
|
|
55
|
+
const merkle_store_module_1 = __importDefault(require("./commands/merkle-store-module"));
|
|
56
|
+
const graph_module_1 = __importDefault(require("./commands/graph-module"));
|
|
56
57
|
const trigger_function_1 = __importDefault(require("./commands/trigger-function"));
|
|
57
|
-
const database_transfer_1 = __importDefault(require("./commands/database-transfer"));
|
|
58
58
|
const partition_1 = __importDefault(require("./commands/partition"));
|
|
59
|
+
const database_transfer_1 = __importDefault(require("./commands/database-transfer"));
|
|
59
60
|
const api_1 = __importDefault(require("./commands/api"));
|
|
60
61
|
const site_1 = __importDefault(require("./commands/site"));
|
|
61
62
|
const app_1 = __importDefault(require("./commands/app"));
|
|
@@ -66,7 +67,7 @@ const crypto_auth_module_1 = __importDefault(require("./commands/crypto-auth-mod
|
|
|
66
67
|
const default_ids_module_1 = __importDefault(require("./commands/default-ids-module"));
|
|
67
68
|
const denormalized_table_field_1 = __importDefault(require("./commands/denormalized-table-field"));
|
|
68
69
|
const emails_module_1 = __importDefault(require("./commands/emails-module"));
|
|
69
|
-
const
|
|
70
|
+
const config_secrets_user_module_1 = __importDefault(require("./commands/config-secrets-user-module"));
|
|
70
71
|
const invites_module_1 = __importDefault(require("./commands/invites-module"));
|
|
71
72
|
const events_module_1 = __importDefault(require("./commands/events-module"));
|
|
72
73
|
const limits_module_1 = __importDefault(require("./commands/limits-module"));
|
|
@@ -87,6 +88,14 @@ const entity_type_provision_1 = __importDefault(require("./commands/entity-type-
|
|
|
87
88
|
const webauthn_credentials_module_1 = __importDefault(require("./commands/webauthn-credentials-module"));
|
|
88
89
|
const webauthn_auth_module_1 = __importDefault(require("./commands/webauthn-auth-module"));
|
|
89
90
|
const notifications_module_1 = __importDefault(require("./commands/notifications-module"));
|
|
91
|
+
const inference_log_module_1 = __importDefault(require("./commands/inference-log-module"));
|
|
92
|
+
const compute_log_module_1 = __importDefault(require("./commands/compute-log-module"));
|
|
93
|
+
const transfer_log_module_1 = __importDefault(require("./commands/transfer-log-module"));
|
|
94
|
+
const storage_log_module_1 = __importDefault(require("./commands/storage-log-module"));
|
|
95
|
+
const db_usage_module_1 = __importDefault(require("./commands/db-usage-module"));
|
|
96
|
+
const agent_module_1 = __importDefault(require("./commands/agent-module"));
|
|
97
|
+
const namespace_module_1 = __importDefault(require("./commands/namespace-module"));
|
|
98
|
+
const function_module_1 = __importDefault(require("./commands/function-module"));
|
|
90
99
|
const database_provision_module_1 = __importDefault(require("./commands/database-provision-module"));
|
|
91
100
|
const app_admin_grant_1 = __importDefault(require("./commands/app-admin-grant"));
|
|
92
101
|
const app_owner_grant_1 = __importDefault(require("./commands/app-owner-grant"));
|
|
@@ -116,48 +125,41 @@ const app_invite_1 = __importDefault(require("./commands/app-invite"));
|
|
|
116
125
|
const app_claimed_invite_1 = __importDefault(require("./commands/app-claimed-invite"));
|
|
117
126
|
const org_invite_1 = __importDefault(require("./commands/org-invite"));
|
|
118
127
|
const org_claimed_invite_1 = __importDefault(require("./commands/org-claimed-invite"));
|
|
119
|
-
const
|
|
120
|
-
const agent_thread_1 = __importDefault(require("./commands/agent-thread"));
|
|
121
|
-
const agent_message_1 = __importDefault(require("./commands/agent-message"));
|
|
122
|
-
const agent_task_1 = __importDefault(require("./commands/agent-task"));
|
|
123
|
-
const role_type_1 = __importDefault(require("./commands/role-type"));
|
|
128
|
+
const audit_log_auth_1 = __importDefault(require("./commands/audit-log-auth"));
|
|
124
129
|
const identity_provider_1 = __importDefault(require("./commands/identity-provider"));
|
|
125
|
-
const ref_1 = __importDefault(require("./commands/ref"));
|
|
126
|
-
const store_1 = __importDefault(require("./commands/store"));
|
|
127
130
|
const app_permission_default_1 = __importDefault(require("./commands/app-permission-default"));
|
|
128
|
-
const
|
|
131
|
+
const role_type_1 = __importDefault(require("./commands/role-type"));
|
|
132
|
+
const migrate_file_1 = __importDefault(require("./commands/migrate-file"));
|
|
133
|
+
const devices_module_1 = __importDefault(require("./commands/devices-module"));
|
|
134
|
+
const app_membership_default_1 = __importDefault(require("./commands/app-membership-default"));
|
|
135
|
+
const org_membership_default_1 = __importDefault(require("./commands/org-membership-default"));
|
|
136
|
+
const node_type_registry_1 = __importDefault(require("./commands/node-type-registry"));
|
|
129
137
|
const app_limit_caps_default_1 = __importDefault(require("./commands/app-limit-caps-default"));
|
|
130
138
|
const org_limit_caps_default_1 = __importDefault(require("./commands/org-limit-caps-default"));
|
|
131
139
|
const app_limit_cap_1 = __importDefault(require("./commands/app-limit-cap"));
|
|
132
140
|
const org_limit_cap_1 = __importDefault(require("./commands/org-limit-cap"));
|
|
133
|
-
const
|
|
134
|
-
const migrate_file_1 = __importDefault(require("./commands/migrate-file"));
|
|
135
|
-
const devices_module_1 = __importDefault(require("./commands/devices-module"));
|
|
136
|
-
const node_type_registry_1 = __importDefault(require("./commands/node-type-registry"));
|
|
141
|
+
const user_connected_account_1 = __importDefault(require("./commands/user-connected-account"));
|
|
137
142
|
const app_limit_default_1 = __importDefault(require("./commands/app-limit-default"));
|
|
138
143
|
const org_limit_default_1 = __importDefault(require("./commands/org-limit-default"));
|
|
144
|
+
const app_limit_credit_code_1 = __importDefault(require("./commands/app-limit-credit-code"));
|
|
139
145
|
const app_limit_warning_1 = __importDefault(require("./commands/app-limit-warning"));
|
|
140
|
-
const user_connected_account_1 = __importDefault(require("./commands/user-connected-account"));
|
|
141
|
-
const commit_1 = __importDefault(require("./commands/commit"));
|
|
142
146
|
const pubkey_setting_1 = __importDefault(require("./commands/pubkey-setting"));
|
|
143
147
|
const rate_limits_module_1 = __importDefault(require("./commands/rate-limits-module"));
|
|
144
|
-
const
|
|
145
|
-
const app_membership_default_1 = __importDefault(require("./commands/app-membership-default"));
|
|
146
|
-
const org_membership_default_1 = __importDefault(require("./commands/org-membership-default"));
|
|
148
|
+
const membership_type_1 = __importDefault(require("./commands/membership-type"));
|
|
147
149
|
const rls_setting_1 = __importDefault(require("./commands/rls-setting"));
|
|
148
|
-
const app_limit_event_1 = __importDefault(require("./commands/app-limit-event"));
|
|
149
|
-
const org_limit_event_1 = __importDefault(require("./commands/org-limit-event"));
|
|
150
150
|
const rls_module_1 = __importDefault(require("./commands/rls-module"));
|
|
151
151
|
const rate_limit_meters_module_1 = __importDefault(require("./commands/rate-limit-meters-module"));
|
|
152
152
|
const plans_module_1 = __importDefault(require("./commands/plans-module"));
|
|
153
153
|
const sql_action_1 = __importDefault(require("./commands/sql-action"));
|
|
154
154
|
const database_setting_1 = __importDefault(require("./commands/database-setting"));
|
|
155
|
-
const billing_module_1 = __importDefault(require("./commands/billing-module"));
|
|
156
|
-
const ast_migration_1 = __importDefault(require("./commands/ast-migration"));
|
|
157
|
-
const user_1 = __importDefault(require("./commands/user"));
|
|
158
155
|
const org_membership_setting_1 = __importDefault(require("./commands/org-membership-setting"));
|
|
159
|
-
const
|
|
156
|
+
const app_limit_event_1 = __importDefault(require("./commands/app-limit-event"));
|
|
157
|
+
const org_limit_event_1 = __importDefault(require("./commands/org-limit-event"));
|
|
160
158
|
const app_membership_1 = __importDefault(require("./commands/app-membership"));
|
|
159
|
+
const user_1 = __importDefault(require("./commands/user"));
|
|
160
|
+
const ast_migration_1 = __importDefault(require("./commands/ast-migration"));
|
|
161
|
+
const webauthn_setting_1 = __importDefault(require("./commands/webauthn-setting"));
|
|
162
|
+
const billing_module_1 = __importDefault(require("./commands/billing-module"));
|
|
161
163
|
const billing_provider_module_1 = __importDefault(require("./commands/billing-provider-module"));
|
|
162
164
|
const hierarchy_module_1 = __importDefault(require("./commands/hierarchy-module"));
|
|
163
165
|
const current_user_id_1 = __importDefault(require("./commands/current-user-id"));
|
|
@@ -166,19 +168,16 @@ const current_ip_address_1 = __importDefault(require("./commands/current-ip-addr
|
|
|
166
168
|
const require_step_up_1 = __importDefault(require("./commands/require-step-up"));
|
|
167
169
|
const app_permissions_get_padded_mask_1 = __importDefault(require("./commands/app-permissions-get-padded-mask"));
|
|
168
170
|
const org_permissions_get_padded_mask_1 = __importDefault(require("./commands/org-permissions-get-padded-mask"));
|
|
169
|
-
const
|
|
171
|
+
const apply_registry_defaults_1 = __importDefault(require("./commands/apply-registry-defaults"));
|
|
170
172
|
const resolve_blueprint_field_1 = __importDefault(require("./commands/resolve-blueprint-field"));
|
|
173
|
+
const resolve_blueprint_table_1 = __importDefault(require("./commands/resolve-blueprint-table"));
|
|
171
174
|
const org_is_manager_of_1 = __importDefault(require("./commands/org-is-manager-of"));
|
|
172
175
|
const app_permissions_get_mask_1 = __importDefault(require("./commands/app-permissions-get-mask"));
|
|
173
176
|
const org_permissions_get_mask_1 = __importDefault(require("./commands/org-permissions-get-mask"));
|
|
174
|
-
const resolve_blueprint_table_1 = __importDefault(require("./commands/resolve-blueprint-table"));
|
|
175
177
|
const app_permissions_get_mask_by_names_1 = __importDefault(require("./commands/app-permissions-get-mask-by-names"));
|
|
176
178
|
const org_permissions_get_mask_by_names_1 = __importDefault(require("./commands/org-permissions-get-mask-by-names"));
|
|
177
179
|
const app_permissions_get_by_mask_1 = __importDefault(require("./commands/app-permissions-get-by-mask"));
|
|
178
180
|
const org_permissions_get_by_mask_1 = __importDefault(require("./commands/org-permissions-get-by-mask"));
|
|
179
|
-
const get_all_objects_from_root_1 = __importDefault(require("./commands/get-all-objects-from-root"));
|
|
180
|
-
const get_path_objects_from_root_1 = __importDefault(require("./commands/get-path-objects-from-root"));
|
|
181
|
-
const get_object_at_path_1 = __importDefault(require("./commands/get-object-at-path"));
|
|
182
181
|
const current_user_1 = __importDefault(require("./commands/current-user"));
|
|
183
182
|
const send_account_deletion_email_1 = __importDefault(require("./commands/send-account-deletion-email"));
|
|
184
183
|
const sign_out_1 = __importDefault(require("./commands/sign-out"));
|
|
@@ -196,48 +195,38 @@ const check_password_1 = __importDefault(require("./commands/check-password"));
|
|
|
196
195
|
const confirm_delete_account_1 = __importDefault(require("./commands/confirm-delete-account"));
|
|
197
196
|
const set_password_1 = __importDefault(require("./commands/set-password"));
|
|
198
197
|
const verify_email_1 = __importDefault(require("./commands/verify-email"));
|
|
199
|
-
const freeze_objects_1 = __importDefault(require("./commands/freeze-objects"));
|
|
200
|
-
const init_empty_repo_1 = __importDefault(require("./commands/init-empty-repo"));
|
|
201
198
|
const construct_blueprint_1 = __importDefault(require("./commands/construct-blueprint"));
|
|
202
199
|
const provision_new_user_1 = __importDefault(require("./commands/provision-new-user"));
|
|
203
200
|
const reset_password_1 = __importDefault(require("./commands/reset-password"));
|
|
204
|
-
const remove_node_at_path_1 = __importDefault(require("./commands/remove-node-at-path"));
|
|
205
|
-
const copy_template_to_blueprint_1 = __importDefault(require("./commands/copy-template-to-blueprint"));
|
|
206
|
-
const provision_spatial_relation_1 = __importDefault(require("./commands/provision-spatial-relation"));
|
|
207
|
-
const bootstrap_user_1 = __importDefault(require("./commands/bootstrap-user"));
|
|
208
|
-
const set_field_order_1 = __importDefault(require("./commands/set-field-order"));
|
|
209
201
|
const provision_check_constraint_1 = __importDefault(require("./commands/provision-check-constraint"));
|
|
210
202
|
const provision_unique_constraint_1 = __importDefault(require("./commands/provision-unique-constraint"));
|
|
211
203
|
const provision_full_text_search_1 = __importDefault(require("./commands/provision-full-text-search"));
|
|
212
204
|
const provision_index_1 = __importDefault(require("./commands/provision-index"));
|
|
213
|
-
const
|
|
214
|
-
const
|
|
215
|
-
const
|
|
216
|
-
const
|
|
217
|
-
const
|
|
218
|
-
const
|
|
205
|
+
const copy_template_to_blueprint_1 = __importDefault(require("./commands/copy-template-to-blueprint"));
|
|
206
|
+
const provision_spatial_relation_1 = __importDefault(require("./commands/provision-spatial-relation"));
|
|
207
|
+
const sign_in_cross_origin_1 = __importDefault(require("./commands/sign-in-cross-origin"));
|
|
208
|
+
const bootstrap_user_1 = __importDefault(require("./commands/bootstrap-user"));
|
|
209
|
+
const sign_up_1 = __importDefault(require("./commands/sign-up"));
|
|
210
|
+
const sign_in_1 = __importDefault(require("./commands/sign-in"));
|
|
219
211
|
const provision_relation_1 = __importDefault(require("./commands/provision-relation"));
|
|
212
|
+
const set_field_order_1 = __importDefault(require("./commands/set-field-order"));
|
|
220
213
|
const apply_rls_1 = __importDefault(require("./commands/apply-rls"));
|
|
221
|
-
const
|
|
214
|
+
const provision_database_with_user_1 = __importDefault(require("./commands/provision-database-with-user"));
|
|
222
215
|
const create_user_database_1 = __importDefault(require("./commands/create-user-database"));
|
|
223
216
|
const extend_token_expires_1 = __importDefault(require("./commands/extend-token-expires"));
|
|
224
217
|
const create_api_key_1 = __importDefault(require("./commands/create-api-key"));
|
|
225
|
-
const send_verification_email_1 = __importDefault(require("./commands/send-verification-email"));
|
|
226
|
-
const forgot_password_1 = __importDefault(require("./commands/forgot-password"));
|
|
227
|
-
const sign_up_1 = __importDefault(require("./commands/sign-up"));
|
|
228
218
|
const request_cross_origin_token_1 = __importDefault(require("./commands/request-cross-origin-token"));
|
|
229
|
-
const sign_in_1 = __importDefault(require("./commands/sign-in"));
|
|
230
219
|
const provision_table_1 = __importDefault(require("./commands/provision-table"));
|
|
220
|
+
const send_verification_email_1 = __importDefault(require("./commands/send-verification-email"));
|
|
221
|
+
const forgot_password_1 = __importDefault(require("./commands/forgot-password"));
|
|
231
222
|
const provision_bucket_1 = __importDefault(require("./commands/provision-bucket"));
|
|
232
223
|
const createCommandMap = () => ({
|
|
233
224
|
context: context_1.default,
|
|
234
225
|
auth: auth_1.default,
|
|
235
226
|
'org-get-managers-record': org_get_managers_record_1.default,
|
|
236
227
|
'org-get-subordinates-record': org_get_subordinates_record_1.default,
|
|
237
|
-
'get-all-record': get_all_record_1.default,
|
|
238
228
|
'app-permission': app_permission_1.default,
|
|
239
229
|
'org-permission': org_permission_1.default,
|
|
240
|
-
object: object_1.default,
|
|
241
230
|
database: database_1.default,
|
|
242
231
|
schema: schema_1.default,
|
|
243
232
|
table: table_1.default,
|
|
@@ -262,6 +251,7 @@ const createCommandMap = () => ({
|
|
|
262
251
|
'session-secrets-module': session_secrets_module_1.default,
|
|
263
252
|
'identity-providers-module': identity_providers_module_1.default,
|
|
264
253
|
'realtime-module': realtime_module_1.default,
|
|
254
|
+
'config-secrets-org-module': config_secrets_org_module_1.default,
|
|
265
255
|
'schema-grant': schema_grant_1.default,
|
|
266
256
|
'default-privilege': default_privilege_1.default,
|
|
267
257
|
enum: enum_1.default,
|
|
@@ -273,9 +263,11 @@ const createCommandMap = () => ({
|
|
|
273
263
|
'site-module': site_module_1.default,
|
|
274
264
|
'site-theme': site_theme_1.default,
|
|
275
265
|
'cors-setting': cors_setting_1.default,
|
|
266
|
+
'merkle-store-module': merkle_store_module_1.default,
|
|
267
|
+
'graph-module': graph_module_1.default,
|
|
276
268
|
'trigger-function': trigger_function_1.default,
|
|
277
|
-
'database-transfer': database_transfer_1.default,
|
|
278
269
|
partition: partition_1.default,
|
|
270
|
+
'database-transfer': database_transfer_1.default,
|
|
279
271
|
api: api_1.default,
|
|
280
272
|
site: site_1.default,
|
|
281
273
|
app: app_1.default,
|
|
@@ -286,7 +278,7 @@ const createCommandMap = () => ({
|
|
|
286
278
|
'default-ids-module': default_ids_module_1.default,
|
|
287
279
|
'denormalized-table-field': denormalized_table_field_1.default,
|
|
288
280
|
'emails-module': emails_module_1.default,
|
|
289
|
-
'
|
|
281
|
+
'config-secrets-user-module': config_secrets_user_module_1.default,
|
|
290
282
|
'invites-module': invites_module_1.default,
|
|
291
283
|
'events-module': events_module_1.default,
|
|
292
284
|
'limits-module': limits_module_1.default,
|
|
@@ -307,6 +299,14 @@ const createCommandMap = () => ({
|
|
|
307
299
|
'webauthn-credentials-module': webauthn_credentials_module_1.default,
|
|
308
300
|
'webauthn-auth-module': webauthn_auth_module_1.default,
|
|
309
301
|
'notifications-module': notifications_module_1.default,
|
|
302
|
+
'inference-log-module': inference_log_module_1.default,
|
|
303
|
+
'compute-log-module': compute_log_module_1.default,
|
|
304
|
+
'transfer-log-module': transfer_log_module_1.default,
|
|
305
|
+
'storage-log-module': storage_log_module_1.default,
|
|
306
|
+
'db-usage-module': db_usage_module_1.default,
|
|
307
|
+
'agent-module': agent_module_1.default,
|
|
308
|
+
'namespace-module': namespace_module_1.default,
|
|
309
|
+
'function-module': function_module_1.default,
|
|
310
310
|
'database-provision-module': database_provision_module_1.default,
|
|
311
311
|
'app-admin-grant': app_admin_grant_1.default,
|
|
312
312
|
'app-owner-grant': app_owner_grant_1.default,
|
|
@@ -336,48 +336,41 @@ const createCommandMap = () => ({
|
|
|
336
336
|
'app-claimed-invite': app_claimed_invite_1.default,
|
|
337
337
|
'org-invite': org_invite_1.default,
|
|
338
338
|
'org-claimed-invite': org_claimed_invite_1.default,
|
|
339
|
-
'audit-log':
|
|
340
|
-
'agent-thread': agent_thread_1.default,
|
|
341
|
-
'agent-message': agent_message_1.default,
|
|
342
|
-
'agent-task': agent_task_1.default,
|
|
343
|
-
'role-type': role_type_1.default,
|
|
339
|
+
'audit-log-auth': audit_log_auth_1.default,
|
|
344
340
|
'identity-provider': identity_provider_1.default,
|
|
345
|
-
ref: ref_1.default,
|
|
346
|
-
store: store_1.default,
|
|
347
341
|
'app-permission-default': app_permission_default_1.default,
|
|
348
|
-
'
|
|
342
|
+
'role-type': role_type_1.default,
|
|
343
|
+
'migrate-file': migrate_file_1.default,
|
|
344
|
+
'devices-module': devices_module_1.default,
|
|
345
|
+
'app-membership-default': app_membership_default_1.default,
|
|
346
|
+
'org-membership-default': org_membership_default_1.default,
|
|
347
|
+
'node-type-registry': node_type_registry_1.default,
|
|
349
348
|
'app-limit-caps-default': app_limit_caps_default_1.default,
|
|
350
349
|
'org-limit-caps-default': org_limit_caps_default_1.default,
|
|
351
350
|
'app-limit-cap': app_limit_cap_1.default,
|
|
352
351
|
'org-limit-cap': org_limit_cap_1.default,
|
|
353
|
-
'
|
|
354
|
-
'migrate-file': migrate_file_1.default,
|
|
355
|
-
'devices-module': devices_module_1.default,
|
|
356
|
-
'node-type-registry': node_type_registry_1.default,
|
|
352
|
+
'user-connected-account': user_connected_account_1.default,
|
|
357
353
|
'app-limit-default': app_limit_default_1.default,
|
|
358
354
|
'org-limit-default': org_limit_default_1.default,
|
|
355
|
+
'app-limit-credit-code': app_limit_credit_code_1.default,
|
|
359
356
|
'app-limit-warning': app_limit_warning_1.default,
|
|
360
|
-
'user-connected-account': user_connected_account_1.default,
|
|
361
|
-
commit: commit_1.default,
|
|
362
357
|
'pubkey-setting': pubkey_setting_1.default,
|
|
363
358
|
'rate-limits-module': rate_limits_module_1.default,
|
|
364
|
-
'
|
|
365
|
-
'app-membership-default': app_membership_default_1.default,
|
|
366
|
-
'org-membership-default': org_membership_default_1.default,
|
|
359
|
+
'membership-type': membership_type_1.default,
|
|
367
360
|
'rls-setting': rls_setting_1.default,
|
|
368
|
-
'app-limit-event': app_limit_event_1.default,
|
|
369
|
-
'org-limit-event': org_limit_event_1.default,
|
|
370
361
|
'rls-module': rls_module_1.default,
|
|
371
362
|
'rate-limit-meters-module': rate_limit_meters_module_1.default,
|
|
372
363
|
'plans-module': plans_module_1.default,
|
|
373
364
|
'sql-action': sql_action_1.default,
|
|
374
365
|
'database-setting': database_setting_1.default,
|
|
375
|
-
'billing-module': billing_module_1.default,
|
|
376
|
-
'ast-migration': ast_migration_1.default,
|
|
377
|
-
user: user_1.default,
|
|
378
366
|
'org-membership-setting': org_membership_setting_1.default,
|
|
379
|
-
'
|
|
367
|
+
'app-limit-event': app_limit_event_1.default,
|
|
368
|
+
'org-limit-event': org_limit_event_1.default,
|
|
380
369
|
'app-membership': app_membership_1.default,
|
|
370
|
+
user: user_1.default,
|
|
371
|
+
'ast-migration': ast_migration_1.default,
|
|
372
|
+
'webauthn-setting': webauthn_setting_1.default,
|
|
373
|
+
'billing-module': billing_module_1.default,
|
|
381
374
|
'billing-provider-module': billing_provider_module_1.default,
|
|
382
375
|
'hierarchy-module': hierarchy_module_1.default,
|
|
383
376
|
'current-user-id': current_user_id_1.default,
|
|
@@ -386,19 +379,16 @@ const createCommandMap = () => ({
|
|
|
386
379
|
'require-step-up': require_step_up_1.default,
|
|
387
380
|
'app-permissions-get-padded-mask': app_permissions_get_padded_mask_1.default,
|
|
388
381
|
'org-permissions-get-padded-mask': org_permissions_get_padded_mask_1.default,
|
|
389
|
-
'
|
|
382
|
+
'apply-registry-defaults': apply_registry_defaults_1.default,
|
|
390
383
|
'resolve-blueprint-field': resolve_blueprint_field_1.default,
|
|
384
|
+
'resolve-blueprint-table': resolve_blueprint_table_1.default,
|
|
391
385
|
'org-is-manager-of': org_is_manager_of_1.default,
|
|
392
386
|
'app-permissions-get-mask': app_permissions_get_mask_1.default,
|
|
393
387
|
'org-permissions-get-mask': org_permissions_get_mask_1.default,
|
|
394
|
-
'resolve-blueprint-table': resolve_blueprint_table_1.default,
|
|
395
388
|
'app-permissions-get-mask-by-names': app_permissions_get_mask_by_names_1.default,
|
|
396
389
|
'org-permissions-get-mask-by-names': org_permissions_get_mask_by_names_1.default,
|
|
397
390
|
'app-permissions-get-by-mask': app_permissions_get_by_mask_1.default,
|
|
398
391
|
'org-permissions-get-by-mask': org_permissions_get_by_mask_1.default,
|
|
399
|
-
'get-all-objects-from-root': get_all_objects_from_root_1.default,
|
|
400
|
-
'get-path-objects-from-root': get_path_objects_from_root_1.default,
|
|
401
|
-
'get-object-at-path': get_object_at_path_1.default,
|
|
402
392
|
'current-user': current_user_1.default,
|
|
403
393
|
'send-account-deletion-email': send_account_deletion_email_1.default,
|
|
404
394
|
'sign-out': sign_out_1.default,
|
|
@@ -416,41 +406,33 @@ const createCommandMap = () => ({
|
|
|
416
406
|
'confirm-delete-account': confirm_delete_account_1.default,
|
|
417
407
|
'set-password': set_password_1.default,
|
|
418
408
|
'verify-email': verify_email_1.default,
|
|
419
|
-
'freeze-objects': freeze_objects_1.default,
|
|
420
|
-
'init-empty-repo': init_empty_repo_1.default,
|
|
421
409
|
'construct-blueprint': construct_blueprint_1.default,
|
|
422
410
|
'provision-new-user': provision_new_user_1.default,
|
|
423
411
|
'reset-password': reset_password_1.default,
|
|
424
|
-
'remove-node-at-path': remove_node_at_path_1.default,
|
|
425
|
-
'copy-template-to-blueprint': copy_template_to_blueprint_1.default,
|
|
426
|
-
'provision-spatial-relation': provision_spatial_relation_1.default,
|
|
427
|
-
'bootstrap-user': bootstrap_user_1.default,
|
|
428
|
-
'set-field-order': set_field_order_1.default,
|
|
429
412
|
'provision-check-constraint': provision_check_constraint_1.default,
|
|
430
413
|
'provision-unique-constraint': provision_unique_constraint_1.default,
|
|
431
414
|
'provision-full-text-search': provision_full_text_search_1.default,
|
|
432
415
|
'provision-index': provision_index_1.default,
|
|
433
|
-
'
|
|
434
|
-
'
|
|
435
|
-
'
|
|
436
|
-
'
|
|
437
|
-
'
|
|
438
|
-
'
|
|
416
|
+
'copy-template-to-blueprint': copy_template_to_blueprint_1.default,
|
|
417
|
+
'provision-spatial-relation': provision_spatial_relation_1.default,
|
|
418
|
+
'sign-in-cross-origin': sign_in_cross_origin_1.default,
|
|
419
|
+
'bootstrap-user': bootstrap_user_1.default,
|
|
420
|
+
'sign-up': sign_up_1.default,
|
|
421
|
+
'sign-in': sign_in_1.default,
|
|
439
422
|
'provision-relation': provision_relation_1.default,
|
|
423
|
+
'set-field-order': set_field_order_1.default,
|
|
440
424
|
'apply-rls': apply_rls_1.default,
|
|
441
|
-
'
|
|
425
|
+
'provision-database-with-user': provision_database_with_user_1.default,
|
|
442
426
|
'create-user-database': create_user_database_1.default,
|
|
443
427
|
'extend-token-expires': extend_token_expires_1.default,
|
|
444
428
|
'create-api-key': create_api_key_1.default,
|
|
445
|
-
'send-verification-email': send_verification_email_1.default,
|
|
446
|
-
'forgot-password': forgot_password_1.default,
|
|
447
|
-
'sign-up': sign_up_1.default,
|
|
448
429
|
'request-cross-origin-token': request_cross_origin_token_1.default,
|
|
449
|
-
'sign-in': sign_in_1.default,
|
|
450
430
|
'provision-table': provision_table_1.default,
|
|
431
|
+
'send-verification-email': send_verification_email_1.default,
|
|
432
|
+
'forgot-password': forgot_password_1.default,
|
|
451
433
|
'provision-bucket': provision_bucket_1.default,
|
|
452
434
|
});
|
|
453
|
-
const usage = "\ncsdk <command>\n\nCommands:\n context Manage API contexts\n auth Manage authentication\n org-get-managers-record orgGetManagersRecord CRUD operations\n org-get-subordinates-record orgGetSubordinatesRecord CRUD operations\n get-all-record getAllRecord CRUD operations\n app-permission appPermission CRUD operations\n org-permission orgPermission CRUD operations\n object object CRUD operations\n database database CRUD operations\n schema schema CRUD operations\n table table CRUD operations\n check-constraint checkConstraint CRUD operations\n field field CRUD operations\n spatial-relation spatialRelation CRUD operations\n foreign-key-constraint foreignKeyConstraint CRUD operations\n full-text-search fullTextSearch CRUD operations\n index index CRUD operations\n policy policy CRUD operations\n primary-key-constraint primaryKeyConstraint CRUD operations\n table-grant tableGrant CRUD operations\n trigger trigger CRUD operations\n unique-constraint uniqueConstraint CRUD operations\n view view CRUD operations\n view-table viewTable CRUD operations\n view-grant viewGrant CRUD operations\n view-rule viewRule CRUD operations\n embedding-chunk embeddingChunk CRUD operations\n secure-table-provision secureTableProvision CRUD operations\n relation-provision relationProvision CRUD operations\n session-secrets-module sessionSecretsModule CRUD operations\n identity-providers-module identityProvidersModule CRUD operations\n realtime-module realtimeModule CRUD operations\n schema-grant schemaGrant CRUD operations\n default-privilege defaultPrivilege CRUD operations\n enum enum CRUD operations\n function function CRUD operations\n api-schema apiSchema CRUD operations\n api-module apiModule CRUD operations\n domain domain CRUD operations\n site-metadatum siteMetadatum CRUD operations\n site-module siteModule CRUD operations\n site-theme siteTheme CRUD operations\n cors-setting corsSetting CRUD operations\n trigger-function triggerFunction CRUD operations\n database-transfer databaseTransfer CRUD operations\n partition partition CRUD operations\n api api CRUD operations\n site site CRUD operations\n app app CRUD operations\n api-setting apiSetting CRUD operations\n connected-accounts-module connectedAccountsModule CRUD operations\n crypto-addresses-module cryptoAddressesModule CRUD operations\n crypto-auth-module cryptoAuthModule CRUD operations\n default-ids-module defaultIdsModule CRUD operations\n denormalized-table-field denormalizedTableField CRUD operations\n emails-module emailsModule CRUD operations\n encrypted-secrets-module encryptedSecretsModule CRUD operations\n invites-module invitesModule CRUD operations\n events-module eventsModule CRUD operations\n limits-module limitsModule CRUD operations\n membership-types-module membershipTypesModule CRUD operations\n memberships-module membershipsModule CRUD operations\n permissions-module permissionsModule CRUD operations\n phone-numbers-module phoneNumbersModule CRUD operations\n profiles-module profilesModule CRUD operations\n user-state-module userStateModule CRUD operations\n sessions-module sessionsModule CRUD operations\n user-auth-module userAuthModule CRUD operations\n users-module usersModule CRUD operations\n blueprint blueprint CRUD operations\n blueprint-template blueprintTemplate CRUD operations\n blueprint-construction blueprintConstruction CRUD operations\n storage-module storageModule CRUD operations\n entity-type-provision entityTypeProvision CRUD operations\n webauthn-credentials-module webauthnCredentialsModule CRUD operations\n webauthn-auth-module webauthnAuthModule CRUD operations\n notifications-module notificationsModule CRUD operations\n database-provision-module databaseProvisionModule CRUD operations\n app-admin-grant appAdminGrant CRUD operations\n app-owner-grant appOwnerGrant CRUD operations\n app-grant appGrant CRUD operations\n org-membership orgMembership CRUD operations\n org-member orgMember CRUD operations\n org-admin-grant orgAdminGrant CRUD operations\n org-owner-grant orgOwnerGrant CRUD operations\n org-member-profile orgMemberProfile CRUD operations\n org-grant orgGrant CRUD operations\n org-chart-edge orgChartEdge CRUD operations\n org-chart-edge-grant orgChartEdgeGrant CRUD operations\n org-permission-default orgPermissionDefault CRUD operations\n app-limit appLimit CRUD operations\n app-limit-credit appLimitCredit CRUD operations\n app-limit-credit-code-item appLimitCreditCodeItem CRUD operations\n app-limit-credit-redemption appLimitCreditRedemption CRUD operations\n org-limit orgLimit CRUD operations\n org-limit-credit orgLimitCredit CRUD operations\n org-limit-aggregate orgLimitAggregate CRUD operations\n org-limit-warning orgLimitWarning CRUD operations\n email email CRUD operations\n phone-number phoneNumber CRUD operations\n crypto-address cryptoAddress CRUD operations\n webauthn-credential webauthnCredential CRUD operations\n app-invite appInvite CRUD operations\n app-claimed-invite appClaimedInvite CRUD operations\n org-invite orgInvite CRUD operations\n org-claimed-invite orgClaimedInvite CRUD operations\n audit-log auditLog CRUD operations\n agent-thread agentThread CRUD operations\n agent-message agentMessage CRUD operations\n agent-task agentTask CRUD operations\n role-type roleType CRUD operations\n identity-provider identityProvider CRUD operations\n ref ref CRUD operations\n store store CRUD operations\n app-permission-default appPermissionDefault CRUD operations\n app-limit-credit-code appLimitCreditCode CRUD operations\n app-limit-caps-default appLimitCapsDefault CRUD operations\n org-limit-caps-default orgLimitCapsDefault CRUD operations\n app-limit-cap appLimitCap CRUD operations\n org-limit-cap orgLimitCap CRUD operations\n membership-type membershipType CRUD operations\n migrate-file migrateFile CRUD operations\n devices-module devicesModule CRUD operations\n node-type-registry nodeTypeRegistry CRUD operations\n app-limit-default appLimitDefault CRUD operations\n org-limit-default orgLimitDefault CRUD operations\n app-limit-warning appLimitWarning CRUD operations\n user-connected-account userConnectedAccount CRUD operations\n commit commit CRUD operations\n pubkey-setting pubkeySetting CRUD operations\n rate-limits-module rateLimitsModule CRUD operations\n usage-snapshot usageSnapshot CRUD operations\n app-membership-default appMembershipDefault CRUD operations\n org-membership-default orgMembershipDefault CRUD operations\n rls-setting rlsSetting CRUD operations\n app-limit-event appLimitEvent CRUD operations\n org-limit-event orgLimitEvent CRUD operations\n rls-module rlsModule CRUD operations\n rate-limit-meters-module rateLimitMetersModule CRUD operations\n plans-module plansModule CRUD operations\n sql-action sqlAction CRUD operations\n database-setting databaseSetting CRUD operations\n billing-module billingModule CRUD operations\n ast-migration astMigration CRUD operations\n user user CRUD operations\n org-membership-setting orgMembershipSetting CRUD operations\n webauthn-setting webauthnSetting CRUD operations\n app-membership appMembership CRUD operations\n billing-provider-module billingProviderModule CRUD operations\n hierarchy-module hierarchyModule CRUD operations\n current-user-id currentUserId\n current-user-agent currentUserAgent\n current-ip-address currentIpAddress\n require-step-up requireStepUp\n app-permissions-get-padded-mask appPermissionsGetPaddedMask\n org-permissions-get-padded-mask orgPermissionsGetPaddedMask\n rev-parse revParse\n resolve-blueprint-field Resolves a field_name within a given table_id to a field_id. Throws if no match is found. Used by construct_blueprint to translate user-authored field names (e.g. \"location\") into field UUIDs for downstream provisioning procedures. table_id must already be resolved (via resolve_blueprint_table) before calling this.\n org-is-manager-of orgIsManagerOf\n app-permissions-get-mask appPermissionsGetMask\n org-permissions-get-mask orgPermissionsGetMask\n resolve-blueprint-table Resolves a table_name (with optional schema_name) to a table_id. Resolution order: (1) if schema_name provided, exact lookup via metaschema_public.schema.name + metaschema_public.table; (2) check local table_map (tables created in current blueprint); (3) search metaschema_public.table by name across all schemas; (4) if multiple matches, throw ambiguous error asking for schema_name; (5) if no match, throw not-found error.\n app-permissions-get-mask-by-names appPermissionsGetMaskByNames\n org-permissions-get-mask-by-names orgPermissionsGetMaskByNames\n app-permissions-get-by-mask Reads and enables pagination through a set of `AppPermission`.\n org-permissions-get-by-mask Reads and enables pagination through a set of `OrgPermission`.\n get-all-objects-from-root Reads and enables pagination through a set of `Object`.\n get-path-objects-from-root Reads and enables pagination through a set of `Object`.\n get-object-at-path getObjectAtPath\n current-user currentUser\n send-account-deletion-email sendAccountDeletionEmail\n sign-out signOut\n accept-database-transfer acceptDatabaseTransfer\n cancel-database-transfer cancelDatabaseTransfer\n reject-database-transfer rejectDatabaseTransfer\n disconnect-account disconnectAccount\n revoke-api-key revokeApiKey\n revoke-session revokeSession\n verify-password verifyPassword\n verify-totp verifyTotp\n submit-app-invite-code submitAppInviteCode\n submit-org-invite-code submitOrgInviteCode\n check-password checkPassword\n confirm-delete-account confirmDeleteAccount\n set-password setPassword\n verify-email verifyEmail\n freeze-objects freezeObjects\n init-empty-repo initEmptyRepo\n construct-blueprint Executes a blueprint definition by delegating to provision_* procedures. Creates a blueprint_construction record to track the attempt. Eight phases: (0) entity_type_provision for each membership_type entry \u2014 provisions entity tables, membership modules, and security, (0.5) app-level storage, (1) provision_table() for each table with nodes[], fields[], policies[], and grants (table-level indexes/fts/unique_constraints/check_constraints are deferred), (2) provision_relation() for each relation, (3) provision_index() for top-level + deferred indexes, (4) provision_full_text_search() for top-level + deferred FTS, (5) provision_unique_constraint() for top-level + deferred unique constraints, (6) provision_check_constraint() for top-level + deferred check constraints, (7) seed achievements from definition.achievements[] \u2014 resolves events_module by entity_prefix and creates INSERT actions for levels, level_requirements, and achievement_rewards tables. Phase 0 entity tables are added to the table_map so subsequent phases can reference them by name. Table-level entries are deferred to phases 3-6 so they can reference columns created by relations in phase 2. Returns the construction record ID on success, NULL on failure.\n provision-new-user provisionNewUser\n reset-password resetPassword\n remove-node-at-path removeNodeAtPath\n copy-template-to-blueprint Creates a new blueprint by copying a template definition. Checks visibility: owners can always copy their own templates, others require public visibility. Increments the template copy_count. Returns the new blueprint ID.\n provision-spatial-relation Idempotent provisioner for metaschema_public.spatial_relation. Inserts a row declaring a spatial predicate between two geometry/geography columns (owner and target). Called from construct_blueprint when a relation entry has $type=RelationSpatial. Graceful: re-running with the same (source_table_id, name) returns the existing id without modifying the row. Operator whitelist and st_dwithin \u2194 param_name pairing are enforced by the spatial_relation table CHECKs. Both fields must already exist \u2014 this is a metadata-only insert.\n bootstrap-user bootstrapUser\n set-field-order setFieldOrder\n provision-check-constraint Creates a check constraint on a table from a $type + data blueprint definition. Supports: CheckOneOf (enum validation via = ANY(ARRAY[...])), CheckGreaterThan (single-column > value or cross-column), CheckLessThan (single-column < value or cross-column), CheckNotEqual (cross-column inequality). Builds AST expressions via ast_helpers and inserts into metaschema_public.check_constraint. Graceful: skips if a constraint with the same name already exists.\n provision-unique-constraint Creates a unique constraint on a table. Accepts a jsonb definition with columns (array of field names). Graceful: skips if the exact same unique constraint already exists.\n provision-full-text-search Creates a full-text search configuration on a table. Accepts a jsonb definition with field (tsvector column name) and sources (array of {field, weight, lang}). Graceful: skips if FTS config already exists for the same (table_id, field_id). Returns the fts_id.\n provision-index Creates an index on a table. Accepts a jsonb definition with columns (array of names or single column string), access_method (default BTREE), is_unique, op_classes, options, and name (auto-generated if omitted). Graceful: skips if an index with the same (table_id, field_ids, access_method) already exists. Returns the index_id.\n set-data-at-path setDataAtPath\n set-props-and-commit setPropsAndCommit\n provision-database-with-user provisionDatabaseWithUser\n insert-node-at-path insertNodeAtPath\n update-node-at-path updateNodeAtPath\n set-and-commit setAndCommit\n provision-relation Composable relation provisioning: creates FK fields, indexes, unique constraints, and junction tables depending on the relation_type. Supports RelationBelongsTo, RelationHasOne, RelationHasMany, and RelationManyToMany. ManyToMany uses provision_table() internally for junction table creation with full node/grant/policy support. All operations are graceful (skip existing). Returns (out_field_id, out_junction_table_id, out_source_field_id, out_target_field_id).\n apply-rls applyRls\n sign-in-cross-origin signInCrossOrigin\n create-user-database Creates a new user database with all required modules, permissions, and RLS policies.\n\nParameters:\n - database_name: Name for the new database (required)\n - owner_id: UUID of the owner user (required)\n - include_invites: Include invite system (default: true)\n - include_groups: Include group-level memberships (default: false)\n - include_levels: Include events/analytics (default: false)\n - bitlen: Bit length for permission masks (default: 64)\n - tokens_expiration: Token expiration interval (default: 30 days)\n\nReturns the database_id UUID of the newly created database.\n\nExample usage:\n SELECT metaschema_public.create_user_database('my_app', 'a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::uuid);\n SELECT metaschema_public.create_user_database('my_app', 'a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::uuid, true, true); -- with invites and groups\n\n extend-token-expires extendTokenExpires\n create-api-key createApiKey\n send-verification-email sendVerificationEmail\n forgot-password forgotPassword\n sign-up signUp\n request-cross-origin-token requestCrossOriginToken\n sign-in signIn\n provision-table Composable table provisioning: creates or finds a table, then creates fields (so Data* modules can reference them), applies N nodes (Data* modules), enables RLS, creates grants, creates N policies, and optionally creates table-level indexes/full_text_searches/unique_constraints. All operations are graceful (skip existing). Accepts multiple nodes and multiple policies per call, unlike secure_table_provision which is limited to one of each. Returns (out_table_id, out_fields).\n provision-bucket Provision an S3 bucket for a logical bucket in the database.\nReads the bucket config via RLS, then creates and configures\nthe S3 bucket with the appropriate privacy policies, CORS rules,\nand lifecycle settings.\n\n --help, -h Show this help message\n --version, -v Show version\n";
|
|
435
|
+
const usage = "\ncsdk <command>\n\nCommands:\n context Manage API contexts\n auth Manage authentication\n org-get-managers-record orgGetManagersRecord CRUD operations\n org-get-subordinates-record orgGetSubordinatesRecord CRUD operations\n app-permission appPermission CRUD operations\n org-permission orgPermission CRUD operations\n database database CRUD operations\n schema schema CRUD operations\n table table CRUD operations\n check-constraint checkConstraint CRUD operations\n field field CRUD operations\n spatial-relation spatialRelation CRUD operations\n foreign-key-constraint foreignKeyConstraint CRUD operations\n full-text-search fullTextSearch CRUD operations\n index index CRUD operations\n policy policy CRUD operations\n primary-key-constraint primaryKeyConstraint CRUD operations\n table-grant tableGrant CRUD operations\n trigger trigger CRUD operations\n unique-constraint uniqueConstraint CRUD operations\n view view CRUD operations\n view-table viewTable CRUD operations\n view-grant viewGrant CRUD operations\n view-rule viewRule CRUD operations\n embedding-chunk embeddingChunk CRUD operations\n secure-table-provision secureTableProvision CRUD operations\n relation-provision relationProvision CRUD operations\n session-secrets-module sessionSecretsModule CRUD operations\n identity-providers-module identityProvidersModule CRUD operations\n realtime-module realtimeModule CRUD operations\n config-secrets-org-module configSecretsOrgModule CRUD operations\n schema-grant schemaGrant CRUD operations\n default-privilege defaultPrivilege CRUD operations\n enum enum CRUD operations\n function function CRUD operations\n api-schema apiSchema CRUD operations\n api-module apiModule CRUD operations\n domain domain CRUD operations\n site-metadatum siteMetadatum CRUD operations\n site-module siteModule CRUD operations\n site-theme siteTheme CRUD operations\n cors-setting corsSetting CRUD operations\n merkle-store-module merkleStoreModule CRUD operations\n graph-module graphModule CRUD operations\n trigger-function triggerFunction CRUD operations\n partition partition CRUD operations\n database-transfer databaseTransfer CRUD operations\n api api CRUD operations\n site site CRUD operations\n app app CRUD operations\n api-setting apiSetting CRUD operations\n connected-accounts-module connectedAccountsModule CRUD operations\n crypto-addresses-module cryptoAddressesModule CRUD operations\n crypto-auth-module cryptoAuthModule CRUD operations\n default-ids-module defaultIdsModule CRUD operations\n denormalized-table-field denormalizedTableField CRUD operations\n emails-module emailsModule CRUD operations\n config-secrets-user-module configSecretsUserModule CRUD operations\n invites-module invitesModule CRUD operations\n events-module eventsModule CRUD operations\n limits-module limitsModule CRUD operations\n membership-types-module membershipTypesModule CRUD operations\n memberships-module membershipsModule CRUD operations\n permissions-module permissionsModule CRUD operations\n phone-numbers-module phoneNumbersModule CRUD operations\n profiles-module profilesModule CRUD operations\n user-state-module userStateModule CRUD operations\n sessions-module sessionsModule CRUD operations\n user-auth-module userAuthModule CRUD operations\n users-module usersModule CRUD operations\n blueprint blueprint CRUD operations\n blueprint-template blueprintTemplate CRUD operations\n blueprint-construction blueprintConstruction CRUD operations\n storage-module storageModule CRUD operations\n entity-type-provision entityTypeProvision CRUD operations\n webauthn-credentials-module webauthnCredentialsModule CRUD operations\n webauthn-auth-module webauthnAuthModule CRUD operations\n notifications-module notificationsModule CRUD operations\n inference-log-module inferenceLogModule CRUD operations\n compute-log-module computeLogModule CRUD operations\n transfer-log-module transferLogModule CRUD operations\n storage-log-module storageLogModule CRUD operations\n db-usage-module dbUsageModule CRUD operations\n agent-module agentModule CRUD operations\n namespace-module namespaceModule CRUD operations\n function-module functionModule CRUD operations\n database-provision-module databaseProvisionModule CRUD operations\n app-admin-grant appAdminGrant CRUD operations\n app-owner-grant appOwnerGrant CRUD operations\n app-grant appGrant CRUD operations\n org-membership orgMembership CRUD operations\n org-member orgMember CRUD operations\n org-admin-grant orgAdminGrant CRUD operations\n org-owner-grant orgOwnerGrant CRUD operations\n org-member-profile orgMemberProfile CRUD operations\n org-grant orgGrant CRUD operations\n org-chart-edge orgChartEdge CRUD operations\n org-chart-edge-grant orgChartEdgeGrant CRUD operations\n org-permission-default orgPermissionDefault CRUD operations\n app-limit appLimit CRUD operations\n app-limit-credit appLimitCredit CRUD operations\n app-limit-credit-code-item appLimitCreditCodeItem CRUD operations\n app-limit-credit-redemption appLimitCreditRedemption CRUD operations\n org-limit orgLimit CRUD operations\n org-limit-credit orgLimitCredit CRUD operations\n org-limit-aggregate orgLimitAggregate CRUD operations\n org-limit-warning orgLimitWarning CRUD operations\n email email CRUD operations\n phone-number phoneNumber CRUD operations\n crypto-address cryptoAddress CRUD operations\n webauthn-credential webauthnCredential CRUD operations\n app-invite appInvite CRUD operations\n app-claimed-invite appClaimedInvite CRUD operations\n org-invite orgInvite CRUD operations\n org-claimed-invite orgClaimedInvite CRUD operations\n audit-log-auth auditLogAuth CRUD operations\n identity-provider identityProvider CRUD operations\n app-permission-default appPermissionDefault CRUD operations\n role-type roleType CRUD operations\n migrate-file migrateFile CRUD operations\n devices-module devicesModule CRUD operations\n app-membership-default appMembershipDefault CRUD operations\n org-membership-default orgMembershipDefault CRUD operations\n node-type-registry nodeTypeRegistry CRUD operations\n app-limit-caps-default appLimitCapsDefault CRUD operations\n org-limit-caps-default orgLimitCapsDefault CRUD operations\n app-limit-cap appLimitCap CRUD operations\n org-limit-cap orgLimitCap CRUD operations\n user-connected-account userConnectedAccount CRUD operations\n app-limit-default appLimitDefault CRUD operations\n org-limit-default orgLimitDefault CRUD operations\n app-limit-credit-code appLimitCreditCode CRUD operations\n app-limit-warning appLimitWarning CRUD operations\n pubkey-setting pubkeySetting CRUD operations\n rate-limits-module rateLimitsModule CRUD operations\n membership-type membershipType CRUD operations\n rls-setting rlsSetting CRUD operations\n rls-module rlsModule CRUD operations\n rate-limit-meters-module rateLimitMetersModule CRUD operations\n plans-module plansModule CRUD operations\n sql-action sqlAction CRUD operations\n database-setting databaseSetting CRUD operations\n org-membership-setting orgMembershipSetting CRUD operations\n app-limit-event appLimitEvent CRUD operations\n org-limit-event orgLimitEvent CRUD operations\n app-membership appMembership CRUD operations\n user user CRUD operations\n ast-migration astMigration CRUD operations\n webauthn-setting webauthnSetting CRUD operations\n billing-module billingModule CRUD operations\n billing-provider-module billingProviderModule CRUD operations\n hierarchy-module hierarchyModule CRUD operations\n current-user-id currentUserId\n current-user-agent currentUserAgent\n current-ip-address currentIpAddress\n require-step-up requireStepUp\n app-permissions-get-padded-mask appPermissionsGetPaddedMask\n org-permissions-get-padded-mask orgPermissionsGetPaddedMask\n apply-registry-defaults applyRegistryDefaults\n resolve-blueprint-field Resolves a field_name within a given table_id to a field_id. Throws if no match is found. Used by construct_blueprint to translate user-authored field names (e.g. \"location\") into field UUIDs for downstream provisioning procedures. table_id must already be resolved (via resolve_blueprint_table) before calling this.\n resolve-blueprint-table Resolves a table_name (with optional schema_name) to a table_id. Resolution order: (1) if schema_name provided, exact lookup via metaschema_public.schema.name + metaschema_public.table; (2) check local table_map (tables created in current blueprint); (3) search metaschema_public.table by name across all schemas; (4) if multiple matches, throw ambiguous error asking for schema_name; (5) if no match, throw not-found error.\n org-is-manager-of orgIsManagerOf\n app-permissions-get-mask appPermissionsGetMask\n org-permissions-get-mask orgPermissionsGetMask\n app-permissions-get-mask-by-names appPermissionsGetMaskByNames\n org-permissions-get-mask-by-names orgPermissionsGetMaskByNames\n app-permissions-get-by-mask Reads and enables pagination through a set of `AppPermission`.\n org-permissions-get-by-mask Reads and enables pagination through a set of `OrgPermission`.\n current-user currentUser\n send-account-deletion-email sendAccountDeletionEmail\n sign-out signOut\n accept-database-transfer acceptDatabaseTransfer\n cancel-database-transfer cancelDatabaseTransfer\n reject-database-transfer rejectDatabaseTransfer\n disconnect-account disconnectAccount\n revoke-api-key revokeApiKey\n revoke-session revokeSession\n verify-password verifyPassword\n verify-totp verifyTotp\n submit-app-invite-code submitAppInviteCode\n submit-org-invite-code submitOrgInviteCode\n check-password checkPassword\n confirm-delete-account confirmDeleteAccount\n set-password setPassword\n verify-email verifyEmail\n construct-blueprint Executes a blueprint definition by delegating to provision_* procedures. Creates a blueprint_construction record to track the attempt. Eight phases: (0) entity_type_provision for each membership_type entry \u2014 provisions entity tables, membership modules, and security. When a prefix already exists (e.g., 'org'), the entry extends the existing entity type instead of creating a new one; if a storage[] key is present, it provisions entity-scoped storage for that type. (0.5) scope-based storage: each storage[] entry has an optional scope ('app' or 'org' only). App-scoped storage seeds buckets at migration time. Org-scoped storage resolves the org membership type, creates org_buckets/org_files with owner_id, and seeds buckets per-entity via an AFTER INSERT trigger on the users table. When function_module is installed, a private functions bucket is auto-injected into org-scoped or entity-scoped storage entries. (1) provision_table() for each table with nodes[], fields[], policies[], and grants (table-level indexes/fts/unique_constraints/check_constraints are deferred). After provisioning, optional smart_tags (jsonb object) on the table entry are applied via metaschema.append_table_smart_tags(), and optional smart_tags on individual field entries are applied via metaschema.append_field_smart_tags(). (2) provision_relation() for each relation, (3) provision_index() for top-level + deferred indexes, (4) provision_full_text_search() for top-level + deferred FTS, (5) provision_unique_constraint() for top-level + deferred unique constraints, (6) provision_check_constraint() for top-level + deferred check constraints, (7) seed achievements from definition.achievements[] \u2014 resolves events_module by entity_prefix and creates INSERT actions for levels, level_requirements, and achievement_rewards tables. Phase 0 entity tables are added to the table_map so subsequent phases can reference them by name. Table-level entries are deferred to phases 3-6 so they can reference columns created by relations in phase 2. Returns the construction record ID on success, NULL on failure.\n provision-new-user provisionNewUser\n reset-password resetPassword\n provision-check-constraint Creates a check constraint on a table from a $type + data blueprint definition. Supports: CheckOneOf (enum validation via = ANY(ARRAY[...])), CheckGreaterThan (single-column > value or cross-column), CheckLessThan (single-column < value or cross-column), CheckNotEqual (cross-column inequality). Builds AST expressions via ast_helpers and inserts into metaschema_public.check_constraint. Graceful: skips if a constraint with the same name already exists.\n provision-unique-constraint Creates a unique constraint on a table. Accepts a jsonb definition with columns (array of field names). Graceful: skips if the exact same unique constraint already exists.\n provision-full-text-search Creates a full-text search configuration on a table. Accepts a jsonb definition with field (tsvector column name) and sources (array of {field, weight, lang}). Graceful: skips if FTS config already exists for the same (table_id, field_id). Returns the fts_id.\n provision-index Creates an index on a table. Accepts a jsonb definition with columns (array of names or single column string), access_method (default BTREE), is_unique, op_classes, options, and name (auto-generated if omitted). Graceful: skips if an index with the same (table_id, field_ids, access_method) already exists. Returns the index_id.\n copy-template-to-blueprint Creates a new blueprint by copying a template definition. Checks visibility: owners can always copy their own templates, others require public visibility. Increments the template copy_count. Returns the new blueprint ID.\n provision-spatial-relation Idempotent provisioner for metaschema_public.spatial_relation. Inserts a row declaring a spatial predicate between two geometry/geography columns (owner and target). Called from construct_blueprint when a relation entry has $type=RelationSpatial. Graceful: re-running with the same (source_table_id, name) returns the existing id without modifying the row. Operator whitelist and st_dwithin \u2194 param_name pairing are enforced by the spatial_relation table CHECKs. Both fields must already exist \u2014 this is a metadata-only insert.\n sign-in-cross-origin signInCrossOrigin\n bootstrap-user bootstrapUser\n sign-up signUp\n sign-in signIn\n provision-relation Composable relation provisioning: creates FK fields, indexes, unique constraints, and junction tables depending on the relation_type. Supports RelationBelongsTo, RelationHasOne, RelationHasMany, and RelationManyToMany. ManyToMany uses provision_table() internally for junction table creation with full node/grant/policy support. All operations are graceful (skip existing). Returns (out_field_id, out_junction_table_id, out_source_field_id, out_target_field_id).\n set-field-order setFieldOrder\n apply-rls applyRls\n provision-database-with-user provisionDatabaseWithUser\n create-user-database Creates a new user database with all required modules, permissions, and RLS policies.\n\nParameters:\n - database_name: Name for the new database (required)\n - owner_id: UUID of the owner user (required)\n - include_invites: Include invite system (default: true)\n - include_groups: Include group-level memberships (default: false)\n - include_levels: Include events/analytics (default: false)\n - bitlen: Bit length for permission masks (default: 64)\n - tokens_expiration: Token expiration interval (default: 30 days)\n\nReturns the database_id UUID of the newly created database.\n\nExample usage:\n SELECT metaschema_public.create_user_database('my_app', 'a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::uuid);\n SELECT metaschema_public.create_user_database('my_app', 'a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::uuid, true, true); -- with invites and groups\n\n extend-token-expires extendTokenExpires\n create-api-key createApiKey\n request-cross-origin-token requestCrossOriginToken\n provision-table Composable table provisioning: creates or finds a table, then creates fields (so Data* modules can reference them), applies N nodes (Data* modules), enables RLS, creates grants, creates N policies, and optionally creates table-level indexes/full_text_searches/unique_constraints. All operations are graceful (skip existing). Accepts multiple nodes and multiple policies per call, unlike secure_table_provision which is limited to one of each. Returns (out_table_id, out_fields).\n send-verification-email sendVerificationEmail\n forgot-password forgotPassword\n provision-bucket Provision an S3 bucket for a logical bucket in the database.\nReads the bucket config via RLS, then creates and configures\nthe S3 bucket with the appropriate privacy policies, CORS rules,\nand lifecycle settings.\n\n --help, -h Show this help message\n --version, -v Show version\n";
|
|
454
436
|
const commands = async (argv, prompter, options) => {
|
|
455
437
|
if (argv.help || argv.h) {
|
|
456
438
|
console.log(usage);
|