@constructive-sdk/cli 0.25.9 → 0.25.10
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-admin-grant.js +3 -1
- package/admin/cli/commands/app-grant.js +3 -1
- package/admin/cli/commands/app-invite.js +44 -0
- package/admin/cli/commands/app-owner-grant.js +3 -1
- package/admin/cli/commands/app-permission-default-grant.d.ts +8 -0
- package/admin/cli/commands/app-permission-default-grant.js +286 -0
- package/admin/cli/commands/app-permission-default-permission.d.ts +8 -0
- package/admin/cli/commands/app-permission-default-permission.js +242 -0
- package/admin/cli/commands/org-admin-grant.js +3 -1
- package/admin/cli/commands/org-grant.js +3 -1
- package/admin/cli/commands/org-invite.js +44 -0
- package/admin/cli/commands/org-owner-grant.js +3 -1
- package/admin/cli/commands/org-permission-default-grant.d.ts +8 -0
- package/admin/cli/commands/org-permission-default-grant.js +306 -0
- package/admin/cli/commands/org-permission-default-permission.d.ts +8 -0
- package/admin/cli/commands/org-permission-default-permission.js +262 -0
- package/admin/cli/commands.js +11 -3
- package/admin/cli/executor.d.ts +5 -1
- package/admin/orm/index.d.ts +10 -2
- package/admin/orm/index.js +10 -2
- package/admin/orm/input-types.d.ts +1611 -230
- package/admin/orm/input-types.js +9 -1
- package/admin/orm/models/appPermissionDefaultGrant.d.ts +54 -0
- package/admin/orm/models/appPermissionDefaultGrant.js +104 -0
- package/admin/orm/models/appPermissionDefaultPermission.d.ts +54 -0
- package/admin/orm/models/appPermissionDefaultPermission.js +104 -0
- package/admin/orm/models/index.d.ts +5 -1
- package/admin/orm/models/index.js +11 -3
- package/admin/orm/models/orgPermissionDefaultGrant.d.ts +54 -0
- package/admin/orm/models/orgPermissionDefaultGrant.js +104 -0
- package/admin/orm/models/orgPermissionDefaultPermission.d.ts +54 -0
- package/admin/orm/models/orgPermissionDefaultPermission.js +104 -0
- package/agent/cli/commands/agent-message.js +34 -12
- package/agent/cli/commands/agent-task.js +12 -12
- package/agent/cli/embedder.d.ts +5 -0
- package/agent/cli/embedder.js +46 -9
- package/agent/orm/input-types.d.ts +289 -47
- package/agent/orm/input-types.js +1 -0
- package/api/cli/commands/check-constraint.js +0 -22
- package/api/cli/commands/composite-type.d.ts +8 -0
- package/api/cli/commands/composite-type.js +424 -0
- package/api/cli/commands/enum.js +0 -22
- package/api/cli/commands/field.js +0 -22
- package/api/cli/commands/foreign-key-constraint.js +0 -22
- package/api/cli/commands/index.js +0 -22
- package/api/cli/commands/policy.js +0 -22
- package/api/cli/commands/primary-key-constraint.js +0 -22
- package/api/cli/commands/schema.js +0 -22
- package/api/cli/commands/spatial-relation.js +0 -22
- package/api/cli/commands/table.js +6 -28
- package/api/cli/commands/trigger.js +0 -22
- package/api/cli/commands/unique-constraint.js +0 -22
- package/api/cli/commands/view-table.js +22 -0
- package/api/cli/commands/view.js +0 -22
- package/api/cli/commands.js +3 -1
- package/api/cli/executor.d.ts +1 -0
- package/api/orm/index.d.ts +2 -0
- package/api/orm/index.js +2 -0
- package/api/orm/input-types.d.ts +1064 -125
- package/api/orm/input-types.js +3 -0
- package/api/orm/models/compositeType.d.ts +54 -0
- package/api/orm/models/compositeType.js +104 -0
- package/api/orm/models/index.d.ts +1 -0
- package/api/orm/models/index.js +3 -1
- package/auth/cli/commands/link-identity.d.ts +8 -0
- package/auth/cli/commands/link-identity.js +36 -0
- package/auth/cli/commands/sign-in-sms-otp.d.ts +8 -0
- package/auth/cli/commands/sign-in-sms-otp.js +36 -0
- package/auth/cli/commands/sign-up-sms.d.ts +8 -0
- package/auth/cli/commands/sign-up-sms.js +36 -0
- package/auth/cli/commands.js +7 -1
- package/auth/cli/executor.d.ts +15 -0
- package/auth/orm/index.d.ts +15 -0
- package/auth/orm/input-types.d.ts +197 -1
- package/auth/orm/mutation/index.d.ts +25 -1
- package/auth/orm/mutation/index.js +36 -0
- package/esm/admin/cli/commands/app-admin-grant.js +3 -1
- package/esm/admin/cli/commands/app-grant.js +3 -1
- package/esm/admin/cli/commands/app-invite.js +44 -0
- package/esm/admin/cli/commands/app-owner-grant.js +3 -1
- package/esm/admin/cli/commands/app-permission-default-grant.d.ts +8 -0
- package/esm/admin/cli/commands/app-permission-default-grant.js +284 -0
- package/esm/admin/cli/commands/app-permission-default-permission.d.ts +8 -0
- package/esm/admin/cli/commands/app-permission-default-permission.js +240 -0
- package/esm/admin/cli/commands/org-admin-grant.js +3 -1
- package/esm/admin/cli/commands/org-grant.js +3 -1
- package/esm/admin/cli/commands/org-invite.js +44 -0
- package/esm/admin/cli/commands/org-owner-grant.js +3 -1
- package/esm/admin/cli/commands/org-permission-default-grant.d.ts +8 -0
- package/esm/admin/cli/commands/org-permission-default-grant.js +304 -0
- package/esm/admin/cli/commands/org-permission-default-permission.d.ts +8 -0
- package/esm/admin/cli/commands/org-permission-default-permission.js +260 -0
- package/esm/admin/cli/commands.js +11 -3
- package/esm/admin/cli/executor.d.ts +5 -1
- package/esm/admin/orm/index.d.ts +10 -2
- package/esm/admin/orm/index.js +10 -2
- package/esm/admin/orm/input-types.d.ts +1611 -230
- package/esm/admin/orm/input-types.js +9 -1
- package/esm/admin/orm/models/appPermissionDefaultGrant.d.ts +54 -0
- package/esm/admin/orm/models/appPermissionDefaultGrant.js +100 -0
- package/esm/admin/orm/models/appPermissionDefaultPermission.d.ts +54 -0
- package/esm/admin/orm/models/appPermissionDefaultPermission.js +100 -0
- package/esm/admin/orm/models/index.d.ts +5 -1
- package/esm/admin/orm/models/index.js +5 -1
- package/esm/admin/orm/models/orgPermissionDefaultGrant.d.ts +54 -0
- package/esm/admin/orm/models/orgPermissionDefaultGrant.js +100 -0
- package/esm/admin/orm/models/orgPermissionDefaultPermission.d.ts +54 -0
- package/esm/admin/orm/models/orgPermissionDefaultPermission.js +100 -0
- package/esm/agent/cli/commands/agent-message.js +34 -12
- package/esm/agent/cli/commands/agent-task.js +12 -12
- package/esm/agent/cli/embedder.d.ts +5 -0
- package/esm/agent/cli/embedder.js +10 -2
- package/esm/agent/orm/input-types.d.ts +289 -47
- package/esm/agent/orm/input-types.js +1 -0
- package/esm/api/cli/commands/check-constraint.js +0 -22
- package/esm/api/cli/commands/composite-type.d.ts +8 -0
- package/esm/api/cli/commands/composite-type.js +422 -0
- package/esm/api/cli/commands/enum.js +0 -22
- package/esm/api/cli/commands/field.js +0 -22
- package/esm/api/cli/commands/foreign-key-constraint.js +0 -22
- package/esm/api/cli/commands/index.js +0 -22
- package/esm/api/cli/commands/policy.js +0 -22
- package/esm/api/cli/commands/primary-key-constraint.js +0 -22
- package/esm/api/cli/commands/schema.js +0 -22
- package/esm/api/cli/commands/spatial-relation.js +0 -22
- package/esm/api/cli/commands/table.js +6 -28
- package/esm/api/cli/commands/trigger.js +0 -22
- package/esm/api/cli/commands/unique-constraint.js +0 -22
- package/esm/api/cli/commands/view-table.js +22 -0
- package/esm/api/cli/commands/view.js +0 -22
- package/esm/api/cli/commands.js +3 -1
- package/esm/api/cli/executor.d.ts +1 -0
- package/esm/api/orm/index.d.ts +2 -0
- package/esm/api/orm/index.js +2 -0
- package/esm/api/orm/input-types.d.ts +1064 -125
- package/esm/api/orm/input-types.js +3 -0
- package/esm/api/orm/models/compositeType.d.ts +54 -0
- package/esm/api/orm/models/compositeType.js +100 -0
- package/esm/api/orm/models/index.d.ts +1 -0
- package/esm/api/orm/models/index.js +1 -0
- package/esm/auth/cli/commands/link-identity.d.ts +8 -0
- package/esm/auth/cli/commands/link-identity.js +34 -0
- package/esm/auth/cli/commands/sign-in-sms-otp.d.ts +8 -0
- package/esm/auth/cli/commands/sign-in-sms-otp.js +34 -0
- package/esm/auth/cli/commands/sign-up-sms.d.ts +8 -0
- package/esm/auth/cli/commands/sign-up-sms.js +34 -0
- package/esm/auth/cli/commands.js +7 -1
- package/esm/auth/cli/executor.d.ts +15 -0
- package/esm/auth/orm/index.d.ts +15 -0
- package/esm/auth/orm/input-types.d.ts +197 -1
- package/esm/auth/orm/mutation/index.d.ts +25 -1
- package/esm/auth/orm/mutation/index.js +36 -0
- package/esm/modules/cli/commands/agent-module.js +88 -0
- package/esm/modules/cli/commands/billing-module.js +66 -0
- package/esm/modules/cli/commands/compute-log-module.js +44 -0
- package/esm/modules/cli/commands/config-secrets-module.js +44 -0
- package/esm/modules/cli/commands/db-usage-module.js +66 -0
- package/esm/modules/cli/commands/entity-type-provision.js +0 -44
- package/esm/modules/cli/commands/events-module.js +66 -0
- package/esm/modules/cli/commands/function-invocation-module.d.ts +8 -0
- package/esm/modules/cli/commands/function-invocation-module.js +580 -0
- package/esm/modules/cli/commands/function-module.js +22 -198
- package/esm/modules/cli/commands/graph-module.js +22 -0
- package/esm/modules/cli/commands/hierarchy-module.js +22 -0
- package/esm/modules/cli/commands/identity-providers-module.js +44 -0
- package/esm/modules/cli/commands/inference-log-module.js +44 -0
- package/esm/modules/cli/commands/invites-module.js +44 -0
- package/esm/modules/cli/commands/limits-module.js +44 -0
- package/esm/modules/cli/commands/memberships-module.js +88 -0
- package/esm/modules/cli/commands/merkle-store-module.js +22 -0
- package/esm/modules/cli/commands/namespace-module.js +22 -0
- package/esm/modules/cli/commands/notifications-module.js +88 -0
- package/esm/modules/cli/commands/permissions-module.js +44 -0
- package/esm/modules/cli/commands/plans-module.js +44 -0
- package/esm/modules/cli/commands/profiles-module.js +44 -0
- package/esm/modules/cli/commands/rate-limit-meters-module.js +66 -0
- package/esm/modules/cli/commands/storage-log-module.js +44 -0
- package/esm/modules/cli/commands/storage-module.js +66 -0
- package/esm/modules/cli/commands/transfer-log-module.js +44 -0
- package/esm/modules/cli/commands.js +29 -27
- package/esm/modules/cli/executor.d.ts +14 -13
- package/esm/modules/orm/index.d.ts +28 -26
- package/esm/modules/orm/index.js +28 -26
- package/esm/modules/orm/input-types.d.ts +4485 -2514
- package/esm/modules/orm/models/functionInvocationModule.d.ts +54 -0
- package/esm/modules/orm/models/functionInvocationModule.js +100 -0
- package/esm/modules/orm/models/index.d.ts +14 -13
- package/esm/modules/orm/models/index.js +14 -13
- package/esm/objects/orm/input-types.d.ts +62 -0
- package/esm/usage/orm/input-types.d.ts +314 -19
- package/modules/cli/commands/agent-module.js +88 -0
- package/modules/cli/commands/billing-module.js +66 -0
- package/modules/cli/commands/compute-log-module.js +44 -0
- package/modules/cli/commands/config-secrets-module.js +44 -0
- package/modules/cli/commands/db-usage-module.js +66 -0
- package/modules/cli/commands/entity-type-provision.js +0 -44
- package/modules/cli/commands/events-module.js +66 -0
- package/modules/cli/commands/function-invocation-module.d.ts +8 -0
- package/modules/cli/commands/function-invocation-module.js +582 -0
- package/modules/cli/commands/function-module.js +22 -198
- package/modules/cli/commands/graph-module.js +22 -0
- package/modules/cli/commands/hierarchy-module.js +22 -0
- package/modules/cli/commands/identity-providers-module.js +44 -0
- package/modules/cli/commands/inference-log-module.js +44 -0
- package/modules/cli/commands/invites-module.js +44 -0
- package/modules/cli/commands/limits-module.js +44 -0
- package/modules/cli/commands/memberships-module.js +88 -0
- package/modules/cli/commands/merkle-store-module.js +22 -0
- package/modules/cli/commands/namespace-module.js +22 -0
- package/modules/cli/commands/notifications-module.js +88 -0
- package/modules/cli/commands/permissions-module.js +44 -0
- package/modules/cli/commands/plans-module.js +44 -0
- package/modules/cli/commands/profiles-module.js +44 -0
- package/modules/cli/commands/rate-limit-meters-module.js +66 -0
- package/modules/cli/commands/storage-log-module.js +44 -0
- package/modules/cli/commands/storage-module.js +66 -0
- package/modules/cli/commands/transfer-log-module.js +44 -0
- package/modules/cli/commands.js +29 -27
- package/modules/cli/executor.d.ts +14 -13
- package/modules/orm/index.d.ts +28 -26
- package/modules/orm/index.js +28 -26
- package/modules/orm/input-types.d.ts +4485 -2514
- package/modules/orm/models/functionInvocationModule.d.ts +54 -0
- package/modules/orm/models/functionInvocationModule.js +104 -0
- package/modules/orm/models/index.d.ts +14 -13
- package/modules/orm/models/index.js +30 -28
- package/objects/orm/input-types.d.ts +62 -0
- package/package.json +4 -4
- package/usage/orm/input-types.d.ts +314 -19
|
@@ -21,6 +21,7 @@ const fieldSchema = {
|
|
|
21
21
|
apiName: 'string',
|
|
22
22
|
privateApiName: 'string',
|
|
23
23
|
scope: 'string',
|
|
24
|
+
functionPrefix: 'string',
|
|
24
25
|
createdAt: 'string',
|
|
25
26
|
};
|
|
26
27
|
const usage = '\nmerkle-store-module <command>\n\nCommands:\n list List merkleStoreModule records\n find-first Find first matching merkleStoreModule record\n get Get a merkleStoreModule by ID\n create Create a new merkleStoreModule\n update Update an existing merkleStoreModule\n delete Delete a merkleStoreModule\n\nList Options:\n --limit <n> Max number of records to return (forward pagination)\n --last <n> Number of records from the end (backward pagination)\n --after <cursor> Cursor for forward pagination\n --before <cursor> Cursor for backward pagination\n --offset <n> Number of records to skip\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.name.equalTo foo)\n --condition.<f>.<op> Condition filter (dot-notation)\n --orderBy <values> Comma-separated ordering values (e.g. NAME_ASC,CREATED_AT_DESC)\n\nFind-First Options:\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.status.equalTo active)\n --condition.<f>.<op> Condition filter (dot-notation)\n --orderBy <values> Comma-separated ordering values (e.g. NAME_ASC,CREATED_AT_DESC)\n\n --help, -h Show this help message\n';
|
|
@@ -79,6 +80,7 @@ async function handleList(argv, _prompter) {
|
|
|
79
80
|
apiName: true,
|
|
80
81
|
privateApiName: true,
|
|
81
82
|
scope: true,
|
|
83
|
+
functionPrefix: true,
|
|
82
84
|
createdAt: true,
|
|
83
85
|
};
|
|
84
86
|
const findManyArgs = parseFindManyArgs(argv, defaultSelect);
|
|
@@ -111,6 +113,7 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
111
113
|
apiName: true,
|
|
112
114
|
privateApiName: true,
|
|
113
115
|
scope: true,
|
|
116
|
+
functionPrefix: true,
|
|
114
117
|
createdAt: true,
|
|
115
118
|
};
|
|
116
119
|
const findFirstArgs = parseFindFirstArgs(argv, defaultSelect);
|
|
@@ -155,6 +158,7 @@ async function handleGet(argv, prompter) {
|
|
|
155
158
|
apiName: true,
|
|
156
159
|
privateApiName: true,
|
|
157
160
|
scope: true,
|
|
161
|
+
functionPrefix: true,
|
|
158
162
|
createdAt: true,
|
|
159
163
|
},
|
|
160
164
|
})
|
|
@@ -262,6 +266,13 @@ async function handleCreate(argv, prompter) {
|
|
|
262
266
|
required: false,
|
|
263
267
|
skipPrompt: true,
|
|
264
268
|
},
|
|
269
|
+
{
|
|
270
|
+
type: 'text',
|
|
271
|
+
name: 'functionPrefix',
|
|
272
|
+
message: 'functionPrefix',
|
|
273
|
+
required: false,
|
|
274
|
+
skipPrompt: true,
|
|
275
|
+
},
|
|
265
276
|
]);
|
|
266
277
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
267
278
|
const cleanedData = stripUndefined(answers, fieldSchema);
|
|
@@ -282,6 +293,7 @@ async function handleCreate(argv, prompter) {
|
|
|
282
293
|
apiName: cleanedData.apiName,
|
|
283
294
|
privateApiName: cleanedData.privateApiName,
|
|
284
295
|
scope: cleanedData.scope,
|
|
296
|
+
functionPrefix: cleanedData.functionPrefix,
|
|
285
297
|
},
|
|
286
298
|
select: {
|
|
287
299
|
id: true,
|
|
@@ -298,6 +310,7 @@ async function handleCreate(argv, prompter) {
|
|
|
298
310
|
apiName: true,
|
|
299
311
|
privateApiName: true,
|
|
300
312
|
scope: true,
|
|
313
|
+
functionPrefix: true,
|
|
301
314
|
createdAt: true,
|
|
302
315
|
},
|
|
303
316
|
})
|
|
@@ -411,6 +424,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
411
424
|
required: false,
|
|
412
425
|
skipPrompt: true,
|
|
413
426
|
},
|
|
427
|
+
{
|
|
428
|
+
type: 'text',
|
|
429
|
+
name: 'functionPrefix',
|
|
430
|
+
message: 'functionPrefix',
|
|
431
|
+
required: false,
|
|
432
|
+
skipPrompt: true,
|
|
433
|
+
},
|
|
414
434
|
]);
|
|
415
435
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
416
436
|
const cleanedData = stripUndefined(answers, fieldSchema);
|
|
@@ -434,6 +454,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
434
454
|
apiName: cleanedData.apiName,
|
|
435
455
|
privateApiName: cleanedData.privateApiName,
|
|
436
456
|
scope: cleanedData.scope,
|
|
457
|
+
functionPrefix: cleanedData.functionPrefix,
|
|
437
458
|
},
|
|
438
459
|
select: {
|
|
439
460
|
id: true,
|
|
@@ -450,6 +471,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
450
471
|
apiName: true,
|
|
451
472
|
privateApiName: true,
|
|
452
473
|
scope: true,
|
|
474
|
+
functionPrefix: true,
|
|
453
475
|
createdAt: true,
|
|
454
476
|
},
|
|
455
477
|
})
|
|
@@ -24,6 +24,7 @@ const fieldSchema = {
|
|
|
24
24
|
entityTableId: 'uuid',
|
|
25
25
|
policies: 'json',
|
|
26
26
|
provisions: 'json',
|
|
27
|
+
defaultPermissions: 'string',
|
|
27
28
|
};
|
|
28
29
|
const usage = '\nnamespace-module <command>\n\nCommands:\n list List namespaceModule records\n find-first Find first matching namespaceModule record\n get Get a namespaceModule by ID\n create Create a new namespaceModule\n update Update an existing namespaceModule\n delete Delete a namespaceModule\n\nList Options:\n --limit <n> Max number of records to return (forward pagination)\n --last <n> Number of records from the end (backward pagination)\n --after <cursor> Cursor for forward pagination\n --before <cursor> Cursor for backward pagination\n --offset <n> Number of records to skip\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.name.equalTo foo)\n --condition.<f>.<op> Condition filter (dot-notation)\n --orderBy <values> Comma-separated ordering values (e.g. NAME_ASC,CREATED_AT_DESC)\n\nFind-First Options:\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.status.equalTo active)\n --condition.<f>.<op> Condition filter (dot-notation)\n --orderBy <values> Comma-separated ordering values (e.g. NAME_ASC,CREATED_AT_DESC)\n\n --help, -h Show this help message\n';
|
|
29
30
|
export default async (argv, prompter, _options) => {
|
|
@@ -84,6 +85,7 @@ async function handleList(argv, _prompter) {
|
|
|
84
85
|
entityTableId: true,
|
|
85
86
|
policies: true,
|
|
86
87
|
provisions: true,
|
|
88
|
+
defaultPermissions: true,
|
|
87
89
|
};
|
|
88
90
|
const findManyArgs = parseFindManyArgs(argv, defaultSelect);
|
|
89
91
|
const client = getClient();
|
|
@@ -118,6 +120,7 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
118
120
|
entityTableId: true,
|
|
119
121
|
policies: true,
|
|
120
122
|
provisions: true,
|
|
123
|
+
defaultPermissions: true,
|
|
121
124
|
};
|
|
122
125
|
const findFirstArgs = parseFindFirstArgs(argv, defaultSelect);
|
|
123
126
|
const client = getClient();
|
|
@@ -164,6 +167,7 @@ async function handleGet(argv, prompter) {
|
|
|
164
167
|
entityTableId: true,
|
|
165
168
|
policies: true,
|
|
166
169
|
provisions: true,
|
|
170
|
+
defaultPermissions: true,
|
|
167
171
|
},
|
|
168
172
|
})
|
|
169
173
|
.execute();
|
|
@@ -291,6 +295,13 @@ async function handleCreate(argv, prompter) {
|
|
|
291
295
|
required: false,
|
|
292
296
|
skipPrompt: true,
|
|
293
297
|
},
|
|
298
|
+
{
|
|
299
|
+
type: 'text',
|
|
300
|
+
name: 'defaultPermissions',
|
|
301
|
+
message: 'defaultPermissions',
|
|
302
|
+
required: false,
|
|
303
|
+
skipPrompt: true,
|
|
304
|
+
},
|
|
294
305
|
]);
|
|
295
306
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
296
307
|
const cleanedData = stripUndefined(answers, fieldSchema);
|
|
@@ -314,6 +325,7 @@ async function handleCreate(argv, prompter) {
|
|
|
314
325
|
entityTableId: cleanedData.entityTableId,
|
|
315
326
|
policies: cleanedData.policies,
|
|
316
327
|
provisions: cleanedData.provisions,
|
|
328
|
+
defaultPermissions: cleanedData.defaultPermissions,
|
|
317
329
|
},
|
|
318
330
|
select: {
|
|
319
331
|
id: true,
|
|
@@ -333,6 +345,7 @@ async function handleCreate(argv, prompter) {
|
|
|
333
345
|
entityTableId: true,
|
|
334
346
|
policies: true,
|
|
335
347
|
provisions: true,
|
|
348
|
+
defaultPermissions: true,
|
|
336
349
|
},
|
|
337
350
|
})
|
|
338
351
|
.execute();
|
|
@@ -466,6 +479,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
466
479
|
required: false,
|
|
467
480
|
skipPrompt: true,
|
|
468
481
|
},
|
|
482
|
+
{
|
|
483
|
+
type: 'text',
|
|
484
|
+
name: 'defaultPermissions',
|
|
485
|
+
message: 'defaultPermissions',
|
|
486
|
+
required: false,
|
|
487
|
+
skipPrompt: true,
|
|
488
|
+
},
|
|
469
489
|
]);
|
|
470
490
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
471
491
|
const cleanedData = stripUndefined(answers, fieldSchema);
|
|
@@ -492,6 +512,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
492
512
|
entityTableId: cleanedData.entityTableId,
|
|
493
513
|
policies: cleanedData.policies,
|
|
494
514
|
provisions: cleanedData.provisions,
|
|
515
|
+
defaultPermissions: cleanedData.defaultPermissions,
|
|
495
516
|
},
|
|
496
517
|
select: {
|
|
497
518
|
id: true,
|
|
@@ -511,6 +532,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
511
532
|
entityTableId: true,
|
|
512
533
|
policies: true,
|
|
513
534
|
provisions: true,
|
|
535
|
+
defaultPermissions: true,
|
|
514
536
|
},
|
|
515
537
|
})
|
|
516
538
|
.execute();
|
|
@@ -11,11 +11,14 @@ const fieldSchema = {
|
|
|
11
11
|
databaseId: 'uuid',
|
|
12
12
|
schemaId: 'uuid',
|
|
13
13
|
privateSchemaId: 'uuid',
|
|
14
|
+
publicSchemaName: 'string',
|
|
15
|
+
privateSchemaName: 'string',
|
|
14
16
|
notificationsTableId: 'uuid',
|
|
15
17
|
readStateTableId: 'uuid',
|
|
16
18
|
preferencesTableId: 'uuid',
|
|
17
19
|
channelsTableId: 'uuid',
|
|
18
20
|
deliveryLogTableId: 'uuid',
|
|
21
|
+
suppressionsTableId: 'uuid',
|
|
19
22
|
ownerTableId: 'uuid',
|
|
20
23
|
userSettingsTableId: 'uuid',
|
|
21
24
|
organizationSettingsTableId: 'uuid',
|
|
@@ -24,6 +27,7 @@ const fieldSchema = {
|
|
|
24
27
|
hasSettingsExtension: 'boolean',
|
|
25
28
|
hasDigestMetadata: 'boolean',
|
|
26
29
|
hasSubscriptions: 'boolean',
|
|
30
|
+
defaultPermissions: 'string',
|
|
27
31
|
apiName: 'string',
|
|
28
32
|
privateApiName: 'string',
|
|
29
33
|
};
|
|
@@ -73,11 +77,14 @@ async function handleList(argv, _prompter) {
|
|
|
73
77
|
databaseId: true,
|
|
74
78
|
schemaId: true,
|
|
75
79
|
privateSchemaId: true,
|
|
80
|
+
publicSchemaName: true,
|
|
81
|
+
privateSchemaName: true,
|
|
76
82
|
notificationsTableId: true,
|
|
77
83
|
readStateTableId: true,
|
|
78
84
|
preferencesTableId: true,
|
|
79
85
|
channelsTableId: true,
|
|
80
86
|
deliveryLogTableId: true,
|
|
87
|
+
suppressionsTableId: true,
|
|
81
88
|
ownerTableId: true,
|
|
82
89
|
userSettingsTableId: true,
|
|
83
90
|
organizationSettingsTableId: true,
|
|
@@ -86,6 +93,7 @@ async function handleList(argv, _prompter) {
|
|
|
86
93
|
hasSettingsExtension: true,
|
|
87
94
|
hasDigestMetadata: true,
|
|
88
95
|
hasSubscriptions: true,
|
|
96
|
+
defaultPermissions: true,
|
|
89
97
|
apiName: true,
|
|
90
98
|
privateApiName: true,
|
|
91
99
|
};
|
|
@@ -109,11 +117,14 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
109
117
|
databaseId: true,
|
|
110
118
|
schemaId: true,
|
|
111
119
|
privateSchemaId: true,
|
|
120
|
+
publicSchemaName: true,
|
|
121
|
+
privateSchemaName: true,
|
|
112
122
|
notificationsTableId: true,
|
|
113
123
|
readStateTableId: true,
|
|
114
124
|
preferencesTableId: true,
|
|
115
125
|
channelsTableId: true,
|
|
116
126
|
deliveryLogTableId: true,
|
|
127
|
+
suppressionsTableId: true,
|
|
117
128
|
ownerTableId: true,
|
|
118
129
|
userSettingsTableId: true,
|
|
119
130
|
organizationSettingsTableId: true,
|
|
@@ -122,6 +133,7 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
122
133
|
hasSettingsExtension: true,
|
|
123
134
|
hasDigestMetadata: true,
|
|
124
135
|
hasSubscriptions: true,
|
|
136
|
+
defaultPermissions: true,
|
|
125
137
|
apiName: true,
|
|
126
138
|
privateApiName: true,
|
|
127
139
|
};
|
|
@@ -157,11 +169,14 @@ async function handleGet(argv, prompter) {
|
|
|
157
169
|
databaseId: true,
|
|
158
170
|
schemaId: true,
|
|
159
171
|
privateSchemaId: true,
|
|
172
|
+
publicSchemaName: true,
|
|
173
|
+
privateSchemaName: true,
|
|
160
174
|
notificationsTableId: true,
|
|
161
175
|
readStateTableId: true,
|
|
162
176
|
preferencesTableId: true,
|
|
163
177
|
channelsTableId: true,
|
|
164
178
|
deliveryLogTableId: true,
|
|
179
|
+
suppressionsTableId: true,
|
|
165
180
|
ownerTableId: true,
|
|
166
181
|
userSettingsTableId: true,
|
|
167
182
|
organizationSettingsTableId: true,
|
|
@@ -170,6 +185,7 @@ async function handleGet(argv, prompter) {
|
|
|
170
185
|
hasSettingsExtension: true,
|
|
171
186
|
hasDigestMetadata: true,
|
|
172
187
|
hasSubscriptions: true,
|
|
188
|
+
defaultPermissions: true,
|
|
173
189
|
apiName: true,
|
|
174
190
|
privateApiName: true,
|
|
175
191
|
},
|
|
@@ -208,6 +224,20 @@ async function handleCreate(argv, prompter) {
|
|
|
208
224
|
required: false,
|
|
209
225
|
skipPrompt: true,
|
|
210
226
|
},
|
|
227
|
+
{
|
|
228
|
+
type: 'text',
|
|
229
|
+
name: 'publicSchemaName',
|
|
230
|
+
message: 'publicSchemaName',
|
|
231
|
+
required: false,
|
|
232
|
+
skipPrompt: true,
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
type: 'text',
|
|
236
|
+
name: 'privateSchemaName',
|
|
237
|
+
message: 'privateSchemaName',
|
|
238
|
+
required: false,
|
|
239
|
+
skipPrompt: true,
|
|
240
|
+
},
|
|
211
241
|
{
|
|
212
242
|
type: 'text',
|
|
213
243
|
name: 'notificationsTableId',
|
|
@@ -243,6 +273,13 @@ async function handleCreate(argv, prompter) {
|
|
|
243
273
|
required: false,
|
|
244
274
|
skipPrompt: true,
|
|
245
275
|
},
|
|
276
|
+
{
|
|
277
|
+
type: 'text',
|
|
278
|
+
name: 'suppressionsTableId',
|
|
279
|
+
message: 'suppressionsTableId',
|
|
280
|
+
required: false,
|
|
281
|
+
skipPrompt: true,
|
|
282
|
+
},
|
|
246
283
|
{
|
|
247
284
|
type: 'text',
|
|
248
285
|
name: 'ownerTableId',
|
|
@@ -299,6 +336,13 @@ async function handleCreate(argv, prompter) {
|
|
|
299
336
|
required: false,
|
|
300
337
|
skipPrompt: true,
|
|
301
338
|
},
|
|
339
|
+
{
|
|
340
|
+
type: 'text',
|
|
341
|
+
name: 'defaultPermissions',
|
|
342
|
+
message: 'defaultPermissions',
|
|
343
|
+
required: false,
|
|
344
|
+
skipPrompt: true,
|
|
345
|
+
},
|
|
302
346
|
{
|
|
303
347
|
type: 'text',
|
|
304
348
|
name: 'apiName',
|
|
@@ -323,11 +367,14 @@ async function handleCreate(argv, prompter) {
|
|
|
323
367
|
databaseId: cleanedData.databaseId,
|
|
324
368
|
schemaId: cleanedData.schemaId,
|
|
325
369
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
370
|
+
publicSchemaName: cleanedData.publicSchemaName,
|
|
371
|
+
privateSchemaName: cleanedData.privateSchemaName,
|
|
326
372
|
notificationsTableId: cleanedData.notificationsTableId,
|
|
327
373
|
readStateTableId: cleanedData.readStateTableId,
|
|
328
374
|
preferencesTableId: cleanedData.preferencesTableId,
|
|
329
375
|
channelsTableId: cleanedData.channelsTableId,
|
|
330
376
|
deliveryLogTableId: cleanedData.deliveryLogTableId,
|
|
377
|
+
suppressionsTableId: cleanedData.suppressionsTableId,
|
|
331
378
|
ownerTableId: cleanedData.ownerTableId,
|
|
332
379
|
userSettingsTableId: cleanedData.userSettingsTableId,
|
|
333
380
|
organizationSettingsTableId: cleanedData.organizationSettingsTableId,
|
|
@@ -336,6 +383,7 @@ async function handleCreate(argv, prompter) {
|
|
|
336
383
|
hasSettingsExtension: cleanedData.hasSettingsExtension,
|
|
337
384
|
hasDigestMetadata: cleanedData.hasDigestMetadata,
|
|
338
385
|
hasSubscriptions: cleanedData.hasSubscriptions,
|
|
386
|
+
defaultPermissions: cleanedData.defaultPermissions,
|
|
339
387
|
apiName: cleanedData.apiName,
|
|
340
388
|
privateApiName: cleanedData.privateApiName,
|
|
341
389
|
},
|
|
@@ -344,11 +392,14 @@ async function handleCreate(argv, prompter) {
|
|
|
344
392
|
databaseId: true,
|
|
345
393
|
schemaId: true,
|
|
346
394
|
privateSchemaId: true,
|
|
395
|
+
publicSchemaName: true,
|
|
396
|
+
privateSchemaName: true,
|
|
347
397
|
notificationsTableId: true,
|
|
348
398
|
readStateTableId: true,
|
|
349
399
|
preferencesTableId: true,
|
|
350
400
|
channelsTableId: true,
|
|
351
401
|
deliveryLogTableId: true,
|
|
402
|
+
suppressionsTableId: true,
|
|
352
403
|
ownerTableId: true,
|
|
353
404
|
userSettingsTableId: true,
|
|
354
405
|
organizationSettingsTableId: true,
|
|
@@ -357,6 +408,7 @@ async function handleCreate(argv, prompter) {
|
|
|
357
408
|
hasSettingsExtension: true,
|
|
358
409
|
hasDigestMetadata: true,
|
|
359
410
|
hasSubscriptions: true,
|
|
411
|
+
defaultPermissions: true,
|
|
360
412
|
apiName: true,
|
|
361
413
|
privateApiName: true,
|
|
362
414
|
},
|
|
@@ -401,6 +453,20 @@ async function handleUpdate(argv, prompter) {
|
|
|
401
453
|
required: false,
|
|
402
454
|
skipPrompt: true,
|
|
403
455
|
},
|
|
456
|
+
{
|
|
457
|
+
type: 'text',
|
|
458
|
+
name: 'publicSchemaName',
|
|
459
|
+
message: 'publicSchemaName',
|
|
460
|
+
required: false,
|
|
461
|
+
skipPrompt: true,
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
type: 'text',
|
|
465
|
+
name: 'privateSchemaName',
|
|
466
|
+
message: 'privateSchemaName',
|
|
467
|
+
required: false,
|
|
468
|
+
skipPrompt: true,
|
|
469
|
+
},
|
|
404
470
|
{
|
|
405
471
|
type: 'text',
|
|
406
472
|
name: 'notificationsTableId',
|
|
@@ -436,6 +502,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
436
502
|
required: false,
|
|
437
503
|
skipPrompt: true,
|
|
438
504
|
},
|
|
505
|
+
{
|
|
506
|
+
type: 'text',
|
|
507
|
+
name: 'suppressionsTableId',
|
|
508
|
+
message: 'suppressionsTableId',
|
|
509
|
+
required: false,
|
|
510
|
+
skipPrompt: true,
|
|
511
|
+
},
|
|
439
512
|
{
|
|
440
513
|
type: 'text',
|
|
441
514
|
name: 'ownerTableId',
|
|
@@ -492,6 +565,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
492
565
|
required: false,
|
|
493
566
|
skipPrompt: true,
|
|
494
567
|
},
|
|
568
|
+
{
|
|
569
|
+
type: 'text',
|
|
570
|
+
name: 'defaultPermissions',
|
|
571
|
+
message: 'defaultPermissions',
|
|
572
|
+
required: false,
|
|
573
|
+
skipPrompt: true,
|
|
574
|
+
},
|
|
495
575
|
{
|
|
496
576
|
type: 'text',
|
|
497
577
|
name: 'apiName',
|
|
@@ -519,11 +599,14 @@ async function handleUpdate(argv, prompter) {
|
|
|
519
599
|
databaseId: cleanedData.databaseId,
|
|
520
600
|
schemaId: cleanedData.schemaId,
|
|
521
601
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
602
|
+
publicSchemaName: cleanedData.publicSchemaName,
|
|
603
|
+
privateSchemaName: cleanedData.privateSchemaName,
|
|
522
604
|
notificationsTableId: cleanedData.notificationsTableId,
|
|
523
605
|
readStateTableId: cleanedData.readStateTableId,
|
|
524
606
|
preferencesTableId: cleanedData.preferencesTableId,
|
|
525
607
|
channelsTableId: cleanedData.channelsTableId,
|
|
526
608
|
deliveryLogTableId: cleanedData.deliveryLogTableId,
|
|
609
|
+
suppressionsTableId: cleanedData.suppressionsTableId,
|
|
527
610
|
ownerTableId: cleanedData.ownerTableId,
|
|
528
611
|
userSettingsTableId: cleanedData.userSettingsTableId,
|
|
529
612
|
organizationSettingsTableId: cleanedData.organizationSettingsTableId,
|
|
@@ -532,6 +615,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
532
615
|
hasSettingsExtension: cleanedData.hasSettingsExtension,
|
|
533
616
|
hasDigestMetadata: cleanedData.hasDigestMetadata,
|
|
534
617
|
hasSubscriptions: cleanedData.hasSubscriptions,
|
|
618
|
+
defaultPermissions: cleanedData.defaultPermissions,
|
|
535
619
|
apiName: cleanedData.apiName,
|
|
536
620
|
privateApiName: cleanedData.privateApiName,
|
|
537
621
|
},
|
|
@@ -540,11 +624,14 @@ async function handleUpdate(argv, prompter) {
|
|
|
540
624
|
databaseId: true,
|
|
541
625
|
schemaId: true,
|
|
542
626
|
privateSchemaId: true,
|
|
627
|
+
publicSchemaName: true,
|
|
628
|
+
privateSchemaName: true,
|
|
543
629
|
notificationsTableId: true,
|
|
544
630
|
readStateTableId: true,
|
|
545
631
|
preferencesTableId: true,
|
|
546
632
|
channelsTableId: true,
|
|
547
633
|
deliveryLogTableId: true,
|
|
634
|
+
suppressionsTableId: true,
|
|
548
635
|
ownerTableId: true,
|
|
549
636
|
userSettingsTableId: true,
|
|
550
637
|
organizationSettingsTableId: true,
|
|
@@ -553,6 +640,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
553
640
|
hasSettingsExtension: true,
|
|
554
641
|
hasDigestMetadata: true,
|
|
555
642
|
hasSubscriptions: true,
|
|
643
|
+
defaultPermissions: true,
|
|
556
644
|
apiName: true,
|
|
557
645
|
privateApiName: true,
|
|
558
646
|
},
|
|
@@ -11,6 +11,8 @@ const fieldSchema = {
|
|
|
11
11
|
databaseId: 'uuid',
|
|
12
12
|
schemaId: 'uuid',
|
|
13
13
|
privateSchemaId: 'uuid',
|
|
14
|
+
publicSchemaName: 'string',
|
|
15
|
+
privateSchemaName: 'string',
|
|
14
16
|
tableId: 'uuid',
|
|
15
17
|
tableName: 'string',
|
|
16
18
|
defaultTableId: 'uuid',
|
|
@@ -73,6 +75,8 @@ async function handleList(argv, _prompter) {
|
|
|
73
75
|
databaseId: true,
|
|
74
76
|
schemaId: true,
|
|
75
77
|
privateSchemaId: true,
|
|
78
|
+
publicSchemaName: true,
|
|
79
|
+
privateSchemaName: true,
|
|
76
80
|
tableId: true,
|
|
77
81
|
tableName: true,
|
|
78
82
|
defaultTableId: true,
|
|
@@ -109,6 +113,8 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
109
113
|
databaseId: true,
|
|
110
114
|
schemaId: true,
|
|
111
115
|
privateSchemaId: true,
|
|
116
|
+
publicSchemaName: true,
|
|
117
|
+
privateSchemaName: true,
|
|
112
118
|
tableId: true,
|
|
113
119
|
tableName: true,
|
|
114
120
|
defaultTableId: true,
|
|
@@ -157,6 +163,8 @@ async function handleGet(argv, prompter) {
|
|
|
157
163
|
databaseId: true,
|
|
158
164
|
schemaId: true,
|
|
159
165
|
privateSchemaId: true,
|
|
166
|
+
publicSchemaName: true,
|
|
167
|
+
privateSchemaName: true,
|
|
160
168
|
tableId: true,
|
|
161
169
|
tableName: true,
|
|
162
170
|
defaultTableId: true,
|
|
@@ -208,6 +216,20 @@ async function handleCreate(argv, prompter) {
|
|
|
208
216
|
required: false,
|
|
209
217
|
skipPrompt: true,
|
|
210
218
|
},
|
|
219
|
+
{
|
|
220
|
+
type: 'text',
|
|
221
|
+
name: 'publicSchemaName',
|
|
222
|
+
message: 'publicSchemaName',
|
|
223
|
+
required: false,
|
|
224
|
+
skipPrompt: true,
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
type: 'text',
|
|
228
|
+
name: 'privateSchemaName',
|
|
229
|
+
message: 'privateSchemaName',
|
|
230
|
+
required: false,
|
|
231
|
+
skipPrompt: true,
|
|
232
|
+
},
|
|
211
233
|
{
|
|
212
234
|
type: 'text',
|
|
213
235
|
name: 'tableId',
|
|
@@ -323,6 +345,8 @@ async function handleCreate(argv, prompter) {
|
|
|
323
345
|
databaseId: cleanedData.databaseId,
|
|
324
346
|
schemaId: cleanedData.schemaId,
|
|
325
347
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
348
|
+
publicSchemaName: cleanedData.publicSchemaName,
|
|
349
|
+
privateSchemaName: cleanedData.privateSchemaName,
|
|
326
350
|
tableId: cleanedData.tableId,
|
|
327
351
|
tableName: cleanedData.tableName,
|
|
328
352
|
defaultTableId: cleanedData.defaultTableId,
|
|
@@ -344,6 +368,8 @@ async function handleCreate(argv, prompter) {
|
|
|
344
368
|
databaseId: true,
|
|
345
369
|
schemaId: true,
|
|
346
370
|
privateSchemaId: true,
|
|
371
|
+
publicSchemaName: true,
|
|
372
|
+
privateSchemaName: true,
|
|
347
373
|
tableId: true,
|
|
348
374
|
tableName: true,
|
|
349
375
|
defaultTableId: true,
|
|
@@ -401,6 +427,20 @@ async function handleUpdate(argv, prompter) {
|
|
|
401
427
|
required: false,
|
|
402
428
|
skipPrompt: true,
|
|
403
429
|
},
|
|
430
|
+
{
|
|
431
|
+
type: 'text',
|
|
432
|
+
name: 'publicSchemaName',
|
|
433
|
+
message: 'publicSchemaName',
|
|
434
|
+
required: false,
|
|
435
|
+
skipPrompt: true,
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
type: 'text',
|
|
439
|
+
name: 'privateSchemaName',
|
|
440
|
+
message: 'privateSchemaName',
|
|
441
|
+
required: false,
|
|
442
|
+
skipPrompt: true,
|
|
443
|
+
},
|
|
404
444
|
{
|
|
405
445
|
type: 'text',
|
|
406
446
|
name: 'tableId',
|
|
@@ -519,6 +559,8 @@ async function handleUpdate(argv, prompter) {
|
|
|
519
559
|
databaseId: cleanedData.databaseId,
|
|
520
560
|
schemaId: cleanedData.schemaId,
|
|
521
561
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
562
|
+
publicSchemaName: cleanedData.publicSchemaName,
|
|
563
|
+
privateSchemaName: cleanedData.privateSchemaName,
|
|
522
564
|
tableId: cleanedData.tableId,
|
|
523
565
|
tableName: cleanedData.tableName,
|
|
524
566
|
defaultTableId: cleanedData.defaultTableId,
|
|
@@ -540,6 +582,8 @@ async function handleUpdate(argv, prompter) {
|
|
|
540
582
|
databaseId: true,
|
|
541
583
|
schemaId: true,
|
|
542
584
|
privateSchemaId: true,
|
|
585
|
+
publicSchemaName: true,
|
|
586
|
+
privateSchemaName: true,
|
|
543
587
|
tableId: true,
|
|
544
588
|
tableName: true,
|
|
545
589
|
defaultTableId: true,
|
|
@@ -11,6 +11,8 @@ const fieldSchema = {
|
|
|
11
11
|
databaseId: 'uuid',
|
|
12
12
|
schemaId: 'uuid',
|
|
13
13
|
privateSchemaId: 'uuid',
|
|
14
|
+
publicSchemaName: 'string',
|
|
15
|
+
privateSchemaName: 'string',
|
|
14
16
|
plansTableId: 'uuid',
|
|
15
17
|
plansTableName: 'string',
|
|
16
18
|
planLimitsTableId: 'uuid',
|
|
@@ -73,6 +75,8 @@ async function handleList(argv, _prompter) {
|
|
|
73
75
|
databaseId: true,
|
|
74
76
|
schemaId: true,
|
|
75
77
|
privateSchemaId: true,
|
|
78
|
+
publicSchemaName: true,
|
|
79
|
+
privateSchemaName: true,
|
|
76
80
|
plansTableId: true,
|
|
77
81
|
plansTableName: true,
|
|
78
82
|
planLimitsTableId: true,
|
|
@@ -109,6 +113,8 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
109
113
|
databaseId: true,
|
|
110
114
|
schemaId: true,
|
|
111
115
|
privateSchemaId: true,
|
|
116
|
+
publicSchemaName: true,
|
|
117
|
+
privateSchemaName: true,
|
|
112
118
|
plansTableId: true,
|
|
113
119
|
plansTableName: true,
|
|
114
120
|
planLimitsTableId: true,
|
|
@@ -157,6 +163,8 @@ async function handleGet(argv, prompter) {
|
|
|
157
163
|
databaseId: true,
|
|
158
164
|
schemaId: true,
|
|
159
165
|
privateSchemaId: true,
|
|
166
|
+
publicSchemaName: true,
|
|
167
|
+
privateSchemaName: true,
|
|
160
168
|
plansTableId: true,
|
|
161
169
|
plansTableName: true,
|
|
162
170
|
planLimitsTableId: true,
|
|
@@ -208,6 +216,20 @@ async function handleCreate(argv, prompter) {
|
|
|
208
216
|
required: false,
|
|
209
217
|
skipPrompt: true,
|
|
210
218
|
},
|
|
219
|
+
{
|
|
220
|
+
type: 'text',
|
|
221
|
+
name: 'publicSchemaName',
|
|
222
|
+
message: 'publicSchemaName',
|
|
223
|
+
required: false,
|
|
224
|
+
skipPrompt: true,
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
type: 'text',
|
|
228
|
+
name: 'privateSchemaName',
|
|
229
|
+
message: 'privateSchemaName',
|
|
230
|
+
required: false,
|
|
231
|
+
skipPrompt: true,
|
|
232
|
+
},
|
|
211
233
|
{
|
|
212
234
|
type: 'text',
|
|
213
235
|
name: 'plansTableId',
|
|
@@ -323,6 +345,8 @@ async function handleCreate(argv, prompter) {
|
|
|
323
345
|
databaseId: cleanedData.databaseId,
|
|
324
346
|
schemaId: cleanedData.schemaId,
|
|
325
347
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
348
|
+
publicSchemaName: cleanedData.publicSchemaName,
|
|
349
|
+
privateSchemaName: cleanedData.privateSchemaName,
|
|
326
350
|
plansTableId: cleanedData.plansTableId,
|
|
327
351
|
plansTableName: cleanedData.plansTableName,
|
|
328
352
|
planLimitsTableId: cleanedData.planLimitsTableId,
|
|
@@ -344,6 +368,8 @@ async function handleCreate(argv, prompter) {
|
|
|
344
368
|
databaseId: true,
|
|
345
369
|
schemaId: true,
|
|
346
370
|
privateSchemaId: true,
|
|
371
|
+
publicSchemaName: true,
|
|
372
|
+
privateSchemaName: true,
|
|
347
373
|
plansTableId: true,
|
|
348
374
|
plansTableName: true,
|
|
349
375
|
planLimitsTableId: true,
|
|
@@ -401,6 +427,20 @@ async function handleUpdate(argv, prompter) {
|
|
|
401
427
|
required: false,
|
|
402
428
|
skipPrompt: true,
|
|
403
429
|
},
|
|
430
|
+
{
|
|
431
|
+
type: 'text',
|
|
432
|
+
name: 'publicSchemaName',
|
|
433
|
+
message: 'publicSchemaName',
|
|
434
|
+
required: false,
|
|
435
|
+
skipPrompt: true,
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
type: 'text',
|
|
439
|
+
name: 'privateSchemaName',
|
|
440
|
+
message: 'privateSchemaName',
|
|
441
|
+
required: false,
|
|
442
|
+
skipPrompt: true,
|
|
443
|
+
},
|
|
404
444
|
{
|
|
405
445
|
type: 'text',
|
|
406
446
|
name: 'plansTableId',
|
|
@@ -519,6 +559,8 @@ async function handleUpdate(argv, prompter) {
|
|
|
519
559
|
databaseId: cleanedData.databaseId,
|
|
520
560
|
schemaId: cleanedData.schemaId,
|
|
521
561
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
562
|
+
publicSchemaName: cleanedData.publicSchemaName,
|
|
563
|
+
privateSchemaName: cleanedData.privateSchemaName,
|
|
522
564
|
plansTableId: cleanedData.plansTableId,
|
|
523
565
|
plansTableName: cleanedData.plansTableName,
|
|
524
566
|
planLimitsTableId: cleanedData.planLimitsTableId,
|
|
@@ -540,6 +582,8 @@ async function handleUpdate(argv, prompter) {
|
|
|
540
582
|
databaseId: true,
|
|
541
583
|
schemaId: true,
|
|
542
584
|
privateSchemaId: true,
|
|
585
|
+
publicSchemaName: true,
|
|
586
|
+
privateSchemaName: true,
|
|
543
587
|
plansTableId: true,
|
|
544
588
|
plansTableName: true,
|
|
545
589
|
planLimitsTableId: true,
|