@constructive-sdk/cli 0.23.2 → 0.24.0

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