@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
|
@@ -186,126 +186,147 @@ async function handleCreate(argv, prompter) {
|
|
|
186
186
|
name: 'schemaId',
|
|
187
187
|
message: 'schemaId',
|
|
188
188
|
required: false,
|
|
189
|
+
skipPrompt: true,
|
|
189
190
|
},
|
|
190
191
|
{
|
|
191
192
|
type: 'text',
|
|
192
193
|
name: 'privateSchemaId',
|
|
193
194
|
message: 'privateSchemaId',
|
|
194
195
|
required: false,
|
|
196
|
+
skipPrompt: true,
|
|
195
197
|
},
|
|
196
198
|
{
|
|
197
199
|
type: 'text',
|
|
198
200
|
name: 'stepsTableId',
|
|
199
201
|
message: 'stepsTableId',
|
|
200
202
|
required: false,
|
|
203
|
+
skipPrompt: true,
|
|
201
204
|
},
|
|
202
205
|
{
|
|
203
206
|
type: 'text',
|
|
204
207
|
name: 'stepsTableName',
|
|
205
208
|
message: 'stepsTableName',
|
|
206
209
|
required: false,
|
|
210
|
+
skipPrompt: true,
|
|
207
211
|
},
|
|
208
212
|
{
|
|
209
213
|
type: 'text',
|
|
210
214
|
name: 'achievementsTableId',
|
|
211
215
|
message: 'achievementsTableId',
|
|
212
216
|
required: false,
|
|
217
|
+
skipPrompt: true,
|
|
213
218
|
},
|
|
214
219
|
{
|
|
215
220
|
type: 'text',
|
|
216
221
|
name: 'achievementsTableName',
|
|
217
222
|
message: 'achievementsTableName',
|
|
218
223
|
required: false,
|
|
224
|
+
skipPrompt: true,
|
|
219
225
|
},
|
|
220
226
|
{
|
|
221
227
|
type: 'text',
|
|
222
228
|
name: 'levelsTableId',
|
|
223
229
|
message: 'levelsTableId',
|
|
224
230
|
required: false,
|
|
231
|
+
skipPrompt: true,
|
|
225
232
|
},
|
|
226
233
|
{
|
|
227
234
|
type: 'text',
|
|
228
235
|
name: 'levelsTableName',
|
|
229
236
|
message: 'levelsTableName',
|
|
230
237
|
required: false,
|
|
238
|
+
skipPrompt: true,
|
|
231
239
|
},
|
|
232
240
|
{
|
|
233
241
|
type: 'text',
|
|
234
242
|
name: 'levelRequirementsTableId',
|
|
235
243
|
message: 'levelRequirementsTableId',
|
|
236
244
|
required: false,
|
|
245
|
+
skipPrompt: true,
|
|
237
246
|
},
|
|
238
247
|
{
|
|
239
248
|
type: 'text',
|
|
240
249
|
name: 'levelRequirementsTableName',
|
|
241
250
|
message: 'levelRequirementsTableName',
|
|
242
251
|
required: false,
|
|
252
|
+
skipPrompt: true,
|
|
243
253
|
},
|
|
244
254
|
{
|
|
245
255
|
type: 'text',
|
|
246
256
|
name: 'completedStep',
|
|
247
257
|
message: 'completedStep',
|
|
248
258
|
required: false,
|
|
259
|
+
skipPrompt: true,
|
|
249
260
|
},
|
|
250
261
|
{
|
|
251
262
|
type: 'text',
|
|
252
263
|
name: 'incompletedStep',
|
|
253
264
|
message: 'incompletedStep',
|
|
254
265
|
required: false,
|
|
266
|
+
skipPrompt: true,
|
|
255
267
|
},
|
|
256
268
|
{
|
|
257
269
|
type: 'text',
|
|
258
270
|
name: 'tgAchievement',
|
|
259
271
|
message: 'tgAchievement',
|
|
260
272
|
required: false,
|
|
273
|
+
skipPrompt: true,
|
|
261
274
|
},
|
|
262
275
|
{
|
|
263
276
|
type: 'text',
|
|
264
277
|
name: 'tgAchievementToggle',
|
|
265
278
|
message: 'tgAchievementToggle',
|
|
266
279
|
required: false,
|
|
280
|
+
skipPrompt: true,
|
|
267
281
|
},
|
|
268
282
|
{
|
|
269
283
|
type: 'text',
|
|
270
284
|
name: 'tgAchievementToggleBoolean',
|
|
271
285
|
message: 'tgAchievementToggleBoolean',
|
|
272
286
|
required: false,
|
|
287
|
+
skipPrompt: true,
|
|
273
288
|
},
|
|
274
289
|
{
|
|
275
290
|
type: 'text',
|
|
276
291
|
name: 'tgAchievementBoolean',
|
|
277
292
|
message: 'tgAchievementBoolean',
|
|
278
293
|
required: false,
|
|
294
|
+
skipPrompt: true,
|
|
279
295
|
},
|
|
280
296
|
{
|
|
281
297
|
type: 'text',
|
|
282
298
|
name: 'upsertAchievement',
|
|
283
299
|
message: 'upsertAchievement',
|
|
284
300
|
required: false,
|
|
301
|
+
skipPrompt: true,
|
|
285
302
|
},
|
|
286
303
|
{
|
|
287
304
|
type: 'text',
|
|
288
305
|
name: 'tgUpdateAchievements',
|
|
289
306
|
message: 'tgUpdateAchievements',
|
|
290
307
|
required: false,
|
|
308
|
+
skipPrompt: true,
|
|
291
309
|
},
|
|
292
310
|
{
|
|
293
311
|
type: 'text',
|
|
294
312
|
name: 'stepsRequired',
|
|
295
313
|
message: 'stepsRequired',
|
|
296
314
|
required: false,
|
|
315
|
+
skipPrompt: true,
|
|
297
316
|
},
|
|
298
317
|
{
|
|
299
318
|
type: 'text',
|
|
300
319
|
name: 'levelAchieved',
|
|
301
320
|
message: 'levelAchieved',
|
|
302
321
|
required: false,
|
|
322
|
+
skipPrompt: true,
|
|
303
323
|
},
|
|
304
324
|
{
|
|
305
325
|
type: 'text',
|
|
306
326
|
name: 'prefix',
|
|
307
327
|
message: 'prefix',
|
|
308
328
|
required: false,
|
|
329
|
+
skipPrompt: true,
|
|
309
330
|
},
|
|
310
331
|
{
|
|
311
332
|
type: 'text',
|
|
@@ -318,12 +339,14 @@ async function handleCreate(argv, prompter) {
|
|
|
318
339
|
name: 'entityTableId',
|
|
319
340
|
message: 'entityTableId',
|
|
320
341
|
required: false,
|
|
342
|
+
skipPrompt: true,
|
|
321
343
|
},
|
|
322
344
|
{
|
|
323
345
|
type: 'text',
|
|
324
346
|
name: 'actorTableId',
|
|
325
347
|
message: 'actorTableId',
|
|
326
348
|
required: false,
|
|
349
|
+
skipPrompt: true,
|
|
327
350
|
},
|
|
328
351
|
]);
|
|
329
352
|
const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
|
|
@@ -418,126 +441,147 @@ async function handleUpdate(argv, prompter) {
|
|
|
418
441
|
name: 'schemaId',
|
|
419
442
|
message: 'schemaId',
|
|
420
443
|
required: false,
|
|
444
|
+
skipPrompt: true,
|
|
421
445
|
},
|
|
422
446
|
{
|
|
423
447
|
type: 'text',
|
|
424
448
|
name: 'privateSchemaId',
|
|
425
449
|
message: 'privateSchemaId',
|
|
426
450
|
required: false,
|
|
451
|
+
skipPrompt: true,
|
|
427
452
|
},
|
|
428
453
|
{
|
|
429
454
|
type: 'text',
|
|
430
455
|
name: 'stepsTableId',
|
|
431
456
|
message: 'stepsTableId',
|
|
432
457
|
required: false,
|
|
458
|
+
skipPrompt: true,
|
|
433
459
|
},
|
|
434
460
|
{
|
|
435
461
|
type: 'text',
|
|
436
462
|
name: 'stepsTableName',
|
|
437
463
|
message: 'stepsTableName',
|
|
438
464
|
required: false,
|
|
465
|
+
skipPrompt: true,
|
|
439
466
|
},
|
|
440
467
|
{
|
|
441
468
|
type: 'text',
|
|
442
469
|
name: 'achievementsTableId',
|
|
443
470
|
message: 'achievementsTableId',
|
|
444
471
|
required: false,
|
|
472
|
+
skipPrompt: true,
|
|
445
473
|
},
|
|
446
474
|
{
|
|
447
475
|
type: 'text',
|
|
448
476
|
name: 'achievementsTableName',
|
|
449
477
|
message: 'achievementsTableName',
|
|
450
478
|
required: false,
|
|
479
|
+
skipPrompt: true,
|
|
451
480
|
},
|
|
452
481
|
{
|
|
453
482
|
type: 'text',
|
|
454
483
|
name: 'levelsTableId',
|
|
455
484
|
message: 'levelsTableId',
|
|
456
485
|
required: false,
|
|
486
|
+
skipPrompt: true,
|
|
457
487
|
},
|
|
458
488
|
{
|
|
459
489
|
type: 'text',
|
|
460
490
|
name: 'levelsTableName',
|
|
461
491
|
message: 'levelsTableName',
|
|
462
492
|
required: false,
|
|
493
|
+
skipPrompt: true,
|
|
463
494
|
},
|
|
464
495
|
{
|
|
465
496
|
type: 'text',
|
|
466
497
|
name: 'levelRequirementsTableId',
|
|
467
498
|
message: 'levelRequirementsTableId',
|
|
468
499
|
required: false,
|
|
500
|
+
skipPrompt: true,
|
|
469
501
|
},
|
|
470
502
|
{
|
|
471
503
|
type: 'text',
|
|
472
504
|
name: 'levelRequirementsTableName',
|
|
473
505
|
message: 'levelRequirementsTableName',
|
|
474
506
|
required: false,
|
|
507
|
+
skipPrompt: true,
|
|
475
508
|
},
|
|
476
509
|
{
|
|
477
510
|
type: 'text',
|
|
478
511
|
name: 'completedStep',
|
|
479
512
|
message: 'completedStep',
|
|
480
513
|
required: false,
|
|
514
|
+
skipPrompt: true,
|
|
481
515
|
},
|
|
482
516
|
{
|
|
483
517
|
type: 'text',
|
|
484
518
|
name: 'incompletedStep',
|
|
485
519
|
message: 'incompletedStep',
|
|
486
520
|
required: false,
|
|
521
|
+
skipPrompt: true,
|
|
487
522
|
},
|
|
488
523
|
{
|
|
489
524
|
type: 'text',
|
|
490
525
|
name: 'tgAchievement',
|
|
491
526
|
message: 'tgAchievement',
|
|
492
527
|
required: false,
|
|
528
|
+
skipPrompt: true,
|
|
493
529
|
},
|
|
494
530
|
{
|
|
495
531
|
type: 'text',
|
|
496
532
|
name: 'tgAchievementToggle',
|
|
497
533
|
message: 'tgAchievementToggle',
|
|
498
534
|
required: false,
|
|
535
|
+
skipPrompt: true,
|
|
499
536
|
},
|
|
500
537
|
{
|
|
501
538
|
type: 'text',
|
|
502
539
|
name: 'tgAchievementToggleBoolean',
|
|
503
540
|
message: 'tgAchievementToggleBoolean',
|
|
504
541
|
required: false,
|
|
542
|
+
skipPrompt: true,
|
|
505
543
|
},
|
|
506
544
|
{
|
|
507
545
|
type: 'text',
|
|
508
546
|
name: 'tgAchievementBoolean',
|
|
509
547
|
message: 'tgAchievementBoolean',
|
|
510
548
|
required: false,
|
|
549
|
+
skipPrompt: true,
|
|
511
550
|
},
|
|
512
551
|
{
|
|
513
552
|
type: 'text',
|
|
514
553
|
name: 'upsertAchievement',
|
|
515
554
|
message: 'upsertAchievement',
|
|
516
555
|
required: false,
|
|
556
|
+
skipPrompt: true,
|
|
517
557
|
},
|
|
518
558
|
{
|
|
519
559
|
type: 'text',
|
|
520
560
|
name: 'tgUpdateAchievements',
|
|
521
561
|
message: 'tgUpdateAchievements',
|
|
522
562
|
required: false,
|
|
563
|
+
skipPrompt: true,
|
|
523
564
|
},
|
|
524
565
|
{
|
|
525
566
|
type: 'text',
|
|
526
567
|
name: 'stepsRequired',
|
|
527
568
|
message: 'stepsRequired',
|
|
528
569
|
required: false,
|
|
570
|
+
skipPrompt: true,
|
|
529
571
|
},
|
|
530
572
|
{
|
|
531
573
|
type: 'text',
|
|
532
574
|
name: 'levelAchieved',
|
|
533
575
|
message: 'levelAchieved',
|
|
534
576
|
required: false,
|
|
577
|
+
skipPrompt: true,
|
|
535
578
|
},
|
|
536
579
|
{
|
|
537
580
|
type: 'text',
|
|
538
581
|
name: 'prefix',
|
|
539
582
|
message: 'prefix',
|
|
540
583
|
required: false,
|
|
584
|
+
skipPrompt: true,
|
|
541
585
|
},
|
|
542
586
|
{
|
|
543
587
|
type: 'text',
|
|
@@ -550,12 +594,14 @@ async function handleUpdate(argv, prompter) {
|
|
|
550
594
|
name: 'entityTableId',
|
|
551
595
|
message: 'entityTableId',
|
|
552
596
|
required: false,
|
|
597
|
+
skipPrompt: true,
|
|
553
598
|
},
|
|
554
599
|
{
|
|
555
600
|
type: 'text',
|
|
556
601
|
name: 'actorTableId',
|
|
557
602
|
message: 'actorTableId',
|
|
558
603
|
required: false,
|
|
604
|
+
skipPrompt: true,
|
|
559
605
|
},
|
|
560
606
|
]);
|
|
561
607
|
const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
|
|
@@ -162,78 +162,91 @@ 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: 'defaultTableId',
|
|
187
191
|
message: 'defaultTableId',
|
|
188
192
|
required: false,
|
|
193
|
+
skipPrompt: true,
|
|
189
194
|
},
|
|
190
195
|
{
|
|
191
196
|
type: 'text',
|
|
192
197
|
name: 'defaultTableName',
|
|
193
198
|
message: 'defaultTableName',
|
|
194
199
|
required: false,
|
|
200
|
+
skipPrompt: true,
|
|
195
201
|
},
|
|
196
202
|
{
|
|
197
203
|
type: 'text',
|
|
198
204
|
name: 'limitIncrementFunction',
|
|
199
205
|
message: 'limitIncrementFunction',
|
|
200
206
|
required: false,
|
|
207
|
+
skipPrompt: true,
|
|
201
208
|
},
|
|
202
209
|
{
|
|
203
210
|
type: 'text',
|
|
204
211
|
name: 'limitDecrementFunction',
|
|
205
212
|
message: 'limitDecrementFunction',
|
|
206
213
|
required: false,
|
|
214
|
+
skipPrompt: true,
|
|
207
215
|
},
|
|
208
216
|
{
|
|
209
217
|
type: 'text',
|
|
210
218
|
name: 'limitIncrementTrigger',
|
|
211
219
|
message: 'limitIncrementTrigger',
|
|
212
220
|
required: false,
|
|
221
|
+
skipPrompt: true,
|
|
213
222
|
},
|
|
214
223
|
{
|
|
215
224
|
type: 'text',
|
|
216
225
|
name: 'limitDecrementTrigger',
|
|
217
226
|
message: 'limitDecrementTrigger',
|
|
218
227
|
required: false,
|
|
228
|
+
skipPrompt: true,
|
|
219
229
|
},
|
|
220
230
|
{
|
|
221
231
|
type: 'text',
|
|
222
232
|
name: 'limitUpdateTrigger',
|
|
223
233
|
message: 'limitUpdateTrigger',
|
|
224
234
|
required: false,
|
|
235
|
+
skipPrompt: true,
|
|
225
236
|
},
|
|
226
237
|
{
|
|
227
238
|
type: 'text',
|
|
228
239
|
name: 'limitCheckFunction',
|
|
229
240
|
message: 'limitCheckFunction',
|
|
230
241
|
required: false,
|
|
242
|
+
skipPrompt: true,
|
|
231
243
|
},
|
|
232
244
|
{
|
|
233
245
|
type: 'text',
|
|
234
246
|
name: 'prefix',
|
|
235
247
|
message: 'prefix',
|
|
236
248
|
required: false,
|
|
249
|
+
skipPrompt: true,
|
|
237
250
|
},
|
|
238
251
|
{
|
|
239
252
|
type: 'text',
|
|
@@ -246,12 +259,14 @@ async function handleCreate(argv, prompter) {
|
|
|
246
259
|
name: 'entityTableId',
|
|
247
260
|
message: 'entityTableId',
|
|
248
261
|
required: false,
|
|
262
|
+
skipPrompt: true,
|
|
249
263
|
},
|
|
250
264
|
{
|
|
251
265
|
type: 'text',
|
|
252
266
|
name: 'actorTableId',
|
|
253
267
|
message: 'actorTableId',
|
|
254
268
|
required: false,
|
|
269
|
+
skipPrompt: true,
|
|
255
270
|
},
|
|
256
271
|
]);
|
|
257
272
|
const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
|
|
@@ -330,78 +345,91 @@ 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: 'defaultTableId',
|
|
355
374
|
message: 'defaultTableId',
|
|
356
375
|
required: false,
|
|
376
|
+
skipPrompt: true,
|
|
357
377
|
},
|
|
358
378
|
{
|
|
359
379
|
type: 'text',
|
|
360
380
|
name: 'defaultTableName',
|
|
361
381
|
message: 'defaultTableName',
|
|
362
382
|
required: false,
|
|
383
|
+
skipPrompt: true,
|
|
363
384
|
},
|
|
364
385
|
{
|
|
365
386
|
type: 'text',
|
|
366
387
|
name: 'limitIncrementFunction',
|
|
367
388
|
message: 'limitIncrementFunction',
|
|
368
389
|
required: false,
|
|
390
|
+
skipPrompt: true,
|
|
369
391
|
},
|
|
370
392
|
{
|
|
371
393
|
type: 'text',
|
|
372
394
|
name: 'limitDecrementFunction',
|
|
373
395
|
message: 'limitDecrementFunction',
|
|
374
396
|
required: false,
|
|
397
|
+
skipPrompt: true,
|
|
375
398
|
},
|
|
376
399
|
{
|
|
377
400
|
type: 'text',
|
|
378
401
|
name: 'limitIncrementTrigger',
|
|
379
402
|
message: 'limitIncrementTrigger',
|
|
380
403
|
required: false,
|
|
404
|
+
skipPrompt: true,
|
|
381
405
|
},
|
|
382
406
|
{
|
|
383
407
|
type: 'text',
|
|
384
408
|
name: 'limitDecrementTrigger',
|
|
385
409
|
message: 'limitDecrementTrigger',
|
|
386
410
|
required: false,
|
|
411
|
+
skipPrompt: true,
|
|
387
412
|
},
|
|
388
413
|
{
|
|
389
414
|
type: 'text',
|
|
390
415
|
name: 'limitUpdateTrigger',
|
|
391
416
|
message: 'limitUpdateTrigger',
|
|
392
417
|
required: false,
|
|
418
|
+
skipPrompt: true,
|
|
393
419
|
},
|
|
394
420
|
{
|
|
395
421
|
type: 'text',
|
|
396
422
|
name: 'limitCheckFunction',
|
|
397
423
|
message: 'limitCheckFunction',
|
|
398
424
|
required: false,
|
|
425
|
+
skipPrompt: true,
|
|
399
426
|
},
|
|
400
427
|
{
|
|
401
428
|
type: 'text',
|
|
402
429
|
name: 'prefix',
|
|
403
430
|
message: 'prefix',
|
|
404
431
|
required: false,
|
|
432
|
+
skipPrompt: true,
|
|
405
433
|
},
|
|
406
434
|
{
|
|
407
435
|
type: 'text',
|
|
@@ -414,12 +442,14 @@ async function handleUpdate(argv, prompter) {
|
|
|
414
442
|
name: 'entityTableId',
|
|
415
443
|
message: 'entityTableId',
|
|
416
444
|
required: false,
|
|
445
|
+
skipPrompt: true,
|
|
417
446
|
},
|
|
418
447
|
{
|
|
419
448
|
type: 'text',
|
|
420
449
|
name: 'actorTableId',
|
|
421
450
|
message: 'actorTableId',
|
|
422
451
|
required: false,
|
|
452
|
+
skipPrompt: true,
|
|
423
453
|
},
|
|
424
454
|
]);
|
|
425
455
|
const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
|
|
@@ -123,18 +123,21 @@ async function handleCreate(argv, prompter) {
|
|
|
123
123
|
name: 'schemaId',
|
|
124
124
|
message: 'schemaId',
|
|
125
125
|
required: false,
|
|
126
|
+
skipPrompt: true,
|
|
126
127
|
},
|
|
127
128
|
{
|
|
128
129
|
type: 'text',
|
|
129
130
|
name: 'tableId',
|
|
130
131
|
message: 'tableId',
|
|
131
132
|
required: false,
|
|
133
|
+
skipPrompt: true,
|
|
132
134
|
},
|
|
133
135
|
{
|
|
134
136
|
type: 'text',
|
|
135
137
|
name: 'tableName',
|
|
136
138
|
message: 'tableName',
|
|
137
139
|
required: false,
|
|
140
|
+
skipPrompt: true,
|
|
138
141
|
},
|
|
139
142
|
]);
|
|
140
143
|
const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
|
|
@@ -187,18 +190,21 @@ async function handleUpdate(argv, prompter) {
|
|
|
187
190
|
name: 'schemaId',
|
|
188
191
|
message: 'schemaId',
|
|
189
192
|
required: false,
|
|
193
|
+
skipPrompt: true,
|
|
190
194
|
},
|
|
191
195
|
{
|
|
192
196
|
type: 'text',
|
|
193
197
|
name: 'tableId',
|
|
194
198
|
message: 'tableId',
|
|
195
199
|
required: false,
|
|
200
|
+
skipPrompt: true,
|
|
196
201
|
},
|
|
197
202
|
{
|
|
198
203
|
type: 'text',
|
|
199
204
|
name: 'tableName',
|
|
200
205
|
message: 'tableName',
|
|
201
206
|
required: false,
|
|
207
|
+
skipPrompt: true,
|
|
202
208
|
},
|
|
203
209
|
]);
|
|
204
210
|
const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
|