@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
@@ -124,12 +124,14 @@ async function handleCreate(argv, prompter) {
124
124
  name: 'permissions',
125
125
  message: 'permissions',
126
126
  required: false,
127
+ skipPrompt: true,
127
128
  },
128
129
  {
129
130
  type: 'text',
130
131
  name: 'isGrant',
131
132
  message: 'isGrant',
132
133
  required: false,
134
+ skipPrompt: true,
133
135
  },
134
136
  {
135
137
  type: 'text',
@@ -148,6 +150,7 @@ async function handleCreate(argv, prompter) {
148
150
  name: 'grantorId',
149
151
  message: 'grantorId',
150
152
  required: false,
153
+ skipPrompt: true,
151
154
  },
152
155
  ]);
153
156
  const answers = coerceAnswers(rawAnswers, fieldSchema);
@@ -198,12 +201,14 @@ async function handleUpdate(argv, prompter) {
198
201
  name: 'permissions',
199
202
  message: 'permissions',
200
203
  required: false,
204
+ skipPrompt: true,
201
205
  },
202
206
  {
203
207
  type: 'text',
204
208
  name: 'isGrant',
205
209
  message: 'isGrant',
206
210
  required: false,
211
+ skipPrompt: true,
207
212
  },
208
213
  {
209
214
  type: 'text',
@@ -222,6 +227,7 @@ async function handleUpdate(argv, prompter) {
222
227
  name: 'grantorId',
223
228
  message: 'grantorId',
224
229
  required: false,
230
+ skipPrompt: true,
225
231
  },
226
232
  ]);
227
233
  const answers = coerceAnswers(rawAnswers, fieldSchema);
@@ -142,60 +142,70 @@ async function handleCreate(argv, prompter) {
142
142
  name: 'email',
143
143
  message: 'email',
144
144
  required: false,
145
+ skipPrompt: true,
145
146
  },
146
147
  {
147
148
  type: 'text',
148
149
  name: 'senderId',
149
150
  message: 'senderId',
150
151
  required: false,
152
+ skipPrompt: true,
151
153
  },
152
154
  {
153
155
  type: 'text',
154
156
  name: 'receiverId',
155
157
  message: 'receiverId',
156
158
  required: false,
159
+ skipPrompt: true,
157
160
  },
158
161
  {
159
162
  type: 'text',
160
163
  name: 'inviteToken',
161
164
  message: 'inviteToken',
162
165
  required: false,
166
+ skipPrompt: true,
163
167
  },
164
168
  {
165
169
  type: 'text',
166
170
  name: 'inviteValid',
167
171
  message: 'inviteValid',
168
172
  required: false,
173
+ skipPrompt: true,
169
174
  },
170
175
  {
171
176
  type: 'text',
172
177
  name: 'inviteLimit',
173
178
  message: 'inviteLimit',
174
179
  required: false,
180
+ skipPrompt: true,
175
181
  },
176
182
  {
177
183
  type: 'text',
178
184
  name: 'inviteCount',
179
185
  message: 'inviteCount',
180
186
  required: false,
187
+ skipPrompt: true,
181
188
  },
182
189
  {
183
190
  type: 'text',
184
191
  name: 'multiple',
185
192
  message: 'multiple',
186
193
  required: false,
194
+ skipPrompt: true,
187
195
  },
188
196
  {
189
197
  type: 'text',
190
198
  name: 'data',
191
199
  message: 'data',
192
200
  required: false,
201
+ skipPrompt: true,
193
202
  },
194
203
  {
195
204
  type: 'text',
196
205
  name: 'expiresAt',
197
206
  message: 'expiresAt',
198
207
  required: false,
208
+ skipPrompt: true,
199
209
  },
