@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
package/esm/public/cli/commands/{encrypted-secrets-module.js → config-secrets-org-module.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* CLI commands for
|
|
2
|
+
* CLI commands for ConfigSecretsOrgModule
|
|
3
3
|
* @generated by @constructive-io/graphql-codegen
|
|
4
4
|
* DO NOT EDIT - changes will be overwritten
|
|
5
5
|
*/
|
|
@@ -13,7 +13,7 @@ const fieldSchema = {
|
|
|
13
13
|
tableId: 'uuid',
|
|
14
14
|
tableName: 'string',
|
|
15
15
|
};
|
|
16
|
-
const usage = '\
|
|
16
|
+
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';
|
|
17
17
|
export default async (argv, prompter, _options) => {
|
|
18
18
|
if (argv.help || argv.h) {
|
|
19
19
|
console.log(usage);
|
|
@@ -63,7 +63,7 @@ async function handleList(argv, _prompter) {
|
|
|
63
63
|
};
|
|
64
64
|
const findManyArgs = parseFindManyArgs(argv, defaultSelect);
|
|
65
65
|
const client = getClient();
|
|
66
|
-
const result = await client.
|
|
66
|
+
const result = await client.configSecretsOrgModule.findMany(findManyArgs).execute();
|
|
67
67
|
console.log(JSON.stringify(result, null, 2));
|
|
68
68
|
}
|
|
69
69
|
catch (error) {
|
|
@@ -85,7 +85,7 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
85
85
|
};
|
|
86
86
|
const findFirstArgs = parseFindFirstArgs(argv, defaultSelect);
|
|
87
87
|
const client = getClient();
|
|
88
|
-
const result = await client.
|
|
88
|
+
const result = await client.configSecretsOrgModule.findFirst(findFirstArgs).execute();
|
|
89
89
|
console.log(JSON.stringify(result, null, 2));
|
|
90
90
|
}
|
|
91
91
|
catch (error) {
|
|
@@ -107,7 +107,7 @@ async function handleGet(argv, prompter) {
|
|
|
107
107
|
},
|
|
108
108
|
]);
|
|
109
109
|
const client = getClient();
|
|
110
|
-
const result = await client.
|
|
110
|
+
const result = await client.configSecretsOrgModule
|
|
111
111
|
.findOne({
|
|
112
112
|
id: answers.id,
|
|
113
113
|
select: {
|
|
@@ -163,7 +163,7 @@ async function handleCreate(argv, prompter) {
|
|
|
163
163
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
164
164
|
const cleanedData = stripUndefined(answers, fieldSchema);
|
|
165
165
|
const client = getClient();
|
|
166
|
-
const result = await client.
|
|
166
|
+
const result = await client.configSecretsOrgModule
|
|
167
167
|
.create({
|
|
168
168
|
data: {
|
|
169
169
|
databaseId: cleanedData.databaseId,
|
|
@@ -230,7 +230,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
230
230
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
231
231
|
const cleanedData = stripUndefined(answers, fieldSchema);
|
|
232
232
|
const client = getClient();
|
|
233
|
-
const result = await client.
|
|
233
|
+
const result = await client.configSecretsOrgModule
|
|
234
234
|
.update({
|
|
235
235
|
where: {
|
|
236
236
|
id: answers.id,
|
|
@@ -272,7 +272,7 @@ async function handleDelete(argv, prompter) {
|
|
|
272
272
|
]);
|
|
273
273
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
274
274
|
const client = getClient();
|
|
275
|
-
const result = await client.
|
|
275
|
+
const result = await client.configSecretsOrgModule
|
|
276
276
|
.delete({
|
|
277
277
|
where: {
|
|
278
278
|
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,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* CLI commands for
|
|
2
|
+
* CLI commands for ConfigSecretsUserModule
|
|
3
3
|
* @generated by @constructive-io/graphql-codegen
|
|
4
4
|
* DO NOT EDIT - changes will be overwritten
|
|
5
5
|
*/
|
|
@@ -7,16 +7,14 @@ import { extractFirst } from 'inquirerer';
|
|
|
7
7
|
import { getClient } from '../executor';
|
|
8
8
|
import { coerceAnswers, parseFindFirstArgs, parseFindManyArgs, stripUndefined } from '../utils';
|
|
9
9
|
const fieldSchema = {
|
|
10
|
-
hashUuid: 'uuid',
|
|
11
10
|
id: 'uuid',
|
|
12
11
|
databaseId: 'uuid',
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
createdAt: 'string',
|
|
12
|
+
schemaId: 'uuid',
|
|
13
|
+
tableId: 'uuid',
|
|
14
|
+
tableName: 'string',
|
|
15
|
+
configDefinitionsTableId: 'uuid',
|
|
18
16
|
};
|
|
19
|
-
const usage = '\
|
|
17
|
+
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';
|
|
20
18
|
export default async (argv, prompter, _options) => {
|
|
21
19
|
if (argv.help || argv.h) {
|
|
22
20
|
console.log(usage);
|
|
@@ -60,15 +58,14 @@ async function handleList(argv, _prompter) {
|
|
|
60
58
|
const defaultSelect = {
|
|
61
59
|
id: true,
|
|
62
60
|
databaseId: true,
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
createdAt: true,
|
|
61
|
+
schemaId: true,
|
|
62
|
+
tableId: true,
|
|
63
|
+
tableName: true,
|
|
64
|
+
configDefinitionsTableId: true,
|
|
68
65
|
};
|
|
69
66
|
const findManyArgs = parseFindManyArgs(argv, defaultSelect);
|
|
70
67
|
const client = getClient();
|
|
71
|
-
const result = await client.
|
|
68
|
+
const result = await client.configSecretsUserModule.findMany(findManyArgs).execute();
|
|
72
69
|
console.log(JSON.stringify(result, null, 2));
|
|
73
70
|
}
|
|
74
71
|
catch (error) {
|
|
@@ -84,15 +81,14 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
84
81
|
const defaultSelect = {
|
|
85
82
|
id: true,
|
|
86
83
|
databaseId: true,
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
createdAt: true,
|
|
84
|
+
schemaId: true,
|
|
85
|
+
tableId: true,
|
|
86
|
+
tableName: true,
|
|
87
|
+
configDefinitionsTableId: true,
|
|
92
88
|
};
|
|
93
89
|
const findFirstArgs = parseFindFirstArgs(argv, defaultSelect);
|
|
94
90
|
const client = getClient();
|
|
95
|
-
const result = await client.
|
|
91
|
+
const result = await client.configSecretsUserModule.findFirst(findFirstArgs).execute();
|
|
96
92
|
console.log(JSON.stringify(result, null, 2));
|
|
97
93
|
}
|
|
98
94
|
catch (error) {
|
|
@@ -114,17 +110,16 @@ async function handleGet(argv, prompter) {
|
|
|
114
110
|
},
|
|
115
111
|
]);
|
|
116
112
|
const client = getClient();
|
|
117
|
-
const result = await client.
|
|
113
|
+
const result = await client.configSecretsUserModule
|
|
118
114
|
.findOne({
|
|
119
115
|
id: answers.id,
|
|
120
116
|
select: {
|
|
121
117
|
id: true,
|
|
122
118
|
databaseId: true,
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
createdAt: true,
|
|
119
|
+
schemaId: true,
|
|
120
|
+
tableId: true,
|
|
121
|
+
tableName: true,
|
|
122
|
+
configDefinitionsTableId: true,
|
|
128
123
|
},
|
|
129
124
|
})
|
|
130
125
|
.execute();
|
|
@@ -149,29 +144,29 @@ async function handleCreate(argv, prompter) {
|
|
|
149
144
|
},
|
|
150
145
|
{
|
|
151
146
|
type: 'text',
|
|
152
|
-
name: '
|
|
153
|
-
message: '
|
|
147
|
+
name: 'schemaId',
|
|
148
|
+
message: 'schemaId',
|
|
154
149
|
required: false,
|
|
155
150
|
skipPrompt: true,
|
|
156
151
|
},
|
|
157
152
|
{
|
|
158
153
|
type: 'text',
|
|
159
|
-
name: '
|
|
160
|
-
message: '
|
|
154
|
+
name: 'tableId',
|
|
155
|
+
message: 'tableId',
|
|
161
156
|
required: false,
|
|
162
157
|
skipPrompt: true,
|
|
163
158
|
},
|
|
164
159
|
{
|
|
165
|
-
type: '
|
|
166
|
-
name: '
|
|
167
|
-
message: '
|
|
160
|
+
type: 'text',
|
|
161
|
+
name: 'tableName',
|
|
162
|
+
message: 'tableName',
|
|
168
163
|
required: false,
|
|
169
164
|
skipPrompt: true,
|
|
170
165
|
},
|
|
171
166
|
{
|
|
172
|
-
type: '
|
|
173
|
-
name: '
|
|
174
|
-
message: '
|
|
167
|
+
type: 'text',
|
|
168
|
+
name: 'configDefinitionsTableId',
|
|
169
|
+
message: 'configDefinitionsTableId',
|
|
175
170
|
required: false,
|
|
176
171
|
skipPrompt: true,
|
|
177
172
|
},
|
|
@@ -179,23 +174,22 @@ async function handleCreate(argv, prompter) {
|
|
|
179
174
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
180
175
|
const cleanedData = stripUndefined(answers, fieldSchema);
|
|
181
176
|
const client = getClient();
|
|
182
|
-
const result = await client.
|
|
177
|
+
const result = await client.configSecretsUserModule
|
|
183
178
|
.create({
|
|
184
179
|
data: {
|
|
185
180
|
databaseId: cleanedData.databaseId,
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
181
|
+
schemaId: cleanedData.schemaId,
|
|
182
|
+
tableId: cleanedData.tableId,
|
|
183
|
+
tableName: cleanedData.tableName,
|
|
184
|
+
configDefinitionsTableId: cleanedData.configDefinitionsTableId,
|
|
190
185
|
},
|
|
191
186
|
select: {
|
|
192
187
|
id: true,
|
|
193
188
|
databaseId: true,
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
createdAt: true,
|
|
189
|
+
schemaId: true,
|
|
190
|
+
tableId: true,
|
|
191
|
+
tableName: true,
|
|
192
|
+
configDefinitionsTableId: true,
|
|
199
193
|
},
|
|
200
194
|
})
|
|
201
195
|
.execute();
|
|
@@ -226,29 +220,29 @@ async function handleUpdate(argv, prompter) {
|
|
|
226
220
|
},
|
|
227
221
|
{
|
|
228
222
|
type: 'text',
|
|
229
|
-
name: '
|
|
230
|
-
message: '
|
|
223
|
+
name: 'schemaId',
|
|
224
|
+
message: 'schemaId',
|
|
231
225
|
required: false,
|
|
232
226
|
skipPrompt: true,
|
|
233
227
|
},
|
|
234
228
|
{
|
|
235
229
|
type: 'text',
|
|
236
|
-
name: '
|
|
237
|
-
message: '
|
|
230
|
+
name: 'tableId',
|
|
231
|
+
message: 'tableId',
|
|
238
232
|
required: false,
|
|
239
233
|
skipPrompt: true,
|
|
240
234
|
},
|
|
241
235
|
{
|
|
242
|
-
type: '
|
|
243
|
-
name: '
|
|
244
|
-
message: '
|
|
236
|
+
type: 'text',
|
|
237
|
+
name: 'tableName',
|
|
238
|
+
message: 'tableName',
|
|
245
239
|
required: false,
|
|
246
240
|
skipPrompt: true,
|
|
247
241
|
},
|
|
248
242
|
{
|
|
249
|
-
type: '
|
|
250
|
-
name: '
|
|
251
|
-
message: '
|
|
243
|
+
type: 'text',
|
|
244
|
+
name: 'configDefinitionsTableId',
|
|
245
|
+
message: 'configDefinitionsTableId',
|
|
252
246
|
required: false,
|
|
253
247
|
skipPrompt: true,
|
|
254
248
|
},
|
|
@@ -256,26 +250,25 @@ async function handleUpdate(argv, prompter) {
|
|
|
256
250
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
257
251
|
const cleanedData = stripUndefined(answers, fieldSchema);
|
|
258
252
|
const client = getClient();
|
|
259
|
-
const result = await client.
|
|
253
|
+
const result = await client.configSecretsUserModule
|
|
260
254
|
.update({
|
|
261
255
|
where: {
|
|
262
256
|
id: answers.id,
|
|
263
257
|
},
|
|
264
258
|
data: {
|
|
265
259
|
databaseId: cleanedData.databaseId,
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
260
|
+
schemaId: cleanedData.schemaId,
|
|
261
|
+
tableId: cleanedData.tableId,
|
|
262
|
+
tableName: cleanedData.tableName,
|
|
263
|
+
configDefinitionsTableId: cleanedData.configDefinitionsTableId,
|
|
270
264
|
},
|
|
271
265
|
select: {
|
|
272
266
|
id: true,
|
|
273
267
|
databaseId: true,
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
createdAt: true,
|
|
268
|
+
schemaId: true,
|
|
269
|
+
tableId: true,
|
|
270
|
+
tableName: true,
|
|
271
|
+
configDefinitionsTableId: true,
|
|
279
272
|
},
|
|
280
273
|
})
|
|
281
274
|
.execute();
|
|
@@ -301,7 +294,7 @@ async function handleDelete(argv, prompter) {
|
|
|
301
294
|
]);
|
|
302
295
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
303
296
|
const client = getClient();
|
|
304
|
-
const result = await client.
|
|
297
|
+
const result = await client.configSecretsUserModule
|
|
305
298
|
.delete({
|
|
306
299
|
where: {
|
|
307
300
|
id: answers.id,
|
|
@@ -3,7 +3,7 @@ import { unflattenDotNotation, buildSelectFromPaths } from '../utils';
|
|
|
3
3
|
export default async (argv, prompter, _options) => {
|
|
4
4
|
try {
|
|
5
5
|
if (argv.help || argv.h) {
|
|
6
|
-
console.log(
|
|
6
|
+
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");
|
|
7
7
|
process.exit(0);
|
|
8
8
|
}
|
|
9
9
|
const answers = await prompter.prompt(argv, [
|