@constructive-sdk/cli 0.2.1 → 0.3.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 (267) hide show
  1. package/admin/cli/commands/app-achievement.js +4 -0
  2. package/admin/cli/commands/app-admin-grant.js +4 -0
  3. package/admin/cli/commands/app-grant.js +6 -0
  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 +8 -0
  9. package/admin/cli/commands/app-membership.js +24 -0
  10. package/admin/cli/commands/app-owner-grant.js +4 -0
  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 +6 -0
  15. package/admin/cli/commands/invite.js +18 -0
  16. package/admin/cli/commands/org-admin-grant.js +4 -0
  17. package/admin/cli/commands/org-chart-edge-grant.js +8 -0
  18. package/admin/cli/commands/org-chart-edge.js +6 -0
  19. package/admin/cli/commands/org-claimed-invite.js +6 -0
  20. package/admin/cli/commands/org-grant.js +6 -0
  21. package/admin/cli/commands/org-invite.js +20 -0
  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 +2 -0
  25. package/admin/cli/commands/org-membership-default.js +10 -0
  26. package/admin/cli/commands/org-membership.js +22 -0
  27. package/admin/cli/commands/org-owner-grant.js +4 -0
  28. package/admin/cli/commands/org-permission-default.js +2 -0
  29. package/admin/cli/commands/org-permission.js +8 -0
  30. package/auth/cli/commands/audit-log.js +8 -0
  31. package/auth/cli/commands/connected-account.js +4 -0
  32. package/auth/cli/commands/crypto-address.js +6 -0
  33. package/auth/cli/commands/email.js +6 -0
  34. package/auth/cli/commands/phone-number.js +6 -0
  35. package/auth/cli/commands/user.js +10 -0
  36. package/esm/admin/cli/commands/app-achievement.js +4 -0
  37. package/esm/admin/cli/commands/app-admin-grant.js +4 -0
  38. package/esm/admin/cli/commands/app-grant.js +6 -0
  39. package/esm/admin/cli/commands/app-level-requirement.js +6 -0
  40. package/esm/admin/cli/commands/app-level.js +6 -0
  41. package/esm/admin/cli/commands/app-limit-default.js +2 -0
  42. package/esm/admin/cli/commands/app-limit.js +6 -0
  43. package/esm/admin/cli/commands/app-membership-default.js +8 -0
  44. package/esm/admin/cli/commands/app-membership.js +24 -0
  45. package/esm/admin/cli/commands/app-owner-grant.js +4 -0
  46. package/esm/admin/cli/commands/app-permission-default.js +2 -0
  47. package/esm/admin/cli/commands/app-permission.js +8 -0
  48. package/esm/admin/cli/commands/app-step.js +4 -0
  49. package/esm/admin/cli/commands/claimed-invite.js +6 -0
  50. package/esm/admin/cli/commands/invite.js +18 -0
  51. package/esm/admin/cli/commands/org-admin-grant.js +4 -0
  52. package/esm/admin/cli/commands/org-chart-edge-grant.js +8 -0
  53. package/esm/admin/cli/commands/org-chart-edge.js +6 -0
  54. package/esm/admin/cli/commands/org-claimed-invite.js +6 -0
  55. package/esm/admin/cli/commands/org-grant.js +6 -0
  56. package/esm/admin/cli/commands/org-invite.js +20 -0
  57. package/esm/admin/cli/commands/org-limit-default.js +2 -0
  58. package/esm/admin/cli/commands/org-limit.js +6 -0
  59. package/esm/admin/cli/commands/org-member.js +2 -0
  60. package/esm/admin/cli/commands/org-membership-default.js +10 -0
  61. package/esm/admin/cli/commands/org-membership.js +22 -0
  62. package/esm/admin/cli/commands/org-owner-grant.js +4 -0
  63. package/esm/admin/cli/commands/org-permission-default.js +2 -0
  64. package/esm/admin/cli/commands/org-permission.js +8 -0
  65. package/esm/auth/cli/commands/audit-log.js +8 -0
  66. package/esm/auth/cli/commands/connected-account.js +4 -0
  67. package/esm/auth/cli/commands/crypto-address.js +6 -0
  68. package/esm/auth/cli/commands/email.js +6 -0
  69. package/esm/auth/cli/commands/phone-number.js +6 -0
  70. package/esm/auth/cli/commands/user.js +10 -0
  71. package/esm/objects/cli/commands/commit.js +12 -0
  72. package/esm/objects/cli/commands/object.js +8 -0
  73. package/esm/objects/cli/commands/ref.js +2 -0
  74. package/esm/objects/cli/commands/store.js +2 -0
  75. package/esm/public/cli/commands/api.js +8 -0
  76. package/esm/public/cli/commands/app-achievement.js +4 -0
  77. package/esm/public/cli/commands/app-admin-grant.js +4 -0
  78. package/esm/public/cli/commands/app-grant.js +6 -0
  79. package/esm/public/cli/commands/app-level-requirement.js +6 -0
  80. package/esm/public/cli/commands/app-level.js +6 -0
  81. package/esm/public/cli/commands/app-limit-default.js +2 -0
  82. package/esm/public/cli/commands/app-limit.js +6 -0
  83. package/esm/public/cli/commands/app-membership-default.js +8 -0
  84. package/esm/public/cli/commands/app-membership.js +24 -0
  85. package/esm/public/cli/commands/app-owner-grant.js +4 -0
  86. package/esm/public/cli/commands/app-permission-default.js +2 -0
  87. package/esm/public/cli/commands/app-permission.js +8 -0
  88. package/esm/public/cli/commands/app-step.js +4 -0
  89. package/esm/public/cli/commands/app.js +12 -0
  90. package/esm/public/cli/commands/ast-migration.js +11 -0
  91. package/esm/public/cli/commands/audit-log.js +8 -0
  92. package/esm/public/cli/commands/check-constraint.js +18 -0
  93. package/esm/public/cli/commands/claimed-invite.js +6 -0
  94. package/esm/public/cli/commands/commit.js +12 -0
  95. package/esm/public/cli/commands/connected-account.js +4 -0
  96. package/esm/public/cli/commands/connected-accounts-module.js +8 -0
  97. package/esm/public/cli/commands/crypto-address.js +6 -0
  98. package/esm/public/cli/commands/crypto-addresses-module.js +10 -0
  99. package/esm/public/cli/commands/crypto-auth-module.js +22 -0
  100. package/esm/public/cli/commands/database-provision-module.js +16 -0
  101. package/esm/public/cli/commands/database.js +10 -0
  102. package/esm/public/cli/commands/default-privilege.js +4 -0
  103. package/esm/public/cli/commands/denormalized-table-field.js +12 -0
  104. package/esm/public/cli/commands/domain.js +8 -0
  105. package/esm/public/cli/commands/email.js +6 -0
  106. package/esm/public/cli/commands/emails-module.js +8 -0
  107. package/esm/public/cli/commands/encrypted-secrets-module.js +6 -0
  108. package/esm/public/cli/commands/field-module.js +12 -0
  109. package/esm/public/cli/commands/field.js +36 -0
  110. package/esm/public/cli/commands/foreign-key-constraint.js +22 -0
  111. package/esm/public/cli/commands/full-text-search.js +2 -0
  112. package/esm/public/cli/commands/hierarchy-module.js +30 -0
  113. package/esm/public/cli/commands/index.js +24 -0
  114. package/esm/public/cli/commands/invite.js +18 -0
  115. package/esm/public/cli/commands/invites-module.js +22 -0
  116. package/esm/public/cli/commands/levels-module.js +46 -0
  117. package/esm/public/cli/commands/limits-module.js +30 -0
  118. package/esm/public/cli/commands/membership-types-module.js +6 -0
  119. package/esm/public/cli/commands/memberships-module.js +56 -0
  120. package/esm/public/cli/commands/node-type-registry.js +8 -0
  121. package/esm/public/cli/commands/object.js +8 -0
  122. package/esm/public/cli/commands/org-admin-grant.js +4 -0
  123. package/esm/public/cli/commands/org-chart-edge-grant.js +8 -0
  124. package/esm/public/cli/commands/org-chart-edge.js +6 -0
  125. package/esm/public/cli/commands/org-claimed-invite.js +6 -0
  126. package/esm/public/cli/commands/org-grant.js +6 -0
  127. package/esm/public/cli/commands/org-invite.js +20 -0
  128. package/esm/public/cli/commands/org-limit-default.js +2 -0
  129. package/esm/public/cli/commands/org-limit.js +6 -0
  130. package/esm/public/cli/commands/org-member.js +2 -0
  131. package/esm/public/cli/commands/org-membership-default.js +10 -0
  132. package/esm/public/cli/commands/org-membership.js +22 -0
  133. package/esm/public/cli/commands/org-owner-grant.js +4 -0
  134. package/esm/public/cli/commands/org-permission-default.js +2 -0
  135. package/esm/public/cli/commands/org-permission.js +8 -0
  136. package/esm/public/cli/commands/permissions-module.js +28 -0
  137. package/esm/public/cli/commands/phone-number.js +6 -0
  138. package/esm/public/cli/commands/phone-numbers-module.js +8 -0
  139. package/esm/public/cli/commands/policy.js +26 -0
  140. package/esm/public/cli/commands/primary-key-constraint.js +16 -0
  141. package/esm/public/cli/commands/profiles-module.js +30 -0
  142. package/esm/public/cli/commands/ref.js +2 -0
  143. package/esm/public/cli/commands/relation-provision.js +46 -0
  144. package/esm/public/cli/commands/rls-module.js +20 -0
  145. package/esm/public/cli/commands/schema-grant.js +2 -0
  146. package/esm/public/cli/commands/schema.js +16 -0
  147. package/esm/public/cli/commands/secrets-module.js +6 -0
  148. package/esm/public/cli/commands/secure-table-provision.js +30 -0
  149. package/esm/public/cli/commands/sessions-module.js +18 -0
  150. package/esm/public/cli/commands/site-metadatum.js +6 -0
  151. package/esm/public/cli/commands/site.js +14 -0
  152. package/esm/public/cli/commands/sql-migration.js +11 -0
  153. package/esm/public/cli/commands/store.js +2 -0
  154. package/esm/public/cli/commands/table-grant.js +6 -0
  155. package/esm/public/cli/commands/table-module.js +12 -0
  156. package/esm/public/cli/commands/table-template-module.js +10 -0
  157. package/esm/public/cli/commands/table.js +28 -0
  158. package/esm/public/cli/commands/trigger-function.js +2 -0
  159. package/esm/public/cli/commands/trigger.js +16 -0
  160. package/esm/public/cli/commands/unique-constraint.js +18 -0
  161. package/esm/public/cli/commands/user-auth-module.js +48 -0
  162. package/esm/public/cli/commands/user.js +10 -0
  163. package/esm/public/cli/commands/users-module.js +10 -0
  164. package/esm/public/cli/commands/uuid-module.js +4 -0
  165. package/esm/public/cli/commands/view-grant.js +6 -0
  166. package/esm/public/cli/commands/view-rule.js +4 -0
  167. package/esm/public/cli/commands/view-table.js +2 -0
  168. package/esm/public/cli/commands/view.js +24 -0
  169. package/objects/cli/commands/commit.js +12 -0
  170. package/objects/cli/commands/object.js +8 -0
  171. package/objects/cli/commands/ref.js +2 -0
  172. package/objects/cli/commands/store.js +2 -0
  173. package/package.json +4 -4
  174. package/public/cli/commands/api.js +8 -0
  175. package/public/cli/commands/app-achievement.js +4 -0
  176. package/public/cli/commands/app-admin-grant.js +4 -0
  177. package/public/cli/commands/app-grant.js +6 -0
  178. package/public/cli/commands/app-level-requirement.js +6 -0
  179. package/public/cli/commands/app-level.js +6 -0
  180. package/public/cli/commands/app-limit-default.js +2 -0
  181. package/public/cli/commands/app-limit.js +6 -0
  182. package/public/cli/commands/app-membership-default.js +8 -0
  183. package/public/cli/commands/app-membership.js +24 -0
  184. package/public/cli/commands/app-owner-grant.js +4 -0
  185. package/public/cli/commands/app-permission-default.js +2 -0
  186. package/public/cli/commands/app-permission.js +8 -0
  187. package/public/cli/commands/app-step.js +4 -0
  188. package/public/cli/commands/app.js +12 -0
  189. package/public/cli/commands/ast-migration.js +11 -0
  190. package/public/cli/commands/audit-log.js +8 -0
  191. package/public/cli/commands/check-constraint.js +18 -0
  192. package/public/cli/commands/claimed-invite.js +6 -0
  193. package/public/cli/commands/commit.js +12 -0
  194. package/public/cli/commands/connected-account.js +4 -0
  195. package/public/cli/commands/connected-accounts-module.js +8 -0
  196. package/public/cli/commands/crypto-address.js +6 -0
  197. package/public/cli/commands/crypto-addresses-module.js +10 -0
  198. package/public/cli/commands/crypto-auth-module.js +22 -0
  199. package/public/cli/commands/database-provision-module.js +16 -0
  200. package/public/cli/commands/database.js +10 -0
  201. package/public/cli/commands/default-privilege.js +4 -0
  202. package/public/cli/commands/denormalized-table-field.js +12 -0
  203. package/public/cli/commands/domain.js +8 -0
  204. package/public/cli/commands/email.js +6 -0
  205. package/public/cli/commands/emails-module.js +8 -0
  206. package/public/cli/commands/encrypted-secrets-module.js +6 -0
  207. package/public/cli/commands/field-module.js +12 -0
  208. package/public/cli/commands/field.js +36 -0
  209. package/public/cli/commands/foreign-key-constraint.js +22 -0
  210. package/public/cli/commands/full-text-search.js +2 -0
  211. package/public/cli/commands/hierarchy-module.js +30 -0
  212. package/public/cli/commands/index.js +24 -0
  213. package/public/cli/commands/invite.js +18 -0
  214. package/public/cli/commands/invites-module.js +22 -0
  215. package/public/cli/commands/levels-module.js +46 -0
  216. package/public/cli/commands/limits-module.js +30 -0
  217. package/public/cli/commands/membership-types-module.js +6 -0
  218. package/public/cli/commands/memberships-module.js +56 -0
  219. package/public/cli/commands/node-type-registry.js +8 -0
  220. package/public/cli/commands/object.js +8 -0
  221. package/public/cli/commands/org-admin-grant.js +4 -0
  222. package/public/cli/commands/org-chart-edge-grant.js +8 -0
  223. package/public/cli/commands/org-chart-edge.js +6 -0
  224. package/public/cli/commands/org-claimed-invite.js +6 -0
  225. package/public/cli/commands/org-grant.js +6 -0
  226. package/public/cli/commands/org-invite.js +20 -0
  227. package/public/cli/commands/org-limit-default.js +2 -0
  228. package/public/cli/commands/org-limit.js +6 -0
  229. package/public/cli/commands/org-member.js +2 -0
  230. package/public/cli/commands/org-membership-default.js +10 -0
  231. package/public/cli/commands/org-membership.js +22 -0
  232. package/public/cli/commands/org-owner-grant.js +4 -0
  233. package/public/cli/commands/org-permission-default.js +2 -0
  234. package/public/cli/commands/org-permission.js +8 -0
  235. package/public/cli/commands/permissions-module.js +28 -0
  236. package/public/cli/commands/phone-number.js +6 -0
  237. package/public/cli/commands/phone-numbers-module.js +8 -0
  238. package/public/cli/commands/policy.js +26 -0
  239. package/public/cli/commands/primary-key-constraint.js +16 -0
  240. package/public/cli/commands/profiles-module.js +30 -0
  241. package/public/cli/commands/ref.js +2 -0
  242. package/public/cli/commands/relation-provision.js +46 -0
  243. package/public/cli/commands/rls-module.js +20 -0
  244. package/public/cli/commands/schema-grant.js +2 -0
  245. package/public/cli/commands/schema.js +16 -0
  246. package/public/cli/commands/secrets-module.js +6 -0
  247. package/public/cli/commands/secure-table-provision.js +30 -0
  248. package/public/cli/commands/sessions-module.js +18 -0
  249. package/public/cli/commands/site-metadatum.js +6 -0
  250. package/public/cli/commands/site.js +14 -0
  251. package/public/cli/commands/sql-migration.js +11 -0
  252. package/public/cli/commands/store.js +2 -0
  253. package/public/cli/commands/table-grant.js +6 -0
  254. package/public/cli/commands/table-module.js +12 -0
  255. package/public/cli/commands/table-template-module.js +10 -0
  256. package/public/cli/commands/table.js +28 -0
  257. package/public/cli/commands/trigger-function.js +2 -0
  258. package/public/cli/commands/trigger.js +16 -0
  259. package/public/cli/commands/unique-constraint.js +18 -0
  260. package/public/cli/commands/user-auth-module.js +48 -0
  261. package/public/cli/commands/user.js +10 -0
  262. package/public/cli/commands/users-module.js +10 -0
  263. package/public/cli/commands/uuid-module.js +4 -0
  264. package/public/cli/commands/view-grant.js +6 -0
  265. package/public/cli/commands/view-rule.js +4 -0
  266. package/public/cli/commands/view-table.js +2 -0
  267. package/public/cli/commands/view.js +24 -0