200
210
  {
201
211
  type: 'text',
@@ -264,60 +274,70 @@ async function handleUpdate(argv, prompter) {
264
274
  name: 'email',
265
275
  message: 'email',
266
276
  required: false,
277
+ skipPrompt: true,
267
278
  },
268
279
  {
269
280
  type: 'text',
270
281
  name: 'senderId',
271
282
  message: 'senderId',
272
283
  required: false,
284
+ skipPrompt: true,
273
285
  },
274
286
  {
275
287
  type: 'text',
276
288
  name: 'receiverId',
277
289
  message: 'receiverId',
278
290
  required: false,
291
+ skipPrompt: true,
279
292
  },
280
293
  {
281
294
  type: 'text',
282
295
  name: 'inviteToken',
283
296
  message: 'inviteToken',
284
297
  required: false,
298
+ skipPrompt: true,
285
299
  },
286
300
  {
287
301
  type: 'text',
288
302
  name: 'inviteValid',
289
303
  message: 'inviteValid',
290
304
  required: false,
305
+ skipPrompt: true,
291
306
  },
292
307
  {
293
308
  type: 'text',
294
309
  name: 'inviteLimit',
295
310
  message: 'inviteLimit',
296
311
  required: false,
312
+ skipPrompt: true,
297
313
  },
298
314
  {
299
315
  type: 'text',
300
316
  name: 'inviteCount',
301
317
  message: 'inviteCount',
302
318
  required: false,
319
+ skipPrompt: true,
303
320
  },
304
321
  {
305
322
  type: 'text',
306
323
  name: 'multiple',
307
324
  message: 'multiple',
308
325
  required: false,
326
+ skipPrompt: true,
309
327
  },
310
328
  {
311
329
  type: 'text',
312
330
  name: 'data',
313
331
  message: 'data',
314
332
  required: false,
333
+ skipPrompt: true,
315
334
  },
316
335
  {
317
336
  type: 'text',
318
337
  name: 'expiresAt',
319
338
  message: 'expiresAt',
320
339
  required: false,
340
+ skipPrompt: true,
321
341
  },
322
342
  {
323
343
  type: 'text',
@@ -115,6 +115,7 @@ async function handleCreate(argv, prompter) {
115
115
  name: 'max',
116
116
  message: 'max',
117
117
  required: false,
118
+ skipPrompt: true,
118
119
  },
119
120
  ]);
120
121
  const answers = coerceAnswers(rawAnswers, fieldSchema);
@@ -163,6 +164,7 @@ async function handleUpdate(argv, prompter) {
163
164
  name: 'max',
164
165
  message: 'max',
165
166
  required: false,
167
+ skipPrompt: true,
166
168
  },
167
169
  ]);
168
170
  const answers = coerceAnswers(rawAnswers, fieldSchema);
@@ -118,6 +118,7 @@ async function handleCreate(argv, prompter) {
118
118
  name: 'name',
119
119
  message: 'name',
120
120
  required: false,
121
+ skipPrompt: true,
121
122
  },
