@constructive-sdk/cli 0.2.1 → 0.6.2

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 (415) hide show
  1. package/admin/cli/commands/app-achievement.js +4 -0
  2. package/admin/cli/commands/app-admin-grant.js +6 -2
  3. package/admin/cli/commands/app-grant.js +8 -2
  4. package/admin/cli/commands/app-level-requirement.js +6 -0
  5. package/admin/cli/commands/app-level.js +6 -0
  6. package/admin/cli/commands/app-limit-default.js +2 -0
  7. package/admin/cli/commands/app-limit.js +6 -0
  8. package/admin/cli/commands/app-membership-default.js +12 -4
  9. package/admin/cli/commands/app-membership.js +38 -14
  10. package/admin/cli/commands/app-owner-grant.js +6 -2
  11. package/admin/cli/commands/app-permission-default.js +2 -0
  12. package/admin/cli/commands/app-permission.js +8 -0
  13. package/admin/cli/commands/app-step.js +4 -0
  14. package/admin/cli/commands/claimed-invite.js +8 -2
  15. package/admin/cli/commands/invite.js +24 -6
  16. package/admin/cli/commands/org-admin-grant.js +6 -2
  17. package/admin/cli/commands/org-chart-edge-grant.js +10 -2
  18. package/admin/cli/commands/org-chart-edge.js +6 -0
  19. package/admin/cli/commands/org-claimed-invite.js +8 -2
  20. package/admin/cli/commands/org-grant.js +8 -2
  21. package/admin/cli/commands/org-invite.js +26 -6
  22. package/admin/cli/commands/org-limit-default.js +2 -0
  23. package/admin/cli/commands/org-limit.js +6 -0
  24. package/admin/cli/commands/org-member.js +4 -2
  25. package/admin/cli/commands/org-membership-default.js +16 -6
  26. package/admin/cli/commands/org-membership.js +34 -12
  27. package/admin/cli/commands/org-owner-grant.js +6 -2
  28. package/admin/cli/commands/org-permission-default.js +2 -0
  29. package/admin/cli/commands/org-permission.js +8 -0
  30. package/admin/cli/commands/submit-invite-code.js +1 -1
  31. package/admin/cli/commands/submit-org-invite-code.js +1 -1
  32. package/admin/cli/index.js +2 -2
  33. package/admin/cli/utils.d.ts +13 -0
  34. package/admin/cli/utils.js +25 -0
  35. package/auth/cli/commands/audit-log.js +10 -2
  36. package/auth/cli/commands/check-password.js +1 -1
  37. package/auth/cli/commands/confirm-delete-account.js +1 -1
  38. package/auth/cli/commands/connected-account.js +8 -4
  39. package/auth/cli/commands/crypto-address.js +10 -4
  40. package/auth/cli/commands/email.js +10 -4
  41. package/auth/cli/commands/extend-token-expires.js +1 -1
  42. package/auth/cli/commands/forgot-password.js +1 -1
  43. package/auth/cli/commands/one-time-token.js +1 -1
  44. package/auth/cli/commands/phone-number.js +10 -4
  45. package/auth/cli/commands/reset-password.js +1 -1
  46. package/auth/cli/commands/send-account-deletion-email.js +1 -1
  47. package/auth/cli/commands/send-verification-email.js +1 -1
  48. package/auth/cli/commands/set-password.js +1 -1
  49. package/auth/cli/commands/sign-in-one-time-token.js +1 -1
  50. package/auth/cli/commands/sign-in.js +1 -1
  51. package/auth/cli/commands/sign-out.js +1 -1
  52. package/auth/cli/commands/sign-up.js +1 -1
  53. package/auth/cli/commands/user.js +10 -0
  54. package/auth/cli/commands/verify-email.js +1 -1
  55. package/auth/cli/commands/verify-password.js +1 -1
  56. package/auth/cli/commands/verify-totp.js +1 -1
  57. package/auth/cli/index.js +2 -2
  58. package/auth/cli/utils.d.ts +13 -0
  59. package/auth/cli/utils.js +25 -0
  60. package/esm/admin/cli/commands/app-achievement.js +4 -0
  61. package/esm/admin/cli/commands/app-admin-grant.js +6 -2
  62. package/esm/admin/cli/commands/app-grant.js +8 -2
  63. package/esm/admin/cli/commands/app-level-requirement.js +6 -0
  64. package/esm/admin/cli/commands/app-level.js +6 -0
  65. package/esm/admin/cli/commands/app-limit-default.js +2 -0
  66. package/esm/admin/cli/commands/app-limit.js +6 -0
  67. package/esm/admin/cli/commands/app-membership-default.js +12 -4
  68. package/esm/admin/cli/commands/app-membership.js +38 -14
  69. package/esm/admin/cli/commands/app-owner-grant.js +6 -2
  70. package/esm/admin/cli/commands/app-permission-default.js +2 -0
  71. package/esm/admin/cli/commands/app-permission.js +8 -0
  72. package/esm/admin/cli/commands/app-step.js +4 -0
  73. package/esm/admin/cli/commands/claimed-invite.js +8 -2
  74. package/esm/admin/cli/commands/invite.js +24 -6
  75. package/esm/admin/cli/commands/org-admin-grant.js +6 -2
  76. package/esm/admin/cli/commands/org-chart-edge-grant.js +10 -2
  77. package/esm/admin/cli/commands/org-chart-edge.js +6 -0
  78. package/esm/admin/cli/commands/org-claimed-invite.js +8 -2
  79. package/esm/admin/cli/commands/org-grant.js +8 -2
  80. package/esm/admin/cli/commands/org-invite.js +26 -6
  81. package/esm/admin/cli/commands/org-limit-default.js +2 -0
  82. package/esm/admin/cli/commands/org-limit.js +6 -0
  83. package/esm/admin/cli/commands/org-member.js +4 -2
  84. package/esm/admin/cli/commands/org-membership-default.js +16 -6
  85. package/esm/admin/cli/commands/org-membership.js +34 -12
  86. package/esm/admin/cli/commands/org-owner-grant.js +6 -2
  87. package/esm/admin/cli/commands/org-permission-default.js +2 -0
  88. package/esm/admin/cli/commands/org-permission.js +8 -0
  89. package/esm/admin/cli/commands/submit-invite-code.js +2 -2
  90. package/esm/admin/cli/commands/submit-org-invite-code.js +2 -2
  91. package/esm/admin/cli/index.js +2 -2
  92. package/esm/admin/cli/utils.d.ts +13 -0
  93. package/esm/admin/cli/utils.js +24 -0
  94. package/esm/auth/cli/commands/audit-log.js +10 -2
  95. package/esm/auth/cli/commands/check-password.js +2 -2
  96. package/esm/auth/cli/commands/confirm-delete-account.js +2 -2
  97. package/esm/auth/cli/commands/connected-account.js +8 -4
  98. package/esm/auth/cli/commands/crypto-address.js +10 -4
  99. package/esm/auth/cli/commands/email.js +10 -4
  100. package/esm/auth/cli/commands/extend-token-expires.js +2 -2
  101. package/esm/auth/cli/commands/forgot-password.js +2 -2
  102. package/esm/auth/cli/commands/one-time-token.js +2 -2
  103. package/esm/auth/cli/commands/phone-number.js +10 -4
  104. package/esm/auth/cli/commands/reset-password.js +2 -2
  105. package/esm/auth/cli/commands/send-account-deletion-email.js +2 -2
  106. package/esm/auth/cli/commands/send-verification-email.js +2 -2
  107. package/esm/auth/cli/commands/set-password.js +2 -2
  108. package/esm/auth/cli/commands/sign-in-one-time-token.js +2 -2
  109. package/esm/auth/cli/commands/sign-in.js +2 -2
  110. package/esm/auth/cli/commands/sign-out.js +2 -2
  111. package/esm/auth/cli/commands/sign-up.js +2 -2
  112. package/esm/auth/cli/commands/user.js +10 -0
  113. package/esm/auth/cli/commands/verify-email.js +2 -2
  114. package/esm/auth/cli/commands/verify-password.js +2 -2
  115. package/esm/auth/cli/commands/verify-totp.js +2 -2
  116. package/esm/auth/cli/index.js +2 -2
  117. package/esm/auth/cli/utils.d.ts +13 -0
  118. package/esm/auth/cli/utils.js +24 -0
  119. package/esm/objects/cli/commands/commit.js +12 -0
  120. package/esm/objects/cli/commands/freeze-objects.js +2 -2
  121. package/esm/objects/cli/commands/get-all-record.js +1 -1
  122. package/esm/objects/cli/commands/init-empty-repo.js +2 -2
  123. package/esm/objects/cli/commands/insert-node-at-path.js +2 -2
  124. package/esm/objects/cli/commands/object.js +12 -4
  125. package/esm/objects/cli/commands/ref.js +2 -0
  126. package/esm/objects/cli/commands/remove-node-at-path.js +2 -2
  127. package/esm/objects/cli/commands/set-and-commit.js +2 -2
  128. package/esm/objects/cli/commands/set-data-at-path.js +2 -2
  129. package/esm/objects/cli/commands/set-props-and-commit.js +2 -2
  130. package/esm/objects/cli/commands/store.js +2 -0
  131. package/esm/objects/cli/commands/update-node-at-path.js +2 -2
  132. package/esm/objects/cli/index.js +2 -2
  133. package/esm/objects/cli/utils.d.ts +13 -0
  134. package/esm/objects/cli/utils.js +24 -0
  135. package/esm/public/cli/commands/api-module.js +2 -2
  136. package/esm/public/cli/commands/api.js +10 -2
  137. package/esm/public/cli/commands/app-achievement.js +4 -0
  138. package/esm/public/cli/commands/app-admin-grant.js +6 -2
  139. package/esm/public/cli/commands/app-grant.js +8 -2
  140. package/esm/public/cli/commands/app-level-requirement.js +6 -0
  141. package/esm/public/cli/commands/app-level.js +6 -0
  142. package/esm/public/cli/commands/app-limit-default.js +2 -0
  143. package/esm/public/cli/commands/app-limit.js +6 -0
  144. package/esm/public/cli/commands/app-membership-default.js +12 -4
  145. package/esm/public/cli/commands/app-membership.js +38 -14
  146. package/esm/public/cli/commands/app-owner-grant.js +6 -2
  147. package/esm/public/cli/commands/app-permission-default.js +2 -0
  148. package/esm/public/cli/commands/app-permission.js +8 -0
  149. package/esm/public/cli/commands/app-step.js +4 -0
  150. package/esm/public/cli/commands/app.js +12 -0
  151. package/esm/public/cli/commands/apply-rls.js +2 -2
  152. package/esm/public/cli/commands/ast-migration.js +15 -4
  153. package/esm/public/cli/commands/audit-log.js +10 -2
  154. package/esm/public/cli/commands/bootstrap-user.js +2 -2
  155. package/esm/public/cli/commands/check-constraint.js +22 -4
  156. package/esm/public/cli/commands/check-password.js +2 -2
  157. package/esm/public/cli/commands/claimed-invite.js +8 -2
  158. package/esm/public/cli/commands/commit.js +12 -0
  159. package/esm/public/cli/commands/confirm-delete-account.js +2 -2
  160. package/esm/public/cli/commands/connected-account.js +8 -4
  161. package/esm/public/cli/commands/connected-accounts-module.js +8 -0
  162. package/esm/public/cli/commands/create-user-database.js +2 -2
  163. package/esm/public/cli/commands/crypto-address.js +10 -4
  164. package/esm/public/cli/commands/crypto-addresses-module.js +10 -0
  165. package/esm/public/cli/commands/crypto-auth-module.js +22 -0
  166. package/esm/public/cli/commands/database-provision-module.js +20 -4
  167. package/esm/public/cli/commands/database.js +10 -0
  168. package/esm/public/cli/commands/default-privilege.js +6 -2
  169. package/esm/public/cli/commands/denormalized-table-field.js +16 -4
  170. package/esm/public/cli/commands/domain.js +8 -0
  171. package/esm/public/cli/commands/email.js +10 -4
  172. package/esm/public/cli/commands/emails-module.js +8 -0
  173. package/esm/public/cli/commands/encrypted-secrets-module.js +6 -0
  174. package/esm/public/cli/commands/extend-token-expires.js +2 -2
  175. package/esm/public/cli/commands/field-module.js +14 -2
  176. package/esm/public/cli/commands/field.js +48 -12
  177. package/esm/public/cli/commands/foreign-key-constraint.js +24 -2
  178. package/esm/public/cli/commands/forgot-password.js +2 -2
  179. package/esm/public/cli/commands/freeze-objects.js +2 -2
  180. package/esm/public/cli/commands/full-text-search.js +2 -0
  181. package/esm/public/cli/commands/get-all-record.js +1 -1
  182. package/esm/public/cli/commands/hierarchy-module.js +30 -0
  183. package/esm/public/cli/commands/index.js +32 -8
  184. package/esm/public/cli/commands/init-empty-repo.js +2 -2
  185. package/esm/public/cli/commands/insert-node-at-path.js +2 -2
  186. package/esm/public/cli/commands/invite.js +24 -6
  187. package/esm/public/cli/commands/invites-module.js +22 -0
  188. package/esm/public/cli/commands/levels-module.js +46 -0
  189. package/esm/public/cli/commands/limits-module.js +30 -0
  190. package/esm/public/cli/commands/membership-types-module.js +6 -0
  191. package/esm/public/cli/commands/memberships-module.js +56 -0
  192. package/esm/public/cli/commands/node-type-registry.js +10 -2
  193. package/esm/public/cli/commands/object.js +12 -4
  194. package/esm/public/cli/commands/one-time-token.js +2 -2
  195. package/esm/public/cli/commands/org-admin-grant.js +6 -2
  196. package/esm/public/cli/commands/org-chart-edge-grant.js +10 -2
  197. package/esm/public/cli/commands/org-chart-edge.js +6 -0
  198. package/esm/public/cli/commands/org-claimed-invite.js +8 -2
  199. package/esm/public/cli/commands/org-grant.js +8 -2
  200. package/esm/public/cli/commands/org-invite.js +26 -6
  201. package/esm/public/cli/commands/org-limit-default.js +2 -0
  202. package/esm/public/cli/commands/org-limit.js +6 -0
  203. package/esm/public/cli/commands/org-member.js +4 -2
  204. package/esm/public/cli/commands/org-membership-default.js +16 -6
  205. package/esm/public/cli/commands/org-membership.js +34 -12
  206. package/esm/public/cli/commands/org-owner-grant.js +6 -2
  207. package/esm/public/cli/commands/org-permission-default.js +2 -0
  208. package/esm/public/cli/commands/org-permission.js +8 -0
  209. package/esm/public/cli/commands/permissions-module.js +28 -0
  210. package/esm/public/cli/commands/phone-number.js +10 -4
  211. package/esm/public/cli/commands/phone-numbers-module.js +8 -0
  212. package/esm/public/cli/commands/policy.js +34 -8
  213. package/esm/public/cli/commands/primary-key-constraint.js +18 -2
  214. package/esm/public/cli/commands/profiles-module.js +30 -0
  215. package/esm/public/cli/commands/provision-database-with-user.js +2 -2
  216. package/esm/public/cli/commands/ref.js +2 -0
  217. package/esm/public/cli/commands/relation-provision.js +58 -12
  218. package/esm/public/cli/commands/remove-node-at-path.js +2 -2
  219. package/esm/public/cli/commands/reset-password.js +2 -2
  220. package/esm/public/cli/commands/rls-module.js +20 -0
  221. package/esm/public/cli/commands/schema-grant.js +2 -0
  222. package/esm/public/cli/commands/schema.js +20 -4
  223. package/esm/public/cli/commands/secrets-module.js +6 -0
  224. package/esm/public/cli/commands/secure-table-provision.js +40 -10
  225. package/esm/public/cli/commands/send-account-deletion-email.js +2 -2
  226. package/esm/public/cli/commands/send-verification-email.js +2 -2
  227. package/esm/public/cli/commands/sessions-module.js +18 -0
  228. package/esm/public/cli/commands/set-and-commit.js +2 -2
  229. package/esm/public/cli/commands/set-data-at-path.js +2 -2
  230. package/esm/public/cli/commands/set-field-order.js +2 -2
  231. package/esm/public/cli/commands/set-password.js +2 -2
  232. package/esm/public/cli/commands/set-props-and-commit.js +2 -2
  233. package/esm/public/cli/commands/sign-in-one-time-token.js +2 -2
  234. package/esm/public/cli/commands/sign-in.js +2 -2
  235. package/esm/public/cli/commands/sign-out.js +2 -2
  236. package/esm/public/cli/commands/sign-up.js +2 -2
  237. package/esm/public/cli/commands/site-metadatum.js +6 -0
  238. package/esm/public/cli/commands/site-module.js +2 -2
  239. package/esm/public/cli/commands/site-theme.js +2 -2
  240. package/esm/public/cli/commands/site.js +14 -0
  241. package/esm/public/cli/commands/sql-migration.js +12 -1
  242. package/esm/public/cli/commands/store.js +2 -0
  243. package/esm/public/cli/commands/submit-invite-code.js +2 -2
  244. package/esm/public/cli/commands/submit-org-invite-code.js +2 -2
  245. package/esm/public/cli/commands/table-grant.js +8 -2
  246. package/esm/public/cli/commands/table-module.js +16 -4
  247. package/esm/public/cli/commands/table-template-module.js +12 -2
  248. package/esm/public/cli/commands/table.js +36 -8
  249. package/esm/public/cli/commands/trigger-function.js +2 -0
  250. package/esm/public/cli/commands/trigger.js +18 -2
  251. package/esm/public/cli/commands/unique-constraint.js +20 -2
  252. package/esm/public/cli/commands/update-node-at-path.js +2 -2
  253. package/esm/public/cli/commands/user-auth-module.js +48 -0
  254. package/esm/public/cli/commands/user.js +10 -0
  255. package/esm/public/cli/commands/users-module.js +10 -0
  256. package/esm/public/cli/commands/uuid-module.js +4 -0
  257. package/esm/public/cli/commands/verify-email.js +2 -2
  258. package/esm/public/cli/commands/verify-password.js +2 -2
  259. package/esm/public/cli/commands/verify-totp.js +2 -2
  260. package/esm/public/cli/commands/view-grant.js +10 -4
  261. package/esm/public/cli/commands/view-rule.js +4 -0
  262. package/esm/public/cli/commands/view-table.js +2 -0
  263. package/esm/public/cli/commands/view.js +34 -10
  264. package/esm/public/cli/index.js +2 -2
  265. package/esm/public/cli/utils.d.ts +13 -0
  266. package/esm/public/cli/utils.js +24 -0
  267. package/objects/cli/commands/commit.js +12 -0
  268. package/objects/cli/commands/freeze-objects.js +1 -1
  269. package/objects/cli/commands/get-all-record.js +1 -1
  270. package/objects/cli/commands/init-empty-repo.js +1 -1
  271. package/objects/cli/commands/insert-node-at-path.js +1 -1
  272. package/objects/cli/commands/object.js +12 -4
  273. package/objects/cli/commands/ref.js +2 -0
  274. package/objects/cli/commands/remove-node-at-path.js +1 -1
  275. package/objects/cli/commands/set-and-commit.js +1 -1
  276. package/objects/cli/commands/set-data-at-path.js +1 -1
  277. package/objects/cli/commands/set-props-and-commit.js +1 -1
  278. package/objects/cli/commands/store.js +2 -0
  279. package/objects/cli/commands/update-node-at-path.js +1 -1
  280. package/objects/cli/index.js +2 -2
  281. package/objects/cli/utils.d.ts +13 -0
  282. package/objects/cli/utils.js +25 -0
  283. package/package.json +6 -6
  284. package/public/cli/commands/api-module.js +2 -2
  285. package/public/cli/commands/api.js +10 -2
  286. package/public/cli/commands/app-achievement.js +4 -0
  287. package/public/cli/commands/app-admin-grant.js +6 -2
  288. package/public/cli/commands/app-grant.js +8 -2
  289. package/public/cli/commands/app-level-requirement.js +6 -0
  290. package/public/cli/commands/app-level.js +6 -0
  291. package/public/cli/commands/app-limit-default.js +2 -0
  292. package/public/cli/commands/app-limit.js +6 -0
  293. package/public/cli/commands/app-membership-default.js +12 -4
  294. package/public/cli/commands/app-membership.js +38 -14
  295. package/public/cli/commands/app-owner-grant.js +6 -2
  296. package/public/cli/commands/app-permission-default.js +2 -0
  297. package/public/cli/commands/app-permission.js +8 -0
  298. package/public/cli/commands/app-step.js +4 -0
  299. package/public/cli/commands/app.js +12 -0
  300. package/public/cli/commands/apply-rls.js +1 -1
  301. package/public/cli/commands/ast-migration.js +15 -4
  302. package/public/cli/commands/audit-log.js +10 -2
  303. package/public/cli/commands/bootstrap-user.js +1 -1
  304. package/public/cli/commands/check-constraint.js +22 -4
  305. package/public/cli/commands/check-password.js +1 -1
  306. package/public/cli/commands/claimed-invite.js +8 -2
  307. package/public/cli/commands/commit.js +12 -0
  308. package/public/cli/commands/confirm-delete-account.js +1 -1
  309. package/public/cli/commands/connected-account.js +8 -4
  310. package/public/cli/commands/connected-accounts-module.js +8 -0
  311. package/public/cli/commands/create-user-database.js +1 -1
  312. package/public/cli/commands/crypto-address.js +10 -4
  313. package/public/cli/commands/crypto-addresses-module.js +10 -0
  314. package/public/cli/commands/crypto-auth-module.js +22 -0
  315. package/public/cli/commands/database-provision-module.js +20 -4
  316. package/public/cli/commands/database.js +10 -0
  317. package/public/cli/commands/default-privilege.js +6 -2
  318. package/public/cli/commands/denormalized-table-field.js +16 -4
  319. package/public/cli/commands/domain.js +8 -0
  320. package/public/cli/commands/email.js +10 -4
  321. package/public/cli/commands/emails-module.js +8 -0
  322. package/public/cli/commands/encrypted-secrets-module.js +6 -0
  323. package/public/cli/commands/extend-token-expires.js +1 -1
  324. package/public/cli/commands/field-module.js +14 -2
  325. package/public/cli/commands/field.js +48 -12
  326. package/public/cli/commands/foreign-key-constraint.js +24 -2
  327. package/public/cli/commands/forgot-password.js +1 -1
  328. package/public/cli/commands/freeze-objects.js +1 -1
  329. package/public/cli/commands/full-text-search.js +2 -0
  330. package/public/cli/commands/get-all-record.js +1 -1
  331. package/public/cli/commands/hierarchy-module.js +30 -0
  332. package/public/cli/commands/index.js +32 -8
  333. package/public/cli/commands/init-empty-repo.js +1 -1
  334. package/public/cli/commands/insert-node-at-path.js +1 -1
  335. package/public/cli/commands/invite.js +24 -6
  336. package/public/cli/commands/invites-module.js +22 -0
  337. package/public/cli/commands/levels-module.js +46 -0
  338. package/public/cli/commands/limits-module.js +30 -0
  339. package/public/cli/commands/membership-types-module.js +6 -0
  340. package/public/cli/commands/memberships-module.js +56 -0
  341. package/public/cli/commands/node-type-registry.js +10 -2
  342. package/public/cli/commands/object.js +12 -4
  343. package/public/cli/commands/one-time-token.js +1 -1
  344. package/public/cli/commands/org-admin-grant.js +6 -2
  345. package/public/cli/commands/org-chart-edge-grant.js +10 -2
  346. package/public/cli/commands/org-chart-edge.js +6 -0
  347. package/public/cli/commands/org-claimed-invite.js +8 -2
  348. package/public/cli/commands/org-grant.js +8 -2
  349. package/public/cli/commands/org-invite.js +26 -6
  350. package/public/cli/commands/org-limit-default.js +2 -0
  351. package/public/cli/commands/org-limit.js +6 -0
  352. package/public/cli/commands/org-member.js +4 -2
  353. package/public/cli/commands/org-membership-default.js +16 -6
  354. package/public/cli/commands/org-membership.js +34 -12
  355. package/public/cli/commands/org-owner-grant.js +6 -2
  356. package/public/cli/commands/org-permission-default.js +2 -0
  357. package/public/cli/commands/org-permission.js +8 -0
  358. package/public/cli/commands/permissions-module.js +28 -0
  359. package/public/cli/commands/phone-number.js +10 -4
  360. package/public/cli/commands/phone-numbers-module.js +8 -0
  361. package/public/cli/commands/policy.js +34 -8
  362. package/public/cli/commands/primary-key-constraint.js +18 -2
  363. package/public/cli/commands/profiles-module.js +30 -0
  364. package/public/cli/commands/provision-database-with-user.js +1 -1
  365. package/public/cli/commands/ref.js +2 -0
  366. package/public/cli/commands/relation-provision.js +58 -12
  367. package/public/cli/commands/remove-node-at-path.js +1 -1
  368. package/public/cli/commands/reset-password.js +1 -1
  369. package/public/cli/commands/rls-module.js +20 -0
  370. package/public/cli/commands/schema-grant.js +2 -0
  371. package/public/cli/commands/schema.js +20 -4
  372. package/public/cli/commands/secrets-module.js +6 -0
  373. package/public/cli/commands/secure-table-provision.js +40 -10
  374. package/public/cli/commands/send-account-deletion-email.js +1 -1
  375. package/public/cli/commands/send-verification-email.js +1 -1
  376. package/public/cli/commands/sessions-module.js +18 -0
  377. package/public/cli/commands/set-and-commit.js +1 -1
  378. package/public/cli/commands/set-data-at-path.js +1 -1
  379. package/public/cli/commands/set-field-order.js +1 -1
  380. package/public/cli/commands/set-password.js +1 -1
  381. package/public/cli/commands/set-props-and-commit.js +1 -1
  382. package/public/cli/commands/sign-in-one-time-token.js +1 -1
  383. package/public/cli/commands/sign-in.js +1 -1
  384. package/public/cli/commands/sign-out.js +1 -1
  385. package/public/cli/commands/sign-up.js +1 -1
  386. package/public/cli/commands/site-metadatum.js +6 -0
  387. package/public/cli/commands/site-module.js +2 -2
  388. package/public/cli/commands/site-theme.js +2 -2
  389. package/public/cli/commands/site.js +14 -0
  390. package/public/cli/commands/sql-migration.js +12 -1
  391. package/public/cli/commands/store.js +2 -0
  392. package/public/cli/commands/submit-invite-code.js +1 -1
  393. package/public/cli/commands/submit-org-invite-code.js +1 -1
  394. package/public/cli/commands/table-grant.js +8 -2
  395. package/public/cli/commands/table-module.js +16 -4
  396. package/public/cli/commands/table-template-module.js +12 -2
  397. package/public/cli/commands/table.js +36 -8
  398. package/public/cli/commands/trigger-function.js +2 -0
  399. package/public/cli/commands/trigger.js +18 -2
  400. package/public/cli/commands/unique-constraint.js +20 -2
  401. package/public/cli/commands/update-node-at-path.js +1 -1
  402. package/public/cli/commands/user-auth-module.js +48 -0
  403. package/public/cli/commands/user.js +10 -0
  404. package/public/cli/commands/users-module.js +10 -0
  405. package/public/cli/commands/uuid-module.js +4 -0
  406. package/public/cli/commands/verify-email.js +1 -1
  407. package/public/cli/commands/verify-password.js +1 -1
  408. package/public/cli/commands/verify-totp.js +1 -1
  409. package/public/cli/commands/view-grant.js +10 -4
  410. package/public/cli/commands/view-rule.js +4 -0
  411. package/public/cli/commands/view-table.js +2 -0
  412. package/public/cli/commands/view.js +34 -10
  413. package/public/cli/index.js +2 -2
  414. package/public/cli/utils.d.ts +13 -0
  415. package/public/cli/utils.js +25 -0