@@ -142,6 +142,7 @@ async function handleCreate(argv, prompter) {
142
142
  name: 'databaseId',
143
143
  message: 'databaseId',
144
144
  required: false,
145
+ skipPrompt: true,
145
146
  },
146
147
  {
147
148
  type: 'text',
@@ -154,24 +155,28 @@ async function handleCreate(argv, prompter) {
154
155
  name: 'name',
155
156
  message: 'name',
156
157
  required: false,
158
+ skipPrompt: true,
157
159
  },
158
160
  {
159
161
  type: 'text',
160
162
  name: 'description',
161
163
  message: 'description',
162
164
  required: false,
165
+ skipPrompt: true,
163
166
  },
164
167
  {
165
168
  type: 'text',
166
169
  name: 'smartTags',
167
170
  message: 'smartTags',
168
171
  required: false,
172
+ skipPrompt: true,
169
173
  },
170
174
  {
171
175
  type: 'text',
172
176
  name: 'type',
173
177
  message: 'type',
174
178
  required: false,
179
+ skipPrompt: true,
175
180
  },
176
181
  {
177
182
  type: 'text',
@@ -184,24 +189,28 @@ async function handleCreate(argv, prompter) {
184
189
  name: 'category',
185
190
  message: 'category',
186
191
  required: false,
192
+ skipPrompt: true,
187
193
  },
188
194
  {
189
195
  type: 'text',
190
196
  name: 'module',
191
197
  message: 'module',
192
198
  required: false,
199
+ skipPrompt: true,
193
200
  },
194
201
  {
195
202
  type: 'text',
196
203
  name: 'scope',
197
204
  message: 'scope',
198
205
  required: false,
206
+ skipPrompt: true,
199
207
  },
200
208
  {
201
209
  type: 'text',
202
210
  name: 'tags',
203
211
  message: 'tags',
204
212
  required: false,
213
+ skipPrompt: true,
205
214
  },
206
215
  ]);
