@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
|
@@ -160,60 +160,70 @@ async function handleCreate(argv, prompter) {
|
|
|
160
160
|
name: 'schemaId',
|
|
161
161
|
message: 'schemaId',
|
|
162
162
|
required: false,
|
|
163
|
+
skipPrompt: true,
|
|
163
164
|
},
|
|
164
165
|
{
|
|
165
166
|
type: 'text',
|
|
166
167
|
name: 'privateSchemaId',
|
|
167
168
|
message: 'privateSchemaId',
|
|
168
169
|
required: false,
|
|
170
|
+
skipPrompt: true,
|
|
169
171
|
},
|
|
170
172
|
{
|
|
171
173
|
type: 'text',
|
|
172
174
|
name: 'tableId',
|
|
173
175
|
message: 'tableId',
|
|
174
176
|
required: false,
|
|
177
|
+
skipPrompt: true,
|
|
175
178
|
},
|
|
176
179
|
{
|
|
177
180
|
type: 'text',
|
|
178
181
|
name: 'tableName',
|
|
179
182
|
message: 'tableName',
|
|
180
183
|
required: false,
|
|
184
|
+
skipPrompt: true,
|
|
181
185
|
},
|
|
182
186
|
{
|
|
183
187
|
type: 'text',
|
|
184
188
|
name: 'profilePermissionsTableId',
|
|
185
189
|
message: 'profilePermissionsTableId',
|
|
186
190
|
required: false,
|
|
191
|
+
skipPrompt: true,
|
|
187
192
|
},
|
|
188
193
|
{
|
|
189
194
|
type: 'text',
|
|
190
195
|
name: 'profilePermissionsTableName',
|
|
191
196
|
message: 'profilePermissionsTableName',
|
|
192
197
|
required: false,
|
|
198
|
+
skipPrompt: true,
|
|
193
199
|
},
|
|
194
200
|
{
|
|
195
201
|
type: 'text',
|
|
196
202
|
name: 'profileGrantsTableId',
|
|
197
203
|
message: 'profileGrantsTableId',
|
|
198
204
|
required: false,
|
|
205
|
+
skipPrompt: true,
|
|
199
206
|
},
|
|
200
207
|
{
|
|
201
208
|
type: 'text',
|
|
202
209
|
name: 'profileGrantsTableName',
|
|
203
210
|
message: 'profileGrantsTableName',
|
|
204
211
|
required: false,
|
|
212
|
+
skipPrompt: true,
|
|
205
213
|
},
|
|
206
214
|
{
|
|
207
215
|
type: 'text',
|
|
208
216
|
name: 'profileDefinitionGrantsTableId',
|
|
209
217
|
message: 'profileDefinitionGrantsTableId',
|
|
210
218
|
required: false,
|
|
219
|
+
skipPrompt: true,
|
|
211
220
|
},
|
|
212
221
|
{
|
|
213
222
|
type: 'text',
|
|
214
223
|
name: 'profileDefinitionGrantsTableName',
|
|
215
224
|
message: 'profileDefinitionGrantsTableName',
|
|
216
225
|
required: false,
|
|
226
|
+
skipPrompt: true,
|
|
217
227
|
},
|
|
218
228
|
{
|
|
219
229
|
type: 'text',
|
|
@@ -226,30 +236,35 @@ async function handleCreate(argv, prompter) {
|
|
|
226
236
|
name: 'entityTableId',
|
|
227
237
|
message: 'entityTableId',
|
|
228
238
|
required: false,
|
|
239
|
+
skipPrompt: true,
|
|
229
240
|
},
|
|
230
241
|
{
|
|
231
242
|
type: 'text',
|
|
232
243
|
name: 'actorTableId',
|
|
233
244
|
message: 'actorTableId',
|
|
234
245
|
required: false,
|
|
246
|
+
skipPrompt: true,
|
|
235
247
|
},
|
|
236
248
|
{
|
|
237
249
|
type: 'text',
|
|
238
250
|
name: 'permissionsTableId',
|
|
239
251
|
message: 'permissionsTableId',
|
|
240
252
|
required: false,
|
|
253
|
+
skipPrompt: true,
|
|
241
254
|
},
|
|
242
255
|
{
|
|
243
256
|
type: 'text',
|
|
244
257
|
name: 'membershipsTableId',
|
|
245
258
|
message: 'membershipsTableId',
|
|
246
259
|
required: false,
|
|
260
|
+
skipPrompt: true,
|
|
247
261
|
},
|
|
248
262
|
{
|
|
249
263
|
type: 'text',
|
|
250
264
|
name: 'prefix',
|
|
251
265
|
message: 'prefix',
|
|
252
266
|
required: false,
|
|
267
|
+
skipPrompt: true,
|
|
253
268
|
},
|
|
254
269
|
]);
|
|
255
270
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
@@ -328,60 +343,70 @@ async function handleUpdate(argv, prompter) {
|
|
|
328
343
|
name: 'schemaId',
|
|
329
344
|
message: 'schemaId',
|
|
330
345
|
required: false,
|
|
346
|
+
skipPrompt: true,
|
|
331
347
|
},
|
|
332
348
|
{
|
|
333
349
|
type: 'text',
|
|
334
350
|
name: 'privateSchemaId',
|
|
335
351
|
message: 'privateSchemaId',
|
|
336
352
|
required: false,
|
|
353
|
+
skipPrompt: true,
|
|
337
354
|
},
|
|
338
355
|
{
|
|
339
356
|
type: 'text',
|
|
340
357
|
name: 'tableId',
|
|
341
358
|
message: 'tableId',
|
|
342
359
|
required: false,
|
|
360
|
+
skipPrompt: true,
|
|
343
361
|
},
|
|
344
362
|
{
|
|
345
363
|
type: 'text',
|
|
346
364
|
name: 'tableName',
|
|
347
365
|
message: 'tableName',
|
|
348
366
|
required: false,
|
|
367
|
+
skipPrompt: true,
|
|
349
368
|
},
|
|
350
369
|
{
|
|
351
370
|
type: 'text',
|
|
352
371
|
name: 'profilePermissionsTableId',
|
|
353
372
|
message: 'profilePermissionsTableId',
|
|
354
373
|
required: false,
|
|
374
|
+
skipPrompt: true,
|
|
355
375
|
},
|
|
356
376
|
{
|
|
357
377
|
type: 'text',
|
|
358
378
|
name: 'profilePermissionsTableName',
|
|
359
379
|
message: 'profilePermissionsTableName',
|
|
360
380
|
required: false,
|
|
381
|
+
skipPrompt: true,
|
|
361
382
|
},
|
|
362
383
|
{
|
|
363
384
|
type: 'text',
|
|
364
385
|
name: 'profileGrantsTableId',
|
|
365
386
|
message: 'profileGrantsTableId',
|
|
366
387
|
required: false,
|
|
388
|
+
skipPrompt: true,
|
|
367
389
|
},
|
|
368
390
|
{
|
|
369
391
|
type: 'text',
|
|
370
392
|
name: 'profileGrantsTableName',
|
|
371
393
|
message: 'profileGrantsTableName',
|
|
372
394
|
required: false,
|
|
395
|
+
skipPrompt: true,
|
|
373
396
|
},
|
|
374
397
|
{
|
|
375
398
|
type: 'text',
|
|
376
399
|
name: 'profileDefinitionGrantsTableId',
|
|
377
400
|
message: 'profileDefinitionGrantsTableId',
|
|
378
401
|
required: false,
|
|
402
|
+
skipPrompt: true,
|
|
379
403
|
},
|
|
380
404
|
{
|
|
381
405
|
type: 'text',
|
|
382
406
|
name: 'profileDefinitionGrantsTableName',
|
|
383
407
|
message: 'profileDefinitionGrantsTableName',
|
|
384
408
|
required: false,
|
|
409
|
+
skipPrompt: true,
|
|
385
410
|
},
|
|
386
411
|
{
|
|
387
412
|
type: 'text',
|
|
@@ -394,30 +419,35 @@ async function handleUpdate(argv, prompter) {
|
|
|
394
419
|
name: 'entityTableId',
|
|
395
420
|
message: 'entityTableId',
|
|
396
421
|
required: false,
|
|
422
|
+
skipPrompt: true,
|
|
397
423
|
},
|
|
398
424
|
{
|
|
399
425
|
type: 'text',
|
|
400
426
|
name: 'actorTableId',
|
|
401
427
|
message: 'actorTableId',
|
|
402
428
|
required: false,
|
|
429
|
+
skipPrompt: true,
|
|
403
430
|
},
|
|
404
431
|
{
|
|
405
432
|
type: 'text',
|
|
406
433
|
name: 'permissionsTableId',
|
|
407
434
|
message: 'permissionsTableId',
|
|
408
435
|
required: false,
|
|
436
|
+
skipPrompt: true,
|
|
409
437
|
},
|
|
410
438
|
{
|
|
411
439
|
type: 'text',
|
|
412
440
|
name: 'membershipsTableId',
|
|
413
441
|
message: 'membershipsTableId',
|
|
414
442
|
required: false,
|
|
443
|
+
skipPrompt: true,
|
|
415
444
|
},
|
|
416
445
|
{
|
|
417
446
|
type: 'text',
|
|
418
447
|
name: 'prefix',
|
|
419
448
|
message: 'prefix',
|
|
420
449
|
required: false,
|
|
450
|
+
skipPrompt: true,
|
|
421
451
|
},
|
|
422
452
|
]);
|
|
423
453
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
@@ -133,6 +133,7 @@ async function handleCreate(argv, prompter) {
|
|
|
133
133
|
name: 'commitId',
|
|
134
134
|
message: 'commitId',
|
|
135
135
|
required: false,
|
|
136
|
+
skipPrompt: true,
|
|
136
137
|
},
|
|
137
138
|
]);
|
|
138
139
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
@@ -197,6 +198,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
197
198
|
name: 'commitId',
|
|
198
199
|
message: 'commitId',
|
|
199
200
|
required: false,
|
|
201
|
+
skipPrompt: true,
|
|
200
202
|
},
|
|
201
203
|
]);
|
|
202
204
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
@@ -208,138 +208,161 @@ async function handleCreate(argv, prompter) {
|
|
|
208
208
|
name: 'fieldName',
|
|
209
209
|
message: 'fieldName',
|
|
210
210
|
required: false,
|
|
211
|
+
skipPrompt: true,
|
|
211
212
|
},
|
|
212
213
|
{
|
|
213
214
|
type: 'text',
|
|
214
215
|
name: 'deleteAction',
|
|
215
216
|
message: 'deleteAction',
|
|
216
217
|
required: false,
|
|
218
|
+
skipPrompt: true,
|
|
217
219
|
},
|
|
218
220
|
{
|
|
219
221
|
type: 'text',
|
|
220
222
|
name: 'isRequired',
|
|
221
223
|
message: 'isRequired',
|
|
222
224
|
required: false,
|
|
225
|
+
skipPrompt: true,
|
|
223
226
|
},
|
|
224
227
|
{
|
|
225
228
|
type: 'text',
|
|
226
229
|
name: 'junctionTableId',
|
|
227
230
|
message: 'junctionTableId',
|
|
228
231
|
required: false,
|
|
232
|
+
skipPrompt: true,
|
|
229
233
|
},
|
|
230
234
|
{
|
|
231
235
|
type: 'text',
|
|
232
236
|
name: 'junctionTableName',
|
|
233
237
|
message: 'junctionTableName',
|
|
234
238
|
required: false,
|
|
239
|
+
skipPrompt: true,
|
|
235
240
|
},
|
|
236
241
|
{
|
|
237
242
|
type: 'text',
|
|
238
243
|
name: 'junctionSchemaId',
|
|
239
244
|
message: 'junctionSchemaId',
|
|
240
245
|
required: false,
|
|
246
|
+
skipPrompt: true,
|
|
241
247
|
},
|
|
242
248
|
{
|
|
243
249
|
type: 'text',
|
|
244
250
|
name: 'sourceFieldName',
|
|
245
251
|
message: 'sourceFieldName',
|
|
246
252
|
required: false,
|
|
253
|
+
skipPrompt: true,
|
|
247
254
|
},
|
|
248
255
|
{
|
|
249
256
|
type: 'text',
|
|
250
257
|
name: 'targetFieldName',
|
|
251
258
|
message: 'targetFieldName',
|
|
252
259
|
required: false,
|
|
260
|
+
skipPrompt: true,
|
|
253
261
|
},
|
|
254
262
|
{
|
|
255
263
|
type: 'text',
|
|
256
264
|
name: 'useCompositeKey',
|
|
257
265
|
message: 'useCompositeKey',
|
|
258
266
|
required: false,
|
|
267
|
+
skipPrompt: true,
|
|
259
268
|
},
|
|
260
269
|
{
|
|
261
270
|
type: 'text',
|
|
262
271
|
name: 'nodeType',
|
|
263
272
|
message: 'nodeType',
|
|
264
273
|
required: false,
|
|
274
|
+
skipPrompt: true,
|
|
265
275
|
},
|
|
266
276
|
{
|
|
267
277
|
type: 'text',
|
|
268
278
|
name: 'nodeData',
|
|
269
279
|
message: 'nodeData',
|
|
270
280
|
required: false,
|
|
281
|
+
skipPrompt: true,
|
|
271
282
|
},
|
|
272
283
|
{
|
|
273
284
|
type: 'text',
|
|
274
285
|
name: 'grantRoles',
|
|
275
286
|
message: 'grantRoles',
|
|
276
287
|
required: false,
|
|
288
|
+
skipPrompt: true,
|
|
277
289
|
},
|
|
278
290
|
{
|
|
279
291
|
type: 'text',
|
|
280
292
|
name: 'grantPrivileges',
|
|
281
293
|
message: 'grantPrivileges',
|
|
282
294
|
required: false,
|
|
295
|
+
skipPrompt: true,
|
|
283
296
|
},
|
|
284
297
|
{
|
|
285
298
|
type: 'text',
|
|
286
299
|
name: 'policyType',
|
|
287
300
|
message: 'policyType',
|
|
288
301
|
required: false,
|
|
302
|
+
skipPrompt: true,
|
|
289
303
|
},
|
|
290
304
|
{
|
|
291
305
|
type: 'text',
|
|
292
306
|
name: 'policyPrivileges',
|
|
293
307
|
message: 'policyPrivileges',
|
|
294
308
|
required: false,
|
|
309
|
+
skipPrompt: true,
|
|
295
310
|
},
|
|
296
311
|
{
|
|
297
312
|
type: 'text',
|
|
298
313
|
name: 'policyRole',
|
|
299
314
|
message: 'policyRole',
|
|
300
315
|
required: false,
|
|
316
|
+
skipPrompt: true,
|
|
301
317
|
},
|
|
302
318
|
{
|
|
303
319
|
type: 'text',
|
|
304
320
|
name: 'policyPermissive',
|
|
305
321
|
message: 'policyPermissive',
|
|
306
322
|
required: false,
|
|
323
|
+
skipPrompt: true,
|
|
307
324
|
},
|
|
308
325
|
{
|
|
309
326
|
type: 'text',
|
|
310
327
|
name: 'policyName',
|
|
311
328
|
message: 'policyName',
|
|
312
329
|
required: false,
|
|
330
|
+
skipPrompt: true,
|
|
313
331
|
},
|
|
314
332
|
{
|
|
315
333
|
type: 'text',
|
|
316
334
|
name: 'policyData',
|
|
317
335
|
message: 'policyData',
|
|
318
336
|
required: false,
|
|
337
|
+
skipPrompt: true,
|
|
319
338
|
},
|
|
320
339
|
{
|
|
321
340
|
type: 'text',
|
|
322
341
|
name: 'outFieldId',
|
|
323
342
|
message: 'outFieldId',
|
|
324
343
|
required: false,
|
|
344
|
+
skipPrompt: true,
|
|
325
345
|
},
|
|
326
346
|
{
|
|
327
347
|
type: 'text',
|
|
328
348
|
name: 'outJunctionTableId',
|
|
329
349
|
message: 'outJunctionTableId',
|
|
330
350
|
required: false,
|
|
351
|
+
skipPrompt: true,
|
|
331
352
|
},
|
|
332
353
|
{
|
|
333
354
|
type: 'text',
|
|
334
355
|
name: 'outSourceFieldId',
|
|
335
356
|
message: 'outSourceFieldId',
|
|
336
357
|
required: false,
|
|
358
|
+
skipPrompt: true,
|
|
337
359
|
},
|
|
338
360
|
{
|
|
339
361
|
type: 'text',
|
|
340
362
|
name: 'outTargetFieldId',
|
|
341
363
|
message: 'outTargetFieldId',
|
|
342
364
|
required: false,
|
|
365
|
+
skipPrompt: true,
|
|
343
366
|
},
|
|
344
367
|
]);
|
|
345
368
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
@@ -456,138 +479,161 @@ async function handleUpdate(argv, prompter) {
|
|
|
456
479
|
name: 'fieldName',
|
|
457
480
|
message: 'fieldName',
|
|
458
481
|
required: false,
|
|
482
|
+
skipPrompt: true,
|
|
459
483
|
},
|
|
460
484
|
{
|
|
461
485
|
type: 'text',
|
|
462
486
|
name: 'deleteAction',
|
|
463
487
|
message: 'deleteAction',
|
|
464
488
|
required: false,
|
|
489
|
+
skipPrompt: true,
|
|
465
490
|
},
|
|
466
491
|
{
|
|
467
492
|
type: 'text',
|
|
468
493
|
name: 'isRequired',
|
|
469
494
|
message: 'isRequired',
|
|
470
495
|
required: false,
|
|
496
|
+
skipPrompt: true,
|
|
471
497
|
},
|
|
472
498
|
{
|
|
473
499
|
type: 'text',
|
|
474
500
|
name: 'junctionTableId',
|
|
475
501
|
message: 'junctionTableId',
|
|
476
502
|
required: false,
|
|
503
|
+
skipPrompt: true,
|
|
477
504
|
},
|
|
478
505
|
{
|
|
479
506
|
type: 'text',
|
|
480
507
|
name: 'junctionTableName',
|
|
481
508
|
message: 'junctionTableName',
|
|
482
509
|
required: false,
|
|
510
|
+
skipPrompt: true,
|
|
483
511
|
},
|
|
484
512
|
{
|
|
485
513
|
type: 'text',
|
|
486
514
|
name: 'junctionSchemaId',
|
|
487
515
|
message: 'junctionSchemaId',
|
|
488
516
|
required: false,
|
|
517
|
+
skipPrompt: true,
|
|
489
518
|
},
|
|
490
519
|
{
|
|
491
520
|
type: 'text',
|
|
492
521
|
name: 'sourceFieldName',
|
|
493
522
|
message: 'sourceFieldName',
|
|
494
523
|
required: false,
|
|
524
|
+
skipPrompt: true,
|
|
495
525
|
},
|
|
496
526
|
{
|
|
497
527
|
type: 'text',
|
|
498
528
|
name: 'targetFieldName',
|
|
499
529
|
message: 'targetFieldName',
|
|
500
530
|
required: false,
|
|
531
|
+
skipPrompt: true,
|
|
501
532
|
},
|
|
502
533
|
{
|
|
503
534
|
type: 'text',
|
|
504
535
|
name: 'useCompositeKey',
|
|
505
536
|
message: 'useCompositeKey',
|
|
506
537
|
required: false,
|
|
538
|
+
skipPrompt: true,
|
|
507
539
|
},
|
|
508
540
|
{
|
|
509
541
|
type: 'text',
|
|
510
542
|
name: 'nodeType',
|
|
511
543
|
message: 'nodeType',
|
|
512
544
|
required: false,
|
|
545
|
+
skipPrompt: true,
|
|
513
546
|
},
|
|
514
547
|
{
|
|
515
548
|
type: 'text',
|
|
516
549
|
name: 'nodeData',
|
|
517
550
|
message: 'nodeData',
|
|
518
551
|
required: false,
|
|
552
|
+
skipPrompt: true,
|
|
519
553
|
},
|
|
520
554
|
{
|
|
521
555
|
type: 'text',
|
|
522
556
|
name: 'grantRoles',
|
|
523
557
|
message: 'grantRoles',
|
|
524
558
|
required: false,
|
|
559
|
+
skipPrompt: true,
|
|
525
560
|
},
|
|
526
561
|
{
|
|
527
562
|
type: 'text',
|
|
528
563
|
name: 'grantPrivileges',
|
|
529
564
|
message: 'grantPrivileges',
|
|
530
565
|
required: false,
|
|
566
|
+
skipPrompt: true,
|
|
531
567
|
},
|
|
532
568
|
{
|
|
533
569
|
type: 'text',
|
|
534
570
|
name: 'policyType',
|
|
535
571
|
message: 'policyType',
|
|
536
572
|
required: false,
|
|
573
|
+
skipPrompt: true,
|
|
537
574
|
},
|
|
538
575
|
{
|
|
539
576
|
type: 'text',
|
|
540
577
|
name: 'policyPrivileges',
|
|
541
578
|
message: 'policyPrivileges',
|
|
542
579
|
required: false,
|
|
580
|
+
skipPrompt: true,
|
|
543
581
|
},
|
|
544
582
|
{
|
|
545
583
|
type: 'text',
|
|
546
584
|
name: 'policyRole',
|
|
547
585
|
message: 'policyRole',
|
|
548
586
|
required: false,
|
|
587
|
+
skipPrompt: true,
|
|
549
588
|
},
|
|
550
589
|
{
|
|
551
590
|
type: 'text',
|
|
552
591
|
name: 'policyPermissive',
|
|
553
592
|
message: 'policyPermissive',
|
|
554
593
|
required: false,
|
|
594
|
+
skipPrompt: true,
|
|
555
595
|
},
|
|
556
596
|
{
|
|
557
597
|
type: 'text',
|
|
558
598
|
name: 'policyName',
|
|
559
599
|
message: 'policyName',
|
|
560
600
|
required: false,
|
|
601
|
+
skipPrompt: true,
|
|
561
602
|
},
|
|
562
603
|
{
|
|
563
604
|
type: 'text',
|
|
564
605
|
name: 'policyData',
|
|
565
606
|
message: 'policyData',
|
|
566
607
|
required: false,
|
|
608
|
+
skipPrompt: true,
|
|
567
609
|
},
|
|
568
610
|
{
|
|
569
611
|
type: 'text',
|
|
570
612
|
name: 'outFieldId',
|
|
571
613
|
message: 'outFieldId',
|
|
572
614
|
required: false,
|
|
615
|
+
skipPrompt: true,
|
|
573
616
|
},
|
|
574
617
|
{
|
|
575
618
|
type: 'text',
|
|
576
619
|
name: 'outJunctionTableId',
|
|
577
620
|
message: 'outJunctionTableId',
|
|
578
621
|
required: false,
|
|
622
|
+
skipPrompt: true,
|
|
579
623
|
},
|
|
580
624
|
{
|
|
581
625
|
type: 'text',
|
|
582
626
|
name: 'outSourceFieldId',
|
|
583
627
|
message: 'outSourceFieldId',
|
|
584
628
|
required: false,
|
|
629
|
+
skipPrompt: true,
|
|
585
630
|
},
|
|
586
631
|
{
|
|
587
632
|
type: 'text',
|
|
588
633
|
name: 'outTargetFieldId',
|
|
589
634
|
message: 'outTargetFieldId',
|
|
590
635
|
required: false,
|
|
636
|
+
skipPrompt: true,
|
|
591
637
|
},
|
|
592
638
|
]);
|
|
593
639
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
@@ -142,60 +142,70 @@ async function handleCreate(argv, prompter) {
|
|
|
142
142
|
name: 'apiId',
|
|
143
143
|
message: 'apiId',
|
|
144
144
|
required: false,
|
|
145
|
+
skipPrompt: true,
|
|
145
146
|
},
|
|
146
147
|
{
|
|
147
148
|
type: 'text',
|
|
148
149
|
name: 'schemaId',
|
|
149
150
|
message: 'schemaId',
|
|
150
151
|
required: false,
|
|
152
|
+
skipPrompt: true,
|
|
151
153
|
},
|
|
152
154
|
{
|
|
153
155
|
type: 'text',
|
|
154
156
|
name: 'privateSchemaId',
|
|
155
157
|
message: 'privateSchemaId',
|
|
156
158
|
required: false,
|
|
159
|
+
skipPrompt: true,
|
|
157
160
|
},
|
|
158
161
|
{
|
|
159
162
|
type: 'text',
|
|
160
163
|
name: 'sessionCredentialsTableId',
|
|
161
164
|
message: 'sessionCredentialsTableId',
|
|
162
165
|
required: false,
|
|
166
|
+
skipPrompt: true,
|
|
163
167
|
},
|
|
164
168
|
{
|
|
165
169
|
type: 'text',
|
|
166
170
|
name: 'sessionsTableId',
|
|
167
171
|
message: 'sessionsTableId',
|
|
168
172
|
required: false,
|
|
173
|
+
skipPrompt: true,
|
|
169
174
|
},
|
|
170
175
|
{
|
|
171
176
|
type: 'text',
|
|
172
177
|
name: 'usersTableId',
|
|
173
178
|
message: 'usersTableId',
|
|
174
179
|
required: false,
|
|
180
|
+
skipPrompt: true,
|
|
175
181
|
},
|
|
176
182
|
{
|
|
177
183
|
type: 'text',
|
|
178
184
|
name: 'authenticate',
|
|
179
185
|
message: 'authenticate',
|
|
180
186
|
required: false,
|
|
187
|
+
skipPrompt: true,
|
|
181
188
|
},
|
|
182
189
|
{
|
|
183
190
|
type: 'text',
|
|
184
191
|
name: 'authenticateStrict',
|
|
185
192
|
message: 'authenticateStrict',
|
|
186
193
|
required: false,
|
|
194
|
+
skipPrompt: true,
|
|
187
195
|
},
|
|
188
196
|
{
|
|
189
197
|
type: 'text',
|
|
190
198
|
name: 'currentRole',
|
|
191
199
|
message: 'currentRole',
|
|
192
200
|
required: false,
|
|
201
|
+
skipPrompt: true,
|
|
193
202
|
},
|
|
194
203
|
{
|
|
195
204
|
type: 'text',
|
|
196
205
|
name: 'currentRoleId',
|
|
197
206
|
message: 'currentRoleId',
|
|
198
207
|
required: false,
|
|
208
|
+
skipPrompt: true,
|
|
199
209
|
},
|
|
200
210
|
]);
|
|
201
211
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
@@ -262,60 +272,70 @@ async function handleUpdate(argv, prompter) {
|
|
|
262
272
|
name: 'apiId',
|
|
263
273
|
message: 'apiId',
|
|
264
274
|
required: false,
|
|
275
|
+
skipPrompt: true,
|
|
265
276
|
},
|
|
266
277
|
{
|
|
267
278
|
type: 'text',
|
|
268
279
|
name: 'schemaId',
|
|
269
280
|
message: 'schemaId',
|
|
270
281
|
required: false,
|
|
282
|
+
skipPrompt: true,
|
|
271
283
|
},
|
|
272
284
|
{
|
|
273
285
|
type: 'text',
|
|
274
286
|
name: 'privateSchemaId',
|
|
275
287
|
message: 'privateSchemaId',
|
|
276
288
|
required: false,
|
|
289
|
+
skipPrompt: true,
|
|
277
290
|
},
|
|
278
291
|
{
|
|
279
292
|
type: 'text',
|
|
280
293
|
name: 'sessionCredentialsTableId',
|
|
281
294
|
message: 'sessionCredentialsTableId',
|
|
282
295
|
required: false,
|
|
296
|
+
skipPrompt: true,
|
|
283
297
|
},
|
|
284
298
|
{
|
|
285
299
|
type: 'text',
|
|
286
300
|
name: 'sessionsTableId',
|
|
287
301
|
message: 'sessionsTableId',
|
|
288
302
|
required: false,
|
|
303
|
+
skipPrompt: true,
|
|
289
304
|
},
|
|
290
305
|
{
|
|
291
306
|
type: 'text',
|
|
292
307
|
name: 'usersTableId',
|
|
293
308
|
message: 'usersTableId',
|
|
294
309
|
required: false,
|
|
310
|
+
skipPrompt: true,
|
|
295
311
|
},
|
|
296
312
|
{
|
|
297
313
|
type: 'text',
|
|
298
314
|
name: 'authenticate',
|
|
299
315
|
message: 'authenticate',
|
|
300
316
|
required: false,
|
|
317
|
+
skipPrompt: true,
|
|
301
318
|
},
|
|
302
319
|
{
|
|
303
320
|
type: 'text',
|
|
304
321
|
name: 'authenticateStrict',
|
|
305
322
|
message: 'authenticateStrict',
|
|
306
323
|
required: false,
|
|
324
|
+
skipPrompt: true,
|
|
307
325
|
},
|
|
308
326
|
{
|
|
309
327
|
type: 'text',
|
|
310
328
|
name: 'currentRole',
|
|
311
329
|
message: 'currentRole',
|
|
312
330
|
required: false,
|
|
331
|
+
skipPrompt: true,
|
|
313
332
|
},
|
|
314
333
|
{
|
|
315
334
|
type: 'text',
|
|
316
335
|
name: 'currentRoleId',
|
|
317
336
|
message: 'currentRoleId',
|
|
318
337
|
required: false,
|
|
338
|
+
skipPrompt: true,
|
|
319
339
|
},
|
|
320
340
|
]);
|
|
321
341
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|