@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
@@ -144,6 +144,7 @@ async function handleCreate(argv, prompter) {
144
144
  name: 'databaseId',
145
145
  message: 'databaseId',
146
146
  required: false,
147
+ skipPrompt: true,
147
148
  },
148
149
  {
149
150
  type: 'text',
@@ -156,24 +157,28 @@ async function handleCreate(argv, prompter) {
156
157
  name: 'name',
157
158
  message: 'name',
158
159
  required: false,
160
+ skipPrompt: true,
159
161
  },
160
162
  {
161
163
  type: 'text',
162
164
  name: 'description',
163
165
  message: 'description',
164
166
  required: false,
167
+ skipPrompt: true,
165
168
  },
166
169
  {
167
170
  type: 'text',
168
171
  name: 'smartTags',
169
172
  message: 'smartTags',
170
173
  required: false,
174
+ skipPrompt: true,
171
175
  },
172
176
  {
173
177
  type: 'text',
174
178
  name: 'type',
175
179
  message: 'type',
176
180
  required: false,
181
+ skipPrompt: true,
177
182
  },
178
183
  {
179
184
  type: 'text',
@@ -186,24 +191,28 @@ async function handleCreate(argv, prompter) {
186
191
  name: 'category',
187
192
  message: 'category',
188
193
  required: false,
194
+ skipPrompt: true,
189
195
  },
190
196
  {
191
197
  type: 'text',
192
198
  name: 'module',
193
199
  message: 'module',
194
200
  required: false,
201
+ skipPrompt: true,
195
202
  },
196
203
  {
197
204
  type: 'text',
198
205
  name: 'scope',
199
206
  message: 'scope',
200
207
  required: false,
208
+ skipPrompt: true,
201
209
  },
202
210
  {
203
211
  type: 'text',
204
212
  name: 'tags',
205
213
  message: 'tags',
206
214
  required: false,
215
+ skipPrompt: true,
207
216
  },
208
217
  ]);
209
218
  const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
@@ -266,6 +275,7 @@ async function handleUpdate(argv, prompter) {
266
275
  name: 'databaseId',
267
276
  message: 'databaseId',
268
277
  required: false,
278
+ skipPrompt: true,
269
279
  },
270
280
  {
271
281
  type: 'text',
@@ -278,24 +288,28 @@ async function handleUpdate(argv, prompter) {
278
288
  name: 'name',
279
289
  message: 'name',
280
290
  required: false,
291
+ skipPrompt: true,
281
292
  },
282
293
  {
283
294
  type: 'text',
284
295
  name: 'description',
285
296
  message: 'description',
286
297
  required: false,
298
+ skipPrompt: true,
287
299
  },
288
300
  {
289
301
  type: 'text',
290
302
  name: 'smartTags',
291
303
  message: 'smartTags',
292
304
  required: false,
305
+ skipPrompt: true,
293
306
  },
294
307
  {
295
308
  type: 'text',
296
309
  name: 'type',
297
310
  message: 'type',
298
311
  required: false,
312
+ skipPrompt: true,
299
313
  },
300
314
  {
301
315
  type: 'text',
@@ -308,24 +322,28 @@ async function handleUpdate(argv, prompter) {
308
322
  name: 'category',
309
323
  message: 'category',
310
324
  required: false,
325
+ skipPrompt: true,
311
326
  },
312
327
  {
313
328
  type: 'text',
314
329
  name: 'module',
315
330
  message: 'module',
316
331
  required: false,
332
+ skipPrompt: true,
317
333
  },
318
334
  {
319
335
  type: 'text',
320
336
  name: 'scope',
321
337
  message: 'scope',
322
338
  required: false,
339
+ skipPrompt: true,
323
340
  },
324
341
  {
325
342
  type: 'text',
326
343
  name: 'tags',
327
344
  message: 'tags',
328
345
  required: false,
346
+ skipPrompt: true,
329
347
  },
330
348
  ]);
331
349
  const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
@@ -186,144 +186,168 @@ async function handleCreate(argv, prompter) {
186
186
  name: 'schemaId',
187
187
  message: 'schemaId',
188
188
  required: false,
189
+ skipPrompt: true,
189
190
  },
190
191
  {
191
192
  type: 'text',
192
193
  name: 'emailsTableId',
193
194
  message: 'emailsTableId',
194
195
  required: false,
196
+ skipPrompt: true,
195
197
  },