207
216
  const answers = coerceAnswers(rawAnswers, fieldSchema);
@@ -264,6 +273,7 @@ async function handleUpdate(argv, prompter) {
264
273
  name: 'databaseId',
265
274
  message: 'databaseId',
266
275
  required: false,
276
+ skipPrompt: true,
267
277
  },
268
278
  {
269
279
  type: 'text',
@@ -276,24 +286,28 @@ async function handleUpdate(argv, prompter) {
276
286
  name: 'name',
277
287
  message: 'name',
278
288
  required: false,
289
+ skipPrompt: true,
279
290
  },
280
291
  {
281
292
  type: 'text',
282
293
  name: 'description',
283
294
  message: 'description',
284
295
  required: false,
296
+ skipPrompt: true,
285
297
  },
286
298
  {
287
299
  type: 'text',
288
300
  name: 'smartTags',
289
301
  message: 'smartTags',
290
302
  required: false,
303
+ skipPrompt: true,
291
304
  },
292
305
  {
293
306
  type: 'text',
294
307
  name: 'type',
295
308
  message: 'type',
296
309
  required: false,
310
+ skipPrompt: true,
297
311
  },
298
312
  {
299
313
  type: 'text',
@@ -306,24 +320,28 @@ async function handleUpdate(argv, prompter) {
306
320
  name: 'category',
307
321
  message: 'category',
308
322
  required: false,
323
+ skipPrompt: true,
309
324
  },
310
325
  {
311
326
  type: 'text',
312
327
  name: 'module',
313
328
  message: 'module',
314
329
  required: false,
330
+ skipPrompt: true,
315
331
  },
316
332
  {
317
333
  type: 'text',
318
334
  name: 'scope',
319
335
  message: 'scope',
320
336
  required: false,
337
+ skipPrompt: true,
321
338
  },
322
339
  {
323
340
  type: 'text',
324
341
  name: 'tags',
325
342
  message: 'tags',
326
343
  required: false,
344
+ skipPrompt: true,
327
345
  },
328
346
  ]);