@@ -127,30 +127,35 @@ async function handleCreate(argv, prompter) {
127
127
  name: 'schemaId',
128
128
  message: 'schemaId',
129
129
  required: false,
130
+ skipPrompt: true,
130
131
  },
131
132
  {
132
133
  type: 'text',
133
134
  name: 'tableId',
134
135
  message: 'tableId',
135
136
  required: false,
137
+ skipPrompt: true,
136
138
  },
137
139
  {
138
140
  type: 'text',
139
141
  name: 'tableName',
140
142
  message: 'tableName',
141
143
  required: false,
144
+ skipPrompt: true,
142
145
  },
143
146
  {
144
147
  type: 'text',
145
148
  name: 'typeTableId',
146
149
  message: 'typeTableId',
147
150
  required: false,
151
+ skipPrompt: true,
148
152
  },
149
153
  {
150
154
  type: 'text',
151
155
  name: 'typeTableName',
152
156
  message: 'typeTableName',
153
157
  required: false,
158
+ skipPrompt: true,
154
159
  },
155
160
  ]);
156
161
  const answers = coerceAnswers(rawAnswers, fieldSchema);
@@ -207,30 +212,35 @@ async function handleUpdate(argv, prompter) {
207
212
  name: 'schemaId',
208
213
  message: 'schemaId',
209
214
  required: false,
215
+ skipPrompt: true,
210
216
  },
