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