329
347
  const answers = coerceAnswers(rawAnswers, fieldSchema);
@@ -184,144 +184,168 @@ async function handleCreate(argv, prompter) {
184
184
  name: 'schemaId',
185
185
  message: 'schemaId',
186
186
  required: false,
187
+ skipPrompt: true,
187
188
  },
188
189
  {
189
190
  type: 'text',
190
191
  name: 'emailsTableId',
191
192
  message: 'emailsTableId',
192
193
  required: false,
194
+ skipPrompt: true,
193
195
  },
194
196
  {
195
197
  type: 'text',
196
198
  name: 'usersTableId',
197
199
  message: 'usersTableId',
198
200
  required: false,
201
+ skipPrompt: true,
199
202
  },
200
203
  {
201
204
  type: 'text',
202
205
  name: 'secretsTableId',
203
206
  message: 'secretsTableId',
204
207
  required: false,
208
+ skipPrompt: true,
205
209
  },
206
210
  {
207
211
  type: 'text',
208
212
  name: 'encryptedTableId',
209
213
  message: 'encryptedTableId',
210
214
  required: false,
215
+ skipPrompt: true,
211
216
  },
212
217
  {
213
218
  type: 'text',
214
219
  name: 'sessionsTableId',
215
220
  message: 'sessionsTableId',
216
221
  required: false,
222
+ skipPrompt: true,
217
223
  },
