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