@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
@@ -18,10 +18,13 @@ const fieldSchema = {
18
18
  hasLimits: 'boolean',
19
19
  hasProfiles: 'boolean',
20
20
  hasLevels: 'boolean',
21
- hasStorage: 'boolean',
22
21
  hasInvites: 'boolean',
23
22
  hasInviteAchievements: 'boolean',
24
- storageConfig: 'json',
23
+ storage: 'json',
24
+ namespaces: 'json',
25
+ functions: 'json',
26
+ graphs: 'json',
27
+ agents: 'json',
25
28
  skipEntityPolicies: 'boolean',
26
29
  tableProvision: 'json',
27
30
  outMembershipType: 'int',
@@ -33,6 +36,19 @@ const fieldSchema = {
33
36
  outFilesTableId: 'uuid',
34
37
  outPathSharesTableId: 'uuid',
35
38
  outInvitesModuleId: 'uuid',
39
+ outNamespaceModuleId: 'uuid',
40
+ outNamespacesTableId: 'uuid',
41
+ outNamespaceEventsTableId: 'uuid',
42
+ outFunctionModuleId: 'uuid',
43
+ outDefinitionsTableId: 'uuid',
44
+ outInvocationsTableId: 'uuid',
45
+ outExecutionLogsTableId: 'uuid',
46
+ outSecretDefinitionsTableId: 'uuid',
47
+ outRequirementsTableId: 'uuid',
48
+ outConfigRequirementsTableId: 'uuid',
49
+ outGraphModuleId: 'uuid',
50
+ outGraphsTableId: 'uuid',
51
+ outAgentModuleId: 'uuid',
36
52
  };
37
53
  const usage = '\nentity-type-provision <command>\n\nCommands:\n list List entityTypeProvision records\n find-first Find first matching entityTypeProvision record\n get Get a entityTypeProvision by ID\n create Create a new entityTypeProvision\n update Update an existing entityTypeProvision\n delete Delete a entityTypeProvision\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';
38
54
  export default async (argv, prompter, _options) => {
@@ -87,10 +103,13 @@ async function handleList(argv, _prompter) {
87
103
  hasLimits: true,
88
104
  hasProfiles: true,
89
105
  hasLevels: true,
90
- hasStorage: true,
91
106
  hasInvites: true,
92
107
  hasInviteAchievements: true,
93
- storageConfig: true,
108
+ storage: true,
109
+ namespaces: true,
110
+ functions: true,
111
+ graphs: true,
112
+ agents: true,
94
113
  skipEntityPolicies: true,
95
114
  tableProvision: true,
96
115
  outMembershipType: true,
@@ -102,6 +121,19 @@ async function handleList(argv, _prompter) {
102
121
  outFilesTableId: true,
103
122
  outPathSharesTableId: true,
104
123
  outInvitesModuleId: true,
124
+ outNamespaceModuleId: true,
125
+ outNamespacesTableId: true,
126
+ outNamespaceEventsTableId: true,
127
+ outFunctionModuleId: true,
128
+ outDefinitionsTableId: true,
129
+ outInvocationsTableId: true,
130
+ outExecutionLogsTableId: true,
131
+ outSecretDefinitionsTableId: true,
132
+ outRequirementsTableId: true,
133
+ outConfigRequirementsTableId: true,
134
+ outGraphModuleId: true,
135
+ outGraphsTableId: true,
136
+ outAgentModuleId: true,
105
137
  };
106
138
  const findManyArgs = parseFindManyArgs(argv, defaultSelect);
107
139
  const client = getClient();
@@ -130,10 +162,13 @@ async function handleFindFirst(argv, _prompter) {
130
162
  hasLimits: true,
131
163
  hasProfiles: true,
132
164
  hasLevels: true,
133
- hasStorage: true,
134
165
  hasInvites: true,
135
166
  hasInviteAchievements: true,
136
- storageConfig: true,
167
+ storage: true,
168
+ namespaces: true,
169
+ functions: true,
170
+ graphs: true,
171
+ agents: true,
137
172
  skipEntityPolicies: true,
138
173
  tableProvision: true,
139
174
  outMembershipType: true,
@@ -145,6 +180,19 @@ async function handleFindFirst(argv, _prompter) {
145
180
  outFilesTableId: true,
146
181
  outPathSharesTableId: true,
147
182
  outInvitesModuleId: true,
183
+ outNamespaceModuleId: true,
184
+ outNamespacesTableId: true,
185
+ outNamespaceEventsTableId: true,
186
+ outFunctionModuleId: true,
187
+ outDefinitionsTableId: true,
188
+ outInvocationsTableId: true,
189
+ outExecutionLogsTableId: true,
190
+ outSecretDefinitionsTableId: true,
191
+ outRequirementsTableId: true,
192
+ outConfigRequirementsTableId: true,
193
+ outGraphModuleId: true,
194
+ outGraphsTableId: true,
195
+ outAgentModuleId: true,
148
196
  };
149
197
  const findFirstArgs = parseFindFirstArgs(argv, defaultSelect);
150
198
  const client = getClient();
@@ -185,10 +233,13 @@ async function handleGet(argv, prompter) {
185
233
  hasLimits: true,
186
234
  hasProfiles: true,
187
235
  hasLevels: true,
188
- hasStorage: true,
189
236
  hasInvites: true,
190
237
  hasInviteAchievements: true,
191
- storageConfig: true,
238
+ storage: true,
239
+ namespaces: true,
240
+ functions: true,
241
+ graphs: true,
242
+ agents: true,
192
243
  skipEntityPolicies: true,
193
244
  tableProvision: true,
194
245
  outMembershipType: true,
@@ -200,6 +251,19 @@ async function handleGet(argv, prompter) {
200
251
  outFilesTableId: true,
201
252
  outPathSharesTableId: true,
202
253
  outInvitesModuleId: true,
254
+ outNamespaceModuleId: true,
255
+ outNamespacesTableId: true,
256
+ outNamespaceEventsTableId: true,
257
+ outFunctionModuleId: true,
258
+ outDefinitionsTableId: true,
259
+ outInvocationsTableId: true,
260
+ outExecutionLogsTableId: true,
261
+ outSecretDefinitionsTableId: true,
262
+ outRequirementsTableId: true,
263
+ outConfigRequirementsTableId: true,
264
+ outGraphModuleId: true,
265
+ outGraphsTableId: true,
266
+ outAgentModuleId: true,
203
267
  },
204
268
  })
205
269
  .execute();
@@ -283,13 +347,6 @@ async function handleCreate(argv, prompter) {
283
347
  required: false,
284
348
  skipPrompt: true,
285
349
  },
286
- {
287
- type: 'boolean',
288
- name: 'hasStorage',
289
- message: 'hasStorage',
290
- required: false,
291
- skipPrompt: true,
292
- },
293
350
  {
294
351
  type: 'boolean',
295
352
  name: 'hasInvites',
@@ -306,8 +363,36 @@ async function handleCreate(argv, prompter) {
306
363
  },
307
364
  {
308
365
  type: 'json',
309
- name: 'storageConfig',
310
- message: 'storageConfig',
366
+ name: 'storage',
367
+ message: 'storage',
368
+ required: false,
369
+ skipPrompt: true,
370
+ },
371
+ {
372
+ type: 'json',
373
+ name: 'namespaces',
374
+ message: 'namespaces',
375
+ required: false,
376
+ skipPrompt: true,
377
+ },
378
+ {
379
+ type: 'json',
380
+ name: 'functions',
381
+ message: 'functions',
382
+ required: false,
383
+ skipPrompt: true,
384
+ },
385
+ {
386
+ type: 'json',
387
+ name: 'graphs',
388
+ message: 'graphs',
389
+ required: false,
390
+ skipPrompt: true,
391
+ },
392
+ {
393
+ type: 'json',
394
+ name: 'agents',
395
+ message: 'agents',
311
396
  required: false,
312
397
  skipPrompt: true,
313
398
  },
@@ -388,6 +473,97 @@ async function handleCreate(argv, prompter) {
388
473
  required: false,
389
474
  skipPrompt: true,
390
475
  },
476
+ {
477
+ type: 'text',
478
+ name: 'outNamespaceModuleId',
479
+ message: 'outNamespaceModuleId',
480
+ required: false,
481
+ skipPrompt: true,
482
+ },
483
+ {
484
+ type: 'text',
485
+ name: 'outNamespacesTableId',
486
+ message: 'outNamespacesTableId',
487
+ required: false,
488
+ skipPrompt: true,
489
+ },
490
+ {
491
+ type: 'text',
492
+ name: 'outNamespaceEventsTableId',
493
+ message: 'outNamespaceEventsTableId',
494
+ required: false,
495
+ skipPrompt: true,
496
+ },
497
+ {
498
+ type: 'text',
499
+ name: 'outFunctionModuleId',
500
+ message: 'outFunctionModuleId',
501
+ required: false,
502
+ skipPrompt: true,
503
+ },
504
+ {
505
+ type: 'text',
506
+ name: 'outDefinitionsTableId',
507
+ message: 'outDefinitionsTableId',
508
+ required: false,
509
+ skipPrompt: true,
510
+ },
511
+ {
512
+ type: 'text',
513
+ name: 'outInvocationsTableId',
514
+ message: 'outInvocationsTableId',
515
+ required: false,
516
+ skipPrompt: true,
517
+ },
518
+ {
519
+ type: 'text',
520
+ name: 'outExecutionLogsTableId',
521
+ message: 'outExecutionLogsTableId',
522
+ required: false,
523
+ skipPrompt: true,
524
+ },
525
+ {
526
+ type: 'text',
527
+ name: 'outSecretDefinitionsTableId',
528
+ message: 'outSecretDefinitionsTableId',
529
+ required: false,
530
+ skipPrompt: true,
531
+ },
532
+ {
533
+ type: 'text',
534
+ name: 'outRequirementsTableId',
535
+ message: 'outRequirementsTableId',
536
+ required: false,
537
+ skipPrompt: true,
538
+ },
539
+ {
540
+ type: 'text',
541
+ name: 'outConfigRequirementsTableId',
542
+ message: 'outConfigRequirementsTableId',
543
+ required: false,
544
+ skipPrompt: true,
545
+ },
546
+ {
547
+ type: 'text',
548
+ name: 'outGraphModuleId',
549
+ message: 'outGraphModuleId',
550
+ required: false,
551
+ skipPrompt: true,
552
+ },
553
+ {
554
+ type: 'text',
555
+ name: 'outGraphsTableId',
556
+ message: 'outGraphsTableId',
557
+ required: false,
558
+ skipPrompt: true,
559
+ },
560
+ {
561
+ type: 'text',
562
+ name: 'outAgentModuleId',
563
+ message: 'outAgentModuleId',
564
+ required: false,
565
+ skipPrompt: true,
566
+ },
391
567
  ]);
392
568
  const answers = coerceAnswers(rawAnswers, fieldSchema);
393
569
  const cleanedData = stripUndefined(answers, fieldSchema);
@@ -405,10 +581,13 @@ async function handleCreate(argv, prompter) {
405
581
  hasLimits: cleanedData.hasLimits,
406
582
  hasProfiles: cleanedData.hasProfiles,
407
583
  hasLevels: cleanedData.hasLevels,
408
- hasStorage: cleanedData.hasStorage,
409
584
  hasInvites: cleanedData.hasInvites,
410
585
  hasInviteAchievements: cleanedData.hasInviteAchievements,
411
- storageConfig: cleanedData.storageConfig,
586
+ storage: cleanedData.storage,
587
+ namespaces: cleanedData.namespaces,
588
+ functions: cleanedData.functions,
589
+ graphs: cleanedData.graphs,
590
+ agents: cleanedData.agents,
412
591
  skipEntityPolicies: cleanedData.skipEntityPolicies,
413
592
  tableProvision: cleanedData.tableProvision,
414
593
  outMembershipType: cleanedData.outMembershipType,
@@ -420,6 +599,19 @@ async function handleCreate(argv, prompter) {
420
599
  outFilesTableId: cleanedData.outFilesTableId,
421
600
  outPathSharesTableId: cleanedData.outPathSharesTableId,
422
601
  outInvitesModuleId: cleanedData.outInvitesModuleId,
602
+ outNamespaceModuleId: cleanedData.outNamespaceModuleId,
603
+ outNamespacesTableId: cleanedData.outNamespacesTableId,
604
+ outNamespaceEventsTableId: cleanedData.outNamespaceEventsTableId,
605
+ outFunctionModuleId: cleanedData.outFunctionModuleId,
606
+ outDefinitionsTableId: cleanedData.outDefinitionsTableId,
607
+ outInvocationsTableId: cleanedData.outInvocationsTableId,
608
+ outExecutionLogsTableId: cleanedData.outExecutionLogsTableId,
609
+ outSecretDefinitionsTableId: cleanedData.outSecretDefinitionsTableId,
610
+ outRequirementsTableId: cleanedData.outRequirementsTableId,
611
+ outConfigRequirementsTableId: cleanedData.outConfigRequirementsTableId,
612
+ outGraphModuleId: cleanedData.outGraphModuleId,
613
+ outGraphsTableId: cleanedData.outGraphsTableId,
614
+ outAgentModuleId: cleanedData.outAgentModuleId,
423
615
  },
424
616
  select: {
425
617
  id: true,
@@ -433,10 +625,13 @@ async function handleCreate(argv, prompter) {
433
625
  hasLimits: true,
434
626
  hasProfiles: true,
435
627
  hasLevels: true,
436
- hasStorage: true,
437
628
  hasInvites: true,
438
629
  hasInviteAchievements: true,
439
- storageConfig: true,
630
+ storage: true,
631
+ namespaces: true,
632
+ functions: true,
633
+ graphs: true,
634
+ agents: true,
440
635
  skipEntityPolicies: true,
441
636
  tableProvision: true,
442
637
  outMembershipType: true,
@@ -448,6 +643,19 @@ async function handleCreate(argv, prompter) {
448
643
  outFilesTableId: true,
449
644
  outPathSharesTableId: true,
450
645
  outInvitesModuleId: true,
646
+ outNamespaceModuleId: true,
647
+ outNamespacesTableId: true,
648
+ outNamespaceEventsTableId: true,
649
+ outFunctionModuleId: true,
650
+ outDefinitionsTableId: true,
651
+ outInvocationsTableId: true,
652
+ outExecutionLogsTableId: true,
653
+ outSecretDefinitionsTableId: true,
654
+ outRequirementsTableId: true,
655
+ outConfigRequirementsTableId: true,
656
+ outGraphModuleId: true,
657
+ outGraphsTableId: true,
658
+ outAgentModuleId: true,
451
659
  },
452
660
  })
453
661
  .execute();
@@ -537,13 +745,6 @@ async function handleUpdate(argv, prompter) {
537
745
  required: false,
538
746
  skipPrompt: true,
539
747
  },
540
- {
541
- type: 'boolean',
542
- name: 'hasStorage',
543
- message: 'hasStorage',
544
- required: false,
545
- skipPrompt: true,
546
- },
547
748
  {
548
749
  type: 'boolean',
549
750
  name: 'hasInvites',
@@ -560,8 +761,36 @@ async function handleUpdate(argv, prompter) {
560
761
  },
561
762
  {
562
763
  type: 'json',
563
- name: 'storageConfig',
564
- message: 'storageConfig',
764
+ name: 'storage',
765
+ message: 'storage',
766
+ required: false,
767
+ skipPrompt: true,
768
+ },
769
+ {
770
+ type: 'json',
771
+ name: 'namespaces',
772
+ message: 'namespaces',
773
+ required: false,
774
+ skipPrompt: true,
775
+ },
776
+ {
777
+ type: 'json',
778
+ name: 'functions',
779
+ message: 'functions',
780
+ required: false,
781
+ skipPrompt: true,
782
+ },
783
+ {
784
+ type: 'json',
785
+ name: 'graphs',
786
+ message: 'graphs',
787
+ required: false,
788
+ skipPrompt: true,
789
+ },
790
+ {
791
+ type: 'json',
792
+ name: 'agents',
793
+ message: 'agents',
565
794
  required: false,
566
795
  skipPrompt: true,
567
796
  },
@@ -642,6 +871,97 @@ async function handleUpdate(argv, prompter) {
642
871
  required: false,
643
872
  skipPrompt: true,
644
873
  },
874
+ {
875
+ type: 'text',
876
+ name: 'outNamespaceModuleId',
877
+ message: 'outNamespaceModuleId',
878
+ required: false,
879
+ skipPrompt: true,
880
+ },
881
+ {
882
+ type: 'text',
883
+ name: 'outNamespacesTableId',
884
+ message: 'outNamespacesTableId',
885
+ required: false,
886
+ skipPrompt: true,
887
+ },
888
+ {
889
+ type: 'text',
890
+ name: 'outNamespaceEventsTableId',
891
+ message: 'outNamespaceEventsTableId',
892
+ required: false,
893
+ skipPrompt: true,
894
+ },
895
+ {
896
+ type: 'text',
897
+ name: 'outFunctionModuleId',
898
+ message: 'outFunctionModuleId',
899
+ required: false,
900
+ skipPrompt: true,
901
+ },
902
+ {
903
+ type: 'text',
904
+ name: 'outDefinitionsTableId',
905
+ message: 'outDefinitionsTableId',
906
+ required: false,
907
+ skipPrompt: true,
908
+ },
909
+ {
910
+ type: 'text',
911
+ name: 'outInvocationsTableId',
912
+ message: 'outInvocationsTableId',
913
+ required: false,
914
+ skipPrompt: true,
915
+ },
916
+ {
917
+ type: 'text',
918
+ name: 'outExecutionLogsTableId',
919
+ message: 'outExecutionLogsTableId',
920
+ required: false,
921
+ skipPrompt: true,
922
+ },
923
+ {
924
+ type: 'text',
925
+ name: 'outSecretDefinitionsTableId',
926
+ message: 'outSecretDefinitionsTableId',
927
+ required: false,
928
+ skipPrompt: true,
929
+ },
930
+ {
931
+ type: 'text',
932
+ name: 'outRequirementsTableId',
933
+ message: 'outRequirementsTableId',
934
+ required: false,
935
+ skipPrompt: true,
936
+ },
937
+ {
938
+ type: 'text',
939
+ name: 'outConfigRequirementsTableId',
940
+ message: 'outConfigRequirementsTableId',
941
+ required: false,
942
+ skipPrompt: true,
943
+ },
944
+ {
945
+ type: 'text',
946
+ name: 'outGraphModuleId',
947
+ message: 'outGraphModuleId',
948
+ required: false,
949
+ skipPrompt: true,
950
+ },
951
+ {
952
+ type: 'text',
953
+ name: 'outGraphsTableId',
954
+ message: 'outGraphsTableId',
955
+ required: false,
956
+ skipPrompt: true,
957
+ },
958
+ {
959
+ type: 'text',
960
+ name: 'outAgentModuleId',
961
+ message: 'outAgentModuleId',
962
+ required: false,
963
+ skipPrompt: true,
964
+ },
645
965
  ]);
646
966
  const answers = coerceAnswers(rawAnswers, fieldSchema);
647
967
  const cleanedData = stripUndefined(answers, fieldSchema);
@@ -662,10 +982,13 @@ async function handleUpdate(argv, prompter) {
662
982
  hasLimits: cleanedData.hasLimits,
663
983
  hasProfiles: cleanedData.hasProfiles,
664
984
  hasLevels: cleanedData.hasLevels,
665
- hasStorage: cleanedData.hasStorage,
666
985
  hasInvites: cleanedData.hasInvites,
667
986
  hasInviteAchievements: cleanedData.hasInviteAchievements,
668
- storageConfig: cleanedData.storageConfig,
987
+ storage: cleanedData.storage,
988
+ namespaces: cleanedData.namespaces,
989
+ functions: cleanedData.functions,
990
+ graphs: cleanedData.graphs,
991
+ agents: cleanedData.agents,
669
992
  skipEntityPolicies: cleanedData.skipEntityPolicies,
670
993
  tableProvision: cleanedData.tableProvision,
671
994
  outMembershipType: cleanedData.outMembershipType,
@@ -677,6 +1000,19 @@ async function handleUpdate(argv, prompter) {
677
1000
  outFilesTableId: cleanedData.outFilesTableId,
678
1001
  outPathSharesTableId: cleanedData.outPathSharesTableId,
679
1002
  outInvitesModuleId: cleanedData.outInvitesModuleId,
1003
+ outNamespaceModuleId: cleanedData.outNamespaceModuleId,
1004
+ outNamespacesTableId: cleanedData.outNamespacesTableId,
1005
+ outNamespaceEventsTableId: cleanedData.outNamespaceEventsTableId,
1006
+ outFunctionModuleId: cleanedData.outFunctionModuleId,
1007
+ outDefinitionsTableId: cleanedData.outDefinitionsTableId,
1008
+ outInvocationsTableId: cleanedData.outInvocationsTableId,
1009
+ outExecutionLogsTableId: cleanedData.outExecutionLogsTableId,
1010
+ outSecretDefinitionsTableId: cleanedData.outSecretDefinitionsTableId,
1011
+ outRequirementsTableId: cleanedData.outRequirementsTableId,
1012
+ outConfigRequirementsTableId: cleanedData.outConfigRequirementsTableId,
1013
+ outGraphModuleId: cleanedData.outGraphModuleId,
1014
+ outGraphsTableId: cleanedData.outGraphsTableId,
1015
+ outAgentModuleId: cleanedData.outAgentModuleId,
680
1016
  },
681
1017
  select: {
682
1018
  id: true,
@@ -690,10 +1026,13 @@ async function handleUpdate(argv, prompter) {
690
1026
  hasLimits: true,
691
1027
  hasProfiles: true,
692
1028
  hasLevels: true,
693
- hasStorage: true,
694
1029
  hasInvites: true,
695
1030
  hasInviteAchievements: true,
696
- storageConfig: true,
1031
+ storage: true,
1032
+ namespaces: true,
1033
+ functions: true,
1034
+ graphs: true,
1035
+ agents: true,
697
1036
  skipEntityPolicies: true,
698
1037
  tableProvision: true,
699
1038
  outMembershipType: true,
@@ -705,6 +1044,19 @@ async function handleUpdate(argv, prompter) {
705
1044
  outFilesTableId: true,
706
1045
  outPathSharesTableId: true,
707
1046
  outInvitesModuleId: true,
1047
+ outNamespaceModuleId: true,
1048
+ outNamespacesTableId: true,
1049
+ outNamespaceEventsTableId: true,
1050
+ outFunctionModuleId: true,
1051
+ outDefinitionsTableId: true,
1052
+ outInvocationsTableId: true,
1053
+ outExecutionLogsTableId: true,
1054
+ outSecretDefinitionsTableId: true,
1055
+ outRequirementsTableId: true,
1056
+ outConfigRequirementsTableId: true,
1057
+ outGraphModuleId: true,
1058
+ outGraphsTableId: true,
1059
+ outAgentModuleId: true,
708
1060
  },
709
1061
  })
710
1062
  .execute();
@@ -16,9 +16,8 @@ const fieldSchema = {
16
16
  smartTags: 'json',
17
17
  isRequired: 'boolean',
18
18
  apiRequired: 'boolean',
19
- defaultValue: 'string',
20
- defaultValueAst: 'json',
21
- type: 'string',
19
+ defaultValue: 'json',
20
+ type: 'json',
22
21
  fieldOrder: 'int',
23
22
  regexp: 'string',
24
23
  chk: 'json',
@@ -84,7 +83,6 @@ async function handleList(argv, _prompter) {
84
83
  isRequired: true,
85
84
  apiRequired: true,
86
85
  defaultValue: true,
87
- defaultValueAst: true,
88
86
  type: true,
89
87
  fieldOrder: true,
90
88
  regexp: true,
@@ -125,7 +123,6 @@ async function handleFindFirst(argv, _prompter) {
125
123
  isRequired: true,
126
124
  apiRequired: true,
127
125
  defaultValue: true,
128
- defaultValueAst: true,
129
126
  type: true,
130
127
  fieldOrder: true,
131
128
  regexp: true,
@@ -178,7 +175,6 @@ async function handleGet(argv, prompter) {
178
175
  isRequired: true,
179
176
  apiRequired: true,
180
177
  defaultValue: true,
181
- defaultValueAst: true,
182
178
  type: true,
183
179
  fieldOrder: true,
184
180
  regexp: true,
@@ -263,7 +259,7 @@ async function handleCreate(argv, prompter) {
263
259
  skipPrompt: true,
264
260
  },
265
261
  {
266
- type: 'text',
262
+ type: 'json',
267
263
  name: 'defaultValue',
268
264
  message: 'defaultValue',
269
265
  required: false,
@@ -271,13 +267,6 @@ async function handleCreate(argv, prompter) {
271
267
  },
272
268
  {
273
269
  type: 'json',
274
- name: 'defaultValueAst',
275
- message: 'defaultValueAst',
276
- required: false,
277
- skipPrompt: true,
278
- },
279
- {
280
- type: 'text',
281
270
  name: 'type',
282
271
  message: 'type',
283
272
  required: true,
@@ -368,7 +357,6 @@ async function handleCreate(argv, prompter) {
368
357
  isRequired: cleanedData.isRequired,
369
358
  apiRequired: cleanedData.apiRequired,
370
359
  defaultValue: cleanedData.defaultValue,
371
- defaultValueAst: cleanedData.defaultValueAst,
372
360
  type: cleanedData.type,
373
361
  fieldOrder: cleanedData.fieldOrder,
374
362
  regexp: cleanedData.regexp,
@@ -392,7 +380,6 @@ async function handleCreate(argv, prompter) {
392
380
  isRequired: true,
393
381
  apiRequired: true,
394
382
  defaultValue: true,
395
- defaultValueAst: true,
396
383
  type: true,
397
384
  fieldOrder: true,
398
385
  regexp: true,
@@ -483,7 +470,7 @@ async function handleUpdate(argv, prompter) {
483
470
  skipPrompt: true,
484
471
  },
485
472
  {
486
- type: 'text',
473
+ type: 'json',
487
474
  name: 'defaultValue',
488
475
  message: 'defaultValue',
489
476
  required: false,
@@ -491,13 +478,6 @@ async function handleUpdate(argv, prompter) {
491
478
  },
492
479
  {
493
480
  type: 'json',
494
- name: 'defaultValueAst',
495
- message: 'defaultValueAst',
496
- required: false,
497
- skipPrompt: true,
498
- },
499
- {
500
- type: 'text',
501
481
  name: 'type',
502
482
  message: 'type',
503
483
  required: false,
@@ -591,7 +571,6 @@ async function handleUpdate(argv, prompter) {
591
571
  isRequired: cleanedData.isRequired,
592
572
  apiRequired: cleanedData.apiRequired,
593
573
  defaultValue: cleanedData.defaultValue,
594
- defaultValueAst: cleanedData.defaultValueAst,
595
574
  type: cleanedData.type,
596
575
  fieldOrder: cleanedData.fieldOrder,
597
576
  regexp: cleanedData.regexp,
@@ -615,7 +594,6 @@ async function handleUpdate(argv, prompter) {
615
594
  isRequired: true,
616
595
  apiRequired: true,
617
596
  defaultValue: true,
618
- defaultValueAst: true,
619
597
  type: true,
620
598
  fieldOrder: true,
621
599
  regexp: true,