196
198
  {
197
199
  type: 'text',
198
200
  name: 'usersTableId',
199
201
  message: 'usersTableId',
200
202
  required: false,
203
+ skipPrompt: true,
201
204
  },
202
205
  {
203
206
  type: 'text',
204
207
  name: 'secretsTableId',
205
208
  message: 'secretsTableId',
206
209
  required: false,
210
+ skipPrompt: true,
207
211
  },
208
212
  {
209
213
  type: 'text',
210
214
  name: 'encryptedTableId',
211
215
  message: 'encryptedTableId',
212
216
  required: false,
217
+ skipPrompt: true,
213
218
  },
214
219
  {
215
220
  type: 'text',
216
221
  name: 'sessionsTableId',
217
222
  message: 'sessionsTableId',
218
223
  required: false,
224
+ skipPrompt: true,
219
225
  },
220
226
  {
221
227
  type: 'text',
222
228
  name: 'sessionCredentialsTableId',
223
229
  message: 'sessionCredentialsTableId',
224
230
  required: false,
231
+ skipPrompt: true,
225
232
  },
226
233
  {
227
234
  type: 'text',
228
235
  name: 'auditsTableId',
229
236
  message: 'auditsTableId',
230
237
  required: false,
238
+ skipPrompt: true,
231
239
  },
232
240
  {
233
241
  type: 'text',
234
242
  name: 'auditsTableName',
235
243
  message: 'auditsTableName',
236
244
  required: false,
245
+ skipPrompt: true,
237
246
  },
238
247
  {
239
248
  type: 'text',
240
249
  name: 'signInFunction',
241
250
  message: 'signInFunction',
242
251
  required: false,
252
+ skipPrompt: true,
243
253
  },
244
254
  {
245
255
  type: 'text',
246
256
  name: 'signUpFunction',
247
257
  message: 'signUpFunction',
248
258
  required: false,
259
+ skipPrompt: true,
249
260
  },
250
261
  {
251
262
  type: 'text',
252
263
  name: 'signOutFunction',
253
264
  message: 'signOutFunction',
254
265
  required: false,
266
+ skipPrompt: true,
255
267
  },
256
268
  {
257
269
  type: 'text',
258
270
  name: 'setPasswordFunction',
259
271
  message: 'setPasswordFunction',
260
272
  required: false,
273
+ skipPrompt: true,
261
274
  },
262
275
  {
263
276
  type: 'text',
264
277
  name: 'resetPasswordFunction',
265
278
  message: 'resetPasswordFunction',
266
279
  required: false,
280
+ skipPrompt: true,
267
281
  },
268
282
  {
269
283
  type: 'text',
270
284
  name: 'forgotPasswordFunction',
271
285
  message: 'forgotPasswordFunction',
272
286
  required: false,
287
+ skipPrompt: true,
273
288
  },
274
289
  {
275
290
  type: 'text',
276
291
  name: 'sendVerificationEmailFunction',
277
292
  message: 'sendVerificationEmailFunction',
278
293
  required: false,
294
+ skipPrompt: true,
279
295
  },
280
296
  {
281
297
  type: 'text',
282
298
  name: 'verifyEmailFunction',
283
299
  message: 'verifyEmailFunction',
284
300
  required: false,
301
+ skipPrompt: true,
285
302
  },
286
303
  {
287
304
  type: 'text',
288
305
  name: 'verifyPasswordFunction',
289
306
  message: 'verifyPasswordFunction',
290
307
  required: false,
308
+ skipPrompt: true,
291
309
  },
292
310
  {
293
311
  type: 'text',
294
312
  name: 'checkPasswordFunction',
295
313
  message: 'checkPasswordFunction',
296
314
  required: false,
315
+ skipPrompt: true,
297
316
  },
298
317
  {
299
318
  type: 'text',
300
319
  name: 'sendAccountDeletionEmailFunction',
301
320
  message: 'sendAccountDeletionEmailFunction',
302
321
  required: false,
322
+ skipPrompt: true,
303
323
  },
304
324
  {
305
325
  type: 'text',
306
326
  name: 'deleteAccountFunction',
307
327
  message: 'deleteAccountFunction',
308
328
  required: false,
329
+ skipPrompt: true,
309
330
  },