122
123
  {
123
124
  type: 'text',
@@ -130,12 +131,14 @@ async function handleCreate(argv, prompter) {
130
131
  name: 'num',
131
132
  message: 'num',
132
133
  required: false,
134
+ skipPrompt: true,
133
135
  },
134
136
  {
135
137
  type: 'text',
136
138
  name: 'max',
137
139
  message: 'max',
138
140
  required: false,
141
+ skipPrompt: true,
139
142
  },
140
143
  {
141
144
  type: 'text',
@@ -190,6 +193,7 @@ async function handleUpdate(argv, prompter) {
190
193
  name: 'name',
191
194
  message: 'name',
192
195
  required: false,
196
+ skipPrompt: true,
193
197
  },
194
198
  {
195
199
  type: 'text',
@@ -202,12 +206,14 @@ async function handleUpdate(argv, prompter) {
202
206
  name: 'num',
203
207
  message: 'num',
204
208
  required: false,
209
+ skipPrompt: true,
205
210
  },
206
211
  {
207
212
  type: 'text',
208
213
  name: 'max',
209
214
  message: 'max',
210
215
  required: false,
216
+ skipPrompt: true,
211
217
  },
212
218
  {
213
219
  type: 'text',
@@ -112,6 +112,7 @@ async function handleCreate(argv, prompter) {
112
112
  name: 'isAdmin',
113
113
  message: 'isAdmin',
114
114
  required: false,
115
+ skipPrompt: true,
115
116
  },
116
117
  {
117
118
  type: 'text',
@@ -168,6 +169,7 @@ async function handleUpdate(argv, prompter) {
168
169
  name: 'isAdmin',
169
170
  message: 'isAdmin',
170
171
  required: false,
172
+ skipPrompt: true,
171
173
  },
172
174
  {
173
175
  type: 'text',
@@ -127,18 +127,21 @@ async function handleCreate(argv, prompter) {
127
127
  name: 'createdBy',
128
128
  message: 'createdBy',
129
129
  required: false,
130
+ skipPrompt: true,
130
131
  },
131
132
  {
132
133
  type: 'text',
133
134
  name: 'updatedBy',
134
135
  message: 'updatedBy',
135
136
  required: false,
137
+ skipPrompt: true,
136
138
  },
137
139
  {
138
140
  type: 'text',
139
141
  name: 'isApproved',
140
142
  message: 'isApproved',
141
143
  required: false,
144
+ skipPrompt: true,
142
145
  },
143
146
  {
144
147
  type: 'text',
@@ -151,12 +154,14 @@ async function handleCreate(argv, prompter) {
151
154
  name: 'deleteMemberCascadeGroups',
152
155
  message: 'deleteMemberCascadeGroups',
153
156
  required: false,
157
+ skipPrompt: true,
154
158
  },
155
159
  {
156
160
  type: 'text',
157
161
  name: 'createGroupsCascadeMembers',
158
162
  message: 'createGroupsCascadeMembers',
159
163
  required: false,
164
+ skipPrompt: true,
160
165
  },
161
166
  ]);
162
167
  const answers = coerceAnswers(rawAnswers, fieldSchema);
@@ -209,18 +214,21 @@ async function handleUpdate(argv, prompter) {
209
214
  name: 'createdBy',
210
215
  message: 'createdBy',
211
216
  required: false,
217
+ skipPrompt: true,
212
218
  },
213
219
  {
214
220
  type: 'text',
215
221
  name: 'updatedBy',
216
222
  message: 'updatedBy',
217
223
  required: false,
224
+ skipPrompt: true,
218
225
  },
219
226
  {
220
227
  type: 'text',
221
228
  name: 'isApproved',
222
229
  message: 'isApproved',
223
230
  required: false,
231
+ skipPrompt: true,
224
232
  },
225
233
  {
226
234
  type: 'text',
@@ -233,12 +241,14 @@ async function handleUpdate(argv, prompter) {
233
241
  name: 'deleteMemberCascadeGroups',
234
242
  message: 'deleteMemberCascadeGroups',
235
243
  required: false,
244
+ skipPrompt: true,
236
245
  },
237
246
  {
238
247
  type: 'text',
239
248
  name: 'createGroupsCascadeMembers',
240
249
  message: 'createGroupsCascadeMembers',
241
250
  required: false,
251
+ skipPrompt: true,
242
252
  },
243
253
  ]);
244
254
  const answers = coerceAnswers(rawAnswers, fieldSchema);
@@ -148,60 +148,70 @@ async function handleCreate(argv, prompter) {
148
148
  name: 'createdBy',
149
149
  message: 'createdBy',
150
150
  required: false,
151
+ skipPrompt: true,
151
152
  },
152
153
  {
153
154
  type: 'text',
154
155
  name: 'updatedBy',
155
156
  message: 'updatedBy',
156
157
  required: false,
158
+ skipPrompt: true,
157
159
  },
158
160
  {
159
161
  type: 'text',
160
162
  name: 'isApproved',
161
163
  message: 'isApproved',
162
164
  required: false,
165
+ skipPrompt: true,
163
166
  },
164
167
  {
165
168
  type: 'text',
166
169
  name: 'isBanned',
167
170
  message: 'isBanned',
168
171
  required: false,
172
+ skipPrompt: true,
169
173
  },
170
174
  {
171
175
  type: 'text',
172
176
  name: 'isDisabled',
173
177
  message: 'isDisabled',
174
178
  required: false,
179
+ skipPrompt: true,
175
180
  },
176
181
  {
177
182
  type: 'text',
178
183
  name: 'isActive',
179
184
  message: 'isActive',
180
185
  required: false,
186
+ skipPrompt: true,
181
187
  },
182
188
  {
183
189
  type: 'text',
184
190
  name: 'isOwner',
185
191
  message: 'isOwner',
186
192
  required: false,
193
+ skipPrompt: true,
187
194
  },
188
195
  {
189
196
  type: 'text',
190
197
  name: 'isAdmin',
191
198
  message: 'isAdmin',
192
199
  required: false,
200
+ skipPrompt: true,
193
201
  },
194
202
  {
195
203
  type: 'text',
196
204
  name: 'permissions',
197
205
  message: 'permissions',
198
206
  required: false,
207
+ skipPrompt: true,
199
208
  },
200
209
  {
201
210
  type: 'text',
202
211
  name: 'granted',
203
212
  message: 'granted',
204
213
  required: false,
214
+ skipPrompt: true,
205
215
  },
206
216
  {
207
217
  type: 'text',
@@ -220,6 +230,7 @@ async function handleCreate(argv, prompter) {
220
230
  name: 'profileId',
221
231
  message: 'profileId',
222
232
  required: false,
233
+ skipPrompt: true,
223
234
  },
224
235
  ]);
225
236
  const answers = coerceAnswers(rawAnswers, fieldSchema);
@@ -286,60 +297,70 @@ async function handleUpdate(argv, prompter) {
286
297
  name: 'createdBy',
287
298
  message: 'createdBy',
288
299
  required: false,
300
+ skipPrompt: true,
289
301
  },
290
302
  {
291
303
  type: 'text',
292
304
  name: 'updatedBy',
293
305
  message: 'updatedBy',
294
306
  required: false,
307
+ skipPrompt: true,
295
308
  },
296
309
  {
297
310
  type: 'text',
298
311
  name: 'isApproved',
299
312
  message: 'isApproved',
300
313
  required: false,
314
+ skipPrompt: true,
301
315
  },
302
316
  {
303
317
  type: 'text',
304
318
  name: 'isBanned',
305
319
  message: 'isBanned',
306
320
  required: false,
321
+ skipPrompt: true,
307
322
  },
308
323
  {
309
324
  type: 'text',
310
325
  name: 'isDisabled',
311
326
  message: 'isDisabled',
312
327
  required: false,
328
+ skipPrompt: true,
313
329
  },
314
330
  {
315
331
  type: 'text',
316
332
  name: 'isActive',
317
333
  message: 'isActive',
318
334
  required: false,
335
+ skipPrompt: true,
319
336
  },
320
337
  {
321
338
  type: 'text',
322
339
  name: 'isOwner',
323
340
  message: 'isOwner',
324
341
  required: false,
342
+ skipPrompt: true,
325
343
  },
326
344
  {
327
345
  type: 'text',
328
346
  name: 'isAdmin',
329
347
  message: 'isAdmin',
330
348
  required: false,
349
+ skipPrompt: true,
331
350
  },
332
351
  {
333
352
  type: 'text',
334
353
  name: 'permissions',
335
354
  message: 'permissions',
336
355
  required: false,
356
+ skipPrompt: true,
337
357
  },
338
358
  {
339
359
  type: 'text',
340
360
  name: 'granted',
341
361
  message: 'granted',
342
362
  required: false,
363
+ skipPrompt: true,
343
364
  },
344
365
  {
345
366
  type: 'text',
@@ -358,6 +379,7 @@ async function handleUpdate(argv, prompter) {
358
379
  name: 'profileId',
359
380
  message: 'profileId',
360
381
  required: false,
382
+ skipPrompt: true,
361
383
  },
362
384
  ]);
363
385
  const answers = coerceAnswers(rawAnswers, fieldSchema);
@@ -121,6 +121,7 @@ async function handleCreate(argv, prompter) {
121
121
  name: 'isGrant',
122
122
  message: 'isGrant',
123
123
  required: false,
124
+ skipPrompt: true,
124
125
  },
125
126
  {
126
127
  type: 'text',
@@ -139,6 +140,7 @@ async function handleCreate(argv, prompter) {
139
140
  name: 'grantorId',
140
141
  message: 'grantorId',
141
142
  required: false,
143
+ skipPrompt: true,
142
144
  },
143
145
  ]);
144
146
  const answers = coerceAnswers(rawAnswers, fieldSchema);
@@ -187,6 +189,7 @@ async function handleUpdate(argv, prompter) {
187
189
  name: 'isGrant',
188
190
  message: 'isGrant',
189
191
  required: false,
192
+ skipPrompt: true,
190
193
  },
191
194
  {
192
195
  type: 'text',
@@ -205,6 +208,7 @@ async function handleUpdate(argv, prompter) {
205
208
  name: 'grantorId',
206
209
  message: 'grantorId',
207
210
  required: false,
211
+ skipPrompt: true,
208
212
  },
209
213
  ]);
