@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.
- package/admin/cli/commands/app-achievement.js +4 -0
- package/admin/cli/commands/app-admin-grant.js +4 -0
- package/admin/cli/commands/app-grant.js +6 -0
- package/admin/cli/commands/app-level-requirement.js +6 -0
- package/admin/cli/commands/app-level.js +6 -0
- package/admin/cli/commands/app-limit-default.js +2 -0
- package/admin/cli/commands/app-limit.js +6 -0
- package/admin/cli/commands/app-membership-default.js +8 -0
- package/admin/cli/commands/app-membership.js +24 -0
- package/admin/cli/commands/app-owner-grant.js +4 -0
- package/admin/cli/commands/app-permission-default.js +2 -0
- package/admin/cli/commands/app-permission.js +8 -0
- package/admin/cli/commands/app-step.js +4 -0
- package/admin/cli/commands/claimed-invite.js +6 -0
- package/admin/cli/commands/invite.js +18 -0
- package/admin/cli/commands/org-admin-grant.js +4 -0
- package/admin/cli/commands/org-chart-edge-grant.js +8 -0
- package/admin/cli/commands/org-chart-edge.js +6 -0
- package/admin/cli/commands/org-claimed-invite.js +6 -0
- package/admin/cli/commands/org-grant.js +6 -0
- package/admin/cli/commands/org-invite.js +20 -0
- package/admin/cli/commands/org-limit-default.js +2 -0
- package/admin/cli/commands/org-limit.js +6 -0
- package/admin/cli/commands/org-member.js +2 -0
- package/admin/cli/commands/org-membership-default.js +10 -0
- package/admin/cli/commands/org-membership.js +22 -0
- package/admin/cli/commands/org-owner-grant.js +4 -0
- package/admin/cli/commands/org-permission-default.js +2 -0
- package/admin/cli/commands/org-permission.js +8 -0
- package/auth/cli/commands/audit-log.js +8 -0
- package/auth/cli/commands/connected-account.js +4 -0
- package/auth/cli/commands/crypto-address.js +6 -0
- package/auth/cli/commands/email.js +6 -0
- package/auth/cli/commands/phone-number.js +6 -0
- package/auth/cli/commands/user.js +10 -0
- package/esm/admin/cli/commands/app-achievement.js +4 -0
- package/esm/admin/cli/commands/app-admin-grant.js +4 -0
- package/esm/admin/cli/commands/app-grant.js +6 -0
- package/esm/admin/cli/commands/app-level-requirement.js +6 -0
- package/esm/admin/cli/commands/app-level.js +6 -0
- package/esm/admin/cli/commands/app-limit-default.js +2 -0
- package/esm/admin/cli/commands/app-limit.js +6 -0
- package/esm/admin/cli/commands/app-membership-default.js +8 -0
- package/esm/admin/cli/commands/app-membership.js +24 -0
- package/esm/admin/cli/commands/app-owner-grant.js +4 -0
- package/esm/admin/cli/commands/app-permission-default.js +2 -0
- package/esm/admin/cli/commands/app-permission.js +8 -0
- package/esm/admin/cli/commands/app-step.js +4 -0
- package/esm/admin/cli/commands/claimed-invite.js +6 -0
- package/esm/admin/cli/commands/invite.js +18 -0
- package/esm/admin/cli/commands/org-admin-grant.js +4 -0
- package/esm/admin/cli/commands/org-chart-edge-grant.js +8 -0
- package/esm/admin/cli/commands/org-chart-edge.js +6 -0
- package/esm/admin/cli/commands/org-claimed-invite.js +6 -0
- package/esm/admin/cli/commands/org-grant.js +6 -0
- package/esm/admin/cli/commands/org-invite.js +20 -0
- package/esm/admin/cli/commands/org-limit-default.js +2 -0
- package/esm/admin/cli/commands/org-limit.js +6 -0
- package/esm/admin/cli/commands/org-member.js +2 -0
- package/esm/admin/cli/commands/org-membership-default.js +10 -0
- package/esm/admin/cli/commands/org-membership.js +22 -0
- package/esm/admin/cli/commands/org-owner-grant.js +4 -0
- package/esm/admin/cli/commands/org-permission-default.js +2 -0
- package/esm/admin/cli/commands/org-permission.js +8 -0
- package/esm/auth/cli/commands/audit-log.js +8 -0
- package/esm/auth/cli/commands/connected-account.js +4 -0
- package/esm/auth/cli/commands/crypto-address.js +6 -0
- package/esm/auth/cli/commands/email.js +6 -0
- package/esm/auth/cli/commands/phone-number.js +6 -0
- package/esm/auth/cli/commands/user.js +10 -0
- package/esm/objects/cli/commands/commit.js +12 -0
- package/esm/objects/cli/commands/object.js +8 -0
- package/esm/objects/cli/commands/ref.js +2 -0
- package/esm/objects/cli/commands/store.js +2 -0
- package/esm/public/cli/commands/api.js +8 -0
- package/esm/public/cli/commands/app-achievement.js +4 -0
- package/esm/public/cli/commands/app-admin-grant.js +4 -0
- package/esm/public/cli/commands/app-grant.js +6 -0
- package/esm/public/cli/commands/app-level-requirement.js +6 -0
- package/esm/public/cli/commands/app-level.js +6 -0
- package/esm/public/cli/commands/app-limit-default.js +2 -0
- package/esm/public/cli/commands/app-limit.js +6 -0
- package/esm/public/cli/commands/app-membership-default.js +8 -0
- package/esm/public/cli/commands/app-membership.js +24 -0
- package/esm/public/cli/commands/app-owner-grant.js +4 -0
- package/esm/public/cli/commands/app-permission-default.js +2 -0
- package/esm/public/cli/commands/app-permission.js +8 -0
- package/esm/public/cli/commands/app-step.js +4 -0
- package/esm/public/cli/commands/app.js +12 -0
- package/esm/public/cli/commands/ast-migration.js +11 -0
- package/esm/public/cli/commands/audit-log.js +8 -0
- package/esm/public/cli/commands/check-constraint.js +18 -0
- package/esm/public/cli/commands/claimed-invite.js +6 -0
- package/esm/public/cli/commands/commit.js +12 -0
- package/esm/public/cli/commands/connected-account.js +4 -0
- package/esm/public/cli/commands/connected-accounts-module.js +8 -0
- package/esm/public/cli/commands/crypto-address.js +6 -0
- package/esm/public/cli/commands/crypto-addresses-module.js +10 -0
- package/esm/public/cli/commands/crypto-auth-module.js +22 -0
- package/esm/public/cli/commands/database-provision-module.js +16 -0
- package/esm/public/cli/commands/database.js +10 -0
- package/esm/public/cli/commands/default-privilege.js +4 -0
- package/esm/public/cli/commands/denormalized-table-field.js +12 -0
- package/esm/public/cli/commands/domain.js +8 -0
- package/esm/public/cli/commands/email.js +6 -0
- package/esm/public/cli/commands/emails-module.js +8 -0
- package/esm/public/cli/commands/encrypted-secrets-module.js +6 -0
- package/esm/public/cli/commands/field-module.js +12 -0
- package/esm/public/cli/commands/field.js +36 -0
- package/esm/public/cli/commands/foreign-key-constraint.js +22 -0
- package/esm/public/cli/commands/full-text-search.js +2 -0
- package/esm/public/cli/commands/hierarchy-module.js +30 -0
- package/esm/public/cli/commands/index.js +24 -0
- package/esm/public/cli/commands/invite.js +18 -0
- package/esm/public/cli/commands/invites-module.js +22 -0
- package/esm/public/cli/commands/levels-module.js +46 -0
- package/esm/public/cli/commands/limits-module.js +30 -0
- package/esm/public/cli/commands/membership-types-module.js +6 -0
- package/esm/public/cli/commands/memberships-module.js +56 -0
- package/esm/public/cli/commands/node-type-registry.js +8 -0
- package/esm/public/cli/commands/object.js +8 -0
- package/esm/public/cli/commands/org-admin-grant.js +4 -0
- package/esm/public/cli/commands/org-chart-edge-grant.js +8 -0
- package/esm/public/cli/commands/org-chart-edge.js +6 -0
- package/esm/public/cli/commands/org-claimed-invite.js +6 -0
- package/esm/public/cli/commands/org-grant.js +6 -0
- package/esm/public/cli/commands/org-invite.js +20 -0
- package/esm/public/cli/commands/org-limit-default.js +2 -0
- package/esm/public/cli/commands/org-limit.js +6 -0
- package/esm/public/cli/commands/org-member.js +2 -0
- package/esm/public/cli/commands/org-membership-default.js +10 -0
- package/esm/public/cli/commands/org-membership.js +22 -0
- package/esm/public/cli/commands/org-owner-grant.js +4 -0
- package/esm/public/cli/commands/org-permission-default.js +2 -0
- package/esm/public/cli/commands/org-permission.js +8 -0
- package/esm/public/cli/commands/permissions-module.js +28 -0
- package/esm/public/cli/commands/phone-number.js +6 -0
- package/esm/public/cli/commands/phone-numbers-module.js +8 -0
- package/esm/public/cli/commands/policy.js +26 -0
- package/esm/public/cli/commands/primary-key-constraint.js +16 -0
- package/esm/public/cli/commands/profiles-module.js +30 -0
- package/esm/public/cli/commands/ref.js +2 -0
- package/esm/public/cli/commands/relation-provision.js +46 -0
- package/esm/public/cli/commands/rls-module.js +20 -0
- package/esm/public/cli/commands/schema-grant.js +2 -0
- package/esm/public/cli/commands/schema.js +16 -0
- package/esm/public/cli/commands/secrets-module.js +6 -0
- package/esm/public/cli/commands/secure-table-provision.js +30 -0
- package/esm/public/cli/commands/sessions-module.js +18 -0
- package/esm/public/cli/commands/site-metadatum.js +6 -0
- package/esm/public/cli/commands/site.js +14 -0
- package/esm/public/cli/commands/sql-migration.js +11 -0
- package/esm/public/cli/commands/store.js +2 -0
- package/esm/public/cli/commands/table-grant.js +6 -0
- package/esm/public/cli/commands/table-module.js +12 -0
- package/esm/public/cli/commands/table-template-module.js +10 -0
- package/esm/public/cli/commands/table.js +28 -0
- package/esm/public/cli/commands/trigger-function.js +2 -0
- package/esm/public/cli/commands/trigger.js +16 -0
- package/esm/public/cli/commands/unique-constraint.js +18 -0
- package/esm/public/cli/commands/user-auth-module.js +48 -0
- package/esm/public/cli/commands/user.js +10 -0
- package/esm/public/cli/commands/users-module.js +10 -0
- package/esm/public/cli/commands/uuid-module.js +4 -0
- package/esm/public/cli/commands/view-grant.js +6 -0
- package/esm/public/cli/commands/view-rule.js +4 -0
- package/esm/public/cli/commands/view-table.js +2 -0
- package/esm/public/cli/commands/view.js +24 -0
- package/objects/cli/commands/commit.js +12 -0
- package/objects/cli/commands/object.js +8 -0
- package/objects/cli/commands/ref.js +2 -0
- package/objects/cli/commands/store.js +2 -0
- package/package.json +4 -4
- package/public/cli/commands/api.js +8 -0
- package/public/cli/commands/app-achievement.js +4 -0
- package/public/cli/commands/app-admin-grant.js +4 -0
- package/public/cli/commands/app-grant.js +6 -0
- package/public/cli/commands/app-level-requirement.js +6 -0
- package/public/cli/commands/app-level.js +6 -0
- package/public/cli/commands/app-limit-default.js +2 -0
- package/public/cli/commands/app-limit.js +6 -0
- package/public/cli/commands/app-membership-default.js +8 -0
- package/public/cli/commands/app-membership.js +24 -0
- package/public/cli/commands/app-owner-grant.js +4 -0
- package/public/cli/commands/app-permission-default.js +2 -0
- package/public/cli/commands/app-permission.js +8 -0
- package/public/cli/commands/app-step.js +4 -0
- package/public/cli/commands/app.js +12 -0
- package/public/cli/commands/ast-migration.js +11 -0
- package/public/cli/commands/audit-log.js +8 -0
- package/public/cli/commands/check-constraint.js +18 -0
- package/public/cli/commands/claimed-invite.js +6 -0
- package/public/cli/commands/commit.js +12 -0
- package/public/cli/commands/connected-account.js +4 -0
- package/public/cli/commands/connected-accounts-module.js +8 -0
- package/public/cli/commands/crypto-address.js +6 -0
- package/public/cli/commands/crypto-addresses-module.js +10 -0
- package/public/cli/commands/crypto-auth-module.js +22 -0
- package/public/cli/commands/database-provision-module.js +16 -0
- package/public/cli/commands/database.js +10 -0
- package/public/cli/commands/default-privilege.js +4 -0
- package/public/cli/commands/denormalized-table-field.js +12 -0
- package/public/cli/commands/domain.js +8 -0
- package/public/cli/commands/email.js +6 -0
- package/public/cli/commands/emails-module.js +8 -0
- package/public/cli/commands/encrypted-secrets-module.js +6 -0
- package/public/cli/commands/field-module.js +12 -0
- package/public/cli/commands/field.js +36 -0
- package/public/cli/commands/foreign-key-constraint.js +22 -0
- package/public/cli/commands/full-text-search.js +2 -0
- package/public/cli/commands/hierarchy-module.js +30 -0
- package/public/cli/commands/index.js +24 -0
- package/public/cli/commands/invite.js +18 -0
- package/public/cli/commands/invites-module.js +22 -0
- package/public/cli/commands/levels-module.js +46 -0
- package/public/cli/commands/limits-module.js +30 -0
- package/public/cli/commands/membership-types-module.js +6 -0
- package/public/cli/commands/memberships-module.js +56 -0
- package/public/cli/commands/node-type-registry.js +8 -0
- package/public/cli/commands/object.js +8 -0
- package/public/cli/commands/org-admin-grant.js +4 -0
- package/public/cli/commands/org-chart-edge-grant.js +8 -0
- package/public/cli/commands/org-chart-edge.js +6 -0
- package/public/cli/commands/org-claimed-invite.js +6 -0
- package/public/cli/commands/org-grant.js +6 -0
- package/public/cli/commands/org-invite.js +20 -0
- package/public/cli/commands/org-limit-default.js +2 -0
- package/public/cli/commands/org-limit.js +6 -0
- package/public/cli/commands/org-member.js +2 -0
- package/public/cli/commands/org-membership-default.js +10 -0
- package/public/cli/commands/org-membership.js +22 -0
- package/public/cli/commands/org-owner-grant.js +4 -0
- package/public/cli/commands/org-permission-default.js +2 -0
- package/public/cli/commands/org-permission.js +8 -0
- package/public/cli/commands/permissions-module.js +28 -0
- package/public/cli/commands/phone-number.js +6 -0
- package/public/cli/commands/phone-numbers-module.js +8 -0
- package/public/cli/commands/policy.js +26 -0
- package/public/cli/commands/primary-key-constraint.js +16 -0
- package/public/cli/commands/profiles-module.js +30 -0
- package/public/cli/commands/ref.js +2 -0
- package/public/cli/commands/relation-provision.js +46 -0
- package/public/cli/commands/rls-module.js +20 -0
- package/public/cli/commands/schema-grant.js +2 -0
- package/public/cli/commands/schema.js +16 -0
- package/public/cli/commands/secrets-module.js +6 -0
- package/public/cli/commands/secure-table-provision.js +30 -0
- package/public/cli/commands/sessions-module.js +18 -0
- package/public/cli/commands/site-metadatum.js +6 -0
- package/public/cli/commands/site.js +14 -0
- package/public/cli/commands/sql-migration.js +11 -0
- package/public/cli/commands/store.js +2 -0
- package/public/cli/commands/table-grant.js +6 -0
- package/public/cli/commands/table-module.js +12 -0
- package/public/cli/commands/table-template-module.js +10 -0
- package/public/cli/commands/table.js +28 -0
- package/public/cli/commands/trigger-function.js +2 -0
- package/public/cli/commands/trigger.js +16 -0
- package/public/cli/commands/unique-constraint.js +18 -0
- package/public/cli/commands/user-auth-module.js +48 -0
- package/public/cli/commands/user.js +10 -0
- package/public/cli/commands/users-module.js +10 -0
- package/public/cli/commands/uuid-module.js +4 -0
- package/public/cli/commands/view-grant.js +6 -0
- package/public/cli/commands/view-rule.js +4 -0
- package/public/cli/commands/view-table.js +2 -0
- package/public/cli/commands/view.js +24 -0
|
@@ -166,48 +166,56 @@ async function handleCreate(argv, prompter) {
|
|
|
166
166
|
name: 'schemaId',
|
|
167
167
|
message: 'schemaId',
|
|
168
168
|
required: false,
|
|
169
|
+
skipPrompt: true,
|
|
169
170
|
},
|
|
170
171
|
{
|
|
171
172
|
type: 'text',
|
|
172
173
|
name: 'privateSchemaId',
|
|
173
174
|
message: 'privateSchemaId',
|
|
174
175
|
required: false,
|
|
176
|
+
skipPrompt: true,
|
|
175
177
|
},
|
|
176
178
|
{
|
|
177
179
|
type: 'text',
|
|
178
180
|
name: 'chartEdgesTableId',
|
|
179
181
|
message: 'chartEdgesTableId',
|
|
180
182
|
required: false,
|
|
183
|
+
skipPrompt: true,
|
|
181
184
|
},
|
|
182
185
|
{
|
|
183
186
|
type: 'text',
|
|
184
187
|
name: 'chartEdgesTableName',
|
|
185
188
|
message: 'chartEdgesTableName',
|
|
186
189
|
required: false,
|
|
190
|
+
skipPrompt: true,
|
|
187
191
|
},
|
|
188
192
|
{
|
|
189
193
|
type: 'text',
|
|
190
194
|
name: 'hierarchySprtTableId',
|
|
191
195
|
message: 'hierarchySprtTableId',
|
|
192
196
|
required: false,
|
|
197
|
+
skipPrompt: true,
|
|
193
198
|
},
|
|
194
199
|
{
|
|
195
200
|
type: 'text',
|
|
196
201
|
name: 'hierarchySprtTableName',
|
|
197
202
|
message: 'hierarchySprtTableName',
|
|
198
203
|
required: false,
|
|
204
|
+
skipPrompt: true,
|
|
199
205
|
},
|
|
200
206
|
{
|
|
201
207
|
type: 'text',
|
|
202
208
|
name: 'chartEdgeGrantsTableId',
|
|
203
209
|
message: 'chartEdgeGrantsTableId',
|
|
204
210
|
required: false,
|
|
211
|
+
skipPrompt: true,
|
|
205
212
|
},
|
|
206
213
|
{
|
|
207
214
|
type: 'text',
|
|
208
215
|
name: 'chartEdgeGrantsTableName',
|
|
209
216
|
message: 'chartEdgeGrantsTableName',
|
|
210
217
|
required: false,
|
|
218
|
+
skipPrompt: true,
|
|
211
219
|
},
|
|
212
220
|
{
|
|
213
221
|
type: 'text',
|
|
@@ -226,42 +234,49 @@ async function handleCreate(argv, prompter) {
|
|
|
226
234
|
name: 'prefix',
|
|
227
235
|
message: 'prefix',
|
|
228
236
|
required: false,
|
|
237
|
+
skipPrompt: true,
|
|
229
238
|
},
|
|
230
239
|
{
|
|
231
240
|
type: 'text',
|
|
232
241
|
name: 'privateSchemaName',
|
|
233
242
|
message: 'privateSchemaName',
|
|
234
243
|
required: false,
|
|
244
|
+
skipPrompt: true,
|
|
235
245
|
},
|
|
236
246
|
{
|
|
237
247
|
type: 'text',
|
|
238
248
|
name: 'sprtTableName',
|
|
239
249
|
message: 'sprtTableName',
|
|
240
250
|
required: false,
|
|
251
|
+
skipPrompt: true,
|
|
241
252
|
},
|
|
242
253
|
{
|
|
243
254
|
type: 'text',
|
|
244
255
|
name: 'rebuildHierarchyFunction',
|
|
245
256
|
message: 'rebuildHierarchyFunction',
|
|
246
257
|
required: false,
|
|
258
|
+
skipPrompt: true,
|
|
247
259
|
},
|
|
248
260
|
{
|
|
249
261
|
type: 'text',
|
|
250
262
|
name: 'getSubordinatesFunction',
|
|
251
263
|
message: 'getSubordinatesFunction',
|
|
252
264
|
required: false,
|
|
265
|
+
skipPrompt: true,
|
|
253
266
|
},
|
|
254
267
|
{
|
|
255
268
|
type: 'text',
|
|
256
269
|
name: 'getManagersFunction',
|
|
257
270
|
message: 'getManagersFunction',
|
|
258
271
|
required: false,
|
|
272
|
+
skipPrompt: true,
|
|
259
273
|
},
|
|
260
274
|
{
|
|
261
275
|
type: 'text',
|
|
262
276
|
name: 'isManagerOfFunction',
|
|
263
277
|
message: 'isManagerOfFunction',
|
|
264
278
|
required: false,
|
|
279
|
+
skipPrompt: true,
|
|
265
280
|
},
|
|
266
281
|
]);
|
|
267
282
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
@@ -343,48 +358,56 @@ async function handleUpdate(argv, prompter) {
|
|
|
343
358
|
name: 'schemaId',
|
|
344
359
|
message: 'schemaId',
|
|
345
360
|
required: false,
|
|
361
|
+
skipPrompt: true,
|
|
346
362
|
},
|
|
347
363
|
{
|
|
348
364
|
type: 'text',
|
|
349
365
|
name: 'privateSchemaId',
|
|
350
366
|
message: 'privateSchemaId',
|
|
351
367
|
required: false,
|
|
368
|
+
skipPrompt: true,
|
|
352
369
|
},
|
|
353
370
|
{
|
|
354
371
|
type: 'text',
|
|
355
372
|
name: 'chartEdgesTableId',
|
|
356
373
|
message: 'chartEdgesTableId',
|
|
357
374
|
required: false,
|
|
375
|
+
skipPrompt: true,
|
|
358
376
|
},
|
|
359
377
|
{
|
|
360
378
|
type: 'text',
|
|
361
379
|
name: 'chartEdgesTableName',
|
|
362
380
|
message: 'chartEdgesTableName',
|
|
363
381
|
required: false,
|
|
382
|
+
skipPrompt: true,
|
|
364
383
|
},
|
|
365
384
|
{
|
|
366
385
|
type: 'text',
|
|
367
386
|
name: 'hierarchySprtTableId',
|
|
368
387
|
message: 'hierarchySprtTableId',
|
|
369
388
|
required: false,
|
|
389
|
+
skipPrompt: true,
|
|
370
390
|
},
|
|
371
391
|
{
|
|
372
392
|
type: 'text',
|
|
373
393
|
name: 'hierarchySprtTableName',
|
|
374
394
|
message: 'hierarchySprtTableName',
|
|
375
395
|
required: false,
|
|
396
|
+
skipPrompt: true,
|
|
376
397
|
},
|
|
377
398
|
{
|
|
378
399
|
type: 'text',
|
|
379
400
|
name: 'chartEdgeGrantsTableId',
|
|
380
401
|
message: 'chartEdgeGrantsTableId',
|
|
381
402
|
required: false,
|
|
403
|
+
skipPrompt: true,
|
|
382
404
|
},
|
|
383
405
|
{
|
|
384
406
|
type: 'text',
|
|
385
407
|
name: 'chartEdgeGrantsTableName',
|
|
386
408
|
message: 'chartEdgeGrantsTableName',
|
|
387
409
|
required: false,
|
|
410
|
+
skipPrompt: true,
|
|
388
411
|
},
|
|
389
412
|
{
|
|
390
413
|
type: 'text',
|
|
@@ -403,42 +426,49 @@ async function handleUpdate(argv, prompter) {
|
|
|
403
426
|
name: 'prefix',
|
|
404
427
|
message: 'prefix',
|
|
405
428
|
required: false,
|
|
429
|
+
skipPrompt: true,
|
|
406
430
|
},
|
|
407
431
|
{
|
|
408
432
|
type: 'text',
|
|
409
433
|
name: 'privateSchemaName',
|
|
410
434
|
message: 'privateSchemaName',
|
|
411
435
|
required: false,
|
|
436
|
+
skipPrompt: true,
|
|
412
437
|
},
|
|
413
438
|
{
|
|
414
439
|
type: 'text',
|
|
415
440
|
name: 'sprtTableName',
|
|
416
441
|
message: 'sprtTableName',
|
|
417
442
|
required: false,
|
|
443
|
+
skipPrompt: true,
|
|
418
444
|
},
|
|
419
445
|
{
|
|
420
446
|
type: 'text',
|
|
421
447
|
name: 'rebuildHierarchyFunction',
|
|
422
448
|
message: 'rebuildHierarchyFunction',
|
|
423
449
|
required: false,
|
|
450
|
+
skipPrompt: true,
|
|
424
451
|
},
|
|
425
452
|
{
|
|
426
453
|
type: 'text',
|
|
427
454
|
name: 'getSubordinatesFunction',
|
|
428
455
|
message: 'getSubordinatesFunction',
|
|
429
456
|
required: false,
|
|
457
|
+
skipPrompt: true,
|
|
430
458
|
},
|
|
431
459
|
{
|
|
432
460
|
type: 'text',
|
|
433
461
|
name: 'getManagersFunction',
|
|
434
462
|
message: 'getManagersFunction',
|
|
435
463
|
required: false,
|
|
464
|
+
skipPrompt: true,
|
|
436
465
|
},
|
|
437
466
|
{
|
|
438
467
|
type: 'text',
|
|
439
468
|
name: 'isManagerOfFunction',
|
|
440
469
|
message: 'isManagerOfFunction',
|
|
441
470
|
required: false,
|
|
471
|
+
skipPrompt: true,
|
|
442
472
|
},
|
|
443
473
|
]);
|
|
444
474
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
@@ -163,72 +163,84 @@ async function handleCreate(argv, prompter) {
|
|
|
163
163
|
name: 'name',
|
|
164
164
|
message: 'name',
|
|
165
165
|
required: false,
|
|
166
|
+
skipPrompt: true,
|
|
166
167
|
},
|
|
167
168
|
{
|
|
168
169
|
type: 'text',
|
|
169
170
|
name: 'fieldIds',
|
|
170
171
|
message: 'fieldIds',
|
|
171
172
|
required: false,
|
|
173
|
+
skipPrompt: true,
|
|
172
174
|
},
|
|
173
175
|
{
|
|
174
176
|
type: 'text',
|
|
175
177
|
name: 'includeFieldIds',
|
|
176
178
|
message: 'includeFieldIds',
|
|
177
179
|
required: false,
|
|
180
|
+
skipPrompt: true,
|
|
178
181
|
},
|
|
179
182
|
{
|
|
180
183
|
type: 'text',
|
|
181
184
|
name: 'accessMethod',
|
|
182
185
|
message: 'accessMethod',
|
|
183
186
|
required: false,
|
|
187
|
+
skipPrompt: true,
|
|
184
188
|
},
|
|
185
189
|
{
|
|
186
190
|
type: 'text',
|
|
187
191
|
name: 'indexParams',
|
|
188
192
|
message: 'indexParams',
|
|
189
193
|
required: false,
|
|
194
|
+
skipPrompt: true,
|
|
190
195
|
},
|
|
191
196
|
{
|
|
192
197
|
type: 'text',
|
|
193
198
|
name: 'whereClause',
|
|
194
199
|
message: 'whereClause',
|
|
195
200
|
required: false,
|
|
201
|
+
skipPrompt: true,
|
|
196
202
|
},
|
|
197
203
|
{
|
|
198
204
|
type: 'text',
|
|
199
205
|
name: 'isUnique',
|
|
200
206
|
message: 'isUnique',
|
|
201
207
|
required: false,
|
|
208
|
+
skipPrompt: true,
|
|
202
209
|
},
|
|
203
210
|
{
|
|
204
211
|
type: 'text',
|
|
205
212
|
name: 'smartTags',
|
|
206
213
|
message: 'smartTags',
|
|
207
214
|
required: false,
|
|
215
|
+
skipPrompt: true,
|
|
208
216
|
},
|
|
209
217
|
{
|
|
210
218
|
type: 'text',
|
|
211
219
|
name: 'category',
|
|
212
220
|
message: 'category',
|
|
213
221
|
required: false,
|
|
222
|
+
skipPrompt: true,
|
|
214
223
|
},
|
|
215
224
|
{
|
|
216
225
|
type: 'text',
|
|
217
226
|
name: 'module',
|
|
218
227
|
message: 'module',
|
|
219
228
|
required: false,
|
|
229
|
+
skipPrompt: true,
|
|
220
230
|
},
|
|
221
231
|
{
|
|
222
232
|
type: 'text',
|
|
223
233
|
name: 'scope',
|
|
224
234
|
message: 'scope',
|
|
225
235
|
required: false,
|
|
236
|
+
skipPrompt: true,
|
|
226
237
|
},
|
|
227
238
|
{
|
|
228
239
|
type: 'text',
|
|
229
240
|
name: 'tags',
|
|
230
241
|
message: 'tags',
|
|
231
242
|
required: false,
|
|
243
|
+
skipPrompt: true,
|
|
232
244
|
},
|
|
233
245
|
]);
|
|
234
246
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
@@ -309,72 +321,84 @@ async function handleUpdate(argv, prompter) {
|
|
|
309
321
|
name: 'name',
|
|
310
322
|
message: 'name',
|
|
311
323
|
required: false,
|
|
324
|
+
skipPrompt: true,
|
|
312
325
|
},
|
|
313
326
|
{
|
|
314
327
|
type: 'text',
|
|
315
328
|
name: 'fieldIds',
|
|
316
329
|
message: 'fieldIds',
|
|
317
330
|
required: false,
|
|
331
|
+
skipPrompt: true,
|
|
318
332
|
},
|
|
319
333
|
{
|
|
320
334
|
type: 'text',
|
|
321
335
|
name: 'includeFieldIds',
|
|
322
336
|
message: 'includeFieldIds',
|
|
323
337
|
required: false,
|
|
338
|
+
skipPrompt: true,
|
|
324
339
|
},
|
|
325
340
|
{
|
|
326
341
|
type: 'text',
|
|
327
342
|
name: 'accessMethod',
|
|
328
343
|
message: 'accessMethod',
|
|
329
344
|
required: false,
|
|
345
|
+
skipPrompt: true,
|
|
330
346
|
},
|
|
331
347
|
{
|
|
332
348
|
type: 'text',
|
|
333
349
|
name: 'indexParams',
|
|
334
350
|
message: 'indexParams',
|
|
335
351
|
required: false,
|
|
352
|
+
skipPrompt: true,
|
|
336
353
|
},
|
|
337
354
|
{
|
|
338
355
|
type: 'text',
|
|
339
356
|
name: 'whereClause',
|
|
340
357
|
message: 'whereClause',
|
|
341
358
|
required: false,
|
|
359
|
+
skipPrompt: true,
|
|
342
360
|
},
|
|
343
361
|
{
|
|
344
362
|
type: 'text',
|
|
345
363
|
name: 'isUnique',
|
|
346
364
|
message: 'isUnique',
|
|
347
365
|
required: false,
|
|
366
|
+
skipPrompt: true,
|
|
348
367
|
},
|
|
349
368
|
{
|
|
350
369
|
type: 'text',
|
|
351
370
|
name: 'smartTags',
|
|
352
371
|
message: 'smartTags',
|
|
353
372
|
required: false,
|
|
373
|
+
skipPrompt: true,
|
|
354
374
|
},
|
|
355
375
|
{
|
|
356
376
|
type: 'text',
|
|
357
377
|
name: 'category',
|
|
358
378
|
message: 'category',
|
|
359
379
|
required: false,
|
|
380
|
+
skipPrompt: true,
|
|
360
381
|
},
|
|
361
382
|
{
|
|
362
383
|
type: 'text',
|
|
363
384
|
name: 'module',
|
|
364
385
|
message: 'module',
|
|
365
386
|
required: false,
|
|
387
|
+
skipPrompt: true,
|
|
366
388
|
},
|
|
367
389
|
{
|
|
368
390
|
type: 'text',
|
|
369
391
|
name: 'scope',
|
|
370
392
|
message: 'scope',
|
|
371
393
|
required: false,
|
|
394
|
+
skipPrompt: true,
|
|
372
395
|
},
|
|
373
396
|
{
|
|
374
397
|
type: 'text',
|
|
375
398
|
name: 'tags',
|
|
376
399
|
message: 'tags',
|
|
377
400
|
required: false,
|
|
401
|
+
skipPrompt: true,
|
|
378
402
|
},
|
|
379
403
|
]);
|
|
380
404
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
@@ -136,54 +136,63 @@ async function handleCreate(argv, prompter) {
|
|
|
136
136
|
name: 'email',
|
|
137
137
|
message: 'email',
|
|
138
138
|
required: false,
|
|
139
|
+
skipPrompt: true,
|
|
139
140
|
},
|
|
140
141
|
{
|
|
141
142
|
type: 'text',
|
|
142
143
|
name: 'senderId',
|
|
143
144
|
message: 'senderId',
|
|
144
145
|
required: false,
|
|
146
|
+
skipPrompt: true,
|
|
145
147
|
},
|
|
146
148
|
{
|
|
147
149
|
type: 'text',
|
|
148
150
|
name: 'inviteToken',
|
|
149
151
|
message: 'inviteToken',
|
|
150
152
|
required: false,
|
|
153
|
+
skipPrompt: true,
|
|
151
154
|
},
|
|
152
155
|
{
|
|
153
156
|
type: 'text',
|
|
154
157
|
name: 'inviteValid',
|
|
155
158
|
message: 'inviteValid',
|
|
156
159
|
required: false,
|
|
160
|
+
skipPrompt: true,
|
|
157
161
|
},
|
|
158
162
|
{
|
|
159
163
|
type: 'text',
|
|
160
164
|
name: 'inviteLimit',
|
|
161
165
|
message: 'inviteLimit',
|
|
162
166
|
required: false,
|
|
167
|
+
skipPrompt: true,
|
|
163
168
|
},
|
|
164
169
|
{
|
|
165
170
|
type: 'text',
|
|
166
171
|
name: 'inviteCount',
|
|
167
172
|
message: 'inviteCount',
|
|
168
173
|
required: false,
|
|
174
|
+
skipPrompt: true,
|
|
169
175
|
},
|
|
170
176
|
{
|
|
171
177
|
type: 'text',
|
|
172
178
|
name: 'multiple',
|
|
173
179
|
message: 'multiple',
|
|
174
180
|
required: false,
|
|
181
|
+
skipPrompt: true,
|
|
175
182
|
},
|
|
176
183
|
{
|
|
177
184
|
type: 'text',
|
|
178
185
|
name: 'data',
|
|
179
186
|
message: 'data',
|
|
180
187
|
required: false,
|
|
188
|
+
skipPrompt: true,
|
|
181
189
|
},
|
|
182
190
|
{
|
|
183
191
|
type: 'text',
|
|
184
192
|
name: 'expiresAt',
|
|
185
193
|
message: 'expiresAt',
|
|
186
194
|
required: false,
|
|
195
|
+
skipPrompt: true,
|
|
187
196
|
},
|
|
188
197
|
]);
|
|
189
198
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
@@ -242,54 +251,63 @@ async function handleUpdate(argv, prompter) {
|
|
|
242
251
|
name: 'email',
|
|
243
252
|
message: 'email',
|
|
244
253
|
required: false,
|
|
254
|
+
skipPrompt: true,
|
|
245
255
|
},
|
|
246
256
|
{
|
|
247
257
|
type: 'text',
|
|
248
258
|
name: 'senderId',
|
|
249
259
|
message: 'senderId',
|
|
250
260
|
required: false,
|
|
261
|
+
skipPrompt: true,
|
|
251
262
|
},
|
|
252
263
|
{
|
|
253
264
|
type: 'text',
|
|
254
265
|
name: 'inviteToken',
|
|
255
266
|
message: 'inviteToken',
|
|
256
267
|
required: false,
|
|
268
|
+
skipPrompt: true,
|
|
257
269
|
},
|
|
258
270
|
{
|
|
259
271
|
type: 'text',
|
|
260
272
|
name: 'inviteValid',
|
|
261
273
|
message: 'inviteValid',
|
|
262
274
|
required: false,
|
|
275
|
+
skipPrompt: true,
|
|
263
276
|
},
|
|
264
277
|
{
|
|
265
278
|
type: 'text',
|
|
266
279
|
name: 'inviteLimit',
|
|
267
280
|
message: 'inviteLimit',
|
|
268
281
|
required: false,
|
|
282
|
+
skipPrompt: true,
|
|
269
283
|
},
|
|
270
284
|
{
|
|
271
285
|
type: 'text',
|
|
272
286
|
name: 'inviteCount',
|
|
273
287
|
message: 'inviteCount',
|
|
274
288
|
required: false,
|
|
289
|
+
skipPrompt: true,
|
|
275
290
|
},
|
|
276
291
|
{
|
|
277
292
|
type: 'text',
|
|
278
293
|
name: 'multiple',
|
|
279
294
|
message: 'multiple',
|
|
280
295
|
required: false,
|
|
296
|
+
skipPrompt: true,
|
|
281
297
|
},
|
|
282
298
|
{
|
|
283
299
|
type: 'text',
|
|
284
300
|
name: 'data',
|
|
285
301
|
message: 'data',
|
|
286
302
|
required: false,
|
|
303
|
+
skipPrompt: true,
|
|
287
304
|
},
|
|
288
305
|
{
|
|
289
306
|
type: 'text',
|
|
290
307
|
name: 'expiresAt',
|
|
291
308
|
message: 'expiresAt',
|
|
292
309
|
required: false,
|
|
310
|
+
skipPrompt: true,
|
|
293
311
|
},
|
|
294
312
|
]);
|
|
295
313
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
@@ -148,60 +148,70 @@ async function handleCreate(argv, prompter) {
|
|
|
148
148
|
name: 'schemaId',
|
|
149
149
|
message: 'schemaId',
|
|
150
150
|
required: false,
|
|
151
|
+
skipPrompt: true,
|
|
151
152
|
},
|
|
152
153
|
{
|
|
153
154
|
type: 'text',
|
|
154
155
|
name: 'privateSchemaId',
|
|
155
156
|
message: 'privateSchemaId',
|
|
156
157
|
required: false,
|
|
158
|
+
skipPrompt: true,
|
|
157
159
|
},
|
|
158
160
|
{
|
|
159
161
|
type: 'text',
|
|
160
162
|
name: 'emailsTableId',
|
|
161
163
|
message: 'emailsTableId',
|
|
162
164
|
required: false,
|
|
165
|
+
skipPrompt: true,
|
|
163
166
|
},
|
|
164
167
|
{
|
|
165
168
|
type: 'text',
|
|
166
169
|
name: 'usersTableId',
|
|
167
170
|
message: 'usersTableId',
|
|
168
171
|
required: false,
|
|
172
|
+
skipPrompt: true,
|
|
169
173
|
},
|
|
170
174
|
{
|
|
171
175
|
type: 'text',
|
|
172
176
|
name: 'invitesTableId',
|
|
173
177
|
message: 'invitesTableId',
|
|
174
178
|
required: false,
|
|
179
|
+
skipPrompt: true,
|
|
175
180
|
},
|
|
176
181
|
{
|
|
177
182
|
type: 'text',
|
|
178
183
|
name: 'claimedInvitesTableId',
|
|
179
184
|
message: 'claimedInvitesTableId',
|
|
180
185
|
required: false,
|
|
186
|
+
skipPrompt: true,
|
|
181
187
|
},
|
|
182
188
|
{
|
|
183
189
|
type: 'text',
|
|
184
190
|
name: 'invitesTableName',
|
|
185
191
|
message: 'invitesTableName',
|
|
186
192
|
required: false,
|
|
193
|
+
skipPrompt: true,
|
|
187
194
|
},
|
|
188
195
|
{
|
|
189
196
|
type: 'text',
|
|
190
197
|
name: 'claimedInvitesTableName',
|
|
191
198
|
message: 'claimedInvitesTableName',
|
|
192
199
|
required: false,
|
|
200
|
+
skipPrompt: true,
|
|
193
201
|
},
|
|
194
202
|
{
|
|
195
203
|
type: 'text',
|
|
196
204
|
name: 'submitInviteCodeFunction',
|
|
197
205
|
message: 'submitInviteCodeFunction',
|
|
198
206
|
required: false,
|
|
207
|
+
skipPrompt: true,
|
|
199
208
|
},
|
|
200
209
|
{
|
|
201
210
|
type: 'text',
|
|
202
211
|
name: 'prefix',
|
|
203
212
|
message: 'prefix',
|
|
204
213
|
required: false,
|
|
214
|
+
skipPrompt: true,
|
|
205
215
|
},
|
|
206
216
|
{
|
|
207
217
|
type: 'text',
|
|
@@ -214,6 +224,7 @@ async function handleCreate(argv, prompter) {
|
|
|
214
224
|
name: 'entityTableId',
|
|
215
225
|
message: 'entityTableId',
|
|
216
226
|
required: false,
|
|
227
|
+
skipPrompt: true,
|
|
217
228
|
},
|
|
218
229
|
]);
|
|
219
230
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
@@ -284,60 +295,70 @@ async function handleUpdate(argv, prompter) {
|
|
|
284
295
|
name: 'schemaId',
|
|
285
296
|
message: 'schemaId',
|
|
286
297
|
required: false,
|
|
298
|
+
skipPrompt: true,
|
|
287
299
|
},
|
|
288
300
|
{
|
|
289
301
|
type: 'text',
|
|
290
302
|
name: 'privateSchemaId',
|
|
291
303
|
message: 'privateSchemaId',
|
|
292
304
|
required: false,
|
|
305
|
+
skipPrompt: true,
|
|
293
306
|
},
|
|
294
307
|
{
|
|
295
308
|
type: 'text',
|
|
296
309
|
name: 'emailsTableId',
|
|
297
310
|
message: 'emailsTableId',
|
|
298
311
|
required: false,
|
|
312
|
+
skipPrompt: true,
|
|
299
313
|
},
|
|
300
314
|
{
|
|
301
315
|
type: 'text',
|
|
302
316
|
name: 'usersTableId',
|
|
303
317
|
message: 'usersTableId',
|
|
304
318
|
required: false,
|
|
319
|
+
skipPrompt: true,
|
|
305
320
|
},
|
|
306
321
|
{
|
|
307
322
|
type: 'text',
|
|
308
323
|
name: 'invitesTableId',
|
|
309
324
|
message: 'invitesTableId',
|
|
310
325
|
required: false,
|
|
326
|
+
skipPrompt: true,
|
|
311
327
|
},
|
|
312
328
|
{
|
|
313
329
|
type: 'text',
|
|
314
330
|
name: 'claimedInvitesTableId',
|
|
315
331
|
message: 'claimedInvitesTableId',
|
|
316
332
|
required: false,
|
|
333
|
+
skipPrompt: true,
|
|
317
334
|
},
|
|
318
335
|
{
|
|
319
336
|
type: 'text',
|
|
320
337
|
name: 'invitesTableName',
|
|
321
338
|
message: 'invitesTableName',
|
|
322
339
|
required: false,
|
|
340
|
+
skipPrompt: true,
|
|
323
341
|
},
|
|
324
342
|
{
|
|
325
343
|
type: 'text',
|
|
326
344
|
name: 'claimedInvitesTableName',
|
|
327
345
|
message: 'claimedInvitesTableName',
|
|
328
346
|
required: false,
|
|
347
|
+
skipPrompt: true,
|
|
329
348
|
},
|
|
330
349
|
{
|
|
331
350
|
type: 'text',
|
|
332
351
|
name: 'submitInviteCodeFunction',
|
|
333
352
|
message: 'submitInviteCodeFunction',
|
|
334
353
|
required: false,
|
|
354
|
+
skipPrompt: true,
|
|
335
355
|
},
|
|
336
356
|
{
|
|
337
357
|
type: 'text',
|
|
338
358
|
name: 'prefix',
|
|
339
359
|
message: 'prefix',
|
|
340
360
|
required: false,
|
|
361
|
+
skipPrompt: true,
|
|
341
362
|
},
|
|
342
363
|
{
|
|
343
364
|
type: 'text',
|
|
@@ -350,6 +371,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
350
371
|
name: 'entityTableId',
|
|
351
372
|
message: 'entityTableId',
|
|
352
373
|
required: false,
|
|
374
|
+
skipPrompt: true,
|
|
353
375
|
},
|
|
354
376
|
]);
|
|
355
377
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|