310
331
  {
311
332
  type: 'text',
312
333
  name: 'signInOneTimeTokenFunction',
313
334
  message: 'signInOneTimeTokenFunction',
314
335
  required: false,
336
+ skipPrompt: true,
315
337
  },
316
338
  {
317
339
  type: 'text',
318
340
  name: 'oneTimeTokenFunction',
319
341
  message: 'oneTimeTokenFunction',
320
342
  required: false,
343
+ skipPrompt: true,
321
344
  },
322
345
  {
323
346
  type: 'text',
324
347
  name: 'extendTokenExpires',
325
348
  message: 'extendTokenExpires',
326
349
  required: false,
350
+ skipPrompt: true,
327
351
  },
328
352
  ]);
329
353
  const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
@@ -418,144 +442,168 @@ async function handleUpdate(argv, prompter) {
418
442
  name: 'schemaId',
419
443
  message: 'schemaId',
420
444
  required: false,
445
+ skipPrompt: true,
421
446
  },
422
447
  {
423
448
  type: 'text',
424
449
  name: 'emailsTableId',
425
450
  message: 'emailsTableId',
426
451
  required: false,
452
+ skipPrompt: true,
427
453
  },
428
454
  {
429
455
  type: 'text',
430
456
  name: 'usersTableId',
431
457
  message: 'usersTableId',
432
458
  required: false,
459
+ skipPrompt: true,
433
460
  },
434
461
  {
435
462
  type: 'text',
436
463
  name: 'secretsTableId',
437
464
  message: 'secretsTableId',
438
465
  required: false,
466
+ skipPrompt: true,
439
467
  },
440
468
  {
441
469
  type: 'text',
442
470
  name: 'encryptedTableId',
443
471
  message: 'encryptedTableId',
444
472
  required: false,
473
+ skipPrompt: true,
445
474
  },
446
475
  {
447
476
  type: 'text',
448
477
  name: 'sessionsTableId',
449
478
  message: 'sessionsTableId',
450
479
  required: false,
480
+ skipPrompt: true,
451
481
  },
452
482
  {
453
483
  type: 'text',
454
484
  name: 'sessionCredentialsTableId',
455
485
  message: 'sessionCredentialsTableId',
456
486
  required: false,
487
+ skipPrompt: true,
457
488
  },
458
489
  {
459
490
  type: 'text',
460
491
  name: 'auditsTableId',
461
492
  message: 'auditsTableId',
462
493
  required: false,
494
+ skipPrompt: true,
463
495
  },
464
496
  {
465
497
  type: 'text',
466
498
  name: 'auditsTableName',
467
499
  message: 'auditsTableName',
468
500
  required: false,
501
+ skipPrompt: true,
469
502
  },
470
503
  {
471
504
  type: 'text',
472
505
  name: 'signInFunction',
473
506
  message: 'signInFunction',
474
507
  required: false,
508
+ skipPrompt: true,
475
509
  },
476
510
  {
477
511
  type: 'text',
478
512
  name: 'signUpFunction',
479
513
  message: 'signUpFunction',
480
514
  required: false,
515
+ skipPrompt: true,
481
516
  },
482
517
  {
483
518
  type: 'text',
484
519
  name: 'signOutFunction',
485
520
  message: 'signOutFunction',
486
521
  required: false,
522
+ skipPrompt: true,
487
523
  },
488
524
  {
489
525
  type: 'text',
490
526
  name: 'setPasswordFunction',
491
527
  message: 'setPasswordFunction',
492
528
  required: false,
529
+ skipPrompt: true,
493
530
  },
494
531
  {
495
532
  type: 'text',
496
533
  name: 'resetPasswordFunction',
497
534
  message: 'resetPasswordFunction',
498
535
  required: false,
536
+ skipPrompt: true,
499
537
  },
500
538
  {
501
539
  type: 'text',
502
540
  name: 'forgotPasswordFunction',
503
541
  message: 'forgotPasswordFunction',
504
542
  required: false,
543
+ skipPrompt: true,
505
544
  },
506
545
  {
507
546
  type: 'text',
508
547
  name: 'sendVerificationEmailFunction',
509
548
  message: 'sendVerificationEmailFunction',
510
549
  required: false,
550
+ skipPrompt: true,
511
551
  },