210
214
  const answers = coerceAnswers(rawAnswers, fieldSchema);
@@ -109,6 +109,7 @@ async function handleCreate(argv, prompter) {
109
109
  name: 'permissions',
110
110
  message: 'permissions',
111
111
  required: false,
112
+ skipPrompt: true,
112
113
  },
113
114
  {
114
115
  type: 'text',
@@ -157,6 +158,7 @@ async function handleUpdate(argv, prompter) {
157
158
  name: 'permissions',
158
159
  message: 'permissions',
159
160
  required: false,
161
+ skipPrompt: true,
160
162
  },
161
163
  {
162
164
  type: 'text',
@@ -115,24 +115,28 @@ async function handleCreate(argv, prompter) {
115
115
  name: 'name',
116
116
  message: 'name',
117
117
  required: false,
118
+ skipPrompt: true,
118
119
  },
119
120
  {
120
121
  type: 'text',
121
122
  name: 'bitnum',
122
123
  message: 'bitnum',
123
124
  required: false,
125
+ skipPrompt: true,
124
126
  },
125
127
  {
126
128
  type: 'text',
127
129
  name: 'bitstr',
128
130
  message: 'bitstr',
129
131
  required: false,
132
+ skipPrompt: true,
130
133
  },
131
134
  {
132
135
  type: 'text',
133
136
  name: 'description',
134
137
  message: 'description',
135
138
  required: false,
139
+ skipPrompt: true,
136
140
  },
137
141
  ]);
138
142
  const answers = coerceAnswers(rawAnswers, fieldSchema);
@@ -179,24 +183,28 @@ async function handleUpdate(argv, prompter) {
179
183
  name: 'name',
180
184
  message: 'name',
181
185
  required: false,
186
+ skipPrompt: true,
182
187
  },
183
188
  {
184
189
  type: 'text',
185
190
  name: 'bitnum',
186
191
  message: 'bitnum',
187
192
  required: false,
193
+ skipPrompt: true,
188
194
  },
189
195
  {
190
196
  type: 'text',
191
197
  name: 'bitstr',
192
198
  message: 'bitstr',
193
199
  required: false,
200
+ skipPrompt: true,
194
201
  },
195
202
  {
196
203
  type: 'text',
197
204
  name: 'description',
198
205
  message: 'description',
199
206
  required: false,
207
+ skipPrompt: true,
200
208
  },
201
209
  ]);
202
210
  const answers = coerceAnswers(rawAnswers, fieldSchema);