@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.
Files changed (350) hide show
  1. package/README.md +4 -0
  2. package/admin/cli/commands/app-limit-event.js +248 -2
  3. package/admin/cli/commands/app-limit.js +44 -0
  4. package/admin/cli/commands/org-limit-aggregate.js +44 -0
  5. package/admin/cli/commands/org-limit-event.js +248 -2
  6. package/admin/cli/commands/org-limit.js +44 -0
  7. package/admin/cli/commands.js +31 -33
  8. package/admin/cli/executor.d.ts +15 -16
  9. package/admin/orm/index.d.ts +31 -33
  10. package/admin/orm/index.js +32 -33
  11. package/admin/orm/input-types.d.ts +2090 -2039
  12. package/admin/orm/input-types.js +4 -4
  13. package/admin/orm/models/appLimitEvent.d.ts +26 -2
  14. package/admin/orm/models/appLimitEvent.js +45 -0
  15. package/admin/orm/models/index.d.ts +15 -16
  16. package/admin/orm/models/index.js +31 -33
  17. package/admin/orm/models/orgLimitEvent.d.ts +26 -2
  18. package/admin/orm/models/orgLimitEvent.js +45 -0
  19. package/{esm/public/cli/commands/agent-message.d.ts → auth/cli/commands/audit-log-auth.d.ts} +1 -1
  20. package/auth/cli/commands/{audit-log.js → audit-log-auth.js} +14 -14
  21. package/auth/cli/commands.js +5 -5
  22. package/auth/cli/executor.d.ts +6 -6
  23. package/auth/orm/index.d.ts +8 -8
  24. package/auth/orm/index.js +4 -3
  25. package/auth/orm/input-types.d.ts +94 -94
  26. package/auth/orm/input-types.js +1 -1
  27. package/auth/orm/models/auditLogAuth.d.ts +54 -0
  28. package/{public/orm/models/agentMessage.js → auth/orm/models/auditLogAuth.js} +27 -27
  29. package/auth/orm/models/index.d.ts +1 -1
  30. package/auth/orm/models/index.js +3 -3
  31. package/auth/orm/mutation/index.d.ts +9 -9
  32. package/auth/orm/mutation/index.js +12 -12
  33. package/esm/admin/cli/commands/app-limit-event.js +248 -2
  34. package/esm/admin/cli/commands/app-limit.js +44 -0
  35. package/esm/admin/cli/commands/org-limit-aggregate.js +44 -0
  36. package/esm/admin/cli/commands/org-limit-event.js +248 -2
  37. package/esm/admin/cli/commands/org-limit.js +44 -0
  38. package/esm/admin/cli/commands.js +31 -33
  39. package/esm/admin/cli/executor.d.ts +15 -16
  40. package/esm/admin/orm/index.d.ts +31 -33
  41. package/esm/admin/orm/index.js +31 -33
  42. package/esm/admin/orm/input-types.d.ts +2090 -2039
  43. package/esm/admin/orm/input-types.js +4 -4
  44. package/esm/admin/orm/models/appLimitEvent.d.ts +26 -2
  45. package/esm/admin/orm/models/appLimitEvent.js +46 -1
  46. package/esm/admin/orm/models/index.d.ts +15 -16
  47. package/esm/admin/orm/models/index.js +15 -16
  48. package/esm/admin/orm/models/orgLimitEvent.d.ts +26 -2
  49. package/esm/admin/orm/models/orgLimitEvent.js +46 -1
  50. package/esm/auth/cli/commands/audit-log-auth.d.ts +8 -0
  51. package/esm/{public/cli/commands/audit-log.js → auth/cli/commands/audit-log-auth.js} +14 -14
  52. package/esm/auth/cli/commands.js +5 -5
  53. package/esm/auth/cli/executor.d.ts +6 -6
  54. package/esm/auth/orm/index.d.ts +8 -8
  55. package/esm/auth/orm/index.js +3 -3
  56. package/esm/auth/orm/input-types.d.ts +94 -94
  57. package/esm/auth/orm/input-types.js +1 -1
  58. package/esm/auth/orm/models/auditLogAuth.d.ts +54 -0
  59. package/esm/{public/orm/models/auditLog.js → auth/orm/models/auditLogAuth.js} +25 -25
  60. package/esm/auth/orm/models/index.d.ts +1 -1
  61. package/esm/auth/orm/models/index.js +1 -1
  62. package/esm/auth/orm/mutation/index.d.ts +9 -9
  63. package/esm/auth/orm/mutation/index.js +12 -12
  64. package/esm/objects/orm/index.d.ts +1 -1
  65. package/esm/objects/orm/index.js +1 -1
  66. package/esm/public/cli/commands/{agent-thread.d.ts → agent-module.d.ts} +1 -1
  67. package/esm/public/cli/commands/agent-module.js +690 -0
  68. package/esm/public/cli/commands/app-limit-event.js +248 -2
  69. package/esm/public/cli/commands/app-limit.js +44 -0
  70. package/esm/public/cli/commands/apply-registry-defaults.d.ts +8 -0
  71. package/esm/public/cli/commands/{rev-parse.js → apply-registry-defaults.js} +9 -12
  72. package/esm/public/cli/commands/audit-log-auth.d.ts +8 -0
  73. package/esm/{auth/cli/commands/audit-log.js → public/cli/commands/audit-log-auth.js} +14 -14
  74. package/esm/public/cli/commands/billing-module.js +88 -0
  75. package/esm/public/cli/commands/compute-log-module.d.ts +8 -0
  76. package/esm/public/cli/commands/compute-log-module.js +514 -0
  77. package/esm/public/cli/commands/config-secrets-org-module.d.ts +8 -0
  78. package/esm/public/cli/commands/{encrypted-secrets-module.js → config-secrets-org-module.js} +8 -8
  79. package/esm/public/cli/commands/config-secrets-user-module.d.ts +8 -0
  80. package/esm/public/cli/commands/{object.js → config-secrets-user-module.js} +60 -67
  81. package/esm/public/cli/commands/construct-blueprint.js +1 -1
  82. package/{admin/cli/commands/usage-snapshot.d.ts → esm/public/cli/commands/db-usage-module.d.ts} +1 -1
  83. package/esm/public/cli/commands/db-usage-module.js +558 -0
  84. package/esm/public/cli/commands/entity-type-provision.js +386 -34
  85. package/esm/public/cli/commands/field.js +4 -26
  86. package/esm/public/cli/commands/function-module.d.ts +8 -0
  87. package/esm/public/cli/commands/function-module.js +778 -0
  88. package/{auth/cli/commands/audit-log.d.ts → esm/public/cli/commands/graph-module.d.ts} +1 -1
  89. package/esm/public/cli/commands/graph-module.js +584 -0
  90. package/esm/public/cli/commands/inference-log-module.d.ts +8 -0
  91. package/esm/public/cli/commands/inference-log-module.js +514 -0
  92. package/esm/public/cli/commands/memberships-module.js +22 -0
  93. package/esm/public/cli/commands/merkle-store-module.d.ts +8 -0
  94. package/esm/public/cli/commands/merkle-store-module.js +498 -0
  95. package/esm/public/cli/commands/namespace-module.d.ts +8 -0
  96. package/esm/public/cli/commands/namespace-module.js +558 -0
  97. package/esm/public/cli/commands/org-limit-aggregate.js +44 -0
  98. package/esm/public/cli/commands/org-limit-event.js +248 -2
  99. package/esm/public/cli/commands/org-limit.js +44 -0
  100. package/esm/public/cli/commands/partition.js +44 -0
  101. package/esm/public/cli/commands/storage-log-module.d.ts +8 -0
  102. package/esm/public/cli/commands/storage-log-module.js +514 -0
  103. package/esm/public/cli/commands/storage-module.js +36 -14
  104. package/esm/public/cli/commands/transfer-log-module.d.ts +8 -0
  105. package/esm/public/cli/commands/transfer-log-module.js +514 -0
  106. package/esm/public/cli/commands.js +83 -101
  107. package/esm/public/cli/executor.d.ts +72 -125
  108. package/esm/public/orm/index.d.ts +102 -153
  109. package/esm/public/orm/index.js +59 -55
  110. package/esm/public/orm/input-types.d.ts +6255 -3877
  111. package/esm/public/orm/input-types.js +24 -15
  112. package/esm/public/orm/models/agentModule.d.ts +54 -0
  113. package/esm/public/orm/models/{agentThread.js → agentModule.js} +25 -25
  114. package/esm/public/orm/models/appLimitEvent.d.ts +26 -2
  115. package/esm/public/orm/models/appLimitEvent.js +46 -1
  116. package/esm/public/orm/models/auditLogAuth.d.ts +54 -0
  117. package/esm/{auth/orm/models/auditLog.js → public/orm/models/auditLogAuth.js} +25 -25
  118. package/esm/public/orm/models/computeLogModule.d.ts +54 -0
  119. package/esm/public/orm/models/{commit.js → computeLogModule.js} +25 -25
  120. package/esm/public/orm/models/configSecretsOrgModule.d.ts +54 -0
  121. package/esm/public/orm/models/{encryptedSecretsModule.js → configSecretsOrgModule.js} +25 -25
  122. package/esm/public/orm/models/configSecretsUserModule.d.ts +54 -0
  123. package/esm/public/orm/models/configSecretsUserModule.js +100 -0
  124. package/esm/public/orm/models/dbUsageModule.d.ts +54 -0
  125. package/esm/{admin/orm/models/usageSnapshot.js → public/orm/models/dbUsageModule.js} +25 -25
  126. package/esm/public/orm/models/functionModule.d.ts +54 -0
  127. package/esm/public/orm/models/{agentMessage.js → functionModule.js} +25 -25
  128. package/esm/public/orm/models/graphModule.d.ts +54 -0
  129. package/esm/public/orm/models/{agentTask.js → graphModule.js} +25 -25
  130. package/esm/public/orm/models/index.d.ts +29 -27
  131. package/esm/public/orm/models/index.js +29 -27
  132. package/esm/public/orm/models/inferenceLogModule.d.ts +54 -0
  133. package/esm/public/orm/models/inferenceLogModule.js +100 -0
  134. package/esm/public/orm/models/merkleStoreModule.d.ts +54 -0
  135. package/esm/public/orm/models/merkleStoreModule.js +100 -0
  136. package/esm/public/orm/models/namespaceModule.d.ts +54 -0
  137. package/esm/public/orm/models/namespaceModule.js +100 -0
  138. package/esm/public/orm/models/orgLimitEvent.d.ts +26 -2
  139. package/esm/public/orm/models/orgLimitEvent.js +46 -1
  140. package/esm/public/orm/models/storageLogModule.d.ts +54 -0
  141. package/esm/public/orm/models/{store.js → storageLogModule.js} +25 -25
  142. package/esm/public/orm/models/transferLogModule.d.ts +54 -0
  143. package/esm/public/orm/models/transferLogModule.js +100 -0
  144. package/esm/public/orm/mutation/index.d.ts +69 -133
  145. package/esm/public/orm/mutation/index.js +78 -174
  146. package/esm/public/orm/query/index.d.ts +22 -71
  147. package/esm/public/orm/query/index.js +36 -124
  148. package/objects/orm/index.d.ts +1 -1
  149. package/objects/orm/index.js +2 -1
  150. package/package.json +6 -6
  151. package/{esm/public/cli/commands/agent-task.d.ts → public/cli/commands/agent-module.d.ts} +1 -1
  152. package/public/cli/commands/agent-module.js +692 -0
  153. package/public/cli/commands/app-limit-event.js +248 -2
  154. package/public/cli/commands/app-limit.js +44 -0
  155. package/public/cli/commands/apply-registry-defaults.d.ts +8 -0
  156. package/public/cli/commands/{rev-parse.js → apply-registry-defaults.js} +9 -12
  157. package/public/cli/commands/audit-log-auth.d.ts +8 -0
  158. package/public/cli/commands/{audit-log.js → audit-log-auth.js} +14 -14
  159. package/public/cli/commands/billing-module.js +88 -0
  160. package/public/cli/commands/compute-log-module.d.ts +8 -0
  161. package/public/cli/commands/compute-log-module.js +516 -0
  162. package/public/cli/commands/config-secrets-org-module.d.ts +8 -0
  163. package/public/cli/commands/{encrypted-secrets-module.js → config-secrets-org-module.js} +8 -8
  164. package/public/cli/commands/config-secrets-user-module.d.ts +8 -0
  165. package/public/cli/commands/{object.js → config-secrets-user-module.js} +60 -67
  166. package/public/cli/commands/construct-blueprint.js +1 -1
  167. package/{esm/admin/cli/commands/usage-snapshot.d.ts → public/cli/commands/db-usage-module.d.ts} +1 -1
  168. package/public/cli/commands/db-usage-module.js +560 -0
  169. package/public/cli/commands/entity-type-provision.js +386 -34
  170. package/public/cli/commands/field.js +4 -26
  171. package/public/cli/commands/function-module.d.ts +8 -0
  172. package/public/cli/commands/function-module.js +780 -0
  173. package/{esm/auth/cli/commands/audit-log.d.ts → public/cli/commands/graph-module.d.ts} +1 -1
  174. package/public/cli/commands/graph-module.js +586 -0
  175. package/public/cli/commands/inference-log-module.d.ts +8 -0
  176. package/public/cli/commands/inference-log-module.js +516 -0
  177. package/public/cli/commands/memberships-module.js +22 -0
  178. package/public/cli/commands/merkle-store-module.d.ts +8 -0
  179. package/public/cli/commands/merkle-store-module.js +500 -0
  180. package/public/cli/commands/namespace-module.d.ts +8 -0
  181. package/public/cli/commands/namespace-module.js +560 -0
  182. package/public/cli/commands/org-limit-aggregate.js +44 -0
  183. package/public/cli/commands/org-limit-event.js +248 -2
  184. package/public/cli/commands/org-limit.js +44 -0
  185. package/public/cli/commands/partition.js +44 -0
  186. package/public/cli/commands/storage-log-module.d.ts +8 -0
  187. package/public/cli/commands/storage-log-module.js +516 -0
  188. package/public/cli/commands/storage-module.js +36 -14
  189. package/public/cli/commands/transfer-log-module.d.ts +8 -0
  190. package/public/cli/commands/transfer-log-module.js +516 -0
  191. package/public/cli/commands.js +83 -101
  192. package/public/cli/executor.d.ts +72 -125
  193. package/public/orm/index.d.ts +102 -153
  194. package/public/orm/index.js +60 -55
  195. package/public/orm/input-types.d.ts +6255 -3877
  196. package/public/orm/input-types.js +24 -15
  197. package/public/orm/models/agentModule.d.ts +54 -0
  198. package/public/orm/models/{agentThread.js → agentModule.js} +27 -27
  199. package/public/orm/models/appLimitEvent.d.ts +26 -2
  200. package/public/orm/models/appLimitEvent.js +45 -0
  201. package/public/orm/models/auditLogAuth.d.ts +54 -0
  202. package/{admin/orm/models/usageSnapshot.js → public/orm/models/auditLogAuth.js} +27 -27
  203. package/public/orm/models/computeLogModule.d.ts +54 -0
  204. package/{auth/orm/models/auditLog.js → public/orm/models/computeLogModule.js} +27 -27
  205. package/public/orm/models/configSecretsOrgModule.d.ts +54 -0
  206. package/public/orm/models/{encryptedSecretsModule.js → configSecretsOrgModule.js} +27 -27
  207. package/public/orm/models/configSecretsUserModule.d.ts +54 -0
  208. package/public/orm/models/{ref.js → configSecretsUserModule.js} +27 -27
  209. package/public/orm/models/dbUsageModule.d.ts +54 -0
  210. package/public/orm/models/{usageSnapshot.js → dbUsageModule.js} +27 -27
  211. package/public/orm/models/functionModule.d.ts +54 -0
  212. package/public/orm/models/functionModule.js +104 -0
  213. package/public/orm/models/graphModule.d.ts +54 -0
  214. package/public/orm/models/{agentTask.js → graphModule.js} +27 -27
  215. package/public/orm/models/index.d.ts +29 -27
  216. package/public/orm/models/index.js +61 -57
  217. package/public/orm/models/inferenceLogModule.d.ts +54 -0
  218. package/public/orm/models/inferenceLogModule.js +104 -0
  219. package/public/orm/models/merkleStoreModule.d.ts +54 -0
  220. package/public/orm/models/merkleStoreModule.js +104 -0
  221. package/public/orm/models/namespaceModule.d.ts +54 -0
  222. package/public/orm/models/namespaceModule.js +104 -0
  223. package/public/orm/models/orgLimitEvent.d.ts +26 -2
  224. package/public/orm/models/orgLimitEvent.js +45 -0
  225. package/public/orm/models/storageLogModule.d.ts +54 -0
  226. package/public/orm/models/storageLogModule.js +104 -0
  227. package/public/orm/models/transferLogModule.d.ts +54 -0
  228. package/public/orm/models/transferLogModule.js +104 -0
  229. package/public/orm/mutation/index.d.ts +69 -133
  230. package/public/orm/mutation/index.js +78 -174
  231. package/public/orm/query/index.d.ts +22 -71
  232. package/public/orm/query/index.js +36 -124
  233. package/admin/cli/commands/usage-snapshot.js +0 -316
  234. package/admin/orm/models/usageSnapshot.d.ts +0 -54
  235. package/auth/orm/models/auditLog.d.ts +0 -54
  236. package/esm/admin/cli/commands/usage-snapshot.js +0 -314
  237. package/esm/admin/orm/models/usageSnapshot.d.ts +0 -54
  238. package/esm/auth/orm/models/auditLog.d.ts +0 -54
  239. package/esm/public/cli/commands/agent-message.js +0 -324
  240. package/esm/public/cli/commands/agent-task.js +0 -368
  241. package/esm/public/cli/commands/agent-thread.js +0 -372
  242. package/esm/public/cli/commands/audit-log.d.ts +0 -8
  243. package/esm/public/cli/commands/commit.d.ts +0 -8
  244. package/esm/public/cli/commands/commit.js +0 -380
  245. package/esm/public/cli/commands/encrypted-secrets-module.d.ts +0 -8
  246. package/esm/public/cli/commands/freeze-objects.d.ts +0 -8
  247. package/esm/public/cli/commands/freeze-objects.js +0 -34
  248. package/esm/public/cli/commands/get-all-objects-from-root.d.ts +0 -8
  249. package/esm/public/cli/commands/get-all-objects-from-root.js +0 -52
  250. package/esm/public/cli/commands/get-all-record.d.ts +0 -8
  251. package/esm/public/cli/commands/get-all-record.js +0 -124
  252. package/esm/public/cli/commands/get-object-at-path.d.ts +0 -8
  253. package/esm/public/cli/commands/get-object-at-path.js +0 -47
  254. package/esm/public/cli/commands/get-path-objects-from-root.d.ts +0 -8
  255. package/esm/public/cli/commands/get-path-objects-from-root.js +0 -57
  256. package/esm/public/cli/commands/init-empty-repo.d.ts +0 -8
  257. package/esm/public/cli/commands/init-empty-repo.js +0 -34
  258. package/esm/public/cli/commands/insert-node-at-path.d.ts +0 -8
  259. package/esm/public/cli/commands/insert-node-at-path.js +0 -34
  260. package/esm/public/cli/commands/object.d.ts +0 -8
  261. package/esm/public/cli/commands/ref.d.ts +0 -8
  262. package/esm/public/cli/commands/ref.js +0 -290
  263. package/esm/public/cli/commands/remove-node-at-path.d.ts +0 -8
  264. package/esm/public/cli/commands/remove-node-at-path.js +0 -34
  265. package/esm/public/cli/commands/rev-parse.d.ts +0 -8
  266. package/esm/public/cli/commands/set-and-commit.d.ts +0 -8
  267. package/esm/public/cli/commands/set-and-commit.js +0 -34
  268. package/esm/public/cli/commands/set-data-at-path.d.ts +0 -8
  269. package/esm/public/cli/commands/set-data-at-path.js +0 -34
  270. package/esm/public/cli/commands/set-props-and-commit.d.ts +0 -8
  271. package/esm/public/cli/commands/set-props-and-commit.js +0 -34
  272. package/esm/public/cli/commands/store.d.ts +0 -8
  273. package/esm/public/cli/commands/store.js +0 -276
  274. package/esm/public/cli/commands/update-node-at-path.d.ts +0 -8
  275. package/esm/public/cli/commands/update-node-at-path.js +0 -34
  276. package/esm/public/cli/commands/usage-snapshot.d.ts +0 -8
  277. package/esm/public/cli/commands/usage-snapshot.js +0 -314
  278. package/esm/public/orm/models/agentMessage.d.ts +0 -54
  279. package/esm/public/orm/models/agentTask.d.ts +0 -54
  280. package/esm/public/orm/models/agentThread.d.ts +0 -54
  281. package/esm/public/orm/models/auditLog.d.ts +0 -54
  282. package/esm/public/orm/models/commit.d.ts +0 -54
  283. package/esm/public/orm/models/encryptedSecretsModule.d.ts +0 -54
  284. package/esm/public/orm/models/getAllRecord.d.ts +0 -30
  285. package/esm/public/orm/models/getAllRecord.js +0 -55
  286. package/esm/public/orm/models/object.d.ts +0 -54
  287. package/esm/public/orm/models/object.js +0 -90
  288. package/esm/public/orm/models/ref.d.ts +0 -54
  289. package/esm/public/orm/models/ref.js +0 -100
  290. package/esm/public/orm/models/store.d.ts +0 -54
  291. package/esm/public/orm/models/usageSnapshot.d.ts +0 -54
  292. package/esm/public/orm/models/usageSnapshot.js +0 -100
  293. package/public/cli/commands/agent-message.d.ts +0 -8
  294. package/public/cli/commands/agent-message.js +0 -326
  295. package/public/cli/commands/agent-task.d.ts +0 -8
  296. package/public/cli/commands/agent-task.js +0 -370
  297. package/public/cli/commands/agent-thread.d.ts +0 -8
  298. package/public/cli/commands/agent-thread.js +0 -374
  299. package/public/cli/commands/audit-log.d.ts +0 -8
  300. package/public/cli/commands/commit.d.ts +0 -8
  301. package/public/cli/commands/commit.js +0 -382
  302. package/public/cli/commands/encrypted-secrets-module.d.ts +0 -8
  303. package/public/cli/commands/freeze-objects.d.ts +0 -8
  304. package/public/cli/commands/freeze-objects.js +0 -36
  305. package/public/cli/commands/get-all-objects-from-root.d.ts +0 -8
  306. package/public/cli/commands/get-all-objects-from-root.js +0 -54
  307. package/public/cli/commands/get-all-record.d.ts +0 -8
  308. package/public/cli/commands/get-all-record.js +0 -126
  309. package/public/cli/commands/get-object-at-path.d.ts +0 -8
  310. package/public/cli/commands/get-object-at-path.js +0 -49
  311. package/public/cli/commands/get-path-objects-from-root.d.ts +0 -8
  312. package/public/cli/commands/get-path-objects-from-root.js +0 -59
  313. package/public/cli/commands/init-empty-repo.d.ts +0 -8
  314. package/public/cli/commands/init-empty-repo.js +0 -36
  315. package/public/cli/commands/insert-node-at-path.d.ts +0 -8
  316. package/public/cli/commands/insert-node-at-path.js +0 -36
  317. package/public/cli/commands/object.d.ts +0 -8
  318. package/public/cli/commands/ref.d.ts +0 -8
  319. package/public/cli/commands/ref.js +0 -292
  320. package/public/cli/commands/remove-node-at-path.d.ts +0 -8
  321. package/public/cli/commands/remove-node-at-path.js +0 -36
  322. package/public/cli/commands/rev-parse.d.ts +0 -8
  323. package/public/cli/commands/set-and-commit.d.ts +0 -8
  324. package/public/cli/commands/set-and-commit.js +0 -36
  325. package/public/cli/commands/set-data-at-path.d.ts +0 -8
  326. package/public/cli/commands/set-data-at-path.js +0 -36
  327. package/public/cli/commands/set-props-and-commit.d.ts +0 -8
  328. package/public/cli/commands/set-props-and-commit.js +0 -36
  329. package/public/cli/commands/store.d.ts +0 -8
  330. package/public/cli/commands/store.js +0 -278
  331. package/public/cli/commands/update-node-at-path.d.ts +0 -8
  332. package/public/cli/commands/update-node-at-path.js +0 -36
  333. package/public/cli/commands/usage-snapshot.d.ts +0 -8
  334. package/public/cli/commands/usage-snapshot.js +0 -316
  335. package/public/orm/models/agentMessage.d.ts +0 -54
  336. package/public/orm/models/agentTask.d.ts +0 -54
  337. package/public/orm/models/agentThread.d.ts +0 -54
  338. package/public/orm/models/auditLog.d.ts +0 -54
  339. package/public/orm/models/auditLog.js +0 -104
  340. package/public/orm/models/commit.d.ts +0 -54
  341. package/public/orm/models/commit.js +0 -104
  342. package/public/orm/models/encryptedSecretsModule.d.ts +0 -54
  343. package/public/orm/models/getAllRecord.d.ts +0 -30
  344. package/public/orm/models/getAllRecord.js +0 -59
  345. package/public/orm/models/object.d.ts +0 -54
  346. package/public/orm/models/object.js +0 -94
  347. package/public/orm/models/ref.d.ts +0 -54
  348. package/public/orm/models/store.d.ts +0 -54
  349. package/public/orm/models/store.js +0 -104
  350. package/public/orm/models/usageSnapshot.d.ts +0 -54
