@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
@@ -62,23 +62,19 @@ function createQueryOperations(client) {
62
62
  },
63
63
  ], input_types_1.connectionFieldsMap, undefined),
64
64
  }),
65
- revParse: (args, options) => new query_builder_1.QueryBuilder({
65
+ applyRegistryDefaults: (args, options) => new query_builder_1.QueryBuilder({
66
66
  client,
67
67
  operation: 'query',
68
- operationName: 'RevParse',
69
- fieldName: 'revParse',
70
- ...(0, query_builder_1.buildCustomDocument)('query', 'RevParse', 'revParse', options?.select, args, [
68
+ operationName: 'ApplyRegistryDefaults',
69
+ fieldName: 'applyRegistryDefaults',
70
+ ...(0, query_builder_1.buildCustomDocument)('query', 'ApplyRegistryDefaults', 'applyRegistryDefaults', options?.select, args, [
71
71
  {
72
- name: 'dbId',
73
- type: 'UUID',
74
- },
75
- {
76
- name: 'storeId',
77
- type: 'UUID',
72
+ name: 'nodeType',
73
+ type: 'String',
78
74
  },
79
75
  {
80
- name: 'refname',
81
- type: 'String',
76
+ name: 'data',
77
+ type: 'JSON',
82
78
  },
83
79
  ], input_types_1.connectionFieldsMap, undefined),
84
80
  }),
@@ -102,6 +98,34 @@ function createQueryOperations(client) {
102
98
  },
103
99
  ], input_types_1.connectionFieldsMap, undefined),
104
100
  }),
101
+ resolveBlueprintTable: (args, options) => new query_builder_1.QueryBuilder({
102
+ client,
103
+ operation: 'query',
104
+ operationName: 'ResolveBlueprintTable',
105
+ fieldName: 'resolveBlueprintTable',
106
+ ...(0, query_builder_1.buildCustomDocument)('query', 'ResolveBlueprintTable', 'resolveBlueprintTable', options?.select, args, [
107
+ {
108
+ name: 'databaseId',
109
+ type: 'UUID',
110
+ },
111
+ {
112
+ name: 'tableName',
113
+ type: 'String',
114
+ },
115
+ {
116
+ name: 'schemaName',
117
+ type: 'String',
118
+ },
119
+ {
120
+ name: 'tableMap',
121
+ type: 'JSON',
122
+ },
123
+ {
124
+ name: 'defaultSchemaId',
125
+ type: 'UUID',
126
+ },
127
+ ], input_types_1.connectionFieldsMap, undefined),
128
+ }),
105
129
  orgIsManagerOf: (args, options) => new query_builder_1.QueryBuilder({
106
130
  client,
107
131
  operation: 'query',
@@ -150,34 +174,6 @@ function createQueryOperations(client) {
150
174
  },
151
175
  ], input_types_1.connectionFieldsMap, undefined),
152
176
  }),
153
- resolveBlueprintTable: (args, options) => new query_builder_1.QueryBuilder({
154
- client,
155
- operation: 'query',
156
- operationName: 'ResolveBlueprintTable',
157
- fieldName: 'resolveBlueprintTable',
158
- ...(0, query_builder_1.buildCustomDocument)('query', 'ResolveBlueprintTable', 'resolveBlueprintTable', options?.select, args, [
159
- {
160
- name: 'databaseId',
161
- type: 'UUID',
162
- },
163
- {
164
- name: 'tableName',
165
- type: 'String',
166
- },
167
- {
168
- name: 'schemaName',
169
- type: 'String',
170
- },
171
- {
172
- name: 'tableMap',
173
- type: 'JSON',
174
- },
175
- {
176
- name: 'defaultSchemaId',
177
- type: 'UUID',
178
- },
179
- ], input_types_1.connectionFieldsMap, undefined),
180
- }),
181
177
  appPermissionsGetMaskByNames: (args, options) => new query_builder_1.QueryBuilder({
182
178
  client,
183
179
  operation: 'query',
@@ -250,90 +246,6 @@ function createQueryOperations(client) {
250
246
  },
251
247
  ], input_types_1.connectionFieldsMap, undefined),
252
248
  }),