211
217
  {
212
218
  type: 'text',
213
219
  name: 'tableId',
214
220
  message: 'tableId',
215
221
  required: false,
222
+ skipPrompt: true,
216
223
  },
217
224
  {
218
225
  type: 'text',
219
226
  name: 'tableName',
220
227
  message: 'tableName',
221
228
  required: false,
229
+ skipPrompt: true,
222
230
  },
223
231
  {
224
232
  type: 'text',
225
233
  name: 'typeTableId',
226
234
  message: 'typeTableId',
227
235
  required: false,
236
+ skipPrompt: true,
228
237
  },
229
238
  {
230
239
  type: 'text',
231
240
  name: 'typeTableName',
232
241
  message: 'typeTableName',
233
242
  required: false,
243
+ skipPrompt: true,
234
244
  },
235
245
  ]);
236
246
  const answers = coerceAnswers(rawAnswers, fieldSchema);
@@ -121,12 +121,14 @@ async function handleCreate(argv, prompter) {
121
121
  name: 'schemaId',
122
122
  message: 'schemaId',
123
123
  required: false,
124
+ skipPrompt: true,
124
125
  },
125
126
  {
126
127
  type: 'text',
127
128
  name: 'uuidFunction',
128
129
  message: 'uuidFunction',
129
130
  required: false,
131
+ skipPrompt: true,
130
132
  },
