@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
|
@@ -118,6 +118,7 @@ async function handleCreate(argv, prompter) {
|
|
|
118
118
|
name: 'databaseId',
|
|
119
119
|
message: 'databaseId',
|
|
120
120
|
required: false,
|
|
121
|
+
skipPrompt: true,
|
|
121
122
|
},
|
|
122
123
|
{
|
|
123
124
|
type: 'text',
|
|
@@ -142,6 +143,7 @@ async function handleCreate(argv, prompter) {
|
|
|
142
143
|
name: 'action',
|
|
143
144
|
message: 'action',
|
|
144
145
|
required: false,
|
|
146
|
+
skipPrompt: true,
|
|
145
147
|
},
|
|
146
148
|
]);
|
|
147
149
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
@@ -190,6 +192,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
190
192
|
name: 'databaseId',
|
|
191
193
|
message: 'databaseId',
|
|
192
194
|
required: false,
|
|
195
|
+
skipPrompt: true,
|
|
193
196
|
},
|
|
194
197
|
{
|
|
195
198
|
type: 'text',
|
|
@@ -214,6 +217,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
214
217
|
name: 'action',
|
|
215
218
|
message: 'action',
|
|
216
219
|
required: false,
|
|
220
|
+
skipPrompt: true,
|
|
217
221
|
},
|
|
218
222
|
]);
|
|
219
223
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
@@ -124,6 +124,7 @@ async function handleCreate(argv, prompter) {
|
|
|
124
124
|
name: 'joinOrder',
|
|
125
125
|
message: 'joinOrder',
|
|
126
126
|
required: false,
|
|
127
|
+
skipPrompt: true,
|
|
127
128
|
},
|
|
128
129
|
]);
|
|
129
130
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
@@ -180,6 +181,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
180
181
|
name: 'joinOrder',
|
|
181
182
|
message: 'joinOrder',
|
|
182
183
|
required: false,
|
|
184
|
+
skipPrompt: true,
|
|
183
185
|
},
|
|
184
186
|
]);
|
|
185
187
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
@@ -148,6 +148,7 @@ async function handleCreate(argv, prompter) {
|
|
|
148
148
|
name: 'databaseId',
|
|
149
149
|
message: 'databaseId',
|
|
150
150
|
required: false,
|
|
151
|
+
skipPrompt: true,
|
|
151
152
|
},
|
|
152
153
|
{
|
|
153
154
|
type: 'text',
|
|
@@ -166,6 +167,7 @@ async function handleCreate(argv, prompter) {
|
|
|
166
167
|
name: 'tableId',
|
|
167
168
|
message: 'tableId',
|
|
168
169
|
required: false,
|
|
170
|
+
skipPrompt: true,
|
|
169
171
|
},
|
|
170
172
|
{
|
|
171
173
|
type: 'text',
|
|
@@ -178,60 +180,70 @@ async function handleCreate(argv, prompter) {
|
|
|
178
180
|
name: 'data',
|
|
179
181
|
message: 'data',
|
|
180
182
|
required: false,
|
|
183
|
+
skipPrompt: true,
|
|
181
184
|
},
|
|
182
185
|
{
|
|
183
186
|
type: 'text',
|
|
184
187
|
name: 'filterType',
|
|
185
188
|
message: 'filterType',
|
|
186
189
|
required: false,
|
|
190
|
+
skipPrompt: true,
|
|
187
191
|
},
|
|
188
192
|
{
|
|
189
193
|
type: 'text',
|
|
190
194
|
name: 'filterData',
|
|
191
195
|
message: 'filterData',
|
|
192
196
|
required: false,
|
|
197
|
+
skipPrompt: true,
|
|
193
198
|
},
|
|
194
199
|
{
|
|
195
200
|
type: 'text',
|
|
196
201
|
name: 'securityInvoker',
|
|
197
202
|
message: 'securityInvoker',
|
|
198
203
|
required: false,
|
|
204
|
+
skipPrompt: true,
|
|
199
205
|
},
|
|
200
206
|
{
|
|
201
207
|
type: 'text',
|
|
202
208
|
name: 'isReadOnly',
|
|
203
209
|
message: 'isReadOnly',
|
|
204
210
|
required: false,
|
|
211
|
+
skipPrompt: true,
|
|
205
212
|
},
|
|
206
213
|
{
|
|
207
214
|
type: 'text',
|
|
208
215
|
name: 'smartTags',
|
|
209
216
|
message: 'smartTags',
|
|
210
217
|
required: false,
|
|
218
|
+
skipPrompt: true,
|
|
211
219
|
},
|
|
212
220
|
{
|
|
213
221
|
type: 'text',
|
|
214
222
|
name: 'category',
|
|
215
223
|
message: 'category',
|
|
216
224
|
required: false,
|
|
225
|
+
skipPrompt: true,
|
|
217
226
|
},
|
|
218
227
|
{
|
|
219
228
|
type: 'text',
|
|
220
229
|
name: 'module',
|
|
221
230
|
message: 'module',
|
|
222
231
|
required: false,
|
|
232
|
+
skipPrompt: true,
|
|
223
233
|
},
|
|
224
234
|
{
|
|
225
235
|
type: 'text',
|
|
226
236
|
name: 'scope',
|
|
227
237
|
message: 'scope',
|
|
228
238
|
required: false,
|
|
239
|
+
skipPrompt: true,
|
|
229
240
|
},
|
|
230
241
|
{
|
|
231
242
|
type: 'text',
|
|
232
243
|
name: 'tags',
|
|
233
244
|
message: 'tags',
|
|
234
245
|
required: false,
|
|
246
|
+
skipPrompt: true,
|
|
235
247
|
},
|
|
236
248
|
]);
|
|
237
249
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
@@ -300,6 +312,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
300
312
|
name: 'databaseId',
|
|
301
313
|
message: 'databaseId',
|
|
302
314
|
required: false,
|
|
315
|
+
skipPrompt: true,
|
|
303
316
|
},
|
|
304
317
|
{
|
|
305
318
|
type: 'text',
|
|
@@ -318,6 +331,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
318
331
|
name: 'tableId',
|
|
319
332
|
message: 'tableId',
|
|
320
333
|
required: false,
|
|
334
|
+
skipPrompt: true,
|
|
321
335
|
},
|
|
322
336
|
{
|
|
323
337
|
type: 'text',
|
|
@@ -330,60 +344,70 @@ async function handleUpdate(argv, prompter) {
|
|
|
330
344
|
name: 'data',
|
|
331
345
|
message: 'data',
|
|
332
346
|
required: false,
|
|
347
|
+
skipPrompt: true,
|
|
333
348
|
},
|
|
334
349
|
{
|
|
335
350
|
type: 'text',
|
|
336
351
|
name: 'filterType',
|
|
337
352
|
message: 'filterType',
|
|
338
353
|
required: false,
|
|
354
|
+
skipPrompt: true,
|
|
339
355
|
},
|
|
340
356
|
{
|
|
341
357
|
type: 'text',
|
|
342
358
|
name: 'filterData',
|
|
343
359
|
message: 'filterData',
|
|
344
360
|
required: false,
|
|
361
|
+
skipPrompt: true,
|
|
345
362
|
},
|
|
346
363
|
{
|
|
347
364
|
type: 'text',
|
|
348
365
|
name: 'securityInvoker',
|
|
349
366
|
message: 'securityInvoker',
|
|
350
367
|
required: false,
|
|
368
|
+
skipPrompt: true,
|
|
351
369
|
},
|
|
352
370
|
{
|
|
353
371
|
type: 'text',
|
|
354
372
|
name: 'isReadOnly',
|
|
355
373
|
message: 'isReadOnly',
|
|
356
374
|
required: false,
|
|
375
|
+
skipPrompt: true,
|
|
357
376
|
},
|
|
358
377
|
{
|
|
359
378
|
type: 'text',
|
|
360
379
|
name: 'smartTags',
|
|
361
380
|
message: 'smartTags',
|
|
362
381
|
required: false,
|
|
382
|
+
skipPrompt: true,
|
|
363
383
|
},
|
|
364
384
|
{
|
|
365
385
|
type: 'text',
|
|
366
386
|
name: 'category',
|
|
367
387
|
message: 'category',
|
|
368
388
|
required: false,
|
|
389
|
+
skipPrompt: true,
|
|
369
390
|
},
|
|
370
391
|
{
|
|
371
392
|
type: 'text',
|
|
372
393
|
name: 'module',
|
|
373
394
|
message: 'module',
|
|
374
395
|
required: false,
|
|
396
|
+
skipPrompt: true,
|
|
375
397
|
},
|
|
376
398
|
{
|
|
377
399
|
type: 'text',
|
|
378
400
|
name: 'scope',
|
|
379
401
|
message: 'scope',
|
|
380
402
|
required: false,
|
|
403
|
+
skipPrompt: true,
|
|
381
404
|
},
|
|
382
405
|
{
|
|
383
406
|
type: 'text',
|
|
384
407
|
name: 'tags',
|
|
385
408
|
message: 'tags',
|
|
386
409
|
required: false,
|
|
410
|
+
skipPrompt: true,
|
|
387
411
|
},
|
|
388
412
|
]);
|
|
389
413
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
@@ -129,6 +129,7 @@ async function handleCreate(argv, prompter) {
|
|
|
129
129
|
name: 'message',
|
|
130
130
|
message: 'message',
|
|
131
131
|
required: false,
|
|
132
|
+
skipPrompt: true,
|
|
132
133
|
},
|
|
133
134
|
{
|
|
134
135
|
type: 'text',
|
|
@@ -147,30 +148,35 @@ async function handleCreate(argv, prompter) {
|
|
|
147
148
|
name: 'parentIds',
|
|
148
149
|
message: 'parentIds',
|
|
149
150
|
required: false,
|
|
151
|
+
skipPrompt: true,
|
|
150
152
|
},
|
|
151
153
|
{
|
|
152
154
|
type: 'text',
|
|
153
155
|
name: 'authorId',
|
|
154
156
|
message: 'authorId',
|
|
155
157
|
required: false,
|
|
158
|
+
skipPrompt: true,
|
|
156
159
|
},
|
|
157
160
|
{
|
|
158
161
|
type: 'text',
|
|
159
162
|
name: 'committerId',
|
|
160
163
|
message: 'committerId',
|
|
161
164
|
required: false,
|
|
165
|
+
skipPrompt: true,
|
|
162
166
|
},
|
|
163
167
|
{
|
|
164
168
|
type: 'text',
|
|
165
169
|
name: 'treeId',
|
|
166
170
|
message: 'treeId',
|
|
167
171
|
required: false,
|
|
172
|
+
skipPrompt: true,
|
|
168
173
|
},
|
|
169
174
|
{
|
|
170
175
|
type: 'text',
|
|
171
176
|
name: 'date',
|
|
172
177
|
message: 'date',
|
|
173
178
|
required: false,
|
|
179
|
+
skipPrompt: true,
|
|
174
180
|
},
|
|
175
181
|
]);
|
|
176
182
|
const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
|
|
@@ -225,6 +231,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
225
231
|
name: 'message',
|
|
226
232
|
message: 'message',
|
|
227
233
|
required: false,
|
|
234
|
+
skipPrompt: true,
|
|
228
235
|
},
|
|
229
236
|
{
|
|
230
237
|
type: 'text',
|
|
@@ -243,30 +250,35 @@ async function handleUpdate(argv, prompter) {
|
|
|
243
250
|
name: 'parentIds',
|
|
244
251
|
message: 'parentIds',
|
|
245
252
|
required: false,
|
|
253
|
+
skipPrompt: true,
|
|
246
254
|
},
|
|
247
255
|
{
|
|
248
256
|
type: 'text',
|
|
249
257
|
name: 'authorId',
|
|
250
258
|
message: 'authorId',
|
|
251
259
|
required: false,
|
|
260
|
+
skipPrompt: true,
|
|
252
261
|
},
|
|
253
262
|
{
|
|
254
263
|
type: 'text',
|
|
255
264
|
name: 'committerId',
|
|
256
265
|
message: 'committerId',
|
|
257
266
|
required: false,
|
|
267
|
+
skipPrompt: true,
|
|
258
268
|
},
|
|
259
269
|
{
|
|
260
270
|
type: 'text',
|
|
261
271
|
name: 'treeId',
|
|
262
272
|
message: 'treeId',
|
|
263
273
|
required: false,
|
|
274
|
+
skipPrompt: true,
|
|
264
275
|
},
|
|
265
276
|
{
|
|
266
277
|
type: 'text',
|
|
267
278
|
name: 'date',
|
|
268
279
|
message: 'date',
|
|
269
280
|
required: false,
|
|
281
|
+
skipPrompt: true,
|
|
270
282
|
},
|
|
271
283
|
]);
|
|
272
284
|
const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
|
|
@@ -132,24 +132,28 @@ async function handleCreate(argv, prompter) {
|
|
|
132
132
|
name: 'kids',
|
|
133
133
|
message: 'kids',
|
|
134
134
|
required: false,
|
|
135
|
+
skipPrompt: true,
|
|
135
136
|
},
|
|
136
137
|
{
|
|
137
138
|
type: 'text',
|
|
138
139
|
name: 'ktree',
|
|
139
140
|
message: 'ktree',
|
|
140
141
|
required: false,
|
|
142
|
+
skipPrompt: true,
|
|
141
143
|
},
|
|
142
144
|
{
|
|
143
145
|
type: 'text',
|
|
144
146
|
name: 'data',
|
|
145
147
|
message: 'data',
|
|
146
148
|
required: false,
|
|
149
|
+
skipPrompt: true,
|
|
147
150
|
},
|
|
148
151
|
{
|
|
149
152
|
type: 'text',
|
|
150
153
|
name: 'frzn',
|
|
151
154
|
message: 'frzn',
|
|
152
155
|
required: false,
|
|
156
|
+
skipPrompt: true,
|
|
153
157
|
},
|
|
154
158
|
]);
|
|
155
159
|
const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
|
|
@@ -206,24 +210,28 @@ async function handleUpdate(argv, prompter) {
|
|
|
206
210
|
name: 'kids',
|
|
207
211
|
message: 'kids',
|
|
208
212
|
required: false,
|
|
213
|
+
skipPrompt: true,
|
|
209
214
|
},
|
|
210
215
|
{
|
|
211
216
|
type: 'text',
|
|
212
217
|
name: 'ktree',
|
|
213
218
|
message: 'ktree',
|
|
214
219
|
required: false,
|
|
220
|
+
skipPrompt: true,
|
|
215
221
|
},
|
|
216
222
|
{
|
|
217
223
|
type: 'text',
|
|
218
224
|
name: 'data',
|
|
219
225
|
message: 'data',
|
|
220
226
|
required: false,
|
|
227
|
+
skipPrompt: true,
|
|
221
228
|
},
|
|
222
229
|
{
|
|
223
230
|
type: 'text',
|
|
224
231
|
name: 'frzn',
|
|
225
232
|
message: 'frzn',
|
|
226
233
|
required: false,
|
|
234
|
+
skipPrompt: true,
|
|
227
235
|
},
|
|
228
236
|
]);
|
|
229
237
|
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);
|
|
@@ -129,6 +129,7 @@ async function handleCreate(argv, prompter) {
|
|
|
129
129
|
name: 'hash',
|
|
130
130
|
message: 'hash',
|
|
131
131
|
required: false,
|
|
132
|
+
skipPrompt: true,
|
|
132
133
|
},
|
|
133
134
|
]);
|
|
134
135
|
const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
|
|
@@ -186,6 +187,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
186
187
|
name: 'hash',
|
|
187
188
|
message: 'hash',
|
|
188
189
|
required: false,
|
|
190
|
+
skipPrompt: true,
|
|
189
191
|
},
|
|
190
192
|
]);
|
|
191
193
|
const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@constructive-sdk/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"author": "Constructive <developers@constructive.io>",
|
|
5
5
|
"description": "Constructive CLI SDK - Auto-generated GraphQL CLI with ORM client, context management, and interactive prompts",
|
|
6
6
|
"main": "index.js",
|
|
@@ -49,16 +49,16 @@
|
|
|
49
49
|
"appstash": "^0.5.0",
|
|
50
50
|
"gql-ast": "^3.1.1",
|
|
51
51
|
"graphql": "^16.13.0",
|
|
52
|
-
"inquirerer": "^4.
|
|
52
|
+
"inquirerer": "^4.6.0",
|
|
53
53
|
"nested-obj": "^0.2.1",
|
|
54
54
|
"yanse": "^0.2.1"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@constructive-io/graphql-codegen": "^4.
|
|
57
|
+
"@constructive-io/graphql-codegen": "^4.9.0",
|
|
58
58
|
"@types/node": "^22.19.11",
|
|
59
59
|
"makage": "^0.1.12",
|
|
60
60
|
"tsx": "^4.19.0",
|
|
61
61
|
"typescript": "^5.9.3"
|
|
62
62
|
},
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "f1f05509f0168497f17c3dbbddb131d6aa5310e1"
|
|
64
64
|
}
|
|
@@ -135,24 +135,28 @@ async function handleCreate(argv, prompter) {
|
|
|
135
135
|
name: 'dbname',
|
|
136
136
|
message: 'dbname',
|
|
137
137
|
required: false,
|
|
138
|
+
skipPrompt: true,
|
|
138
139
|
},
|
|
139
140
|
{
|
|
140
141
|
type: 'text',
|
|
141
142
|
name: 'roleName',
|
|
142
143
|
message: 'roleName',
|
|
143
144
|
required: false,
|
|
145
|
+
skipPrompt: true,
|
|
144
146
|
},
|
|
145
147
|
{
|
|
146
148
|
type: 'text',
|
|
147
149
|
name: 'anonRole',
|
|
148
150
|
message: 'anonRole',
|
|
149
151
|
required: false,
|
|
152
|
+
skipPrompt: true,
|
|
150
153
|
},
|
|
151
154
|
{
|
|
152
155
|
type: 'text',
|
|
153
156
|
name: 'isPublic',
|
|
154
157
|
message: 'isPublic',
|
|
155
158
|
required: false,
|
|
159
|
+
skipPrompt: true,
|
|
156
160
|
},
|
|
157
161
|
]);
|
|
158
162
|
const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
|
|
@@ -215,24 +219,28 @@ async function handleUpdate(argv, prompter) {
|
|
|
215
219
|
name: 'dbname',
|
|
216
220
|
message: 'dbname',
|
|
217
221
|
required: false,
|
|
222
|
+
skipPrompt: true,
|
|
218
223
|
},
|
|
219
224
|
{
|
|
220
225
|
type: 'text',
|
|
221
226
|
name: 'roleName',
|
|
222
227
|
message: 'roleName',
|
|
223
228
|
required: false,
|
|
229
|
+
skipPrompt: true,
|
|
224
230
|
},
|
|
225
231
|
{
|
|
226
232
|
type: 'text',
|
|
227
233
|
name: 'anonRole',
|
|
228
234
|
message: 'anonRole',
|
|
229
235
|
required: false,
|
|
236
|
+
skipPrompt: true,
|
|
230
237
|
},
|
|
231
238
|
{
|
|
232
239
|
type: 'text',
|
|
233
240
|
name: 'isPublic',
|
|
234
241
|
message: 'isPublic',
|
|
235
242
|
required: false,
|
|
243
|
+
skipPrompt: true,
|
|
236
244
|
},
|
|
237
245
|
]);
|
|
238
246
|
const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
|
|
@@ -120,6 +120,7 @@ async function handleCreate(argv, prompter) {
|
|
|
120
120
|
name: 'actorId',
|
|
121
121
|
message: 'actorId',
|
|
122
122
|
required: false,
|
|
123
|
+
skipPrompt: true,
|
|
123
124
|
},
|
|
124
125
|
{
|
|
125
126
|
type: 'text',
|
|
@@ -132,6 +133,7 @@ async function handleCreate(argv, prompter) {
|
|
|
132
133
|
name: 'count',
|
|
133
134
|
message: 'count',
|
|
134
135
|
required: false,
|
|
136
|
+
skipPrompt: true,
|
|
135
137
|
},
|
|
136
138
|
]);
|
|
137
139
|
const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
|
|
@@ -178,6 +180,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
178
180
|
name: 'actorId',
|
|
179
181
|
message: 'actorId',
|
|
180
182
|
required: false,
|
|
183
|
+
skipPrompt: true,
|
|
181
184
|
},
|
|
182
185
|
{
|
|
183
186
|
type: 'text',
|
|
@@ -190,6 +193,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
190
193
|
name: 'count',
|
|
191
194
|
message: 'count',
|
|
192
195
|
required: false,
|
|
196
|
+
skipPrompt: true,
|
|
193
197
|
},
|
|
194
198
|
]);
|
|
195
199
|
const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
|
|
@@ -120,6 +120,7 @@ async function handleCreate(argv, prompter) {
|
|
|
120
120
|
name: 'isGrant',
|
|
121
121
|
message: 'isGrant',
|
|
122
122
|
required: false,
|
|
123
|
+
skipPrompt: true,
|
|
123
124
|
},
|
|
124
125
|
{
|
|
125
126
|
type: 'text',
|
|
@@ -132,6 +133,7 @@ async function handleCreate(argv, prompter) {
|
|
|
132
133
|
name: 'grantorId',
|
|
133
134
|
message: 'grantorId',
|
|
134
135
|
required: false,
|
|
136
|
+
skipPrompt: true,
|
|
135
137
|
},
|
|
136
138
|
]);
|
|
137
139
|
const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
|
|
@@ -178,6 +180,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
178
180
|
name: 'isGrant',
|
|
179
181
|
message: 'isGrant',
|
|
180
182
|
required: false,
|
|
183
|
+
skipPrompt: true,
|
|
181
184
|
},
|
|
182
185
|
{
|
|
183
186
|
type: 'text',
|
|
@@ -190,6 +193,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
190
193
|
name: 'grantorId',
|
|
191
194
|
message: 'grantorId',
|
|
192
195
|
required: false,
|
|
196
|
+
skipPrompt: true,
|
|
193
197
|
},
|
|
194
198
|
]);
|
|
195
199
|
const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
|
|
@@ -123,12 +123,14 @@ async function handleCreate(argv, prompter) {
|
|
|
123
123
|
name: 'permissions',
|
|
124
124
|
message: 'permissions',
|
|
125
125
|
required: false,
|
|
126
|
+
skipPrompt: true,
|
|
126
127
|
},
|
|
127
128
|
{
|
|
128
129
|
type: 'text',
|
|
129
130
|
name: 'isGrant',
|
|
130
131
|
message: 'isGrant',
|
|
131
132
|
required: false,
|
|
133
|
+
skipPrompt: true,
|
|
132
134
|
},
|
|
133
135
|
{
|
|
134
136
|
type: 'text',
|
|
@@ -141,6 +143,7 @@ async function handleCreate(argv, prompter) {
|
|
|
141
143
|
name: 'grantorId',
|
|
142
144
|
message: 'grantorId',
|
|
143
145
|
required: false,
|
|
146
|
+
skipPrompt: true,
|
|
144
147
|
},
|
|
145
148
|
]);
|
|
146
149
|
const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
|
|
@@ -189,12 +192,14 @@ async function handleUpdate(argv, prompter) {
|
|
|
189
192
|
name: 'permissions',
|
|
190
193
|
message: 'permissions',
|
|
191
194
|
required: false,
|
|
195
|
+
skipPrompt: true,
|
|
192
196
|
},
|
|
193
197
|
{
|
|
194
198
|
type: 'text',
|
|
195
199
|
name: 'isGrant',
|
|
196
200
|
message: 'isGrant',
|
|
197
201
|
required: false,
|
|
202
|
+
skipPrompt: true,
|
|
198
203
|
},
|
|
199
204
|
{
|
|
200
205
|
type: 'text',
|
|
@@ -207,6 +212,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
207
212
|
name: 'grantorId',
|
|
208
213
|
message: 'grantorId',
|
|
209
214
|
required: false,
|
|
215
|
+
skipPrompt: true,
|
|
210
216
|
},
|
|
211
217
|
]);
|
|
212
218
|
const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
|
|
@@ -138,18 +138,21 @@ async function handleCreate(argv, prompter) {
|
|
|
138
138
|
name: 'description',
|
|
139
139
|
message: 'description',
|
|
140
140
|
required: false,
|
|
141
|
+
skipPrompt: true,
|
|
141
142
|
},
|
|
142
143
|
{
|
|
143
144
|
type: 'text',
|
|
144
145
|
name: 'requiredCount',
|
|
145
146
|
message: 'requiredCount',
|
|
146
147
|
required: false,
|
|
148
|
+
skipPrompt: true,
|
|
147
149
|
},
|
|
148
150
|
{
|
|
149
151
|
type: 'text',
|
|
150
152
|
name: 'priority',
|
|
151
153
|
message: 'priority',
|
|
152
154
|
required: false,
|
|
155
|
+
skipPrompt: true,
|
|
153
156
|
},
|
|
154
157
|
]);
|
|
155
158
|
const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
|
|
@@ -212,18 +215,21 @@ async function handleUpdate(argv, prompter) {
|
|
|
212
215
|
name: 'description',
|
|
213
216
|
message: 'description',
|
|
214
217
|
required: false,
|
|
218
|
+
skipPrompt: true,
|
|
215
219
|
},
|
|
216
220
|
{
|
|
217
221
|
type: 'text',
|
|
218
222
|
name: 'requiredCount',
|
|
219
223
|
message: 'requiredCount',
|
|
220
224
|
required: false,
|
|
225
|
+
skipPrompt: true,
|
|
221
226
|
},
|
|
222
227
|
{
|
|
223
228
|
type: 'text',
|
|
224
229
|
name: 'priority',
|
|
225
230
|
message: 'priority',
|
|
226
231
|
required: false,
|
|
232
|
+
skipPrompt: true,
|
|
227
233
|
},
|
|
228
234
|
]);
|
|
229
235
|
const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
|
|
@@ -129,18 +129,21 @@ async function handleCreate(argv, prompter) {
|
|
|
129
129
|
name: 'description',
|
|
130
130
|
message: 'description',
|
|
131
131
|
required: false,
|
|
132
|
+
skipPrompt: true,
|
|
132
133
|
},
|
|
133
134
|
{
|
|
134
135
|
type: 'text',
|
|
135
136
|
name: 'image',
|
|
136
137
|
message: 'image',
|
|
137
138
|
required: false,
|
|
139
|
+
skipPrompt: true,
|
|
138
140
|
},
|
|
139
141
|
{
|
|
140
142
|
type: 'text',
|
|
141
143
|
name: 'ownerId',
|
|
142
144
|
message: 'ownerId',
|
|
143
145
|
required: false,
|
|
146
|
+
skipPrompt: true,
|
|
144
147
|
},
|
|
145
148
|
]);
|
|
146
149
|
const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
|
|
@@ -195,18 +198,21 @@ async function handleUpdate(argv, prompter) {
|
|
|
195
198
|
name: 'description',
|
|
196
199
|
message: 'description',
|
|
197
200
|
required: false,
|
|
201
|
+
skipPrompt: true,
|
|
198
202
|
},
|
|
199
203
|
{
|
|
200
204
|
type: 'text',
|
|
201
205
|
name: 'image',
|
|
202
206
|
message: 'image',
|
|
203
207
|
required: false,
|
|
208
|
+
skipPrompt: true,
|
|
204
209
|
},
|
|
205
210
|
{
|
|
206
211
|
type: 'text',
|
|
207
212
|
name: 'ownerId',
|
|
208
213
|
message: 'ownerId',
|
|
209
214
|
required: false,
|
|
215
|
+
skipPrompt: true,
|
|
210
216
|
},
|
|
211
217
|
]);
|
|
212
218
|
const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
|