@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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
/**
|
|
4
|
-
* CLI commands for
|
|
4
|
+
* CLI commands for ConfigSecretsOrgModule
|
|
5
5
|
* @generated by @constructive-io/graphql-codegen
|
|
6
6
|
* DO NOT EDIT - changes will be overwritten
|
|
7
7
|
*/
|
|
@@ -15,7 +15,7 @@ const fieldSchema = {
|
|
|
15
15
|
tableId: 'uuid',
|
|
16
16
|
tableName: 'string',
|
|
17
17
|
};
|
|
18
|
-
const usage = '\
|
|
18
|
+
const usage = '\nconfig-secrets-org-module <command>\n\nCommands:\n list List configSecretsOrgModule records\n find-first Find first matching configSecretsOrgModule record\n get Get a configSecretsOrgModule by ID\n create Create a new configSecretsOrgModule\n update Update an existing configSecretsOrgModule\n delete Delete a configSecretsOrgModule\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';
|
|
19
19
|
exports.default = async (argv, prompter, _options) => {
|
|
20
20
|
if (argv.help || argv.h) {
|
|
21
21
|
console.log(usage);
|
|
@@ -65,7 +65,7 @@ async function handleList(argv, _prompter) {
|
|
|
65
65
|
};
|
|
66
66
|
const findManyArgs = (0, utils_1.parseFindManyArgs)(argv, defaultSelect);
|
|
67
67
|
const client = (0, executor_1.getClient)();
|
|
68
|
-
const result = await client.
|
|
68
|
+
const result = await client.configSecretsOrgModule.findMany(findManyArgs).execute();
|
|
69
69
|
console.log(JSON.stringify(result, null, 2));
|
|
70
70
|
}
|
|
71
71
|
catch (error) {
|
|
@@ -87,7 +87,7 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
87
87
|
};
|
|
88
88
|
const findFirstArgs = (0, utils_1.parseFindFirstArgs)(argv, defaultSelect);
|
|
89
89
|
const client = (0, executor_1.getClient)();
|
|
90
|
-
const result = await client.
|
|
90
|
+
const result = await client.configSecretsOrgModule.findFirst(findFirstArgs).execute();
|
|
91
91
|
console.log(JSON.stringify(result, null, 2));
|
|
92
92
|
}
|
|
93
93
|
catch (error) {
|
|
@@ -109,7 +109,7 @@ async function handleGet(argv, prompter) {
|
|
|
109
109
|
},
|
|
110
110
|
]);
|
|
111
111
|
const client = (0, executor_1.getClient)();
|
|
112
|
-
const result = await client.
|
|
112
|
+
const result = await client.configSecretsOrgModule
|
|
113
113
|
.findOne({
|
|
114
114
|
id: answers.id,
|
|
115
115
|
select: {
|
|
@@ -165,7 +165,7 @@ async function handleCreate(argv, prompter) {
|
|
|
165
165
|
const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
|
|
166
166
|
const cleanedData = (0, utils_1.stripUndefined)(answers, fieldSchema);
|
|
167
167
|
const client = (0, executor_1.getClient)();
|
|
168
|
-
const result = await client.
|
|
168
|
+
const result = await client.configSecretsOrgModule
|
|
169
169
|
.create({
|
|
170
170
|
data: {
|
|
171
171
|
databaseId: cleanedData.databaseId,
|
|
@@ -232,7 +232,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
232
232
|
const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
|
|
233
233
|
const cleanedData = (0, utils_1.stripUndefined)(answers, fieldSchema);
|
|
234
234
|
const client = (0, executor_1.getClient)();
|
|
235
|
-
const result = await client.
|
|
235
|
+
const result = await client.configSecretsOrgModule
|
|
236
236
|
.update({
|
|
237
237
|
where: {
|
|
238
238
|
id: answers.id,
|
|
@@ -274,7 +274,7 @@ async function handleDelete(argv, prompter) {
|
|
|
274
274
|
]);
|
|
275
275
|
const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
|
|
276
276
|
const client = (0, executor_1.getClient)();
|
|
277
|
-
const result = await client.
|
|
277
|
+
const result = await client.configSecretsOrgModule
|
|
278
278
|
.delete({
|
|
279
279
|
where: {
|
|
280
280
|
id: answers.id,
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CLI commands for ConfigSecretsUserModule
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import { CLIOptions, Inquirerer } from 'inquirerer';
|
|
7
|
+
declare const _default: (argv: Partial<Record<string, unknown>>, prompter: Inquirerer, _options: CLIOptions) => Promise<void>;
|
|
8
|
+
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
/**
|
|
4
|
-
* CLI commands for
|
|
4
|
+
* CLI commands for ConfigSecretsUserModule
|
|
5
5
|
* @generated by @constructive-io/graphql-codegen
|
|
6
6
|
* DO NOT EDIT - changes will be overwritten
|
|
7
7
|
*/
|
|
@@ -9,16 +9,14 @@ const inquirerer_1 = require("inquirerer");
|
|
|
9
9
|
const executor_1 = require("../executor");
|
|
10
10
|
const utils_1 = require("../utils");
|
|
11
11
|
const fieldSchema = {
|
|
12
|
-
hashUuid: 'uuid',
|
|
13
12
|
id: 'uuid',
|
|
14
13
|
databaseId: 'uuid',
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
createdAt: 'string',
|
|
14
|
+
schemaId: 'uuid',
|
|
15
|
+
tableId: 'uuid',
|
|
16
|
+
tableName: 'string',
|
|
17
|
+
configDefinitionsTableId: 'uuid',
|
|
20
18
|
};
|
|
21
|
-
const usage = '\
|
|
19
|
+
const usage = '\nconfig-secrets-user-module <command>\n\nCommands:\n list List configSecretsUserModule records\n find-first Find first matching configSecretsUserModule record\n get Get a configSecretsUserModule by ID\n create Create a new configSecretsUserModule\n update Update an existing configSecretsUserModule\n delete Delete a configSecretsUserModule\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';
|
|
22
20
|
exports.default = async (argv, prompter, _options) => {
|
|
23
21
|
if (argv.help || argv.h) {
|
|
24
22
|
console.log(usage);
|
|
@@ -62,15 +60,14 @@ async function handleList(argv, _prompter) {
|
|
|
62
60
|
const defaultSelect = {
|
|
63
61
|
id: true,
|
|
64
62
|
databaseId: true,
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
createdAt: true,
|
|
63
|
+
schemaId: true,
|
|
64
|
+
tableId: true,
|
|
65
|
+
tableName: true,
|
|
66
|
+
configDefinitionsTableId: true,
|
|
70
67
|
};
|
|
71
68
|
const findManyArgs = (0, utils_1.parseFindManyArgs)(argv, defaultSelect);
|
|
72
69
|
const client = (0, executor_1.getClient)();
|
|
73
|
-
const result = await client.
|
|
70
|
+
const result = await client.configSecretsUserModule.findMany(findManyArgs).execute();
|
|
74
71
|
console.log(JSON.stringify(result, null, 2));
|
|
75
72
|
}
|
|
76
73
|
catch (error) {
|
|
@@ -86,15 +83,14 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
86
83
|
const defaultSelect = {
|
|
87
84
|
id: true,
|
|
88
85
|
databaseId: true,
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
createdAt: true,
|
|
86
|
+
schemaId: true,
|
|
87
|
+
tableId: true,
|
|
88
|
+
tableName: true,
|
|
89
|
+
configDefinitionsTableId: true,
|
|
94
90
|
};
|
|
95
91
|
const findFirstArgs = (0, utils_1.parseFindFirstArgs)(argv, defaultSelect);
|
|
96
92
|
const client = (0, executor_1.getClient)();
|
|
97
|
-
const result = await client.
|
|
93
|
+
const result = await client.configSecretsUserModule.findFirst(findFirstArgs).execute();
|
|
98
94
|
console.log(JSON.stringify(result, null, 2));
|
|
99
95
|
}
|
|
100
96
|
catch (error) {
|
|
@@ -116,17 +112,16 @@ async function handleGet(argv, prompter) {
|
|
|
116
112
|
},
|
|
117
113
|
]);
|
|
118
114
|
const client = (0, executor_1.getClient)();
|
|
119
|
-
const result = await client.
|
|
115
|
+
const result = await client.configSecretsUserModule
|
|
120
116
|
.findOne({
|
|
121
117
|
id: answers.id,
|
|
122
118
|
select: {
|
|
123
119
|
id: true,
|
|
124
120
|
databaseId: true,
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
createdAt: true,
|
|
121
|
+
schemaId: true,
|
|
122
|
+
tableId: true,
|
|
123
|
+
tableName: true,
|
|
124
|
+
configDefinitionsTableId: true,
|
|
130
125
|
},
|
|
131
126
|
})
|
|
132
127
|
.execute();
|
|
@@ -151,29 +146,29 @@ async function handleCreate(argv, prompter) {
|
|
|
151
146
|
},
|
|
152
147
|
{
|
|
153
148
|
type: 'text',
|
|
154
|
-
name: '
|
|
155
|
-
message: '
|
|
149
|
+
name: 'schemaId',
|
|
150
|
+
message: 'schemaId',
|
|
156
151
|
required: false,
|
|
157
152
|
skipPrompt: true,
|
|
158
153
|
},
|
|
159
154
|
{
|
|
160
155
|
type: 'text',
|
|
161
|
-
name: '
|
|
162
|
-
message: '
|
|
156
|
+
name: 'tableId',
|
|
157
|
+
message: 'tableId',
|
|
163
158
|
required: false,
|
|
164
159
|
skipPrompt: true,
|
|
165
160
|
},
|
|
166
161
|
{
|
|
167
|
-
type: '
|
|
168
|
-
name: '
|
|
169
|
-
message: '
|
|
162
|
+
type: 'text',
|
|
163
|
+
name: 'tableName',
|
|
164
|
+
message: 'tableName',
|
|
170
165
|
required: false,
|
|
171
166
|
skipPrompt: true,
|
|
172
167
|
},
|
|
173
168
|
{
|
|
174
|
-
type: '
|
|
175
|
-
name: '
|
|
176
|
-
message: '
|
|
169
|
+
type: 'text',
|
|
170
|
+
name: 'configDefinitionsTableId',
|
|
171
|
+
message: 'configDefinitionsTableId',
|
|
177
172
|
required: false,
|
|
178
173
|
skipPrompt: true,
|
|
179
174
|
},
|
|
@@ -181,23 +176,22 @@ async function handleCreate(argv, prompter) {
|
|
|
181
176
|
const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
|
|
182
177
|
const cleanedData = (0, utils_1.stripUndefined)(answers, fieldSchema);
|
|
183
178
|
const client = (0, executor_1.getClient)();
|
|
184
|
-
const result = await client.
|
|
179
|
+
const result = await client.configSecretsUserModule
|
|
185
180
|
.create({
|
|
186
181
|
data: {
|
|
187
182
|
databaseId: cleanedData.databaseId,
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
183
|
+
schemaId: cleanedData.schemaId,
|
|
184
|
+
tableId: cleanedData.tableId,
|
|
185
|
+
tableName: cleanedData.tableName,
|
|
186
|
+
configDefinitionsTableId: cleanedData.configDefinitionsTableId,
|
|
192
187
|
},
|
|
193
188
|
select: {
|
|
194
189
|
id: true,
|
|
195
190
|
databaseId: true,
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
createdAt: true,
|
|
191
|
+
schemaId: true,
|
|
192
|
+
tableId: true,
|
|
193
|
+
tableName: true,
|
|
194
|
+
configDefinitionsTableId: true,
|
|
201
195
|
},
|
|
202
196
|
})
|
|
203
197
|
.execute();
|
|
@@ -228,29 +222,29 @@ async function handleUpdate(argv, prompter) {
|
|
|
228
222
|
},
|
|
229
223
|
{
|
|
230
224
|
type: 'text',
|
|
231
|
-
name: '
|
|
232
|
-
message: '
|
|
225
|
+
name: 'schemaId',
|
|
226
|
+
message: 'schemaId',
|
|
233
227
|
required: false,
|
|
234
228
|
skipPrompt: true,
|
|
235
229
|
},
|
|
236
230
|
{
|
|
237
231
|
type: 'text',
|
|
238
|
-
name: '
|
|
239
|
-
message: '
|
|
232
|
+
name: 'tableId',
|
|
233
|
+
message: 'tableId',
|
|
240
234
|
required: false,
|
|
241
235
|
skipPrompt: true,
|
|
242
236
|
},
|
|
243
237
|
{
|
|
244
|
-
type: '
|
|
245
|
-
name: '
|
|
246
|
-
message: '
|
|
238
|
+
type: 'text',
|
|
239
|
+
name: 'tableName',
|
|
240
|
+
message: 'tableName',
|
|
247
241
|
required: false,
|
|
248
242
|
skipPrompt: true,
|
|
249
243
|
},
|
|
250
244
|
{
|
|
251
|
-
type: '
|
|
252
|
-
name: '
|
|
253
|
-
message: '
|
|
245
|
+
type: 'text',
|
|
246
|
+
name: 'configDefinitionsTableId',
|
|
247
|
+
message: 'configDefinitionsTableId',
|
|
254
248
|
required: false,
|
|
255
249
|
skipPrompt: true,
|
|
256
250
|
},
|
|
@@ -258,26 +252,25 @@ async function handleUpdate(argv, prompter) {
|
|
|
258
252
|
const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
|
|
259
253
|
const cleanedData = (0, utils_1.stripUndefined)(answers, fieldSchema);
|
|
260
254
|
const client = (0, executor_1.getClient)();
|
|
261
|
-
const result = await client.
|
|
255
|
+
const result = await client.configSecretsUserModule
|
|
262
256
|
.update({
|
|
263
257
|
where: {
|
|
264
258
|
id: answers.id,
|
|
265
259
|
},
|
|
266
260
|
data: {
|
|
267
261
|
databaseId: cleanedData.databaseId,
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
262
|
+
schemaId: cleanedData.schemaId,
|
|
263
|
+
tableId: cleanedData.tableId,
|
|
264
|
+
tableName: cleanedData.tableName,
|
|
265
|
+
configDefinitionsTableId: cleanedData.configDefinitionsTableId,
|
|
272
266
|
},
|
|
273
267
|
select: {
|
|
274
268
|
id: true,
|
|
275
269
|
databaseId: true,
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
createdAt: true,
|
|
270
|
+
schemaId: true,
|
|
271
|
+
tableId: true,
|
|
272
|
+
tableName: true,
|
|
273
|
+
configDefinitionsTableId: true,
|
|
281
274
|
},
|
|
282
275
|
})
|
|
283
276
|
.execute();
|
|
@@ -303,7 +296,7 @@ async function handleDelete(argv, prompter) {
|
|
|
303
296
|
]);
|
|
304
297
|
const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
|
|
305
298
|
const client = (0, executor_1.getClient)();
|
|
306
|
-
const result = await client.
|
|
299
|
+
const result = await client.configSecretsUserModule
|
|
307
300
|
.delete({
|
|
308
301
|
where: {
|
|
309
302
|
id: answers.id,
|
|
@@ -5,7 +5,7 @@ const utils_1 = require("../utils");
|
|
|
5
5
|
exports.default = async (argv, prompter, _options) => {
|
|
6
6
|
try {
|
|
7
7
|
if (argv.help || argv.h) {
|
|
8
|
-
console.log(
|
|
8
|
+
console.log("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\nUsage: construct-blueprint [OPTIONS]\n");
|
|
9
9
|
process.exit(0);
|
|
10
10
|
}
|
|
11
11
|
const answers = await prompter.prompt(argv, [
|