253
- getAllObjectsFromRoot: (args, options) => new query_builder_1.QueryBuilder({
254
- client,
255
- operation: 'query',
256
- operationName: 'GetAllObjectsFromRoot',
257
- fieldName: 'getAllObjectsFromRoot',
258
- ...(0, query_builder_1.buildCustomDocument)('query', 'GetAllObjectsFromRoot', 'getAllObjectsFromRoot', options?.select, args, [
259
- {
260
- name: 'databaseId',
261
- type: 'UUID',
262
- },
263
- {
264
- name: 'id',
265
- type: 'UUID',
266
- },
267
- {
268
- name: 'first',
269
- type: 'Int',
270
- },
271
- {
272
- name: 'offset',
273
- type: 'Int',
274
- },
275
- {
276
- name: 'after',
277
- type: 'Cursor',
278
- },
279
- ], input_types_1.connectionFieldsMap, undefined),
280
- }),
281
- getPathObjectsFromRoot: (args, options) => new query_builder_1.QueryBuilder({
282
- client,
283
- operation: 'query',
284
- operationName: 'GetPathObjectsFromRoot',
285
- fieldName: 'getPathObjectsFromRoot',
286
- ...(0, query_builder_1.buildCustomDocument)('query', 'GetPathObjectsFromRoot', 'getPathObjectsFromRoot', options?.select, args, [
287
- {
288
- name: 'databaseId',
289
- type: 'UUID',
290
- },
291
- {
292
- name: 'id',
293
- type: 'UUID',
294
- },
295
- {
296
- name: 'path',
297
- type: '[String]',
298
- },
299
- {
300
- name: 'first',
301
- type: 'Int',
302
- },
303
- {
304
- name: 'offset',
305
- type: 'Int',
306
- },
307
- {
308
- name: 'after',
309
- type: 'Cursor',
310
- },
311
- ], input_types_1.connectionFieldsMap, undefined),
312
- }),
313
- getObjectAtPath: (args, options) => new query_builder_1.QueryBuilder({
314
- client,
315
- operation: 'query',
316
- operationName: 'GetObjectAtPath',
317
- fieldName: 'getObjectAtPath',
318
- ...(0, query_builder_1.buildCustomDocument)('query', 'GetObjectAtPath', 'getObjectAtPath', options.select, args, [
319
- {
320
- name: 'dbId',
321
- type: 'UUID',
322
- },
323
- {
324
- name: 'storeId',
325
- type: 'UUID',
326
- },
327
- {
328
- name: 'path',
329
- type: '[String]',
330
- },
331
- {
332
- name: 'refname',
333
- type: 'String',
334
- },
335
- ], input_types_1.connectionFieldsMap, 'Object'),
336
- }),
337
249
  currentUser: (options) => new query_builder_1.QueryBuilder({
338
250
  client,
339
251
  operation: 'query',
@@ -1,316 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- /**
4
- * CLI commands for UsageSnapshot
5
- * @generated by @constructive-io/graphql-codegen
6
- * DO NOT EDIT - changes will be overwritten
7
- */
8
- const inquirerer_1 = require("inquirerer");
9
- const executor_1 = require("../executor");
10
- const utils_1 = require("../utils");
11
- const fieldSchema = {
12
- databaseId: 'uuid',
13
- metricName: 'string',
14
- metricValue: 'int',
15
- dimensions: 'json',
16
- capturedAt: 'string',
17
- id: 'uuid',
18
- };
19
- const usage = '\nusage-snapshot <command>\n\nCommands:\n list List usageSnapshot records\n find-first Find first matching usageSnapshot record\n get Get a usageSnapshot by ID\n create Create a new usageSnapshot\n update Update an existing usageSnapshot\n delete Delete a usageSnapshot\n\nList Options:\n --limit <n> Max number of records to return (forward pagination)\n --last <n> Number of records from the end (backward pagination)\n --after <cursor> Cursor for forward pagination\n --before <cursor> Cursor for backward pagination\n --offset <n> Number of records to skip\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.name.equalTo foo)\n --condition.<f>.<op> Condition filter (dot-notation)\n --orderBy <values> Comma-separated ordering values (e.g. NAME_ASC,CREATED_AT_DESC)\n\nFind-First Options:\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.status.equalTo active)\n --condition.<f>.<op> Condition filter (dot-notation)\n --orderBy <values> Comma-separated ordering values (e.g. NAME_ASC,CREATED_AT_DESC)\n\n --help, -h Show this help message\n';
20
- exports.default = async (argv, prompter, _options) => {
21
- if (argv.help || argv.h) {
22
- console.log(usage);
23
- process.exit(0);
24
- }
25
- const { first: subcommand, newArgv } = (0, inquirerer_1.extractFirst)(argv);
26
- if (!subcommand) {
27
- const answer = await prompter.prompt(argv, [
28
- {
29
- type: 'autocomplete',
30
- name: 'subcommand',
31
- message: 'What do you want to do?',
32
- options: ['list', 'find-first', 'get', 'create', 'update', 'delete'],
33
- },
34
- ]);
35
- return handleTableSubcommand(answer.subcommand, newArgv, prompter);
36
- }
37
- return handleTableSubcommand(subcommand, newArgv, prompter);
38
- };
39
- async function handleTableSubcommand(subcommand, argv, prompter) {
40
- switch (subcommand) {
41
- case 'list':
42
- return handleList(argv, prompter);
43
- case 'find-first':
44
- return handleFindFirst(argv, prompter);
45
- case 'get':
46
- return handleGet(argv, prompter);
47
- case 'create':
48
- return handleCreate(argv, prompter);
49
- case 'update':
50
- return handleUpdate(argv, prompter);
51
- case 'delete':
52
- return handleDelete(argv, prompter);
53
- default:
54
- console.log(usage);
55
- process.exit(1);
56
- }
57
- }
58
- async function handleList(argv, _prompter) {
59
- try {
60
- const defaultSelect = {
61
- databaseId: true,
62
- metricName: true,
63
- metricValue: true,
64
- dimensions: true,
65
- capturedAt: true,
66
- id: true,
67
- };
68
- const findManyArgs = (0, utils_1.parseFindManyArgs)(argv, defaultSelect);
69
- const client = (0, executor_1.getClient)();
70
- const result = await client.usageSnapshot.findMany(findManyArgs).execute();
71
- console.log(JSON.stringify(result, null, 2));
72
- }
73
- catch (error) {
74
- console.error('Failed to list records.');
75
- if (error instanceof Error) {
76
- console.error(error.message);
77
- }
78
- process.exit(1);
79
- }
80
- }
81
- async function handleFindFirst(argv, _prompter) {
82
- try {
83
- const defaultSelect = {
84
- databaseId: true,
85
- metricName: true,
86
- metricValue: true,
87
- dimensions: true,
88
- capturedAt: true,
89
- id: true,
90
- };
91
- const findFirstArgs = (0, utils_1.parseFindFirstArgs)(argv, defaultSelect);
92
- const client = (0, executor_1.getClient)();
93
- const result = await client.usageSnapshot.findFirst(findFirstArgs).execute();
94
- console.log(JSON.stringify(result, null, 2));
95
- }
96
- catch (error) {
97
- console.error('Failed to find record.');
98
- if (error instanceof Error) {
99
- console.error(error.message);
100
- }
101
- process.exit(1);
102
- }
103
- }
104
- async function handleGet(argv, prompter) {
105
- try {
106
- const answers = await prompter.prompt(argv, [
107
- {
108
- type: 'text',
109
- name: 'id',
110
- message: 'id',
111
- required: true,
112
- },
113
- ]);
114
- const client = (0, executor_1.getClient)();
115
- const result = await client.usageSnapshot
116
- .findOne({
117
- id: answers.id,
118
- select: {
119
- databaseId: true,
120
- metricName: true,
121
- metricValue: true,
122
- dimensions: true,
123
- capturedAt: true,
124
- id: true,
125
- },
126
- })
127
- .execute();
128
- console.log(JSON.stringify(result, null, 2));
129
- }
130
- catch (error) {
131
- console.error('Record not found.');
132
- if (error instanceof Error) {
133
- console.error(error.message);
134
- }
135
- process.exit(1);
136
- }
137
- }
138
- async function handleCreate(argv, prompter) {
139
- try {
140
- const rawAnswers = await prompter.prompt(argv, [
141
- {
142
- type: 'text',
143
- name: 'databaseId',
144
- message: 'databaseId',
145
- required: true,
146
- },
147
- {
148
- type: 'text',
149
- name: 'metricName',
150
- message: 'metricName',
151
- required: true,
152
- },
153
- {
154
- type: 'text',
155
- name: 'metricValue',
156
- message: 'metricValue',
157
- required: false,
158
- skipPrompt: true,
159
- },
160
- {
161
- type: 'json',
162
- name: 'dimensions',
163
- message: 'dimensions',
164
- required: false,
165
- skipPrompt: true,
166
- },
167
- {
168
- type: 'text',
169
- name: 'capturedAt',
170
- message: 'capturedAt',
171
- required: false,
172
- skipPrompt: true,
173
- },
174
- ]);
175
- const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
176
- const cleanedData = (0, utils_1.stripUndefined)(answers, fieldSchema);
177
- const client = (0, executor_1.getClient)();
178
- const result = await client.usageSnapshot
179
- .create({
180
- data: {
181
- databaseId: cleanedData.databaseId,
182
- metricName: cleanedData.metricName,
183
- metricValue: cleanedData.metricValue,
184
- dimensions: cleanedData.dimensions,
185
- capturedAt: cleanedData.capturedAt,
186
- },
187
- select: {
188
- databaseId: true,
189
- metricName: true,
190
- metricValue: true,
191
- dimensions: true,
192
- capturedAt: true,
193
- id: true,
194
- },
195
- })
196
- .execute();
197
- console.log(JSON.stringify(result, null, 2));
198
- }
199
- catch (error) {
200
- console.error('Failed to create record.');
201
- if (error instanceof Error) {
202
- console.error(error.message);
203
- }
204
- process.exit(1);
205
- }
206
- }
207
- async function handleUpdate(argv, prompter) {
208
- try {
209
- const rawAnswers = await prompter.prompt(argv, [
210
- {
211
- type: 'text',
212
- name: 'id',
213
- message: 'id',
214
- required: true,
215
- },
216
- {
217
- type: 'text',
218
- name: 'databaseId',
219
- message: 'databaseId',
220
- required: false,
221
- },
222
- {
223
- type: 'text',
224
- name: 'metricName',
225
- message: 'metricName',
226
- required: false,
227
- },
228
- {
229
- type: 'text',
230
- name: 'metricValue',
231
- message: 'metricValue',
232
- required: false,
233
- skipPrompt: true,
234
- },
235
- {
236
- type: 'json',
237
- name: 'dimensions',
238
- message: 'dimensions',
239
- required: false,
240
- skipPrompt: true,
241
- },
242
- {
243
- type: 'text',
244
- name: 'capturedAt',
245
- message: 'capturedAt',
246
- required: false,
247
- skipPrompt: true,
248
- },
249
- ]);
250
- const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
251
- const cleanedData = (0, utils_1.stripUndefined)(answers, fieldSchema);
252
- const client = (0, executor_1.getClient)();
253
- const result = await client.usageSnapshot
254
- .update({
255
- where: {
256
- id: answers.id,
257
- },
258
- data: {
259
- databaseId: cleanedData.databaseId,
260
- metricName: cleanedData.metricName,
261
- metricValue: cleanedData.metricValue,
262
- dimensions: cleanedData.dimensions,
263
- capturedAt: cleanedData.capturedAt,
264
- },
265
- select: {
266
- databaseId: true,
267
- metricName: true,
268
- metricValue: true,
269
- dimensions: true,
270
- capturedAt: true,
271
- id: true,
272
- },
273
- })
274
- .execute();
275
- console.log(JSON.stringify(result, null, 2));
276
- }
277
- catch (error) {
278
- console.error('Failed to update record.');
279
- if (error instanceof Error) {
280
- console.error(error.message);
281
- }
282
- process.exit(1);
283
- }
284
- }
285
- async function handleDelete(argv, prompter) {
286
- try {
287
- const rawAnswers = await prompter.prompt(argv, [
288
- {
289
- type: 'text',
290
- name: 'id',
291
- message: 'id',
292
- required: true,
293
- },
294
- ]);
295
- const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
296
- const client = (0, executor_1.getClient)();
297
- const result = await client.usageSnapshot
298
- .delete({
299
- where: {
300
- id: answers.id,
301
- },
302
- select: {
303
- id: true,
304
- },
305
- })
306
- .execute();
307
- console.log(JSON.stringify(result, null, 2));
308
- }
309
- catch (error) {
310
- console.error('Failed to delete record.');
311
- if (error instanceof Error) {
312
- console.error(error.message);
313
- }
314
- process.exit(1);
315
- }
316
- }
@@ -1,54 +0,0 @@
1
- /**
2
- * UsageSnapshot 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 { UsageSnapshotWithRelations, UsageSnapshotSelect, UsageSnapshotFilter, UsageSnapshotOrderBy, CreateUsageSnapshotInput, UsageSnapshotPatch } from '../input-types';
10
- export declare class UsageSnapshotModel {
11
- private client;
12
- constructor(client: OrmClient);
13
- findMany<S extends UsageSnapshotSelect>(args: FindManyArgs<S, UsageSnapshotFilter, UsageSnapshotOrderBy> & {
14
- select: S;
15
- } & StrictSelect<S, UsageSnapshotSelect>): QueryBuilder<{
16
- usageSnapshots: ConnectionResult<InferSelectResult<UsageSnapshotWithRelations, S>>;
17
- }>;
18
- findFirst<S extends UsageSnapshotSelect>(args: FindFirstArgs<S, UsageSnapshotFilter, UsageSnapshotOrderBy> & {
19
- select: S;
20
- } & StrictSelect<S, UsageSnapshotSelect>): QueryBuilder<{
21
- usageSnapshot: InferSelectResult<UsageSnapshotWithRelations, S> | null;
22
- }>;
23
- findOne<S extends UsageSnapshotSelect>(args: {
24
- id: string;
25
- select: S;
26
- } & StrictSelect<S, UsageSnapshotSelect>): QueryBuilder<{
27
- usageSnapshot: InferSelectResult<UsageSnapshotWithRelations, S> | null;
28
- }>;
29
- create<S extends UsageSnapshotSelect>(args: CreateArgs<S, CreateUsageSnapshotInput['usageSnapshot']> & {
30
- select: S;
31
- } & StrictSelect<S, UsageSnapshotSelect>): QueryBuilder<{
32
- createUsageSnapshot: {
33
- usageSnapshot: InferSelectResult<UsageSnapshotWithRelations, S>;
34
- };
35
- }>;
36
- update<S extends UsageSnapshotSelect>(args: UpdateArgs<S, {
37
- id: string;
38
- }, UsageSnapshotPatch> & {
39
- select: S;
40
- } & StrictSelect<S, UsageSnapshotSelect>): QueryBuilder<{
41
- updateUsageSnapshot: {
42
- usageSnapshot: InferSelectResult<UsageSnapshotWithRelations, S>;
43
- };
44
- }>;
45
- delete<S extends UsageSnapshotSelect>(args: DeleteArgs<{
46
- id: string;
47
- }, S> & {
48
- select: S;
49
- } & StrictSelect<S, UsageSnapshotSelect>): QueryBuilder<{
50
- deleteUsageSnapshot: {
51
- usageSnapshot: InferSelectResult<UsageSnapshotWithRelations, S>;
52
- };
53
- }>;
54
- }
@@ -1,54 +0,0 @@
1
- /**
2
- * AuditLog model for ORM client
3
- * @generated by @constructive-io/graphql-codegen
4
- * DO NOT EDIT - changes will be overwritten
5
- */
6
- import { OrmClient } from '../client';
7
- import { QueryBuilder } from '../query-builder';
8
- import type { ConnectionResult, FindManyArgs, FindFirstArgs, CreateArgs, UpdateArgs, DeleteArgs, InferSelectResult, StrictSelect } from '../select-types';
9
- import type { AuditLogWithRelations, AuditLogSelect, AuditLogFilter, AuditLogOrderBy, CreateAuditLogInput, AuditLogPatch } from '../input-types';
10
- export declare class AuditLogModel {
11
- private client;
12
- constructor(client: OrmClient);
13
- findMany<S extends AuditLogSelect>(args: FindManyArgs<S, AuditLogFilter, AuditLogOrderBy> & {
14
- select: S;
15
- } & StrictSelect<S, AuditLogSelect>): QueryBuilder<{
16
- auditLogs: ConnectionResult<InferSelectResult<AuditLogWithRelations, S>>;
17
- }>;
18
- findFirst<S extends AuditLogSelect>(args: FindFirstArgs<S, AuditLogFilter, AuditLogOrderBy> & {
19
- select: S;
20
- } & StrictSelect<S, AuditLogSelect>): QueryBuilder<{
21
- auditLog: InferSelectResult<AuditLogWithRelations, S> | null;
22
- }>;
23
- findOne<S extends AuditLogSelect>(args: {
24
- id: string;
25
- select: S;
26
- } & StrictSelect<S, AuditLogSelect>): QueryBuilder<{
27
- auditLog: InferSelectResult<AuditLogWithRelations, S> | null;
28
- }>;
29
- create<S extends AuditLogSelect>(args: CreateArgs<S, CreateAuditLogInput['auditLog']> & {
30
- select: S;
31
- } & StrictSelect<S, AuditLogSelect>): QueryBuilder<{
32
- createAuditLog: {
33
- auditLog: InferSelectResult<AuditLogWithRelations, S>;
34
- };
35
- }>;
36
- update<S extends AuditLogSelect>(args: UpdateArgs<S, {
37
- id: string;
38
- }, AuditLogPatch> & {
39
- select: S;
40
- } & StrictSelect<S, AuditLogSelect>): QueryBuilder<{
41
- updateAuditLog: {
42
- auditLog: InferSelectResult<AuditLogWithRelations, S>;
43
- };
44
- }>;
45
- delete<S extends AuditLogSelect>(args: DeleteArgs<{
46
- id: string;
47
- }, S> & {
48
- select: S;
49
- } & StrictSelect<S, AuditLogSelect>): QueryBuilder<{
50
- deleteAuditLog: {
51
- auditLog: InferSelectResult<AuditLogWithRelations, S>;
52
- };
53
- }>;
54
- }