218
224
  {
219
225
  type: 'text',
220
226
  name: 'sessionCredentialsTableId',
221
227
  message: 'sessionCredentialsTableId',
222
228
  required: false,
229
+ skipPrompt: true,
223
230
  },
224
231
  {
225
232
  type: 'text',
226
233
  name: 'auditsTableId',
227
234
  message: 'auditsTableId',
228
235
  required: false,
236
+ skipPrompt: true,
229
237
  },
230
238
  {
231
239
  type: 'text',
232
240
  name: 'auditsTableName',
233
241
  message: 'auditsTableName',
234
242
  required: false,
243
+ skipPrompt: true,
235
244
  },
236
245
  {
237
246
  type: 'text',
238
247
  name: 'signInFunction',
239
248
  message: 'signInFunction',
240
249
  required: false,
250
+ skipPrompt: true,
241
251
  },
242
252
  {
243
253
  type: 'text',
244
254
  name: 'signUpFunction',
245
255
  message: 'signUpFunction',
246
256
  required: false,
257
+ skipPrompt: true,
247
258
  },
248
259
  {
249
260
  type: 'text',
250
261
  name: 'signOutFunction',
251
262
  message: 'signOutFunction',
252
263
  required: false,
264
+ skipPrompt: true,
253
265
  },
