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