@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,54 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* AgentTask model for ORM client
|
|
3
|
-
* @generated by @constructive-io/graphql-codegen
|
|
4
|
-
* DO NOT EDIT - changes will be overwritten
|
|
5
|
-
*/
|
|
6
|
-
import { OrmClient } from '../client';
|
|
7
|
-
import { QueryBuilder } from '../query-builder';
|
|
8
|
-
import type { ConnectionResult, FindManyArgs, FindFirstArgs, CreateArgs, UpdateArgs, DeleteArgs, InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
-
import type { AgentTaskWithRelations, AgentTaskSelect, AgentTaskFilter, AgentTaskOrderBy, CreateAgentTaskInput, AgentTaskPatch } from '../input-types';
|
|
10
|
-
export declare class AgentTaskModel {
|
|
11
|
-
private client;
|
|
12
|
-
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends AgentTaskSelect>(args: FindManyArgs<S, AgentTaskFilter, AgentTaskOrderBy> & {
|
|
14
|
-
select: S;
|
|
15
|
-
} & StrictSelect<S, AgentTaskSelect>): QueryBuilder<{
|
|
16
|
-
agentTasks: ConnectionResult<InferSelectResult<AgentTaskWithRelations, S>>;
|
|
17
|
-
}>;
|
|
18
|
-
findFirst<S extends AgentTaskSelect>(args: FindFirstArgs<S, AgentTaskFilter, AgentTaskOrderBy> & {
|
|
19
|
-
select: S;
|
|
20
|
-
} & StrictSelect<S, AgentTaskSelect>): QueryBuilder<{
|
|
21
|
-
agentTask: InferSelectResult<AgentTaskWithRelations, S> | null;
|
|
22
|
-
}>;
|
|
23
|
-
findOne<S extends AgentTaskSelect>(args: {
|
|
24
|
-
id: string;
|
|
25
|
-
select: S;
|
|
26
|
-
} & StrictSelect<S, AgentTaskSelect>): QueryBuilder<{
|
|
27
|
-
agentTask: InferSelectResult<AgentTaskWithRelations, S> | null;
|
|
28
|
-
}>;
|
|
29
|
-
create<S extends AgentTaskSelect>(args: CreateArgs<S, CreateAgentTaskInput['agentTask']> & {
|
|
30
|
-
select: S;
|
|
31
|
-
} & StrictSelect<S, AgentTaskSelect>): QueryBuilder<{
|
|
32
|
-
createAgentTask: {
|
|
33
|
-
agentTask: InferSelectResult<AgentTaskWithRelations, S>;
|
|
34
|
-
};
|
|
35
|
-
}>;
|
|
36
|
-
update<S extends AgentTaskSelect>(args: UpdateArgs<S, {
|
|
37
|
-
id: string;
|
|
38
|
-
}, AgentTaskPatch> & {
|
|
39
|
-
select: S;
|
|
40
|
-
} & StrictSelect<S, AgentTaskSelect>): QueryBuilder<{
|
|
41
|
-
updateAgentTask: {
|
|
42
|
-
agentTask: InferSelectResult<AgentTaskWithRelations, S>;
|
|
43
|
-
};
|
|
44
|
-
}>;
|
|
45
|
-
delete<S extends AgentTaskSelect>(args: DeleteArgs<{
|
|
46
|
-
id: string;
|
|
47
|
-
}, S> & {
|
|
48
|
-
select: S;
|
|
49
|
-
} & StrictSelect<S, AgentTaskSelect>): QueryBuilder<{
|
|
50
|
-
deleteAgentTask: {
|
|
51
|
-
agentTask: InferSelectResult<AgentTaskWithRelations, S>;
|
|
52
|
-
};
|
|
53
|
-
}>;
|
|
54
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* AgentThread model for ORM client
|
|
3
|
-
* @generated by @constructive-io/graphql-codegen
|
|
4
|
-
* DO NOT EDIT - changes will be overwritten
|
|
5
|
-
*/
|
|
6
|
-
import { OrmClient } from '../client';
|
|
7
|
-
import { QueryBuilder } from '../query-builder';
|
|
8
|
-
import type { ConnectionResult, FindManyArgs, FindFirstArgs, CreateArgs, UpdateArgs, DeleteArgs, InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
-
import type { AgentThreadWithRelations, AgentThreadSelect, AgentThreadFilter, AgentThreadOrderBy, CreateAgentThreadInput, AgentThreadPatch } from '../input-types';
|
|
10
|
-
export declare class AgentThreadModel {
|
|
11
|
-
private client;
|
|
12
|
-
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends AgentThreadSelect>(args: FindManyArgs<S, AgentThreadFilter, AgentThreadOrderBy> & {
|
|
14
|
-
select: S;
|
|
15
|
-
} & StrictSelect<S, AgentThreadSelect>): QueryBuilder<{
|
|
16
|
-
agentThreads: ConnectionResult<InferSelectResult<AgentThreadWithRelations, S>>;
|
|
17
|
-
}>;
|
|
18
|
-
findFirst<S extends AgentThreadSelect>(args: FindFirstArgs<S, AgentThreadFilter, AgentThreadOrderBy> & {
|
|
19
|
-
select: S;
|
|
20
|
-
} & StrictSelect<S, AgentThreadSelect>): QueryBuilder<{
|
|
21
|
-
agentThread: InferSelectResult<AgentThreadWithRelations, S> | null;
|
|
22
|
-
}>;
|
|
23
|
-
findOne<S extends AgentThreadSelect>(args: {
|
|
24
|
-
id: string;
|
|
25
|
-
select: S;
|
|
26
|
-
} & StrictSelect<S, AgentThreadSelect>): QueryBuilder<{
|
|
27
|
-
agentThread: InferSelectResult<AgentThreadWithRelations, S> | null;
|
|
28
|
-
}>;
|
|
29
|
-
create<S extends AgentThreadSelect>(args: CreateArgs<S, CreateAgentThreadInput['agentThread']> & {
|
|
30
|
-
select: S;
|
|
31
|
-
} & StrictSelect<S, AgentThreadSelect>): QueryBuilder<{
|
|
32
|
-
createAgentThread: {
|
|
33
|
-
agentThread: InferSelectResult<AgentThreadWithRelations, S>;
|
|
34
|
-
};
|
|
35
|
-
}>;
|
|
36
|
-
update<S extends AgentThreadSelect>(args: UpdateArgs<S, {
|
|
37
|
-
id: string;
|
|
38
|
-
}, AgentThreadPatch> & {
|
|
39
|
-
select: S;
|
|
40
|
-
} & StrictSelect<S, AgentThreadSelect>): QueryBuilder<{
|
|
41
|
-
updateAgentThread: {
|
|
42
|
-
agentThread: InferSelectResult<AgentThreadWithRelations, S>;
|
|
43
|
-
};
|
|
44
|
-
}>;
|
|
45
|
-
delete<S extends AgentThreadSelect>(args: DeleteArgs<{
|
|
46
|
-
id: string;
|
|
47
|
-
}, S> & {
|
|
48
|
-
select: S;
|
|
49
|
-
} & StrictSelect<S, AgentThreadSelect>): QueryBuilder<{
|
|
50
|
-
deleteAgentThread: {
|
|
51
|
-
agentThread: InferSelectResult<AgentThreadWithRelations, S>;
|
|
52
|
-
};
|
|
53
|
-
}>;
|
|
54
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* AuditLog model for ORM client
|
|
3
|
-
* @generated by @constructive-io/graphql-codegen
|
|
4
|
-
* DO NOT EDIT - changes will be overwritten
|
|
5
|
-
*/
|
|
6
|
-
import { OrmClient } from '../client';
|
|
7
|
-
import { QueryBuilder } from '../query-builder';
|
|
8
|
-
import type { ConnectionResult, FindManyArgs, FindFirstArgs, CreateArgs, UpdateArgs, DeleteArgs, InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
-
import type { AuditLogWithRelations, AuditLogSelect, AuditLogFilter, AuditLogOrderBy, CreateAuditLogInput, AuditLogPatch } from '../input-types';
|
|
10
|
-
export declare class AuditLogModel {
|
|
11
|
-
private client;
|
|
12
|
-
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends AuditLogSelect>(args: FindManyArgs<S, AuditLogFilter, AuditLogOrderBy> & {
|
|
14
|
-
select: S;
|
|
15
|
-
} & StrictSelect<S, AuditLogSelect>): QueryBuilder<{
|
|
16
|
-
auditLogs: ConnectionResult<InferSelectResult<AuditLogWithRelations, S>>;
|
|
17
|
-
}>;
|
|
18
|
-
findFirst<S extends AuditLogSelect>(args: FindFirstArgs<S, AuditLogFilter, AuditLogOrderBy> & {
|
|
19
|
-
select: S;
|
|
20
|
-
} & StrictSelect<S, AuditLogSelect>): QueryBuilder<{
|
|
21
|
-
auditLog: InferSelectResult<AuditLogWithRelations, S> | null;
|
|
22
|
-
}>;
|
|
23
|
-
findOne<S extends AuditLogSelect>(args: {
|
|
24
|
-
id: string;
|
|
25
|
-
select: S;
|
|
26
|
-
} & StrictSelect<S, AuditLogSelect>): QueryBuilder<{
|
|
27
|
-
auditLog: InferSelectResult<AuditLogWithRelations, S> | null;
|
|
28
|
-
}>;
|
|
29
|
-
create<S extends AuditLogSelect>(args: CreateArgs<S, CreateAuditLogInput['auditLog']> & {
|
|
30
|
-
select: S;
|
|
31
|
-
} & StrictSelect<S, AuditLogSelect>): QueryBuilder<{
|
|
32
|
-
createAuditLog: {
|
|
33
|
-
auditLog: InferSelectResult<AuditLogWithRelations, S>;
|
|
34
|
-
};
|
|
35
|
-
}>;
|
|
36
|
-
update<S extends AuditLogSelect>(args: UpdateArgs<S, {
|
|
37
|
-
id: string;
|
|
38
|
-
}, AuditLogPatch> & {
|
|
39
|
-
select: S;
|
|
40
|
-
} & StrictSelect<S, AuditLogSelect>): QueryBuilder<{
|
|
41
|
-
updateAuditLog: {
|
|
42
|
-
auditLog: InferSelectResult<AuditLogWithRelations, S>;
|
|
43
|
-
};
|
|
44
|
-
}>;
|
|
45
|
-
delete<S extends AuditLogSelect>(args: DeleteArgs<{
|
|
46
|
-
id: string;
|
|
47
|
-
}, S> & {
|
|
48
|
-
select: S;
|
|
49
|
-
} & StrictSelect<S, AuditLogSelect>): QueryBuilder<{
|
|
50
|
-
deleteAuditLog: {
|
|
51
|
-
auditLog: InferSelectResult<AuditLogWithRelations, S>;
|
|
52
|
-
};
|
|
53
|
-
}>;
|
|
54
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Commit model for ORM client
|
|
3
|
-
* @generated by @constructive-io/graphql-codegen
|
|
4
|
-
* DO NOT EDIT - changes will be overwritten
|
|
5
|
-
*/
|
|
6
|
-
import { OrmClient } from '../client';
|
|
7
|
-
import { QueryBuilder } from '../query-builder';
|
|
8
|
-
import type { ConnectionResult, FindManyArgs, FindFirstArgs, CreateArgs, UpdateArgs, DeleteArgs, InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
-
import type { CommitWithRelations, CommitSelect, CommitFilter, CommitOrderBy, CreateCommitInput, CommitPatch } from '../input-types';
|
|
10
|
-
export declare class CommitModel {
|
|
11
|
-
private client;
|
|
12
|
-
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends CommitSelect>(args: FindManyArgs<S, CommitFilter, CommitOrderBy> & {
|
|
14
|
-
select: S;
|
|
15
|
-
} & StrictSelect<S, CommitSelect>): QueryBuilder<{
|
|
16
|
-
commits: ConnectionResult<InferSelectResult<CommitWithRelations, S>>;
|
|
17
|
-
}>;
|
|
18
|
-
findFirst<S extends CommitSelect>(args: FindFirstArgs<S, CommitFilter, CommitOrderBy> & {
|
|
19
|
-
select: S;
|
|
20
|
-
} & StrictSelect<S, CommitSelect>): QueryBuilder<{
|
|
21
|
-
commit: InferSelectResult<CommitWithRelations, S> | null;
|
|
22
|
-
}>;
|
|
23
|
-
findOne<S extends CommitSelect>(args: {
|
|
24
|
-
id: string;
|
|
25
|
-
select: S;
|
|
26
|
-
} & StrictSelect<S, CommitSelect>): QueryBuilder<{
|
|
27
|
-
commit: InferSelectResult<CommitWithRelations, S> | null;
|
|
28
|
-
}>;
|
|
29
|
-
create<S extends CommitSelect>(args: CreateArgs<S, CreateCommitInput['commit']> & {
|
|
30
|
-
select: S;
|
|
31
|
-
} & StrictSelect<S, CommitSelect>): QueryBuilder<{
|
|
32
|
-
createCommit: {
|
|
33
|
-
commit: InferSelectResult<CommitWithRelations, S>;
|
|
34
|
-
};
|
|
35
|
-
}>;
|
|
36
|
-
update<S extends CommitSelect>(args: UpdateArgs<S, {
|
|
37
|
-
id: string;
|
|
38
|
-
}, CommitPatch> & {
|
|
39
|
-
select: S;
|
|
40
|
-
} & StrictSelect<S, CommitSelect>): QueryBuilder<{
|
|
41
|
-
updateCommit: {
|
|
42
|
-
commit: InferSelectResult<CommitWithRelations, S>;
|
|
43
|
-
};
|
|
44
|
-
}>;
|
|
45
|
-
delete<S extends CommitSelect>(args: DeleteArgs<{
|
|
46
|
-
id: string;
|
|
47
|
-
}, S> & {
|
|
48
|
-
select: S;
|
|
49
|
-
} & StrictSelect<S, CommitSelect>): QueryBuilder<{
|
|
50
|
-
deleteCommit: {
|
|
51
|
-
commit: InferSelectResult<CommitWithRelations, S>;
|
|
52
|
-
};
|
|
53
|
-
}>;
|
|
54
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* EncryptedSecretsModule model for ORM client
|
|
3
|
-
* @generated by @constructive-io/graphql-codegen
|
|
4
|
-
* DO NOT EDIT - changes will be overwritten
|
|
5
|
-
*/
|
|
6
|
-
import { OrmClient } from '../client';
|
|
7
|
-
import { QueryBuilder } from '../query-builder';
|
|
8
|
-
import type { ConnectionResult, FindManyArgs, FindFirstArgs, CreateArgs, UpdateArgs, DeleteArgs, InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
-
import type { EncryptedSecretsModuleWithRelations, EncryptedSecretsModuleSelect, EncryptedSecretsModuleFilter, EncryptedSecretsModuleOrderBy, CreateEncryptedSecretsModuleInput, EncryptedSecretsModulePatch } from '../input-types';
|
|
10
|
-
export declare class EncryptedSecretsModuleModel {
|
|
11
|
-
private client;
|
|
12
|
-
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends EncryptedSecretsModuleSelect>(args: FindManyArgs<S, EncryptedSecretsModuleFilter, EncryptedSecretsModuleOrderBy> & {
|
|
14
|
-
select: S;
|
|
15
|
-
} & StrictSelect<S, EncryptedSecretsModuleSelect>): QueryBuilder<{
|
|
16
|
-
encryptedSecretsModules: ConnectionResult<InferSelectResult<EncryptedSecretsModuleWithRelations, S>>;
|
|
17
|
-
}>;
|
|
18
|
-
findFirst<S extends EncryptedSecretsModuleSelect>(args: FindFirstArgs<S, EncryptedSecretsModuleFilter, EncryptedSecretsModuleOrderBy> & {
|
|
19
|
-
select: S;
|
|
20
|
-
} & StrictSelect<S, EncryptedSecretsModuleSelect>): QueryBuilder<{
|
|
21
|
-
encryptedSecretsModule: InferSelectResult<EncryptedSecretsModuleWithRelations, S> | null;
|
|
22
|
-
}>;
|
|
23
|
-
findOne<S extends EncryptedSecretsModuleSelect>(args: {
|
|
24
|
-
id: string;
|
|
25
|
-
select: S;
|
|
26
|
-
} & StrictSelect<S, EncryptedSecretsModuleSelect>): QueryBuilder<{
|
|
27
|
-
encryptedSecretsModule: InferSelectResult<EncryptedSecretsModuleWithRelations, S> | null;
|
|
28
|
-
}>;
|
|
29
|
-
create<S extends EncryptedSecretsModuleSelect>(args: CreateArgs<S, CreateEncryptedSecretsModuleInput['encryptedSecretsModule']> & {
|
|
30
|
-
select: S;
|
|
31
|
-
} & StrictSelect<S, EncryptedSecretsModuleSelect>): QueryBuilder<{
|
|
32
|
-
createEncryptedSecretsModule: {
|
|
33
|
-
encryptedSecretsModule: InferSelectResult<EncryptedSecretsModuleWithRelations, S>;
|
|
34
|
-
};
|
|
35
|
-
}>;
|
|
36
|
-
update<S extends EncryptedSecretsModuleSelect>(args: UpdateArgs<S, {
|
|
37
|
-
id: string;
|
|
38
|
-
}, EncryptedSecretsModulePatch> & {
|
|
39
|
-
select: S;
|
|
40
|
-
} & StrictSelect<S, EncryptedSecretsModuleSelect>): QueryBuilder<{
|
|
41
|
-
updateEncryptedSecretsModule: {
|
|
42
|
-
encryptedSecretsModule: InferSelectResult<EncryptedSecretsModuleWithRelations, S>;
|
|
43
|
-
};
|
|
44
|
-
}>;
|
|
45
|
-
delete<S extends EncryptedSecretsModuleSelect>(args: DeleteArgs<{
|
|
46
|
-
id: string;
|
|
47
|
-
}, S> & {
|
|
48
|
-
select: S;
|
|
49
|
-
} & StrictSelect<S, EncryptedSecretsModuleSelect>): QueryBuilder<{
|
|
50
|
-
deleteEncryptedSecretsModule: {
|
|
51
|
-
encryptedSecretsModule: InferSelectResult<EncryptedSecretsModuleWithRelations, S>;
|
|
52
|
-
};
|
|
53
|
-
}>;
|
|
54
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GetAllRecord model for ORM client
|
|
3
|
-
* @generated by @constructive-io/graphql-codegen
|
|
4
|
-
* DO NOT EDIT - changes will be overwritten
|
|
5
|
-
*/
|
|
6
|
-
import { OrmClient } from '../client';
|
|
7
|
-
import { QueryBuilder } from '../query-builder';
|
|
8
|
-
import type { ConnectionResult, FindManyArgs, FindFirstArgs, CreateArgs, InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
-
import type { GetAllRecordWithRelations, GetAllRecordSelect, GetAllRecordFilter, GetAllRecordsOrderBy, CreateGetAllRecordInput } from '../input-types';
|
|
10
|
-
export declare class GetAllRecordModel {
|
|
11
|
-
private client;
|
|
12
|
-
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends GetAllRecordSelect>(args: FindManyArgs<S, GetAllRecordFilter, GetAllRecordsOrderBy> & {
|
|
14
|
-
select: S;
|
|
15
|
-
} & StrictSelect<S, GetAllRecordSelect>): QueryBuilder<{
|
|
16
|
-
getAll: ConnectionResult<InferSelectResult<GetAllRecordWithRelations, S>>;
|
|
17
|
-
}>;
|
|
18
|
-
findFirst<S extends GetAllRecordSelect>(args: FindFirstArgs<S, GetAllRecordFilter, GetAllRecordsOrderBy> & {
|
|
19
|
-
select: S;
|
|
20
|
-
} & StrictSelect<S, GetAllRecordSelect>): QueryBuilder<{
|
|
21
|
-
getAllRecord: InferSelectResult<GetAllRecordWithRelations, S> | null;
|
|
22
|
-
}>;
|
|
23
|
-
create<S extends GetAllRecordSelect>(args: CreateArgs<S, CreateGetAllRecordInput['getAllRecord']> & {
|
|
24
|
-
select: S;
|
|
25
|
-
} & StrictSelect<S, GetAllRecordSelect>): QueryBuilder<{
|
|
26
|
-
createGetAllRecord: {
|
|
27
|
-
getAllRecord: InferSelectResult<GetAllRecordWithRelations, S>;
|
|
28
|
-
};
|
|
29
|
-
}>;
|
|
30
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { QueryBuilder, buildFindManyDocument, buildFindFirstDocument, buildCreateDocument, } from '../query-builder';
|
|
2
|
-
import { connectionFieldsMap } from '../input-types';
|
|
3
|
-
export class GetAllRecordModel {
|
|
4
|
-
client;
|
|
5
|
-
constructor(client) {
|
|
6
|
-
this.client = client;
|
|
7
|
-
}
|
|
8
|
-
findMany(args) {
|
|
9
|
-
const { document, variables } = buildFindManyDocument('GetAllRecord', 'getAll', args.select, {
|
|
10
|
-
where: args?.where,
|
|
11
|
-
orderBy: args?.orderBy,
|
|
12
|
-
first: args?.first,
|
|
13
|
-
last: args?.last,
|
|
14
|
-
after: args?.after,
|
|
15
|
-
before: args?.before,
|
|
16
|
-
offset: args?.offset,
|
|
17
|
-
}, 'GetAllRecordFilter', 'GetAllRecordsOrderBy', connectionFieldsMap);
|
|
18
|
-
return new QueryBuilder({
|
|
19
|
-
client: this.client,
|
|
20
|
-
operation: 'query',
|
|
21
|
-
operationName: 'GetAllRecord',
|
|
22
|
-
fieldName: 'getAll',
|
|
23
|
-
document,
|
|
24
|
-
variables,
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
findFirst(args) {
|
|
28
|
-
const { document, variables } = buildFindFirstDocument('GetAllRecord', 'getAll', args.select, {
|
|
29
|
-
where: args?.where,
|
|
30
|
-
orderBy: args?.orderBy,
|
|
31
|
-
}, 'GetAllRecordFilter', 'GetAllRecordsOrderBy', connectionFieldsMap);
|
|
32
|
-
return new QueryBuilder({
|
|
33
|
-
client: this.client,
|
|
34
|
-
operation: 'query',
|
|
35
|
-
operationName: 'GetAllRecord',
|
|
36
|
-
fieldName: 'getAllRecord',
|
|
37
|
-
document,
|
|
38
|
-
variables,
|
|
39
|
-
transform: (data) => ({
|
|
40
|
-
getAllRecord: data.getAll?.nodes?.[0] ?? null,
|
|
41
|
-
}),
|
|
42
|
-
});
|
|
43
|
-
}
|
|
44
|
-
create(args) {
|
|
45
|
-
const { document, variables } = buildCreateDocument('GetAllRecord', 'createGetAllRecord', 'getAllRecord', args.select, args.data, 'CreateGetAllRecordInput', connectionFieldsMap);
|
|
46
|
-
return new QueryBuilder({
|
|
47
|
-
client: this.client,
|
|
48
|
-
operation: 'mutation',
|
|
49
|
-
operationName: 'GetAllRecord',
|
|
50
|
-
fieldName: 'createGetAllRecord',
|
|
51
|
-
document,
|
|
52
|
-
variables,
|
|
53
|
-
});
|
|
54
|
-
}
|
|
55
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Object model for ORM client
|
|
3
|
-
* @generated by @constructive-io/graphql-codegen
|
|
4
|
-
* DO NOT EDIT - changes will be overwritten
|
|
5
|
-
*/
|
|
6
|
-
import { OrmClient } from '../client';
|
|
7
|
-
import { QueryBuilder } from '../query-builder';
|
|
8
|
-
import type { ConnectionResult, FindManyArgs, FindFirstArgs, CreateArgs, UpdateArgs, DeleteArgs, InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
-
import type { ObjectWithRelations, ObjectSelect, ObjectFilter, ObjectOrderBy, CreateObjectInput, ObjectPatch } from '../input-types';
|
|
10
|
-
export declare class ObjectModel {
|
|
11
|
-
private client;
|
|
12
|
-
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends ObjectSelect>(args: FindManyArgs<S, ObjectFilter, ObjectOrderBy> & {
|
|
14
|
-
select: S;
|
|
15
|
-
} & StrictSelect<S, ObjectSelect>): QueryBuilder<{
|
|
16
|
-
objects: ConnectionResult<InferSelectResult<ObjectWithRelations, S>>;
|
|
17
|
-
}>;
|
|
18
|
-
findFirst<S extends ObjectSelect>(args: FindFirstArgs<S, ObjectFilter, ObjectOrderBy> & {
|
|
19
|
-
select: S;
|
|
20
|
-
} & StrictSelect<S, ObjectSelect>): QueryBuilder<{
|
|
21
|
-
object: InferSelectResult<ObjectWithRelations, S> | null;
|
|
22
|
-
}>;
|
|
23
|
-
findOne<S extends ObjectSelect>(args: {
|
|
24
|
-
id: string;
|
|
25
|
-
select: S;
|
|
26
|
-
} & StrictSelect<S, ObjectSelect>): QueryBuilder<{
|
|
27
|
-
object: InferSelectResult<ObjectWithRelations, S> | null;
|
|
28
|
-
}>;
|
|
29
|
-
create<S extends ObjectSelect>(args: CreateArgs<S, CreateObjectInput['object']> & {
|
|
30
|
-
select: S;
|
|
31
|
-
} & StrictSelect<S, ObjectSelect>): QueryBuilder<{
|
|
32
|
-
createObject: {
|
|
33
|
-
object: InferSelectResult<ObjectWithRelations, S>;
|
|
34
|
-
};
|
|
35
|
-
}>;
|
|
36
|
-
update<S extends ObjectSelect>(args: UpdateArgs<S, {
|
|
37
|
-
id: string;
|
|
38
|
-
}, ObjectPatch> & {
|
|
39
|
-
select: S;
|
|
40
|
-
} & StrictSelect<S, ObjectSelect>): QueryBuilder<{
|
|
41
|
-
updateObject: {
|
|
42
|
-
object: InferSelectResult<ObjectWithRelations, S>;
|
|
43
|
-
};
|
|
44
|
-
}>;
|
|
45
|
-
delete<S extends ObjectSelect>(args: DeleteArgs<{
|
|
46
|
-
id: string;
|
|
47
|
-
}, S> & {
|
|
48
|
-
select: S;
|
|
49
|
-
} & StrictSelect<S, ObjectSelect>): QueryBuilder<{
|
|
50
|
-
deleteObject: {
|
|
51
|
-
object: InferSelectResult<ObjectWithRelations, S>;
|
|
52
|
-
};
|
|
53
|
-
}>;
|
|
54
|
-
}
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
import { QueryBuilder, buildFindManyDocument, buildFindFirstDocument, buildFindOneDocument, buildCreateDocument, buildUpdateByPkDocument, buildDeleteByPkDocument, } from '../query-builder';
|
|
2
|
-
import { connectionFieldsMap } from '../input-types';
|
|
3
|
-
export class ObjectModel {
|
|
4
|
-
client;
|
|
5
|
-
constructor(client) {
|
|
6
|
-
this.client = client;
|
|
7
|
-
}
|
|
8
|
-
findMany(args) {
|
|
9
|
-
const { document, variables } = buildFindManyDocument('Object', 'objects', args.select, {
|
|
10
|
-
where: args?.where,
|
|
11
|
-
orderBy: args?.orderBy,
|
|
12
|
-
first: args?.first,
|
|
13
|
-
last: args?.last,
|
|
14
|
-
after: args?.after,
|
|
15
|
-
before: args?.before,
|
|
16
|
-
offset: args?.offset,
|
|
17
|
-
}, 'ObjectFilter', 'ObjectOrderBy', connectionFieldsMap);
|
|
18
|
-
return new QueryBuilder({
|
|
19
|
-
client: this.client,
|
|
20
|
-
operation: 'query',
|
|
21
|
-
operationName: 'Object',
|
|
22
|
-
fieldName: 'objects',
|
|
23
|
-
document,
|
|
24
|
-
variables,
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
findFirst(args) {
|
|
28
|
-
const { document, variables } = buildFindFirstDocument('Object', 'objects', args.select, {
|
|
29
|
-
where: args?.where,
|
|
30
|
-
orderBy: args?.orderBy,
|
|
31
|
-
}, 'ObjectFilter', 'ObjectOrderBy', connectionFieldsMap);
|
|
32
|
-
return new QueryBuilder({
|
|
33
|
-
client: this.client,
|
|
34
|
-
operation: 'query',
|
|
35
|
-
operationName: 'Object',
|
|
36
|
-
fieldName: 'object',
|
|
37
|
-
document,
|
|
38
|
-
variables,
|
|
39
|
-
transform: (data) => ({
|
|
40
|
-
object: data.objects?.nodes?.[0] ?? null,
|
|
41
|
-
}),
|
|
42
|
-
});
|
|
43
|
-
}
|
|
44
|
-
findOne(args) {
|
|
45
|
-
const { document, variables } = buildFindOneDocument('Object', 'getNodeAtPath', args.id, args.select, 'id', 'UUID!', connectionFieldsMap);
|
|
46
|
-
return new QueryBuilder({
|
|
47
|
-
client: this.client,
|
|
48
|
-
operation: 'query',
|
|
49
|
-
operationName: 'Object',
|
|
50
|
-
fieldName: 'object',
|
|
51
|
-
document,
|
|
52
|
-
variables,
|
|
53
|
-
});
|
|
54
|
-
}
|
|
55
|
-
create(args) {
|
|
56
|
-
const { document, variables } = buildCreateDocument('Object', 'createObject', 'object', args.select, args.data, 'CreateObjectInput', connectionFieldsMap);
|
|
57
|
-
return new QueryBuilder({
|
|
58
|
-
client: this.client,
|
|
59
|
-
operation: 'mutation',
|
|
60
|
-
operationName: 'Object',
|
|
61
|
-
fieldName: 'createObject',
|
|
62
|
-
document,
|
|
63
|
-
variables,
|
|
64
|
-
});
|
|
65
|
-
}
|
|
66
|
-
update(args) {
|
|
67
|
-
const { document, variables } = buildUpdateByPkDocument('Object', 'updateObject', 'object', args.select, args.where.id, args.data, 'UpdateObjectInput', 'id', 'objectPatch', connectionFieldsMap);
|
|
68
|
-
return new QueryBuilder({
|
|
69
|
-
client: this.client,
|
|
70
|
-
operation: 'mutation',
|
|
71
|
-
operationName: 'Object',
|
|
72
|
-
fieldName: 'updateObject',
|
|
73
|
-
document,
|
|
74
|
-
variables,
|
|
75
|
-
});
|
|
76
|
-
}
|
|
77
|
-
delete(args) {
|
|
78
|
-
const { document, variables } = buildDeleteByPkDocument('Object', 'deleteObject', 'object', {
|
|
79
|
-
id: args.where.id,
|
|
80
|
-
}, 'DeleteObjectInput', args.select, connectionFieldsMap);
|
|
81
|
-
return new QueryBuilder({
|
|
82
|
-
client: this.client,
|
|
83
|
-
operation: 'mutation',
|
|
84
|
-
operationName: 'Object',
|
|
85
|
-
fieldName: 'deleteObject',
|
|
86
|
-
document,
|
|
87
|
-
variables,
|
|
88
|
-
});
|
|
89
|
-
}
|
|
90
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Ref model for ORM client
|
|
3
|
-
* @generated by @constructive-io/graphql-codegen
|
|
4
|
-
* DO NOT EDIT - changes will be overwritten
|
|
5
|
-
*/
|
|
6
|
-
import { OrmClient } from '../client';
|
|
7
|
-
import { QueryBuilder } from '../query-builder';
|
|
8
|
-
import type { ConnectionResult, FindManyArgs, FindFirstArgs, CreateArgs, UpdateArgs, DeleteArgs, InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
-
import type { RefWithRelations, RefSelect, RefFilter, RefOrderBy, CreateRefInput, RefPatch } from '../input-types';
|
|
10
|
-
export declare class RefModel {
|
|
11
|
-
private client;
|
|
12
|
-
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends RefSelect>(args: FindManyArgs<S, RefFilter, RefOrderBy> & {
|
|
14
|
-
select: S;
|
|
15
|
-
} & StrictSelect<S, RefSelect>): QueryBuilder<{
|
|
16
|
-
refs: ConnectionResult<InferSelectResult<RefWithRelations, S>>;
|
|
17
|
-
}>;
|
|
18
|
-
findFirst<S extends RefSelect>(args: FindFirstArgs<S, RefFilter, RefOrderBy> & {
|
|
19
|
-
select: S;
|
|
20
|
-
} & StrictSelect<S, RefSelect>): QueryBuilder<{
|
|
21
|
-
ref: InferSelectResult<RefWithRelations, S> | null;
|
|
22
|
-
}>;
|
|
23
|
-
findOne<S extends RefSelect>(args: {
|
|
24
|
-
id: string;
|
|
25
|
-
select: S;
|
|
26
|
-
} & StrictSelect<S, RefSelect>): QueryBuilder<{
|
|
27
|
-
ref: InferSelectResult<RefWithRelations, S> | null;
|
|
28
|
-
}>;
|
|
29
|
-
create<S extends RefSelect>(args: CreateArgs<S, CreateRefInput['ref']> & {
|
|
30
|
-
select: S;
|
|
31
|
-
} & StrictSelect<S, RefSelect>): QueryBuilder<{
|
|
32
|
-
createRef: {
|
|
33
|
-
ref: InferSelectResult<RefWithRelations, S>;
|
|
34
|
-
};
|
|
35
|
-
}>;
|
|
36
|
-
update<S extends RefSelect>(args: UpdateArgs<S, {
|
|
37
|
-
id: string;
|
|
38
|
-
}, RefPatch> & {
|
|
39
|
-
select: S;
|
|
40
|
-
} & StrictSelect<S, RefSelect>): QueryBuilder<{
|
|
41
|
-
updateRef: {
|
|
42
|
-
ref: InferSelectResult<RefWithRelations, S>;
|
|
43
|
-
};
|
|
44
|
-
}>;
|
|
45
|
-
delete<S extends RefSelect>(args: DeleteArgs<{
|
|
46
|
-
id: string;
|
|
47
|
-
}, S> & {
|
|
48
|
-
select: S;
|
|
49
|
-
} & StrictSelect<S, RefSelect>): QueryBuilder<{
|
|
50
|
-
deleteRef: {
|
|
51
|
-
ref: InferSelectResult<RefWithRelations, S>;
|
|
52
|
-
};
|
|
53
|
-
}>;
|
|
54
|
-
}
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import { QueryBuilder, buildFindManyDocument, buildFindFirstDocument, buildCreateDocument, buildUpdateByPkDocument, buildDeleteByPkDocument, } from '../query-builder';
|
|
2
|
-
import { connectionFieldsMap } from '../input-types';
|
|
3
|
-
export class RefModel {
|
|
4
|
-
client;
|
|
5
|
-
constructor(client) {
|
|
6
|
-
this.client = client;
|
|
7
|
-
}
|
|
8
|
-
findMany(args) {
|
|
9
|
-
const { document, variables } = buildFindManyDocument('Ref', 'refs', args.select, {
|
|
10
|
-
where: args?.where,
|
|
11
|
-
orderBy: args?.orderBy,
|
|
12
|
-
first: args?.first,
|
|
13
|
-
last: args?.last,
|
|
14
|
-
after: args?.after,
|
|
15
|
-
before: args?.before,
|
|
16
|
-
offset: args?.offset,
|
|
17
|
-
}, 'RefFilter', 'RefOrderBy', connectionFieldsMap);
|
|
18
|
-
return new QueryBuilder({
|
|
19
|
-
client: this.client,
|
|
20
|
-
operation: 'query',
|
|
21
|
-
operationName: 'Ref',
|
|
22
|
-
fieldName: 'refs',
|
|
23
|
-
document,
|
|
24
|
-
variables,
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
findFirst(args) {
|
|
28
|
-
const { document, variables } = buildFindFirstDocument('Ref', 'refs', args.select, {
|
|
29
|
-
where: args?.where,
|
|
30
|
-
orderBy: args?.orderBy,
|
|
31
|
-
}, 'RefFilter', 'RefOrderBy', connectionFieldsMap);
|
|
32
|
-
return new QueryBuilder({
|
|
33
|
-
client: this.client,
|
|
34
|
-
operation: 'query',
|
|
35
|
-
operationName: 'Ref',
|
|
36
|
-
fieldName: 'ref',
|
|
37
|
-
document,
|
|
38
|
-
variables,
|
|
39
|
-
transform: (data) => ({
|
|
40
|
-
ref: data.refs?.nodes?.[0] ?? null,
|
|
41
|
-
}),
|
|
42
|
-
});
|
|
43
|
-
}
|
|
44
|
-
findOne(args) {
|
|
45
|
-
const { document, variables } = buildFindManyDocument('Ref', 'refs', args.select, {
|
|
46
|
-
where: {
|
|
47
|
-
id: {
|
|
48
|
-
equalTo: args.id,
|
|
49
|
-
},
|
|
50
|
-
},
|
|
51
|
-
first: 1,
|
|
52
|
-
}, 'RefFilter', 'RefOrderBy', connectionFieldsMap);
|
|
53
|
-
return new QueryBuilder({
|
|
54
|
-
client: this.client,
|
|
55
|
-
operation: 'query',
|
|
56
|
-
operationName: 'Ref',
|
|
57
|
-
fieldName: 'ref',
|
|
58
|
-
document,
|
|
59
|
-
variables,
|
|
60
|
-
transform: (data) => ({
|
|
61
|
-
ref: data.refs?.nodes?.[0] ?? null,
|
|
62
|
-
}),
|
|
63
|
-
});
|
|
64
|
-
}
|
|
65
|
-
create(args) {
|
|
66
|
-
const { document, variables } = buildCreateDocument('Ref', 'createRef', 'ref', args.select, args.data, 'CreateRefInput', connectionFieldsMap);
|
|
67
|
-
return new QueryBuilder({
|
|
68
|
-
client: this.client,
|
|
69
|
-
operation: 'mutation',
|
|
70
|
-
operationName: 'Ref',
|
|
71
|
-
fieldName: 'createRef',
|
|
72
|
-
document,
|
|
73
|
-
variables,
|
|
74
|
-
});
|
|
75
|
-
}
|
|
76
|
-
update(args) {
|
|
77
|
-
const { document, variables } = buildUpdateByPkDocument('Ref', 'updateRef', 'ref', args.select, args.where.id, args.data, 'UpdateRefInput', 'id', 'refPatch', connectionFieldsMap);
|
|
78
|
-
return new QueryBuilder({
|
|
79
|
-
client: this.client,
|
|
80
|
-
operation: 'mutation',
|
|
81
|
-
operationName: 'Ref',
|
|
82
|
-
fieldName: 'updateRef',
|
|
83
|
-
document,
|
|
84
|
-
variables,
|
|
85
|
-
});
|
|
86
|
-
}
|
|
87
|
-
delete(args) {
|
|
88
|
-
const { document, variables } = buildDeleteByPkDocument('Ref', 'deleteRef', 'ref', {
|
|
89
|
-
id: args.where.id,
|
|
90
|
-
}, 'DeleteRefInput', args.select, connectionFieldsMap);
|
|
91
|
-
return new QueryBuilder({
|
|
92
|
-
client: this.client,
|
|
93
|
-
operation: 'mutation',
|
|
94
|
-
operationName: 'Ref',
|
|
95
|
-
fieldName: 'deleteRef',
|
|
96
|
-
document,
|
|
97
|
-
variables,
|
|
98
|
-
});
|
|
99
|
-
}
|
|
100
|
-
}
|