254
266
  {
255
267
  type: 'text',
256
268
  name: 'setPasswordFunction',
257
269
  message: 'setPasswordFunction',
258
270
  required: false,
271
+ skipPrompt: true,
259
272
  },
260
273
  {
261
274
  type: 'text',
262
275
  name: 'resetPasswordFunction',
263
276
  message: 'resetPasswordFunction',
264
277
  required: false,
278
+ skipPrompt: true,
265
279
  },
266
280
  {
267
281
  type: 'text',
268
282
  name: 'forgotPasswordFunction',
269
283
  message: 'forgotPasswordFunction',
270
284
  required: false,
285
+ skipPrompt: true,
271
286
  },
272
287
  {
273
288
  type: 'text',
274
289
  name: 'sendVerificationEmailFunction',
275
290
  message: 'sendVerificationEmailFunction',
276
291
  required: false,
292
+ skipPrompt: true,
277
293
  },
278
294
  {
279
295
  type: 'text',
280
296
  name: 'verifyEmailFunction',
281
297
  message: 'verifyEmailFunction',
282
298
  required: false,
299
+ skipPrompt: true,
283
300
  },
284
301
  {
285
302
  type: 'text',
286
303
  name: 'verifyPasswordFunction',
287
304
  message: 'verifyPasswordFunction',
288
305
  required: false,
306
+ skipPrompt: true,
289
307
  },
290
308
  {
291
309
  type: 'text',
292
310
  name: 'checkPasswordFunction',
293
311
  message: 'checkPasswordFunction',
294
312
  required: false,
313
+ skipPrompt: true,
295
314
  },
296
315
  {
297
316
  type: 'text',
298
317
  name: 'sendAccountDeletionEmailFunction',
299
318
  message: 'sendAccountDeletionEmailFunction',
300
319
  required: false,
320
+ skipPrompt: true,
301
321
  },
302
322
  {
303
323
  type: 'text',
304
324
  name: 'deleteAccountFunction',
305
325
  message: 'deleteAccountFunction',
306
326
  required: false,
327
+ skipPrompt: true,
307
328
  },
308
329
  {
309
330
  type: 'text',
310
331
  name: 'signInOneTimeTokenFunction',
311
332
  message: 'signInOneTimeTokenFunction',
312
333
  required: false,
334
+ skipPrompt: true,
313
335
  },