131
133
  {
132
134
  type: 'text',
@@ -185,12 +187,14 @@ async function handleUpdate(argv, prompter) {
185
187
  name: 'schemaId',
186
188
  message: 'schemaId',
187
189
  required: false,
190
+ skipPrompt: true,
188
191
  },
189
192
  {
190
193
  type: 'text',
191
194
  name: 'uuidFunction',
192
195
  message: 'uuidFunction',
193
196
  required: false,
197
+ skipPrompt: true,
194
198
  },
195
199
  {
196
200
  type: 'text',
@@ -1,5 +1,5 @@
1
1
  import { getClient } from '../executor';
2
- import { parseMutationInput, buildSelectFromPaths } from '../utils';
2
+ import { unflattenDotNotation, buildSelectFromPaths } from '../utils';
3
3
  export default async (argv, prompter, _options) => {
4
4
  try {
5
5
  if (argv.help || argv.h) {
@@ -15,7 +15,7 @@ export default async (argv, prompter, _options) => {
15
15
  },
16
16
  ]);
17
17
  const client = getClient();
18
- const parsedAnswers = parseMutationInput(answers);
18
+ const parsedAnswers = unflattenDotNotation(answers);
19
19
  const selectFields = buildSelectFromPaths(argv.select ?? 'clientMutationId');
20
20
  const result = await client.mutation
21
21
  .verifyEmail(parsedAnswers, {
@@ -1,5 +1,5 @@
1
1
  import { getClient } from '../executor';
2
- import { parseMutationInput, buildSelectFromPaths } from '../utils';
2
+ import { unflattenDotNotation, buildSelectFromPaths } from '../utils';
3
3
  export default async (argv, prompter, _options) => {
4
4
  try {
5
5
  if (argv.help || argv.h) {
@@ -15,7 +15,7 @@ export default async (argv, prompter, _options) => {
15
15
  },
16
16
  ]);
17
17
  const client = getClient();
18
- const parsedAnswers = parseMutationInput(answers);
18
+ const parsedAnswers = unflattenDotNotation(answers);
19
19
  const selectFields = buildSelectFromPaths(argv.select ?? 'clientMutationId');
20
20
  const result = await client.mutation
21
21
  .verifyPassword(parsedAnswers, {
@@ -1,5 +1,5 @@
1
1
  import { getClient } from '../executor';
2
- import { parseMutationInput, buildSelectFromPaths } from '../utils';
2
+ import { unflattenDotNotation, buildSelectFromPaths } from '../utils';
3
3
  export default async (argv, prompter, _options) => {
4
4
  try {
5
5
  if (argv.help || argv.h) {
@@ -15,7 +15,7 @@ export default async (argv, prompter, _options) => {
15
15
  },
16
16
  ]);
17
17
  const client = getClient();
18
- const parsedAnswers = parseMutationInput(answers);
18
+ const parsedAnswers = unflattenDotNotation(answers);
19
19
  const selectFields = buildSelectFromPaths(argv.select ?? 'clientMutationId');
20
20
  const result = await client.mutation
21
21
  .verifyTotp(parsedAnswers, {
@@ -121,6 +121,7 @@ async function handleCreate(argv, prompter) {
121
121
  name: 'databaseId',
122
122
  message: 'databaseId',
123
123
  required: false,
124
+ skipPrompt: true,
124
125
  },
125
126
  {
126
127
  type: 'text',
@@ -141,16 +142,18 @@ async function handleCreate(argv, prompter) {
141
142
  required: true,
142
143
  },
143
144
  {
144
- type: 'text',
145
+ type: 'boolean',
145
146
  name: 'withGrantOption',
146
147
  message: 'withGrantOption',
147
148
  required: false,
149
+ skipPrompt: true,
148
150
  },
149
151
  {
150
- type: 'text',
152
+ type: 'boolean',
151
153
  name: 'isGrant',
152
154
  message: 'isGrant',
153
155
  required: false,
156
+ skipPrompt: true,
154
157
  },
155
158
  ]);
156
159
  const answers = coerceAnswers(rawAnswers, fieldSchema);
@@ -201,6 +204,7 @@ async function handleUpdate(argv, prompter) {
201
204
  name: 'databaseId',
202
205
  message: 'databaseId',
203
206
  required: false,
207
+ skipPrompt: true,
204
208
  },
205
209
  {
206
210
  type: 'text',
@@ -221,16 +225,18 @@ async function handleUpdate(argv, prompter) {
221
225
  required: false,
222
226
  },
223
227
  {
224
- type: 'text',
228
+ type: 'boolean',
225
229
  name: 'withGrantOption',
226
230
  message: 'withGrantOption',
227
231
  required: false,
232
+ skipPrompt: true,
228
233
  },
229
234
  {
230
- type: 'text',
235
+ type: 'boolean',
231
236
  name: 'isGrant',
232
237
  message: 'isGrant',
233
238
  required: false,
239
+ skipPrompt: true,
234
240
  },
235
241
  ]);
236
242
  const answers = coerceAnswers(rawAnswers, fieldSchema);
@@ -118,6 +118,7 @@ async function handleCreate(argv, prompter) {
118
118
  name: 'databaseId',
119
119
  message: 'databaseId',
120
120
  required: false,
121
+ skipPrompt: true,
121
122
  },
122
123
  {
123
124
  type: 'text',
@@ -142,6 +143,7 @@ async function handleCreate(argv, prompter) {
142
143
  name: 'action',
143
144
  message: 'action',
144
145
  required: false,
146
+ skipPrompt: true,
145
147
  },
146
148
  ]);
147
149
  const answers = coerceAnswers(rawAnswers, fieldSchema);
@@ -190,6 +192,7 @@ async function handleUpdate(argv, prompter) {
190
192
  name: 'databaseId',
191
193
  message: 'databaseId',
192
194
  required: false,
195
+ skipPrompt: true,
193
196
  },
194
197
  {
195
198
  type: 'text',
@@ -214,6 +217,7 @@ async function handleUpdate(argv, prompter) {
214
217
  name: 'action',
215
218
  message: 'action',
216
219
  required: false,
220
+ skipPrompt: true,
217
221
  },
218
222
  ]);
219
223
  const answers = coerceAnswers(rawAnswers, fieldSchema);
@@ -124,6 +124,7 @@ async function handleCreate(argv, prompter) {
124
124
  name: 'joinOrder',
125
125
  message: 'joinOrder',
126
126
  required: false,
127
+ skipPrompt: true,
127
128
  },
128
129
  ]);
129
130
  const answers = coerceAnswers(rawAnswers, fieldSchema);
@@ -180,6 +181,7 @@ async function handleUpdate(argv, prompter) {
180
181
  name: 'joinOrder',
181
182
  message: 'joinOrder',
182
183
  required: false,
184
+ skipPrompt: true,
183
185
  },
184
186
  ]);
185
187
  const answers = coerceAnswers(rawAnswers, fieldSchema);
@@ -148,6 +148,7 @@ async function handleCreate(argv, prompter) {
148
148
  name: 'databaseId',
149
149
  message: 'databaseId',
150
150
  required: false,
151
+ skipPrompt: true,
151
152
  },
152
153
  {
153
154
  type: 'text',
@@ -166,6 +167,7 @@ async function handleCreate(argv, prompter) {
166
167
  name: 'tableId',
167
168
  message: 'tableId',
168
169
  required: false,
170
+ skipPrompt: true,
169
171
  },
170
172
  {
171
173
  type: 'text',
@@ -174,64 +176,74 @@ async function handleCreate(argv, prompter) {
174
176
  required: true,
175
177
  },
176
178
  {
177
- type: 'text',
179
+ type: 'json',
178
180
  name: 'data',
179
181
  message: 'data',
180
182
  required: false,
183
+ skipPrompt: true,
181
184
  },
182
185
  {
183
186
  type: 'text',
184
187
  name: 'filterType',
185
188
  message: 'filterType',
186
189
  required: false,
190
+ skipPrompt: true,
187
191
  },
188
192
  {
189
- type: 'text',
193
+ type: 'json',
190
194
  name: 'filterData',
191
195
  message: 'filterData',
192
196
  required: false,
197
+ skipPrompt: true,
193
198
  },
194
199
  {
195
- type: 'text',
200
+ type: 'boolean',
196
201
  name: 'securityInvoker',
197
202
  message: 'securityInvoker',
198
203
  required: false,
204
+ skipPrompt: true,
199
205
  },
200
206
  {
201
- type: 'text',
207
+ type: 'boolean',
202
208
  name: 'isReadOnly',
203
209
  message: 'isReadOnly',
204
210
  required: false,
211
+ skipPrompt: true,
205
212
  },
206
213
  {
207
- type: 'text',
214
+ type: 'json',
208
215
  name: 'smartTags',
209
216
  message: 'smartTags',
210
217
  required: false,
218
+ skipPrompt: true,
211
219
  },
212
220
  {
213
221
  type: 'text',
214
222
  name: 'category',
215
223
  message: 'category',
216
224
  required: false,
225
+ skipPrompt: true,
217
226
  },
218
227
  {
219
228
  type: 'text',
220
229
  name: 'module',
221
230
  message: 'module',
222
231
  required: false,
232
+ skipPrompt: true,
223
233
  },
224
234
  {
225
235
  type: 'text',
226
236
  name: 'scope',
227
237
  message: 'scope',
228
238
  required: false,
239
+ skipPrompt: true,
229
240
  },
230
241
  {
231
242
  type: 'text',
232
243
  name: 'tags',
233
244
  message: 'tags',
234
245
  required: false,
246
+ skipPrompt: true,
235
247
  },
236
248
  ]);
237
249
  const answers = coerceAnswers(rawAnswers, fieldSchema);
@@ -300,6 +312,7 @@ async function handleUpdate(argv, prompter) {
300
312
  name: 'databaseId',
301
313
  message: 'databaseId',
302
314
  required: false,
315
+ skipPrompt: true,
303
316
  },
304
317
  {
305
318
  type: 'text',
@@ -318,6 +331,7 @@ async function handleUpdate(argv, prompter) {
318
331
  name: 'tableId',
319
332
  message: 'tableId',
320
333
  required: false,
334
+ skipPrompt: true,
321
335
  },
322
336
  {
323
337
  type: 'text',
@@ -326,64 +340,74 @@ async function handleUpdate(argv, prompter) {
326
340
  required: false,
327
341
  },
328
342
  {
329
- type: 'text',
343
+ type: 'json',
330
344
  name: 'data',
331
345
  message: 'data',
332
346
  required: false,
347
+ skipPrompt: true,
333
348
  },
334
349
  {
335
350
  type: 'text',
336
351
  name: 'filterType',
337
352
  message: 'filterType',
338
353
  required: false,
354
+ skipPrompt: true,
339
355
  },
340
356
  {
341
- type: 'text',
357
+ type: 'json',
342
358
  name: 'filterData',
343
359
  message: 'filterData',
344
360
  required: false,
361
+ skipPrompt: true,
345
362
  },
346
363
  {
347
- type: 'text',
364
+ type: 'boolean',
348
365
  name: 'securityInvoker',
349
366
  message: 'securityInvoker',
350
367
  required: false,
368
+ skipPrompt: true,
351
369
  },
352
370
  {
353
- type: 'text',
371
+ type: 'boolean',
354
372
  name: 'isReadOnly',
355
373
  message: 'isReadOnly',
356
374
  required: false,
375
+ skipPrompt: true,
357
376
  },
358
377
  {
359
- type: 'text',
378
+ type: 'json',
360
379
  name: 'smartTags',
361
380
  message: 'smartTags',
362
381
  required: false,
382
+ skipPrompt: true,
363
383
  },
364
384
  {
365
385
  type: 'text',
366
386
  name: 'category',
367
387
  message: 'category',
368
388
  required: false,
389
+ skipPrompt: true,
369
390
  },
370
391
  {
371
392
  type: 'text',
372
393
  name: 'module',
373
394
  message: 'module',
374
395
  required: false,
396
+ skipPrompt: true,
375
397
  },
376
398
  {
377
399
  type: 'text',
378
400
  name: 'scope',
379
401
  message: 'scope',
380
402
  required: false,
403
+ skipPrompt: true,
381
404
  },
382
405
  {
383
406
  type: 'text',
384
407
  name: 'tags',
385
408
  message: 'tags',
386
409
  required: false,
410
+ skipPrompt: true,
387
411
  },
388
412
  ]);
389
413
  const answers = coerceAnswers(rawAnswers, fieldSchema);
@@ -10,9 +10,9 @@ if (process.argv.includes('--version') || process.argv.includes('-v')) {
10
10
  console.log(pkg.version);
11
11
  process.exit(0);
12
12
  }
13
- // Check for --tty false to enable non-interactive mode (noTty)
13
+ // Check for --tty false or --no-tty to enable non-interactive mode (noTty)
14
14
  const ttyIdx = process.argv.indexOf('--tty');
15
- const noTty = ttyIdx !== -1 && process.argv[ttyIdx + 1] === 'false';
15
+ const noTty = (ttyIdx !== -1 && process.argv[ttyIdx + 1] === 'false') || process.argv.includes('--no-tty');
16
16
  const options = {
17
17
  noTty,
18
18
  minimistOpts: { alias: { v: 'version', h: 'help' } },
@@ -20,6 +20,19 @@ export declare function stripUndefined(obj: Record<string, unknown>, schema?: Fi
20
20
  * from the CLI prompt. This parses it into a proper object.
21
21
  */
22
22
  export declare function parseMutationInput(answers: Record<string, unknown>): Record<string, unknown>;
23
+ /**
24
+ * Reconstruct nested objects from dot-notation CLI answers.
25
+ * When INPUT_OBJECT args are flattened to dot-notation questions
26
+ * (e.g. `--input.email foo --input.password bar`), this function
27
+ * rebuilds the nested structure expected by the ORM:
28
+ *
29
+ * { 'input.email': 'foo', 'input.password': 'bar' }
30
+ * → { input: { email: 'foo', password: 'bar' } }
31
+ *
32
+ * Non-dotted keys are passed through unchanged.
33
+ * Uses `nested-obj` for safe nested property setting.
34
+ */
35
+ export declare function unflattenDotNotation(answers: Record<string, unknown>): Record<string, unknown>;
23
36
  /**
24
37
  * Build a select object from a comma-separated list of dot-notation paths.
25
38
  * Uses `nested-obj` to parse paths like 'clientMutationId,result.accessToken,result.userId'
@@ -115,6 +115,30 @@ export function parseMutationInput(answers) {
115
115
  }
116
116
  return answers;
117
117
  }
118
+ /**
119
+ * Reconstruct nested objects from dot-notation CLI answers.
120
+ * When INPUT_OBJECT args are flattened to dot-notation questions
121
+ * (e.g. `--input.email foo --input.password bar`), this function
122
+ * rebuilds the nested structure expected by the ORM:
123
+ *
124
+ * { 'input.email': 'foo', 'input.password': 'bar' }
125
+ * → { input: { email: 'foo', password: 'bar' } }
126
+ *
127
+ * Non-dotted keys are passed through unchanged.
128
+ * Uses `nested-obj` for safe nested property setting.
129
+ */
130
+ export function unflattenDotNotation(answers) {
131
+ const result = {};
132
+ for (const [key, value] of Object.entries(answers)) {
133
+ if (key.includes('.')) {
134
+ objectPath.set(result, key, value);
135
+ }
136
+ else {
137
+ result[key] = value;
138
+ }
139
+ }
140
+ return result;
141
+ }
118
142
  /**
119
143
  * Build a select object from a comma-separated list of dot-notation paths.
120
144
  * Uses `nested-obj` to parse paths like 'clientMutationId,result.accessToken,result.userId'
@@ -129,6 +129,7 @@ async function handleCreate(argv, prompter) {
129
129
  name: 'message',
130
130
  message: 'message',
131
131
  required: false,
132
+ skipPrompt: true,
132
133
  },
133
134
  {
134
135
  type: 'text',
@@ -147,30 +148,35 @@ async function handleCreate(argv, prompter) {
147
148
  name: 'parentIds',
148
149
  message: 'parentIds',
149
150
  required: false,
151
+ skipPrompt: true,
150
152
  },
151
153
  {
152
154
  type: 'text',
153
155
  name: 'authorId',
154
156
  message: 'authorId',
155
157
  required: false,
158
+ skipPrompt: true,
156
159
  },
157
160
  {
158
161
  type: 'text',
159
162
  name: 'committerId',
160
163
  message: 'committerId',
161
164
  required: false,
165
+ skipPrompt: true,
162
166
  },
163
167
  {
164
168
  type: 'text',
165
169
  name: 'treeId',
166
170
  message: 'treeId',
167
171
  required: false,
172
+ skipPrompt: true,
168
173
  },
169
174
  {
170
175
  type: 'text',
171
176
  name: 'date',
172
177
  message: 'date',
173
178
  required: false,
179
+ skipPrompt: true,
174
180
  },
175
181
  ]);
176
182
  const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
@@ -225,6 +231,7 @@ async function handleUpdate(argv, prompter) {
225
231
  name: 'message',
226
232
  message: 'message',
227
233
  required: false,
234
+ skipPrompt: true,
228
235
  },
229
236
  {
230
237
  type: 'text',
@@ -243,30 +250,35 @@ async function handleUpdate(argv, prompter) {
243
250
  name: 'parentIds',
244
251
  message: 'parentIds',
245
252
  required: false,
253
+ skipPrompt: true,
246
254
  },
247
255
  {
248
256
  type: 'text',
249
257
  name: 'authorId',
250
258
  message: 'authorId',
251
259
  required: false,
260
+ skipPrompt: true,
252
261
  },
253
262
  {
254
263
  type: 'text',
255
264
  name: 'committerId',
256
265
  message: 'committerId',
257
266
  required: false,
267
+ skipPrompt: true,
258
268
  },
259
269
  {
260
270
  type: 'text',
261
271
  name: 'treeId',
262
272
  message: 'treeId',
263
273
  required: false,
274
+ skipPrompt: true,
264
275
  },
265
276
  {
266
277
  type: 'text',
267
278
  name: 'date',
268
279
  message: 'date',
269
280
  required: false,
281
+ skipPrompt: true,
270
282
  },
271
283
  ]);
272
284
  const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
@@ -17,7 +17,7 @@ exports.default = async (argv, prompter, _options) => {
17
17
  },
18
18
  ]);
19
19
  const client = (0, executor_1.getClient)();
20
- const parsedAnswers = (0, utils_1.parseMutationInput)(answers);
20
+ const parsedAnswers = (0, utils_1.unflattenDotNotation)(answers);
21
21
  const selectFields = (0, utils_1.buildSelectFromPaths)(argv.select ?? 'clientMutationId');
22
22
  const result = await client.mutation
23
23
  .freezeObjects(parsedAnswers, {
@@ -74,7 +74,7 @@ async function handleCreate(argv, prompter) {
74
74
  required: true,
75
75
  },
76
76
  {
77
- type: 'text',
77
+ type: 'json',
78
78
  name: 'data',
79
79
  message: 'data',
80
80
  required: true,
@@ -17,7 +17,7 @@ exports.default = async (argv, prompter, _options) => {
17
17
  },
18
18
  ]);
19
19
  const client = (0, executor_1.getClient)();
20
- const parsedAnswers = (0, utils_1.parseMutationInput)(answers);
20
+ const parsedAnswers = (0, utils_1.unflattenDotNotation)(answers);
21
21
  const selectFields = (0, utils_1.buildSelectFromPaths)(argv.select ?? 'clientMutationId');
22
22
  const result = await client.mutation
23
23
  .initEmptyRepo(parsedAnswers, {
@@ -17,7 +17,7 @@ exports.default = async (argv, prompter, _options) => {
17
17
  },
18
18
  ]);
19
19
  const client = (0, executor_1.getClient)();
20
- const parsedAnswers = (0, utils_1.parseMutationInput)(answers);
20
+ const parsedAnswers = (0, utils_1.unflattenDotNotation)(answers);
21
21
  const selectFields = (0, utils_1.buildSelectFromPaths)(argv.select ?? 'clientMutationId');
22
22
  const result = await client.mutation
23
23
  .insertNodeAtPath(parsedAnswers, {