@@ -1,15 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AuditLogModel = void 0;
3
+ exports.ComputeLogModuleModel = void 0;
4
4
  const query_builder_1 = require("../query-builder");
5
5
  const input_types_1 = require("../input-types");
6
- class AuditLogModel {
6
+ class ComputeLogModuleModel {
7
7
  client;
8
8
  constructor(client) {
9
9
  this.client = client;
10
10
  }
11
11
  findMany(args) {
12
- const { document, variables } = (0, query_builder_1.buildFindManyDocument)('AuditLog', 'auditLogs', args.select, {
12
+ const { document, variables } = (0, query_builder_1.buildFindManyDocument)('ComputeLogModule', 'computeLogModules', args.select, {
13
13
  where: args?.where,
14
14
  orderBy: args?.orderBy,
15
15
  first: args?.first,
@@ -17,88 +17,88 @@ class AuditLogModel {
17
17
  after: args?.after,
18
18
  before: args?.before,
19
19
  offset: args?.offset,
20
- }, 'AuditLogFilter', 'AuditLogOrderBy', input_types_1.connectionFieldsMap);
20
+ }, 'ComputeLogModuleFilter', 'ComputeLogModuleOrderBy', input_types_1.connectionFieldsMap);
21
21
  return new query_builder_1.QueryBuilder({
22
22
  client: this.client,
23
23
  operation: 'query',
24
- operationName: 'AuditLog',
25
- fieldName: 'auditLogs',
24
+ operationName: 'ComputeLogModule',
25
+ fieldName: 'computeLogModules',
26
26
  document,
27
27
  variables,
28
28
  });
29
29
  }
30
30
  findFirst(args) {
31
- const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('AuditLog', 'auditLogs', args.select, {
31
+ const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('ComputeLogModule', 'computeLogModules', args.select, {
32
32
  where: args?.where,
33
33
  orderBy: args?.orderBy,
34
- }, 'AuditLogFilter', 'AuditLogOrderBy', input_types_1.connectionFieldsMap);
34
+ }, 'ComputeLogModuleFilter', 'ComputeLogModuleOrderBy', input_types_1.connectionFieldsMap);
35
35
  return new query_builder_1.QueryBuilder({
36
36
  client: this.client,
37
37
  operation: 'query',
38
- operationName: 'AuditLog',
39
- fieldName: 'auditLog',
38
+ operationName: 'ComputeLogModule',
39
+ fieldName: 'computeLogModule',
40
40
  document,
41
41
  variables,
42
42
  transform: (data) => ({
43
- auditLog: data.auditLogs?.nodes?.[0] ?? null,
43
+ computeLogModule: data.computeLogModules?.nodes?.[0] ?? null,
44
44
  }),
45
45
  });
46
46
  }
47
47
  findOne(args) {
48
- const { document, variables } = (0, query_builder_1.buildFindManyDocument)('AuditLog', 'auditLogs', args.select, {
48
+ const { document, variables } = (0, query_builder_1.buildFindManyDocument)('ComputeLogModule', 'computeLogModules', args.select, {
49
49
  where: {
50
50
  id: {
51
51
  equalTo: args.id,
52
52
  },
53
53
  },
54
54
  first: 1,
55
- }, 'AuditLogFilter', 'AuditLogOrderBy', input_types_1.connectionFieldsMap);
55
+ }, 'ComputeLogModuleFilter', 'ComputeLogModuleOrderBy', input_types_1.connectionFieldsMap);
56
56
  return new query_builder_1.QueryBuilder({
57
57
  client: this.client,
58
58
  operation: 'query',
59
- operationName: 'AuditLog',
60
- fieldName: 'auditLog',
59
+ operationName: 'ComputeLogModule',
60
+ fieldName: 'computeLogModule',
61
61
  document,
62
62
  variables,
63
63
  transform: (data) => ({
64
- auditLog: data.auditLogs?.nodes?.[0] ?? null,
64
+ computeLogModule: data.computeLogModules?.nodes?.[0] ?? null,
65
65
  }),
66
66
  });
67
67
  }
68
68
  create(args) {
69
- const { document, variables } = (0, query_builder_1.buildCreateDocument)('AuditLog', 'createAuditLog', 'auditLog', args.select, args.data, 'CreateAuditLogInput', input_types_1.connectionFieldsMap);
69
+ const { document, variables } = (0, query_builder_1.buildCreateDocument)('ComputeLogModule', 'createComputeLogModule', 'computeLogModule', args.select, args.data, 'CreateComputeLogModuleInput', input_types_1.connectionFieldsMap);
70
70
  return new query_builder_1.QueryBuilder({
71
71
  client: this.client,
72
72
  operation: 'mutation',
73
- operationName: 'AuditLog',
74
- fieldName: 'createAuditLog',
73
+ operationName: 'ComputeLogModule',
74
+ fieldName: 'createComputeLogModule',
75
75
  document,
76
76
  variables,
77
77
  });
78
78
  }
79
79
  update(args) {
80
- const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('AuditLog', 'updateAuditLog', 'auditLog', args.select, args.where.id, args.data, 'UpdateAuditLogInput', 'id', 'auditLogPatch', input_types_1.connectionFieldsMap);
80
+ const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('ComputeLogModule', 'updateComputeLogModule', 'computeLogModule', args.select, args.where.id, args.data, 'UpdateComputeLogModuleInput', 'id', 'computeLogModulePatch', input_types_1.connectionFieldsMap);
81
81
  return new query_builder_1.QueryBuilder({
82
82
  client: this.client,
83
83
  operation: 'mutation',
84
- operationName: 'AuditLog',
85
- fieldName: 'updateAuditLog',
84
+ operationName: 'ComputeLogModule',
85
+ fieldName: 'updateComputeLogModule',
86
86
  document,
87
87
  variables,
88
88
  });
89
89
  }
90
90
  delete(args) {
91
- const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('AuditLog', 'deleteAuditLog', 'auditLog', {
91
+ const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('ComputeLogModule', 'deleteComputeLogModule', 'computeLogModule', {
92
92
  id: args.where.id,
93
- }, 'DeleteAuditLogInput', args.select, input_types_1.connectionFieldsMap);
93
+ }, 'DeleteComputeLogModuleInput', args.select, input_types_1.connectionFieldsMap);
94
94
  return new query_builder_1.QueryBuilder({
95
95
  client: this.client,
96
96
  operation: 'mutation',
97
- operationName: 'AuditLog',
98
- fieldName: 'deleteAuditLog',
97
+ operationName: 'ComputeLogModule',
98
+ fieldName: 'deleteComputeLogModule',
99
99
  document,
100
100
  variables,
101
101
  });
102
102
  }
103
103
  }
104
- exports.AuditLogModel = AuditLogModel;
104
+ exports.ComputeLogModuleModel = ComputeLogModuleModel;
@@ -0,0 +1,54 @@
1
+ /**
2
+ * ConfigSecretsOrgModule 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 { ConfigSecretsOrgModuleWithRelations, ConfigSecretsOrgModuleSelect, ConfigSecretsOrgModuleFilter, ConfigSecretsOrgModuleOrderBy, CreateConfigSecretsOrgModuleInput, ConfigSecretsOrgModulePatch } from '../input-types';
10
+ export declare class ConfigSecretsOrgModuleModel {
11
+ private client;
12
+ constructor(client: OrmClient);
13
+ findMany<S extends ConfigSecretsOrgModuleSelect>(args: FindManyArgs<S, ConfigSecretsOrgModuleFilter, ConfigSecretsOrgModuleOrderBy> & {
14
+ select: S;
15
+ } & StrictSelect<S, ConfigSecretsOrgModuleSelect>): QueryBuilder<{
16
+ configSecretsOrgModules: ConnectionResult<InferSelectResult<ConfigSecretsOrgModuleWithRelations, S>>;
17
+ }>;
18
+ findFirst<S extends ConfigSecretsOrgModuleSelect>(args: FindFirstArgs<S, ConfigSecretsOrgModuleFilter, ConfigSecretsOrgModuleOrderBy> & {
19
+ select: S;
20
+ } & StrictSelect<S, ConfigSecretsOrgModuleSelect>): QueryBuilder<{
21
+ configSecretsOrgModule: InferSelectResult<ConfigSecretsOrgModuleWithRelations, S> | null;
22
+ }>;
23
+ findOne<S extends ConfigSecretsOrgModuleSelect>(args: {
24
+ id: string;
25
+ select: S;
26
+ } & StrictSelect<S, ConfigSecretsOrgModuleSelect>): QueryBuilder<{
27
+ configSecretsOrgModule: InferSelectResult<ConfigSecretsOrgModuleWithRelations, S> | null;
28
+ }>;
29
+ create<S extends ConfigSecretsOrgModuleSelect>(args: CreateArgs<S, CreateConfigSecretsOrgModuleInput['configSecretsOrgModule']> & {
30
+ select: S;
31
+ } & StrictSelect<S, ConfigSecretsOrgModuleSelect>): QueryBuilder<{
32
+ createConfigSecretsOrgModule: {
33
+ configSecretsOrgModule: InferSelectResult<ConfigSecretsOrgModuleWithRelations, S>;
34
+ };
35
+ }>;
36
+ update<S extends ConfigSecretsOrgModuleSelect>(args: UpdateArgs<S, {
37
+ id: string;
38
+ }, ConfigSecretsOrgModulePatch> & {
39
+ select: S;
40
+ } & StrictSelect<S, ConfigSecretsOrgModuleSelect>): QueryBuilder<{
41
+ updateConfigSecretsOrgModule: {
42
+ configSecretsOrgModule: InferSelectResult<ConfigSecretsOrgModuleWithRelations, S>;
43
+ };
44
+ }>;
45
+ delete<S extends ConfigSecretsOrgModuleSelect>(args: DeleteArgs<{
46
+ id: string;
47
+ }, S> & {
48
+ select: S;
49
+ } & StrictSelect<S, ConfigSecretsOrgModuleSelect>): QueryBuilder<{
50
+ deleteConfigSecretsOrgModule: {
51
+ configSecretsOrgModule: InferSelectResult<ConfigSecretsOrgModuleWithRelations, S>;
52
+ };
53
+ }>;
54
+ }
@@ -1,15 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EncryptedSecretsModuleModel = void 0;
3
+ exports.ConfigSecretsOrgModuleModel = void 0;
4
4
  const query_builder_1 = require("../query-builder");
5
5
  const input_types_1 = require("../input-types");
6
- class EncryptedSecretsModuleModel {
6
+ class ConfigSecretsOrgModuleModel {
7
7
  client;
8
8
  constructor(client) {
9
9
  this.client = client;
10
10
  }
11
11
  findMany(args) {
12
- const { document, variables } = (0, query_builder_1.buildFindManyDocument)('EncryptedSecretsModule', 'encryptedSecretsModules', args.select, {
12
+ const { document, variables } = (0, query_builder_1.buildFindManyDocument)('ConfigSecretsOrgModule', 'configSecretsOrgModules', args.select, {
13
13
  where: args?.where,
14
14
  orderBy: args?.orderBy,
15
15
  first: args?.first,
@@ -17,88 +17,88 @@ class EncryptedSecretsModuleModel {
17
17
  after: args?.after,
18
18
  before: args?.before,
19
19
  offset: args?.offset,
20
- }, 'EncryptedSecretsModuleFilter', 'EncryptedSecretsModuleOrderBy', input_types_1.connectionFieldsMap);
20
+ }, 'ConfigSecretsOrgModuleFilter', 'ConfigSecretsOrgModuleOrderBy', input_types_1.connectionFieldsMap);
21
21
  return new query_builder_1.QueryBuilder({
22
22
  client: this.client,
23
23
  operation: 'query',
24
- operationName: 'EncryptedSecretsModule',
25
- fieldName: 'encryptedSecretsModules',
24
+ operationName: 'ConfigSecretsOrgModule',
25
+ fieldName: 'configSecretsOrgModules',
26
26
  document,
27
27
  variables,
28
28
  });
29
29
  }
30
30
  findFirst(args) {
31
- const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('EncryptedSecretsModule', 'encryptedSecretsModules', args.select, {
31
+ const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('ConfigSecretsOrgModule', 'configSecretsOrgModules', args.select, {
32
32
  where: args?.where,
33
33
  orderBy: args?.orderBy,
34
- }, 'EncryptedSecretsModuleFilter', 'EncryptedSecretsModuleOrderBy', input_types_1.connectionFieldsMap);
34
+ }, 'ConfigSecretsOrgModuleFilter', 'ConfigSecretsOrgModuleOrderBy', input_types_1.connectionFieldsMap);
35
35
  return new query_builder_1.QueryBuilder({
36
36
  client: this.client,
37
37
  operation: 'query',
38
- operationName: 'EncryptedSecretsModule',
39
- fieldName: 'encryptedSecretsModule',
38
+ operationName: 'ConfigSecretsOrgModule',
39
+ fieldName: 'configSecretsOrgModule',
40
40
  document,
41
41
  variables,
42
42
  transform: (data) => ({
43
- encryptedSecretsModule: data.encryptedSecretsModules?.nodes?.[0] ?? null,
43
+ configSecretsOrgModule: data.configSecretsOrgModules?.nodes?.[0] ?? null,
44
44
  }),
45
45
  });
46
46
  }
47
47
  findOne(args) {
48
- const { document, variables } = (0, query_builder_1.buildFindManyDocument)('EncryptedSecretsModule', 'encryptedSecretsModules', args.select, {
48
+ const { document, variables } = (0, query_builder_1.buildFindManyDocument)('ConfigSecretsOrgModule', 'configSecretsOrgModules', args.select, {
49
49
  where: {
50
50
  id: {
51
51
  equalTo: args.id,
52
52
  },
53
53
  },
54
54
  first: 1,
55
- }, 'EncryptedSecretsModuleFilter', 'EncryptedSecretsModuleOrderBy', input_types_1.connectionFieldsMap);
55
+ }, 'ConfigSecretsOrgModuleFilter', 'ConfigSecretsOrgModuleOrderBy', input_types_1.connectionFieldsMap);
56
56
  return new query_builder_1.QueryBuilder({
57
57
  client: this.client,
58
58
  operation: 'query',
59
- operationName: 'EncryptedSecretsModule',
60
- fieldName: 'encryptedSecretsModule',
59
+ operationName: 'ConfigSecretsOrgModule',
60
+ fieldName: 'configSecretsOrgModule',
61
61
  document,
62
62
  variables,
63
63
  transform: (data) => ({
64
- encryptedSecretsModule: data.encryptedSecretsModules?.nodes?.[0] ?? null,
64
+ configSecretsOrgModule: data.configSecretsOrgModules?.nodes?.[0] ?? null,
65
65
  }),
66
66
  });
67
67
  }
68
68
  create(args) {
69
- const { document, variables } = (0, query_builder_1.buildCreateDocument)('EncryptedSecretsModule', 'createEncryptedSecretsModule', 'encryptedSecretsModule', args.select, args.data, 'CreateEncryptedSecretsModuleInput', input_types_1.connectionFieldsMap);
69
+ const { document, variables } = (0, query_builder_1.buildCreateDocument)('ConfigSecretsOrgModule', 'createConfigSecretsOrgModule', 'configSecretsOrgModule', args.select, args.data, 'CreateConfigSecretsOrgModuleInput', input_types_1.connectionFieldsMap);
70
70
  return new query_builder_1.QueryBuilder({
71
71
  client: this.client,
72
72
  operation: 'mutation',
73
- operationName: 'EncryptedSecretsModule',
74
- fieldName: 'createEncryptedSecretsModule',
73
+ operationName: 'ConfigSecretsOrgModule',
74
+ fieldName: 'createConfigSecretsOrgModule',
75
75
  document,
76
76
  variables,
77
77
  });
78
78
  }
79
79
  update(args) {
80
- const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('EncryptedSecretsModule', 'updateEncryptedSecretsModule', 'encryptedSecretsModule', args.select, args.where.id, args.data, 'UpdateEncryptedSecretsModuleInput', 'id', 'encryptedSecretsModulePatch', input_types_1.connectionFieldsMap);
80
+ const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('ConfigSecretsOrgModule', 'updateConfigSecretsOrgModule', 'configSecretsOrgModule', args.select, args.where.id, args.data, 'UpdateConfigSecretsOrgModuleInput', 'id', 'configSecretsOrgModulePatch', input_types_1.connectionFieldsMap);
81
81
  return new query_builder_1.QueryBuilder({
82
82
  client: this.client,
83
83
  operation: 'mutation',
84
- operationName: 'EncryptedSecretsModule',
85
- fieldName: 'updateEncryptedSecretsModule',
84
+ operationName: 'ConfigSecretsOrgModule',
85
+ fieldName: 'updateConfigSecretsOrgModule',
86
86
  document,
87
87
  variables,
88
88
  });
89
89
  }
90
90
  delete(args) {
91
- const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('EncryptedSecretsModule', 'deleteEncryptedSecretsModule', 'encryptedSecretsModule', {
91
+ const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('ConfigSecretsOrgModule', 'deleteConfigSecretsOrgModule', 'configSecretsOrgModule', {
92
92
  id: args.where.id,
93
- }, 'DeleteEncryptedSecretsModuleInput', args.select, input_types_1.connectionFieldsMap);
93
+ }, 'DeleteConfigSecretsOrgModuleInput', args.select, input_types_1.connectionFieldsMap);
94
94
  return new query_builder_1.QueryBuilder({
95
95
  client: this.client,
96
96
  operation: 'mutation',
97
- operationName: 'EncryptedSecretsModule',
98
- fieldName: 'deleteEncryptedSecretsModule',
97
+ operationName: 'ConfigSecretsOrgModule',
98
+ fieldName: 'deleteConfigSecretsOrgModule',
99
99
  document,
100
100
  variables,
101
101
  });
102
102
  }
103
103
  }
104
- exports.EncryptedSecretsModuleModel = EncryptedSecretsModuleModel;
104
+ exports.ConfigSecretsOrgModuleModel = ConfigSecretsOrgModuleModel;
@@ -0,0 +1,54 @@
1
+ /**
2
+ * ConfigSecretsUserModule 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 { ConfigSecretsUserModuleWithRelations, ConfigSecretsUserModuleSelect, ConfigSecretsUserModuleFilter, ConfigSecretsUserModuleOrderBy, CreateConfigSecretsUserModuleInput, ConfigSecretsUserModulePatch } from '../input-types';
10
+ export declare class ConfigSecretsUserModuleModel {
11
+ private client;
12
+ constructor(client: OrmClient);
13
+ findMany<S extends ConfigSecretsUserModuleSelect>(args: FindManyArgs<S, ConfigSecretsUserModuleFilter, ConfigSecretsUserModuleOrderBy> & {
14
+ select: S;
15
+ } & StrictSelect<S, ConfigSecretsUserModuleSelect>): QueryBuilder<{
16
+ configSecretsUserModules: ConnectionResult<InferSelectResult<ConfigSecretsUserModuleWithRelations, S>>;
17
+ }>;
18
+ findFirst<S extends ConfigSecretsUserModuleSelect>(args: FindFirstArgs<S, ConfigSecretsUserModuleFilter, ConfigSecretsUserModuleOrderBy> & {
19
+ select: S;
20
+ } & StrictSelect<S, ConfigSecretsUserModuleSelect>): QueryBuilder<{
21
+ configSecretsUserModule: InferSelectResult<ConfigSecretsUserModuleWithRelations, S> | null;
22
+ }>;
23
+ findOne<S extends ConfigSecretsUserModuleSelect>(args: {
24
+ id: string;
25
+ select: S;
26
+ } & StrictSelect<S, ConfigSecretsUserModuleSelect>): QueryBuilder<{
27
+ configSecretsUserModule: InferSelectResult<ConfigSecretsUserModuleWithRelations, S> | null;
28
+ }>;
29
+ create<S extends ConfigSecretsUserModuleSelect>(args: CreateArgs<S, CreateConfigSecretsUserModuleInput['configSecretsUserModule']> & {
30
+ select: S;
31
+ } & StrictSelect<S, ConfigSecretsUserModuleSelect>): QueryBuilder<{
32
+ createConfigSecretsUserModule: {
33
+ configSecretsUserModule: InferSelectResult<ConfigSecretsUserModuleWithRelations, S>;
34
+ };
35
+ }>;
36
+ update<S extends ConfigSecretsUserModuleSelect>(args: UpdateArgs<S, {
37
+ id: string;
38
+ }, ConfigSecretsUserModulePatch> & {
39
+ select: S;
40
+ } & StrictSelect<S, ConfigSecretsUserModuleSelect>): QueryBuilder<{
41
+ updateConfigSecretsUserModule: {
42
+ configSecretsUserModule: InferSelectResult<ConfigSecretsUserModuleWithRelations, S>;
43
+ };
44
+ }>;
45
+ delete<S extends ConfigSecretsUserModuleSelect>(args: DeleteArgs<{
46
+ id: string;
47
+ }, S> & {
48
+ select: S;
49
+ } & StrictSelect<S, ConfigSecretsUserModuleSelect>): QueryBuilder<{
50
+ deleteConfigSecretsUserModule: {
51
+ configSecretsUserModule: InferSelectResult<ConfigSecretsUserModuleWithRelations, S>;
52
+ };
53
+ }>;
54
+ }
@@ -1,15 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RefModel = void 0;
3
+ exports.ConfigSecretsUserModuleModel = void 0;
4
4
  const query_builder_1 = require("../query-builder");
5
5
  const input_types_1 = require("../input-types");
6
- class RefModel {
6
+ class ConfigSecretsUserModuleModel {
7
7
  client;
8
8
  constructor(client) {
9
9
  this.client = client;
10
10
  }
11
11
  findMany(args) {
12
- const { document, variables } = (0, query_builder_1.buildFindManyDocument)('Ref', 'refs', args.select, {
12
+ const { document, variables } = (0, query_builder_1.buildFindManyDocument)('ConfigSecretsUserModule', 'configSecretsUserModules', args.select, {
13
13
  where: args?.where,
14
14
  orderBy: args?.orderBy,
15
15
  first: args?.first,
@@ -17,88 +17,88 @@ class RefModel {
17
17
  after: args?.after,
18
18
  before: args?.before,
19
19
  offset: args?.offset,
20
- }, 'RefFilter', 'RefOrderBy', input_types_1.connectionFieldsMap);
20
+ }, 'ConfigSecretsUserModuleFilter', 'ConfigSecretsUserModuleOrderBy', input_types_1.connectionFieldsMap);
21
21
  return new query_builder_1.QueryBuilder({
22
22
  client: this.client,
23
23
  operation: 'query',
24
- operationName: 'Ref',
25
- fieldName: 'refs',
24
+ operationName: 'ConfigSecretsUserModule',
25
+ fieldName: 'configSecretsUserModules',
26
26
  document,
27
27
  variables,
28
28
  });
29
29
  }
30
30
  findFirst(args) {
31
- const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('Ref', 'refs', args.select, {
31
+ const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('ConfigSecretsUserModule', 'configSecretsUserModules', args.select, {
32
32
  where: args?.where,
33
33
  orderBy: args?.orderBy,
34
- }, 'RefFilter', 'RefOrderBy', input_types_1.connectionFieldsMap);
34
+ }, 'ConfigSecretsUserModuleFilter', 'ConfigSecretsUserModuleOrderBy', input_types_1.connectionFieldsMap);
35
35
  return new query_builder_1.QueryBuilder({
36
36
  client: this.client,
37
37
  operation: 'query',
38
- operationName: 'Ref',
39
- fieldName: 'ref',
38
+ operationName: 'ConfigSecretsUserModule',
39
+ fieldName: 'configSecretsUserModule',
40
40
  document,
41
41
  variables,
42
42
  transform: (data) => ({
43
- ref: data.refs?.nodes?.[0] ?? null,
43
+ configSecretsUserModule: data.configSecretsUserModules?.nodes?.[0] ?? null,
44
44
  }),
45
45
  });
46
46
  }
47
47
  findOne(args) {
48
- const { document, variables } = (0, query_builder_1.buildFindManyDocument)('Ref', 'refs', args.select, {
48
+ const { document, variables } = (0, query_builder_1.buildFindManyDocument)('ConfigSecretsUserModule', 'configSecretsUserModules', args.select, {
49
49
  where: {
50
50
  id: {
51
51
  equalTo: args.id,
52
52
  },
53
53
  },
54
54
  first: 1,
55
- }, 'RefFilter', 'RefOrderBy', input_types_1.connectionFieldsMap);
55
+ }, 'ConfigSecretsUserModuleFilter', 'ConfigSecretsUserModuleOrderBy', input_types_1.connectionFieldsMap);
56
56
  return new query_builder_1.QueryBuilder({
57
57
  client: this.client,
58
58
  operation: 'query',
59
- operationName: 'Ref',
60
- fieldName: 'ref',
59
+ operationName: 'ConfigSecretsUserModule',
60
+ fieldName: 'configSecretsUserModule',
61
61
  document,
62
62
  variables,
63
63
  transform: (data) => ({
64
- ref: data.refs?.nodes?.[0] ?? null,
64
+ configSecretsUserModule: data.configSecretsUserModules?.nodes?.[0] ?? null,
65
65
  }),
66
66
  });
67
67
  }
68
68
  create(args) {
69
- const { document, variables } = (0, query_builder_1.buildCreateDocument)('Ref', 'createRef', 'ref', args.select, args.data, 'CreateRefInput', input_types_1.connectionFieldsMap);
69
+ const { document, variables } = (0, query_builder_1.buildCreateDocument)('ConfigSecretsUserModule', 'createConfigSecretsUserModule', 'configSecretsUserModule', args.select, args.data, 'CreateConfigSecretsUserModuleInput', input_types_1.connectionFieldsMap);
70
70
  return new query_builder_1.QueryBuilder({
71
71
  client: this.client,
72
72
  operation: 'mutation',
73
- operationName: 'Ref',
74
- fieldName: 'createRef',
73
+ operationName: 'ConfigSecretsUserModule',
74
+ fieldName: 'createConfigSecretsUserModule',
75
75
  document,
76
76
  variables,
77
77
  });
78
78
  }
79
79
  update(args) {
80
- const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('Ref', 'updateRef', 'ref', args.select, args.where.id, args.data, 'UpdateRefInput', 'id', 'refPatch', input_types_1.connectionFieldsMap);
80
+ const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('ConfigSecretsUserModule', 'updateConfigSecretsUserModule', 'configSecretsUserModule', args.select, args.where.id, args.data, 'UpdateConfigSecretsUserModuleInput', 'id', 'configSecretsUserModulePatch', input_types_1.connectionFieldsMap);
81
81
  return new query_builder_1.QueryBuilder({
82
82
  client: this.client,
83
83
  operation: 'mutation',
84
- operationName: 'Ref',
85
- fieldName: 'updateRef',
84
+ operationName: 'ConfigSecretsUserModule',
85
+ fieldName: 'updateConfigSecretsUserModule',
86
86
  document,
87
87
  variables,
88
88
  });
89
89
  }
90
90
  delete(args) {
91
- const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('Ref', 'deleteRef', 'ref', {
91
+ const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('ConfigSecretsUserModule', 'deleteConfigSecretsUserModule', 'configSecretsUserModule', {
92
92
  id: args.where.id,
93
- }, 'DeleteRefInput', args.select, input_types_1.connectionFieldsMap);
93
+ }, 'DeleteConfigSecretsUserModuleInput', args.select, input_types_1.connectionFieldsMap);
94
94
  return new query_builder_1.QueryBuilder({
95
95
  client: this.client,
96
96
  operation: 'mutation',
97
- operationName: 'Ref',
98
- fieldName: 'deleteRef',
97
+ operationName: 'ConfigSecretsUserModule',
98
+ fieldName: 'deleteConfigSecretsUserModule',
99
99
  document,
100
100
  variables,
101
101
  });
102
102
  }
103
103
  }
104
- exports.RefModel = RefModel;
104
+ exports.ConfigSecretsUserModuleModel = ConfigSecretsUserModuleModel;
@@ -0,0 +1,54 @@
1
+ /**
2
+ * DbUsageModule 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 { DbUsageModuleWithRelations, DbUsageModuleSelect, DbUsageModuleFilter, DbUsageModuleOrderBy, CreateDbUsageModuleInput, DbUsageModulePatch } from '../input-types';
10
+ export declare class DbUsageModuleModel {
11
+ private client;
12
+ constructor(client: OrmClient);
13
+ findMany<S extends DbUsageModuleSelect>(args: FindManyArgs<S, DbUsageModuleFilter, DbUsageModuleOrderBy> & {
14
+ select: S;
15
+ } & StrictSelect<S, DbUsageModuleSelect>): QueryBuilder<{
16
+ dbUsageModules: ConnectionResult<InferSelectResult<DbUsageModuleWithRelations, S>>;
17
+ }>;
18
+ findFirst<S extends DbUsageModuleSelect>(args: FindFirstArgs<S, DbUsageModuleFilter, DbUsageModuleOrderBy> & {
19
+ select: S;
20
+ } & StrictSelect<S, DbUsageModuleSelect>): QueryBuilder<{
21
+ dbUsageModule: InferSelectResult<DbUsageModuleWithRelations, S> | null;
22
+ }>;
23
+ findOne<S extends DbUsageModuleSelect>(args: {
24
+ id: string;
25
+ select: S;
26
+ } & StrictSelect<S, DbUsageModuleSelect>): QueryBuilder<{
27
+ dbUsageModule: InferSelectResult<DbUsageModuleWithRelations, S> | null;
28
+ }>;
29
+ create<S extends DbUsageModuleSelect>(args: CreateArgs<S, CreateDbUsageModuleInput['dbUsageModule']> & {
30
+ select: S;
31
+ } & StrictSelect<S, DbUsageModuleSelect>): QueryBuilder<{
32
+ createDbUsageModule: {
33
+ dbUsageModule: InferSelectResult<DbUsageModuleWithRelations, S>;
34
+ };
35
+ }>;
36
+ update<S extends DbUsageModuleSelect>(args: UpdateArgs<S, {
37
+ id: string;
38
+ }, DbUsageModulePatch> & {
39
+ select: S;
40
+ } & StrictSelect<S, DbUsageModuleSelect>): QueryBuilder<{
41
+ updateDbUsageModule: {
42
+ dbUsageModule: InferSelectResult<DbUsageModuleWithRelations, S>;
43
+ };
44
+ }>;
45
+ delete<S extends DbUsageModuleSelect>(args: DeleteArgs<{
46
+ id: string;
47
+ }, S> & {
48
+ select: S;
49
+ } & StrictSelect<S, DbUsageModuleSelect>): QueryBuilder<{
50
+ deleteDbUsageModule: {
51
+ dbUsageModule: InferSelectResult<DbUsageModuleWithRelations, S>;
52
+ };
53
+ }>;
54
+ }