314
336
  {
315
337
  type: 'text',
316
338
  name: 'oneTimeTokenFunction',
317
339
  message: 'oneTimeTokenFunction',
318
340
  required: false,
341
+ skipPrompt: true,
319
342
  },
320
343
  {
321
344
  type: 'text',
322
345
  name: 'extendTokenExpires',
323
346
  message: 'extendTokenExpires',
324
347
  required: false,
348
+ skipPrompt: true,
325
349
  },
326
350
  ]);
327
351
  const answers = coerceAnswers(rawAnswers, fieldSchema);
@@ -416,144 +440,168 @@ async function handleUpdate(argv, prompter) {
416
440
  name: 'schemaId',
417
441
  message: 'schemaId',
418
442
  required: false,
443
+ skipPrompt: true,
419
444
  },
420
445
  {
421
446
  type: 'text',
422
447
  name: 'emailsTableId',
423
448
  message: 'emailsTableId',
424
449
  required: false,
450
+ skipPrompt: true,
425
451
  },
426
452
  {
427
453
  type: 'text',
428
454
  name: 'usersTableId',
429
455
  message: 'usersTableId',
430
456
  required: false,
457
+ skipPrompt: true,
431
458
  },
432
459
  {
433
460
  type: 'text',
434
461
  name: 'secretsTableId',
435
462
  message: 'secretsTableId',
436
463
  required: false,
464
+ skipPrompt: true,
437
465
  },
438
466
  {
439
467
  type: 'text',
440
468
  name: 'encryptedTableId',
441
469
  message: 'encryptedTableId',
442
470
  required: false,
471
+ skipPrompt: true,
443
472
  },
444
473
  {
445
474
  type: 'text',
446
475
  name: 'sessionsTableId',
447
476
  message: 'sessionsTableId',
448
477
  required: false,
478
+ skipPrompt: true,
449
479
  },
450
480
  {
451
481
  type: 'text',
452
482
  name: 'sessionCredentialsTableId',
453
483
  message: 'sessionCredentialsTableId',
454
484
  required: false,
485
+ skipPrompt: true,
455
486
  },
456
487
  {
457
488
  type: 'text',
458
489
  name: 'auditsTableId',
459
490
  message: 'auditsTableId',
460
491
  required: false,
492
+ skipPrompt: true,
461
493
  },
462
494
  {
463
495
  type: 'text',
464
496
  name: 'auditsTableName',
465
497
  message: 'auditsTableName',
466
498
  required: false,
499
+ skipPrompt: true,
467
500
  },
468
501
  {
469
502
  type: 'text',
470
503
  name: 'signInFunction',
471
504
  message: 'signInFunction',
472
505
  required: false,
506
+ skipPrompt: true,
473
507
  },
474
508
  {
475
509
  type: 'text',
476
510
  name: 'signUpFunction',
477
511
  message: 'signUpFunction',
478
512
  required: false,
513
+ skipPrompt: true,
479
514
  },
480
515
  {
481
516
  type: 'text',
482
517
  name: 'signOutFunction',
483
518
  message: 'signOutFunction',
484
519
  required: false,
520
+ skipPrompt: true,
485
521
  },
486
522
  {
487
523
  type: 'text',
488
524
  name: 'setPasswordFunction',
489
525
  message: 'setPasswordFunction',
490
526
  required: false,
527
+ skipPrompt: true,
491
528
  },
492
529
  {
493
530
  type: 'text',
494
531
  name: 'resetPasswordFunction',
495
532
  message: 'resetPasswordFunction',
496
533
  required: false,
534
+ skipPrompt: true,
497
535
  },
498
536
  {
499
537
  type: 'text',
500
538
  name: 'forgotPasswordFunction',
501
539
  message: 'forgotPasswordFunction',
502
540
  required: false,
541
+ skipPrompt: true,
503
542
  },
504
543
  {
505
544
  type: 'text',
506
545
  name: 'sendVerificationEmailFunction',
507
546
  message: 'sendVerificationEmailFunction',
508
547
  required: false,
548
+ skipPrompt: true,
509
549
  },
510
550
  {
511
551
  type: 'text',
512
552
  name: 'verifyEmailFunction',
513
553
  message: 'verifyEmailFunction',
514
554
  required: false,
555
+ skipPrompt: true,
515
556
  },
516
557
  {
517
558
  type: 'text',
518
559
  name: 'verifyPasswordFunction',
519
560
  message: 'verifyPasswordFunction',
520
561
  required: false,
562
+ skipPrompt: true,
521
563
  },