512
552
  {
513
553
  type: 'text',
514
554
  name: 'verifyEmailFunction',
515
555
  message: 'verifyEmailFunction',
516
556
  required: false,
557
+ skipPrompt: true,
517
558
  },
518
559
  {
519
560
  type: 'text',
520
561
  name: 'verifyPasswordFunction',
521
562
  message: 'verifyPasswordFunction',
522
563
  required: false,
564
+ skipPrompt: true,
523
565
  },
524
566
  {
525
567
  type: 'text',
526
568
  name: 'checkPasswordFunction',
527
569
  message: 'checkPasswordFunction',
528
570
  required: false,
571
+ skipPrompt: true,
529
572
  },
530
573
  {
531
574
  type: 'text',
532
575
  name: 'sendAccountDeletionEmailFunction',
533
576
  message: 'sendAccountDeletionEmailFunction',
534
577
  required: false,
578
+ skipPrompt: true,
535
579
  },
536
580
  {
537
581
  type: 'text',
538
582
  name: 'deleteAccountFunction',
539
583
  message: 'deleteAccountFunction',
540
584
  required: false,
585
+ skipPrompt: true,
541
586
  },
542
587
  {
543
588
  type: 'text',
544
589
  name: 'signInOneTimeTokenFunction',
545
590
  message: 'signInOneTimeTokenFunction',
546
591
  required: false,
592
+ skipPrompt: true,
547
593
  },
548
594
  {
549
595
  type: 'text',
550
596
  name: 'oneTimeTokenFunction',
551
597
  message: 'oneTimeTokenFunction',
552
598
  required: false,
599
+ skipPrompt: true,
553
600
  },
554
601
  {
555
602
  type: 'text',
556
603
  name: 'extendTokenExpires',
557
604
  message: 'extendTokenExpires',
558
605
  required: false,
606
+ skipPrompt: true,
559
607
  },
560
608
  ]);
561
609
  const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
@@ -129,30 +129,35 @@ async function handleCreate(argv, prompter) {
129
129
  name: 'username',
130
130
  message: 'username',
131
131
  required: false,
132
+ skipPrompt: true,
132
133
  },
133
134
  {
134
135
  type: 'text',
135
136
  name: 'displayName',
136
137
  message: 'displayName',
137
138
  required: false,
139
+ skipPrompt: true,
138
140
  },
139
141
  {
140
142
  type: 'text',
141
143
  name: 'profilePicture',
142
144
  message: 'profilePicture',
143
145
  required: false,
146
+ skipPrompt: true,
144
147
  },
145
148
  {
146
149
  type: 'text',
147
150
  name: 'searchTsv',
148
151
  message: 'searchTsv',
149
152
  required: false,
153
+ skipPrompt: true,
150
154
  },
151
155
  {
152
156
  type: 'text',
153
157
  name: 'type',
154
158
  message: 'type',
155
159
  required: false,
160
+ skipPrompt: true,
156
161
  },
157
162
  ]);
158
163
  const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
@@ -204,30 +209,35 @@ async function handleUpdate(argv, prompter) {
204
209
  name: 'username',
205
210
  message: 'username',
206
211
  required: false,
212
+ skipPrompt: true,
207
213
  },
208
214
  {
209
215
  type: 'text',
210
216
  name: 'displayName',
211
217
  message: 'displayName',
212
218
  required: false,
219
+ skipPrompt: true,
213
220
  },
214
221
  {
215
222
  type: 'text',
216
223
  name: 'profilePicture',
217
224
  message: 'profilePicture',
218
225
  required: false,
226
+ skipPrompt: true,
219
227
  },
220
228
  {
221
229
  type: 'text',
222
230
  name: 'searchTsv',
223
231
  message: 'searchTsv',
224
232
  required: false,
233
+ skipPrompt: true,
225
234
  },
226
235
  {
227
236
  type: 'text',
228
237
  name: 'type',
229
238
  message: 'type',
230
239
  required: false,
240
+ skipPrompt: true,
231
241
  },
232
242
  ]);
233
243
  const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
@@ -129,30 +129,35 @@ async function handleCreate(argv, prompter) {
129
129
  name: 'schemaId',
130
130
  message: 'schemaId',
131
131
  required: false,
132
+ skipPrompt: true,
132
133
  },
133
134
  {
134
135
  type: 'text',
135
136
  name: 'tableId',
136
137
  message: 'tableId',
137
138
  required: false,
139
+ skipPrompt: true,
138
140
  },
