@constructive-sdk/cli 0.25.9 → 0.25.11
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
|
@@ -23,6 +23,7 @@ const fieldSchema = {
|
|
|
23
23
|
apiName: 'string',
|
|
24
24
|
privateApiName: 'string',
|
|
25
25
|
scope: 'string',
|
|
26
|
+
functionPrefix: 'string',
|
|
26
27
|
createdAt: 'string',
|
|
27
28
|
};
|
|
28
29
|
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';
|
|
@@ -81,6 +82,7 @@ async function handleList(argv, _prompter) {
|
|
|
81
82
|
apiName: true,
|
|
82
83
|
privateApiName: true,
|
|
83
84
|
scope: true,
|
|
85
|
+
functionPrefix: true,
|
|
84
86
|
createdAt: true,
|
|
85
87
|
};
|
|
86
88
|
const findManyArgs = (0, utils_1.parseFindManyArgs)(argv, defaultSelect);
|
|
@@ -113,6 +115,7 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
113
115
|
apiName: true,
|
|
114
116
|
privateApiName: true,
|
|
115
117
|
scope: true,
|
|
118
|
+
functionPrefix: true,
|
|
116
119
|
createdAt: true,
|
|
117
120
|
};
|
|
118
121
|
const findFirstArgs = (0, utils_1.parseFindFirstArgs)(argv, defaultSelect);
|
|
@@ -157,6 +160,7 @@ async function handleGet(argv, prompter) {
|
|
|
157
160
|
apiName: true,
|
|
158
161
|
privateApiName: true,
|
|
159
162
|
scope: true,
|
|
163
|
+
functionPrefix: true,
|
|
160
164
|
createdAt: true,
|
|
161
165
|
},
|
|
162
166
|
})
|
|
@@ -264,6 +268,13 @@ async function handleCreate(argv, prompter) {
|
|
|
264
268
|
required: false,
|
|
265
269
|
skipPrompt: true,
|
|
266
270
|
},
|
|
271
|
+
{
|
|
272
|
+
type: 'text',
|
|
273
|
+
name: 'functionPrefix',
|
|
274
|
+
message: 'functionPrefix',
|
|
275
|
+
required: false,
|
|
276
|
+
skipPrompt: true,
|
|
277
|
+
},
|
|
267
278
|
]);
|
|
268
279
|
const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
|
|
269
280
|
const cleanedData = (0, utils_1.stripUndefined)(answers, fieldSchema);
|
|
@@ -284,6 +295,7 @@ async function handleCreate(argv, prompter) {
|
|
|
284
295
|
apiName: cleanedData.apiName,
|
|
285
296
|
privateApiName: cleanedData.privateApiName,
|
|
286
297
|
scope: cleanedData.scope,
|
|
298
|
+
functionPrefix: cleanedData.functionPrefix,
|
|
287
299
|
},
|
|
288
300
|
select: {
|
|
289
301
|
id: true,
|
|
@@ -300,6 +312,7 @@ async function handleCreate(argv, prompter) {
|
|
|
300
312
|
apiName: true,
|
|
301
313
|
privateApiName: true,
|
|
302
314
|
scope: true,
|
|
315
|
+
functionPrefix: true,
|
|
303
316
|
createdAt: true,
|
|
304
317
|
},
|
|
305
318
|
})
|
|
@@ -413,6 +426,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
413
426
|
required: false,
|
|
414
427
|
skipPrompt: true,
|
|
415
428
|
},
|
|
429
|
+
{
|
|
430
|
+
type: 'text',
|
|
431
|
+
name: 'functionPrefix',
|
|
432
|
+
message: 'functionPrefix',
|
|
433
|
+
required: false,
|
|
434
|
+
skipPrompt: true,
|
|
435
|
+
},
|
|
416
436
|
]);
|
|
417
437
|
const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
|
|
418
438
|
const cleanedData = (0, utils_1.stripUndefined)(answers, fieldSchema);
|
|
@@ -436,6 +456,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
436
456
|
apiName: cleanedData.apiName,
|
|
437
457
|
privateApiName: cleanedData.privateApiName,
|
|
438
458
|
scope: cleanedData.scope,
|
|
459
|
+
functionPrefix: cleanedData.functionPrefix,
|
|
439
460
|
},
|
|
440
461
|
select: {
|
|
441
462
|
id: true,
|
|
@@ -452,6 +473,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
452
473
|
apiName: true,
|
|
453
474
|
privateApiName: true,
|
|
454
475
|
scope: true,
|
|
476
|
+
functionPrefix: true,
|
|
455
477
|
createdAt: true,
|
|
456
478
|
},
|
|
457
479
|
})
|
|
@@ -26,6 +26,7 @@ const fieldSchema = {
|
|
|
26
26
|
entityTableId: 'uuid',
|
|
27
27
|
policies: 'json',
|
|
28
28
|
provisions: 'json',
|
|
29
|
+
defaultPermissions: 'string',
|
|
29
30
|
};
|
|
30
31
|
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';
|
|
31
32
|
exports.default = async (argv, prompter, _options) => {
|
|
@@ -86,6 +87,7 @@ async function handleList(argv, _prompter) {
|
|
|
86
87
|
entityTableId: true,
|
|
87
88
|
policies: true,
|
|
88
89
|
provisions: true,
|
|
90
|
+
defaultPermissions: true,
|
|
89
91
|
};
|
|
90
92
|
const findManyArgs = (0, utils_1.parseFindManyArgs)(argv, defaultSelect);
|
|
91
93
|
const client = (0, executor_1.getClient)();
|
|
@@ -120,6 +122,7 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
120
122
|
entityTableId: true,
|
|
121
123
|
policies: true,
|
|
122
124
|
provisions: true,
|
|
125
|
+
defaultPermissions: true,
|
|
123
126
|
};
|
|
124
127
|
const findFirstArgs = (0, utils_1.parseFindFirstArgs)(argv, defaultSelect);
|
|
125
128
|
const client = (0, executor_1.getClient)();
|
|
@@ -166,6 +169,7 @@ async function handleGet(argv, prompter) {
|
|
|
166
169
|
entityTableId: true,
|
|
167
170
|
policies: true,
|
|
168
171
|
provisions: true,
|
|
172
|
+
defaultPermissions: true,
|
|
169
173
|
},
|
|
170
174
|
})
|
|
171
175
|
.execute();
|
|
@@ -293,6 +297,13 @@ async function handleCreate(argv, prompter) {
|
|
|
293
297
|
required: false,
|
|
294
298
|
skipPrompt: true,
|
|
295
299
|
},
|
|
300
|
+
{
|
|
301
|
+
type: 'text',
|
|
302
|
+
name: 'defaultPermissions',
|
|
303
|
+
message: 'defaultPermissions',
|
|
304
|
+
required: false,
|
|
305
|
+
skipPrompt: true,
|
|
306
|
+
},
|
|
296
307
|
]);
|
|
297
308
|
const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
|
|
298
309
|
const cleanedData = (0, utils_1.stripUndefined)(answers, fieldSchema);
|
|
@@ -316,6 +327,7 @@ async function handleCreate(argv, prompter) {
|
|
|
316
327
|
entityTableId: cleanedData.entityTableId,
|
|
317
328
|
policies: cleanedData.policies,
|
|
318
329
|
provisions: cleanedData.provisions,
|
|
330
|
+
defaultPermissions: cleanedData.defaultPermissions,
|
|
319
331
|
},
|
|
320
332
|
select: {
|
|
321
333
|
id: true,
|
|
@@ -335,6 +347,7 @@ async function handleCreate(argv, prompter) {
|
|
|
335
347
|
entityTableId: true,
|
|
336
348
|
policies: true,
|
|
337
349
|
provisions: true,
|
|
350
|
+
defaultPermissions: true,
|
|
338
351
|
},
|
|
339
352
|
})
|
|
340
353
|
.execute();
|
|
@@ -468,6 +481,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
468
481
|
required: false,
|
|
469
482
|
skipPrompt: true,
|
|
470
483
|
},
|
|
484
|
+
{
|
|
485
|
+
type: 'text',
|
|
486
|
+
name: 'defaultPermissions',
|
|
487
|
+
message: 'defaultPermissions',
|
|
488
|
+
required: false,
|
|
489
|
+
skipPrompt: true,
|
|
490
|
+
},
|
|
471
491
|
]);
|
|
472
492
|
const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
|
|
473
493
|
const cleanedData = (0, utils_1.stripUndefined)(answers, fieldSchema);
|
|
@@ -494,6 +514,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
494
514
|
entityTableId: cleanedData.entityTableId,
|
|
495
515
|
policies: cleanedData.policies,
|
|
496
516
|
provisions: cleanedData.provisions,
|
|
517
|
+
defaultPermissions: cleanedData.defaultPermissions,
|
|
497
518
|
},
|
|
498
519
|
select: {
|
|
499
520
|
id: true,
|
|
@@ -513,6 +534,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
513
534
|
entityTableId: true,
|
|
514
535
|
policies: true,
|
|
515
536
|
provisions: true,
|
|
537
|
+
defaultPermissions: true,
|
|
516
538
|
},
|
|
517
539
|
})
|
|
518
540
|
.execute();
|
|
@@ -13,11 +13,14 @@ const fieldSchema = {
|
|
|
13
13
|
databaseId: 'uuid',
|
|
14
14
|
schemaId: 'uuid',
|
|
15
15
|
privateSchemaId: 'uuid',
|
|
16
|
+
publicSchemaName: 'string',
|
|
17
|
+
privateSchemaName: 'string',
|
|
16
18
|
notificationsTableId: 'uuid',
|
|
17
19
|
readStateTableId: 'uuid',
|
|
18
20
|
preferencesTableId: 'uuid',
|
|
19
21
|
channelsTableId: 'uuid',
|
|
20
22
|
deliveryLogTableId: 'uuid',
|
|
23
|
+
suppressionsTableId: 'uuid',
|
|
21
24
|
ownerTableId: 'uuid',
|
|
22
25
|
userSettingsTableId: 'uuid',
|
|
23
26
|
organizationSettingsTableId: 'uuid',
|
|
@@ -26,6 +29,7 @@ const fieldSchema = {
|
|
|
26
29
|
hasSettingsExtension: 'boolean',
|
|
27
30
|
hasDigestMetadata: 'boolean',
|
|
28
31
|
hasSubscriptions: 'boolean',
|
|
32
|
+
defaultPermissions: 'string',
|
|
29
33
|
apiName: 'string',
|
|
30
34
|
privateApiName: 'string',
|
|
31
35
|
};
|
|
@@ -75,11 +79,14 @@ async function handleList(argv, _prompter) {
|
|
|
75
79
|
databaseId: true,
|
|
76
80
|
schemaId: true,
|
|
77
81
|
privateSchemaId: true,
|
|
82
|
+
publicSchemaName: true,
|
|
83
|
+
privateSchemaName: true,
|
|
78
84
|
notificationsTableId: true,
|
|
79
85
|
readStateTableId: true,
|
|
80
86
|
preferencesTableId: true,
|
|
81
87
|
channelsTableId: true,
|
|
82
88
|
deliveryLogTableId: true,
|
|
89
|
+
suppressionsTableId: true,
|
|
83
90
|
ownerTableId: true,
|
|
84
91
|
userSettingsTableId: true,
|
|
85
92
|
organizationSettingsTableId: true,
|
|
@@ -88,6 +95,7 @@ async function handleList(argv, _prompter) {
|
|
|
88
95
|
hasSettingsExtension: true,
|
|
89
96
|
hasDigestMetadata: true,
|
|
90
97
|
hasSubscriptions: true,
|
|
98
|
+
defaultPermissions: true,
|
|
91
99
|
apiName: true,
|
|
92
100
|
privateApiName: true,
|
|
93
101
|
};
|
|
@@ -111,11 +119,14 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
111
119
|
databaseId: true,
|
|
112
120
|
schemaId: true,
|
|
113
121
|
privateSchemaId: true,
|
|
122
|
+
publicSchemaName: true,
|
|
123
|
+
privateSchemaName: true,
|
|
114
124
|
notificationsTableId: true,
|
|
115
125
|
readStateTableId: true,
|
|
116
126
|
preferencesTableId: true,
|
|
117
127
|
channelsTableId: true,
|
|
118
128
|
deliveryLogTableId: true,
|
|
129
|
+
suppressionsTableId: true,
|
|
119
130
|
ownerTableId: true,
|
|
120
131
|
userSettingsTableId: true,
|
|
121
132
|
organizationSettingsTableId: true,
|
|
@@ -124,6 +135,7 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
124
135
|
hasSettingsExtension: true,
|
|
125
136
|
hasDigestMetadata: true,
|
|
126
137
|
hasSubscriptions: true,
|
|
138
|
+
defaultPermissions: true,
|
|
127
139
|
apiName: true,
|
|
128
140
|
privateApiName: true,
|
|
129
141
|
};
|
|
@@ -159,11 +171,14 @@ async function handleGet(argv, prompter) {
|
|
|
159
171
|
databaseId: true,
|
|
160
172
|
schemaId: true,
|
|
161
173
|
privateSchemaId: true,
|
|
174
|
+
publicSchemaName: true,
|
|
175
|
+
privateSchemaName: true,
|
|
162
176
|
notificationsTableId: true,
|
|
163
177
|
readStateTableId: true,
|
|
164
178
|
preferencesTableId: true,
|
|
165
179
|
channelsTableId: true,
|
|
166
180
|
deliveryLogTableId: true,
|
|
181
|
+
suppressionsTableId: true,
|
|
167
182
|
ownerTableId: true,
|
|
168
183
|
userSettingsTableId: true,
|
|
169
184
|
organizationSettingsTableId: true,
|
|
@@ -172,6 +187,7 @@ async function handleGet(argv, prompter) {
|
|
|
172
187
|
hasSettingsExtension: true,
|
|
173
188
|
hasDigestMetadata: true,
|
|
174
189
|
hasSubscriptions: true,
|
|
190
|
+
defaultPermissions: true,
|
|
175
191
|
apiName: true,
|
|
176
192
|
privateApiName: true,
|
|
177
193
|
},
|
|
@@ -210,6 +226,20 @@ async function handleCreate(argv, prompter) {
|
|
|
210
226
|
required: false,
|
|
211
227
|
skipPrompt: true,
|
|
212
228
|
},
|
|
229
|
+
{
|
|
230
|
+
type: 'text',
|
|
231
|
+
name: 'publicSchemaName',
|
|
232
|
+
message: 'publicSchemaName',
|
|
233
|
+
required: false,
|
|
234
|
+
skipPrompt: true,
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
type: 'text',
|
|
238
|
+
name: 'privateSchemaName',
|
|
239
|
+
message: 'privateSchemaName',
|
|
240
|
+
required: false,
|
|
241
|
+
skipPrompt: true,
|
|
242
|
+
},
|
|
213
243
|
{
|
|
214
244
|
type: 'text',
|
|
215
245
|
name: 'notificationsTableId',
|
|
@@ -245,6 +275,13 @@ async function handleCreate(argv, prompter) {
|
|
|
245
275
|
required: false,
|
|
246
276
|
skipPrompt: true,
|
|
247
277
|
},
|
|
278
|
+
{
|
|
279
|
+
type: 'text',
|
|
280
|
+
name: 'suppressionsTableId',
|
|
281
|
+
message: 'suppressionsTableId',
|
|
282
|
+
required: false,
|
|
283
|
+
skipPrompt: true,
|
|
284
|
+
},
|
|
248
285
|
{
|
|
249
286
|
type: 'text',
|
|
250
287
|
name: 'ownerTableId',
|
|
@@ -301,6 +338,13 @@ async function handleCreate(argv, prompter) {
|
|
|
301
338
|
required: false,
|
|
302
339
|
skipPrompt: true,
|
|
303
340
|
},
|
|
341
|
+
{
|
|
342
|
+
type: 'text',
|
|
343
|
+
name: 'defaultPermissions',
|
|
344
|
+
message: 'defaultPermissions',
|
|
345
|
+
required: false,
|
|
346
|
+
skipPrompt: true,
|
|
347
|
+
},
|
|
304
348
|
{
|
|
305
349
|
type: 'text',
|
|
306
350
|
name: 'apiName',
|
|
@@ -325,11 +369,14 @@ async function handleCreate(argv, prompter) {
|
|
|
325
369
|
databaseId: cleanedData.databaseId,
|
|
326
370
|
schemaId: cleanedData.schemaId,
|
|
327
371
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
372
|
+
publicSchemaName: cleanedData.publicSchemaName,
|
|
373
|
+
privateSchemaName: cleanedData.privateSchemaName,
|
|
328
374
|
notificationsTableId: cleanedData.notificationsTableId,
|
|
329
375
|
readStateTableId: cleanedData.readStateTableId,
|
|
330
376
|
preferencesTableId: cleanedData.preferencesTableId,
|
|
331
377
|
channelsTableId: cleanedData.channelsTableId,
|
|
332
378
|
deliveryLogTableId: cleanedData.deliveryLogTableId,
|
|
379
|
+
suppressionsTableId: cleanedData.suppressionsTableId,
|
|
333
380
|
ownerTableId: cleanedData.ownerTableId,
|
|
334
381
|
userSettingsTableId: cleanedData.userSettingsTableId,
|
|
335
382
|
organizationSettingsTableId: cleanedData.organizationSettingsTableId,
|
|
@@ -338,6 +385,7 @@ async function handleCreate(argv, prompter) {
|
|
|
338
385
|
hasSettingsExtension: cleanedData.hasSettingsExtension,
|
|
339
386
|
hasDigestMetadata: cleanedData.hasDigestMetadata,
|
|
340
387
|
hasSubscriptions: cleanedData.hasSubscriptions,
|
|
388
|
+
defaultPermissions: cleanedData.defaultPermissions,
|
|
341
389
|
apiName: cleanedData.apiName,
|
|
342
390
|
privateApiName: cleanedData.privateApiName,
|
|
343
391
|
},
|
|
@@ -346,11 +394,14 @@ async function handleCreate(argv, prompter) {
|
|
|
346
394
|
databaseId: true,
|
|
347
395
|
schemaId: true,
|
|
348
396
|
privateSchemaId: true,
|
|
397
|
+
publicSchemaName: true,
|
|
398
|
+
privateSchemaName: true,
|
|
349
399
|
notificationsTableId: true,
|
|
350
400
|
readStateTableId: true,
|
|
351
401
|
preferencesTableId: true,
|
|
352
402
|
channelsTableId: true,
|
|
353
403
|
deliveryLogTableId: true,
|
|
404
|
+
suppressionsTableId: true,
|
|
354
405
|
ownerTableId: true,
|
|
355
406
|
userSettingsTableId: true,
|
|
356
407
|
organizationSettingsTableId: true,
|
|
@@ -359,6 +410,7 @@ async function handleCreate(argv, prompter) {
|
|
|
359
410
|
hasSettingsExtension: true,
|
|
360
411
|
hasDigestMetadata: true,
|
|
361
412
|
hasSubscriptions: true,
|
|
413
|
+
defaultPermissions: true,
|
|
362
414
|
apiName: true,
|
|
363
415
|
privateApiName: true,
|
|
364
416
|
},
|
|
@@ -403,6 +455,20 @@ async function handleUpdate(argv, prompter) {
|
|
|
403
455
|
required: false,
|
|
404
456
|
skipPrompt: true,
|
|
405
457
|
},
|
|
458
|
+
{
|
|
459
|
+
type: 'text',
|
|
460
|
+
name: 'publicSchemaName',
|
|
461
|
+
message: 'publicSchemaName',
|
|
462
|
+
required: false,
|
|
463
|
+
skipPrompt: true,
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
type: 'text',
|
|
467
|
+
name: 'privateSchemaName',
|
|
468
|
+
message: 'privateSchemaName',
|
|
469
|
+
required: false,
|
|
470
|
+
skipPrompt: true,
|
|
471
|
+
},
|
|
406
472
|
{
|
|
407
473
|
type: 'text',
|
|
408
474
|
name: 'notificationsTableId',
|
|
@@ -438,6 +504,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
438
504
|
required: false,
|
|
439
505
|
skipPrompt: true,
|
|
440
506
|
},
|
|
507
|
+
{
|
|
508
|
+
type: 'text',
|
|
509
|
+
name: 'suppressionsTableId',
|
|
510
|
+
message: 'suppressionsTableId',
|
|
511
|
+
required: false,
|
|
512
|
+
skipPrompt: true,
|
|
513
|
+
},
|
|
441
514
|
{
|
|
442
515
|
type: 'text',
|
|
443
516
|
name: 'ownerTableId',
|
|
@@ -494,6 +567,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
494
567
|
required: false,
|
|
495
568
|
skipPrompt: true,
|
|
496
569
|
},
|
|
570
|
+
{
|
|
571
|
+
type: 'text',
|
|
572
|
+
name: 'defaultPermissions',
|
|
573
|
+
message: 'defaultPermissions',
|
|
574
|
+
required: false,
|
|
575
|
+
skipPrompt: true,
|
|
576
|
+
},
|
|
497
577
|
{
|
|
498
578
|
type: 'text',
|
|
499
579
|
name: 'apiName',
|
|
@@ -521,11 +601,14 @@ async function handleUpdate(argv, prompter) {
|
|
|
521
601
|
databaseId: cleanedData.databaseId,
|
|
522
602
|
schemaId: cleanedData.schemaId,
|
|
523
603
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
604
|
+
publicSchemaName: cleanedData.publicSchemaName,
|
|
605
|
+
privateSchemaName: cleanedData.privateSchemaName,
|
|
524
606
|
notificationsTableId: cleanedData.notificationsTableId,
|
|
525
607
|
readStateTableId: cleanedData.readStateTableId,
|
|
526
608
|
preferencesTableId: cleanedData.preferencesTableId,
|
|
527
609
|
channelsTableId: cleanedData.channelsTableId,
|
|
528
610
|
deliveryLogTableId: cleanedData.deliveryLogTableId,
|
|
611
|
+
suppressionsTableId: cleanedData.suppressionsTableId,
|
|
529
612
|
ownerTableId: cleanedData.ownerTableId,
|
|
530
613
|
userSettingsTableId: cleanedData.userSettingsTableId,
|
|
531
614
|
organizationSettingsTableId: cleanedData.organizationSettingsTableId,
|
|
@@ -534,6 +617,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
534
617
|
hasSettingsExtension: cleanedData.hasSettingsExtension,
|
|
535
618
|
hasDigestMetadata: cleanedData.hasDigestMetadata,
|
|
536
619
|
hasSubscriptions: cleanedData.hasSubscriptions,
|
|
620
|
+
defaultPermissions: cleanedData.defaultPermissions,
|
|
537
621
|
apiName: cleanedData.apiName,
|
|
538
622
|
privateApiName: cleanedData.privateApiName,
|
|
539
623
|
},
|
|
@@ -542,11 +626,14 @@ async function handleUpdate(argv, prompter) {
|
|
|
542
626
|
databaseId: true,
|
|
543
627
|
schemaId: true,
|
|
544
628
|
privateSchemaId: true,
|
|
629
|
+
publicSchemaName: true,
|
|
630
|
+
privateSchemaName: true,
|
|
545
631
|
notificationsTableId: true,
|
|
546
632
|
readStateTableId: true,
|
|
547
633
|
preferencesTableId: true,
|
|
548
634
|
channelsTableId: true,
|
|
549
635
|
deliveryLogTableId: true,
|
|
636
|
+
suppressionsTableId: true,
|
|
550
637
|
ownerTableId: true,
|
|
551
638
|
userSettingsTableId: true,
|
|
552
639
|
organizationSettingsTableId: true,
|
|
@@ -555,6 +642,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
555
642
|
hasSettingsExtension: true,
|
|
556
643
|
hasDigestMetadata: true,
|
|
557
644
|
hasSubscriptions: true,
|
|
645
|
+
defaultPermissions: true,
|
|
558
646
|
apiName: true,
|
|
559
647
|
privateApiName: true,
|
|
560
648
|
},
|
|
@@ -13,6 +13,8 @@ const fieldSchema = {
|
|
|
13
13
|
databaseId: 'uuid',
|
|
14
14
|
schemaId: 'uuid',
|
|
15
15
|
privateSchemaId: 'uuid',
|
|
16
|
+
publicSchemaName: 'string',
|
|
17
|
+
privateSchemaName: 'string',
|
|
16
18
|
tableId: 'uuid',
|
|
17
19
|
tableName: 'string',
|
|
18
20
|
defaultTableId: 'uuid',
|
|
@@ -75,6 +77,8 @@ async function handleList(argv, _prompter) {
|
|
|
75
77
|
databaseId: true,
|
|
76
78
|
schemaId: true,
|
|
77
79
|
privateSchemaId: true,
|
|
80
|
+
publicSchemaName: true,
|
|
81
|
+
privateSchemaName: true,
|
|
78
82
|
tableId: true,
|
|
79
83
|
tableName: true,
|
|
80
84
|
defaultTableId: true,
|
|
@@ -111,6 +115,8 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
111
115
|
databaseId: true,
|
|
112
116
|
schemaId: true,
|
|
113
117
|
privateSchemaId: true,
|
|
118
|
+
publicSchemaName: true,
|
|
119
|
+
privateSchemaName: true,
|
|
114
120
|
tableId: true,
|
|
115
121
|
tableName: true,
|
|
116
122
|
defaultTableId: true,
|
|
@@ -159,6 +165,8 @@ async function handleGet(argv, prompter) {
|
|
|
159
165
|
databaseId: true,
|
|
160
166
|
schemaId: true,
|
|
161
167
|
privateSchemaId: true,
|
|
168
|
+
publicSchemaName: true,
|
|
169
|
+
privateSchemaName: true,
|
|
162
170
|
tableId: true,
|
|
163
171
|
tableName: true,
|
|
164
172
|
defaultTableId: true,
|
|
@@ -210,6 +218,20 @@ async function handleCreate(argv, prompter) {
|
|
|
210
218
|
required: false,
|
|
211
219
|
skipPrompt: true,
|
|
212
220
|
},
|
|
221
|
+
{
|
|
222
|
+
type: 'text',
|
|
223
|
+
name: 'publicSchemaName',
|
|
224
|
+
message: 'publicSchemaName',
|
|
225
|
+
required: false,
|
|
226
|
+
skipPrompt: true,
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
type: 'text',
|
|
230
|
+
name: 'privateSchemaName',
|
|
231
|
+
message: 'privateSchemaName',
|
|
232
|
+
required: false,
|
|
233
|
+
skipPrompt: true,
|
|
234
|
+
},
|
|
213
235
|
{
|
|
214
236
|
type: 'text',
|
|
215
237
|
name: 'tableId',
|
|
@@ -325,6 +347,8 @@ async function handleCreate(argv, prompter) {
|
|
|
325
347
|
databaseId: cleanedData.databaseId,
|
|
326
348
|
schemaId: cleanedData.schemaId,
|
|
327
349
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
350
|
+
publicSchemaName: cleanedData.publicSchemaName,
|
|
351
|
+
privateSchemaName: cleanedData.privateSchemaName,
|
|
328
352
|
tableId: cleanedData.tableId,
|
|
329
353
|
tableName: cleanedData.tableName,
|
|
330
354
|
defaultTableId: cleanedData.defaultTableId,
|
|
@@ -346,6 +370,8 @@ async function handleCreate(argv, prompter) {
|
|
|
346
370
|
databaseId: true,
|
|
347
371
|
schemaId: true,
|
|
348
372
|
privateSchemaId: true,
|
|
373
|
+
publicSchemaName: true,
|
|
374
|
+
privateSchemaName: true,
|
|
349
375
|
tableId: true,
|
|
350
376
|
tableName: true,
|
|
351
377
|
defaultTableId: true,
|
|
@@ -403,6 +429,20 @@ async function handleUpdate(argv, prompter) {
|
|
|
403
429
|
required: false,
|
|
404
430
|
skipPrompt: true,
|
|
405
431
|
},
|
|
432
|
+
{
|
|
433
|
+
type: 'text',
|
|
434
|
+
name: 'publicSchemaName',
|
|
435
|
+
message: 'publicSchemaName',
|
|
436
|
+
required: false,
|
|
437
|
+
skipPrompt: true,
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
type: 'text',
|
|
441
|
+
name: 'privateSchemaName',
|
|
442
|
+
message: 'privateSchemaName',
|
|
443
|
+
required: false,
|
|
444
|
+
skipPrompt: true,
|
|
445
|
+
},
|
|
406
446
|
{
|
|
407
447
|
type: 'text',
|
|
408
448
|
name: 'tableId',
|
|
@@ -521,6 +561,8 @@ async function handleUpdate(argv, prompter) {
|
|
|
521
561
|
databaseId: cleanedData.databaseId,
|
|
522
562
|
schemaId: cleanedData.schemaId,
|
|
523
563
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
564
|
+
publicSchemaName: cleanedData.publicSchemaName,
|
|
565
|
+
privateSchemaName: cleanedData.privateSchemaName,
|
|
524
566
|
tableId: cleanedData.tableId,
|
|
525
567
|
tableName: cleanedData.tableName,
|
|
526
568
|
defaultTableId: cleanedData.defaultTableId,
|
|
@@ -542,6 +584,8 @@ async function handleUpdate(argv, prompter) {
|
|
|
542
584
|
databaseId: true,
|
|
543
585
|
schemaId: true,
|
|
544
586
|
privateSchemaId: true,
|
|
587
|
+
publicSchemaName: true,
|
|
588
|
+
privateSchemaName: true,
|
|
545
589
|
tableId: true,
|
|
546
590
|
tableName: true,
|
|
547
591
|
defaultTableId: true,
|
|
@@ -13,6 +13,8 @@ const fieldSchema = {
|
|
|
13
13
|
databaseId: 'uuid',
|
|
14
14
|
schemaId: 'uuid',
|
|
15
15
|
privateSchemaId: 'uuid',
|
|
16
|
+
publicSchemaName: 'string',
|
|
17
|
+
privateSchemaName: 'string',
|
|
16
18
|
plansTableId: 'uuid',
|
|
17
19
|
plansTableName: 'string',
|
|
18
20
|
planLimitsTableId: 'uuid',
|
|
@@ -75,6 +77,8 @@ async function handleList(argv, _prompter) {
|
|
|
75
77
|
databaseId: true,
|
|
76
78
|
schemaId: true,
|
|
77
79
|
privateSchemaId: true,
|
|
80
|
+
publicSchemaName: true,
|
|
81
|
+
privateSchemaName: true,
|
|
78
82
|
plansTableId: true,
|
|
79
83
|
plansTableName: true,
|
|
80
84
|
planLimitsTableId: true,
|
|
@@ -111,6 +115,8 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
111
115
|
databaseId: true,
|
|
112
116
|
schemaId: true,
|
|
113
117
|
privateSchemaId: true,
|
|
118
|
+
publicSchemaName: true,
|
|
119
|
+
privateSchemaName: true,
|
|
114
120
|
plansTableId: true,
|
|
115
121
|
plansTableName: true,
|
|
116
122
|
planLimitsTableId: true,
|
|
@@ -159,6 +165,8 @@ async function handleGet(argv, prompter) {
|
|
|
159
165
|
databaseId: true,
|
|
160
166
|
schemaId: true,
|
|
161
167
|
privateSchemaId: true,
|
|
168
|
+
publicSchemaName: true,
|
|
169
|
+
privateSchemaName: true,
|
|
162
170
|
plansTableId: true,
|
|
163
171
|
plansTableName: true,
|
|
164
172
|
planLimitsTableId: true,
|
|
@@ -210,6 +218,20 @@ async function handleCreate(argv, prompter) {
|
|
|
210
218
|
required: false,
|
|
211
219
|
skipPrompt: true,
|
|
212
220
|
},
|
|
221
|
+
{
|
|
222
|
+
type: 'text',
|
|
223
|
+
name: 'publicSchemaName',
|
|
224
|
+
message: 'publicSchemaName',
|
|
225
|
+
required: false,
|
|
226
|
+
skipPrompt: true,
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
type: 'text',
|
|
230
|
+
name: 'privateSchemaName',
|
|
231
|
+
message: 'privateSchemaName',
|
|
232
|
+
required: false,
|
|
233
|
+
skipPrompt: true,
|
|
234
|
+
},
|
|
213
235
|
{
|
|
214
236
|
type: 'text',
|
|
215
237
|
name: 'plansTableId',
|
|
@@ -325,6 +347,8 @@ async function handleCreate(argv, prompter) {
|
|
|
325
347
|
databaseId: cleanedData.databaseId,
|
|
326
348
|
schemaId: cleanedData.schemaId,
|
|
327
349
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
350
|
+
publicSchemaName: cleanedData.publicSchemaName,
|
|
351
|
+
privateSchemaName: cleanedData.privateSchemaName,
|
|
328
352
|
plansTableId: cleanedData.plansTableId,
|
|
329
353
|
plansTableName: cleanedData.plansTableName,
|
|
330
354
|
planLimitsTableId: cleanedData.planLimitsTableId,
|
|
@@ -346,6 +370,8 @@ async function handleCreate(argv, prompter) {
|
|
|
346
370
|
databaseId: true,
|
|
347
371
|
schemaId: true,
|
|
348
372
|
privateSchemaId: true,
|
|
373
|
+
publicSchemaName: true,
|
|
374
|
+
privateSchemaName: true,
|
|
349
375
|
plansTableId: true,
|
|
350
376
|
plansTableName: true,
|
|
351
377
|
planLimitsTableId: true,
|
|
@@ -403,6 +429,20 @@ async function handleUpdate(argv, prompter) {
|
|
|
403
429
|
required: false,
|
|
404
430
|
skipPrompt: true,
|
|
405
431
|
},
|
|
432
|
+
{
|
|
433
|
+
type: 'text',
|
|
434
|
+
name: 'publicSchemaName',
|
|
435
|
+
message: 'publicSchemaName',
|
|
436
|
+
required: false,
|
|
437
|
+
skipPrompt: true,
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
type: 'text',
|
|
441
|
+
name: 'privateSchemaName',
|
|
442
|
+
message: 'privateSchemaName',
|
|
443
|
+
required: false,
|
|
444
|
+
skipPrompt: true,
|
|
445
|
+
},
|
|
406
446
|
{
|
|
407
447
|
type: 'text',
|
|
408
448
|
name: 'plansTableId',
|
|
@@ -521,6 +561,8 @@ async function handleUpdate(argv, prompter) {
|
|
|
521
561
|
databaseId: cleanedData.databaseId,
|
|
522
562
|
schemaId: cleanedData.schemaId,
|
|
523
563
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
564
|
+
publicSchemaName: cleanedData.publicSchemaName,
|
|
565
|
+
privateSchemaName: cleanedData.privateSchemaName,
|
|
524
566
|
plansTableId: cleanedData.plansTableId,
|
|
525
567
|
plansTableName: cleanedData.plansTableName,
|
|
526
568
|
planLimitsTableId: cleanedData.planLimitsTableId,
|
|
@@ -542,6 +584,8 @@ async function handleUpdate(argv, prompter) {
|
|
|
542
584
|
databaseId: true,
|
|
543
585
|
schemaId: true,
|
|
544
586
|
privateSchemaId: true,
|
|
587
|
+
publicSchemaName: true,
|
|
588
|
+
privateSchemaName: true,
|
|
545
589
|
plansTableId: true,
|
|
546
590
|
plansTableName: true,
|
|
547
591
|
planLimitsTableId: true,
|