522
564
  {
523
565
  type: 'text',
524
566
  name: 'checkPasswordFunction',
525
567
  message: 'checkPasswordFunction',
526
568
  required: false,
569
+ skipPrompt: true,
527
570
  },
528
571
  {
529
572
  type: 'text',
530
573
  name: 'sendAccountDeletionEmailFunction',
531
574
  message: 'sendAccountDeletionEmailFunction',
532
575
  required: false,
576
+ skipPrompt: true,
533
577
  },
534
578
  {
535
579
  type: 'text',
536
580
  name: 'deleteAccountFunction',
537
581
  message: 'deleteAccountFunction',
538
582
  required: false,
583
+ skipPrompt: true,
539
584
  },
540
585
  {
541
586
  type: 'text',
542
587
  name: 'signInOneTimeTokenFunction',
543
588
  message: 'signInOneTimeTokenFunction',
544
589
  required: false,
590
+ skipPrompt: true,
545
591
  },
546
592
  {
547
593
  type: 'text',
548
594
  name: 'oneTimeTokenFunction',
549
595
  message: 'oneTimeTokenFunction',
550
596
  required: false,
597
+ skipPrompt: true,
551
598
  },
552
599
  {
553
600
  type: 'text',
554
601
  name: 'extendTokenExpires',
555
602
  message: 'extendTokenExpires',
556
603
  required: false,
604
+ skipPrompt: true,
557
605
  },
558
606
  ]);
559
607
  const answers = coerceAnswers(rawAnswers, fieldSchema);
@@ -127,30 +127,35 @@ async function handleCreate(argv, prompter) {
127
127
  name: 'username',
128
128
  message: 'username',
129
129
  required: false,
130
+ skipPrompt: true,
130
131
  },
131
132
  {
132
133
  type: 'text',
133
134
  name: 'displayName',
134
135
  message: 'displayName',
135
136
  required: false,
137
+ skipPrompt: true,
136
138
  },
137
139
  {
138
140
  type: 'text',
139
141
  name: 'profilePicture',
140
142
  message: 'profilePicture',
141
143
  required: false,
144
+ skipPrompt: true,
142
145
  },
143
146
  {
144
147
  type: 'text',
145
148
  name: 'searchTsv',
146
149
  message: 'searchTsv',
147
150
  required: false,
151
+ skipPrompt: true,
148
152
  },
149
153
  {
150
154
  type: 'text',
151
155
  name: 'type',
152
156
  message: 'type',
153
157
  required: false,
158
+ skipPrompt: true,
154
159
  },
155
160
  ]);
156
161
  const answers = coerceAnswers(rawAnswers, fieldSchema);
@@ -202,30 +207,35 @@ async function handleUpdate(argv, prompter) {
202
207
  name: 'username',
203
208
  message: 'username',
204
209
  required: false,
210
+ skipPrompt: true,
205
211
  },
206
212
  {
207
213
  type: 'text',
208
214
  name: 'displayName',
209
215
  message: 'displayName',
210
216
  required: false,
217
+ skipPrompt: true,
211
218
  },
212
219
  {
213
220
  type: 'text',
214
221
  name: 'profilePicture',
215
222
  message: 'profilePicture',
216
223
  required: false,
224
+ skipPrompt: true,
217
225
  },
218
226
  {
219
227
  type: 'text',
220
228
  name: 'searchTsv',
221
229
  message: 'searchTsv',
222
230
  required: false,
231
+ skipPrompt: true,
223
232
  },
224
233
  {
225
234
  type: 'text',
226
235
  name: 'type',
227
236
  message: 'type',
228
237
  required: false,
238
+ skipPrompt: true,
229
239
  },
230
240
  ]);
231
241
  const answers = coerceAnswers(rawAnswers, fieldSchema);
@@ -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',
@@ -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',
@@ -145,12 +146,14 @@ async function handleCreate(argv, prompter) {
145
146
  name: 'withGrantOption',
146
147
  message: 'withGrantOption',
147
148
  required: false,
149
+ skipPrompt: true,
148
150
  },
149
151
  {
150
152
  type: 'text',
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',
@@ -225,12 +229,14 @@ async function handleUpdate(argv, prompter) {
225
229
  name: 'withGrantOption',
226
230
  message: 'withGrantOption',
227
231
  required: false,
232
+ skipPrompt: true,
228
233
  },
229
234
  {
230
235
  type: 'text',
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);