139
141
  {
140
142
  type: 'text',
141
143
  name: 'tableName',
142
144
  message: 'tableName',
143
145
  required: false,
146
+ skipPrompt: true,
144
147
  },
145
148
  {
146
149
  type: 'text',
147
150
  name: 'typeTableId',
148
151
  message: 'typeTableId',
149
152
  required: false,
153
+ skipPrompt: true,
150
154
  },
151
155
  {
152
156
  type: 'text',
153
157
  name: 'typeTableName',
154
158
  message: 'typeTableName',
155
159
  required: false,
160
+ skipPrompt: true,
156
161
  },
157
162
  ]);
158
163
  const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
@@ -209,30 +214,35 @@ async function handleUpdate(argv, prompter) {
209
214
  name: 'schemaId',
210
215
  message: 'schemaId',
211
216
  required: false,
217
+ skipPrompt: true,
212
218
  },
213
219
  {
214
220
  type: 'text',
215
221
  name: 'tableId',
216
222
  message: 'tableId',
217
223
  required: false,
224
+ skipPrompt: true,
218
225
  },
219
226
  {
220
227
  type: 'text',
221
228
  name: 'tableName',
222
229
  message: 'tableName',
223
230
  required: false,
231
+ skipPrompt: true,
224
232
  },
225
233
  {
226
234
  type: 'text',
227
235
  name: 'typeTableId',
228
236
  message: 'typeTableId',
229
237
  required: false,
238
+ skipPrompt: true,
230
239
  },
231
240
  {
232
241
  type: 'text',
233
242
  name: 'typeTableName',
234
243
  message: 'typeTableName',
235
244
  required: false,
245
+ skipPrompt: true,
236
246
  },
237
247
  ]);
238
248
  const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
@@ -123,12 +123,14 @@ async function handleCreate(argv, prompter) {
123
123
  name: 'schemaId',
124
124
  message: 'schemaId',
125
125
  required: false,
126
+ skipPrompt: true,
126
127
  },
127
128
  {
128
129
  type: 'text',
129
130
  name: 'uuidFunction',
130
131
  message: 'uuidFunction',
131
132
  required: false,
133
+ skipPrompt: true,
132
134
  },
133
135
  {
134
136
  type: 'text',
@@ -187,12 +189,14 @@ async function handleUpdate(argv, prompter) {
187
189
  name: 'schemaId',
188
190
  message: 'schemaId',
189
191
  required: false,
192
+ skipPrompt: true,
190
193
  },
191
194
  {
192
195
  type: 'text',
193
196
  name: 'uuidFunction',
194
197
  message: 'uuidFunction',
195
198
  required: false,
199
+ skipPrompt: true,
196
200
  },
197
201
  {
198
202
  type: 'text',
@@ -123,6 +123,7 @@ async function handleCreate(argv, prompter) {
123
123
  name: 'databaseId',
124
124
  message: 'databaseId',
125
125
  required: false,
126
+ skipPrompt: true,
126
127
  },
127
128
  {
128
129
  type: 'text',
@@ -147,12 +148,14 @@ async function handleCreate(argv, prompter) {
147
148
  name: 'withGrantOption',
148
149
  message: 'withGrantOption',
149
150
  required: false,
151
+ skipPrompt: true,
150
152
  },
151
153
  {
152
154
  type: 'text',
153
155
  name: 'isGrant',
154
156
  message: 'isGrant',
155
157
  required: false,
158
+ skipPrompt: true,
156
159
  },
157
160
  ]);
158
161
  const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
@@ -203,6 +206,7 @@ async function handleUpdate(argv, prompter) {
203
206
  name: 'databaseId',
204
207
  message: 'databaseId',
205
208
  required: false,
209
+ skipPrompt: true,
206
210
  },
207
211
  {
208
212
  type: 'text',
@@ -227,12 +231,14 @@ async function handleUpdate(argv, prompter) {
227
231
  name: 'withGrantOption',
228
232
  message: 'withGrantOption',
229
233
  required: false,
234
+ skipPrompt: true,
230
235
  },
231
236
  {
232
237
  type: 'text',
233
238
  name: 'isGrant',
234
239
  message: 'isGrant',
235
240
  required: false,
241
+ skipPrompt: true,
236
242
  },
237
243
  ]);
238
244
  const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);