@constructive-sdk/cli 0.25.8 → 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
|
@@ -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
|
metersTableId: 'uuid',
|
|
15
17
|
metersTableName: 'string',
|
|
16
18
|
planSubscriptionsTableId: 'uuid',
|
|
@@ -27,6 +29,7 @@ const fieldSchema = {
|
|
|
27
29
|
meterDefaultsTableName: 'string',
|
|
28
30
|
recordUsageFunction: 'string',
|
|
29
31
|
prefix: 'string',
|
|
32
|
+
defaultPermissions: 'string',
|
|
30
33
|
apiName: 'string',
|
|
31
34
|
privateApiName: 'string',
|
|
32
35
|
};
|
|
@@ -76,6 +79,8 @@ async function handleList(argv, _prompter) {
|
|
|
76
79
|
databaseId: true,
|
|
77
80
|
schemaId: true,
|
|
78
81
|
privateSchemaId: true,
|
|
82
|
+
publicSchemaName: true,
|
|
83
|
+
privateSchemaName: true,
|
|
79
84
|
metersTableId: true,
|
|
80
85
|
metersTableName: true,
|
|
81
86
|
planSubscriptionsTableId: true,
|
|
@@ -92,6 +97,7 @@ async function handleList(argv, _prompter) {
|
|
|
92
97
|
meterDefaultsTableName: true,
|
|
93
98
|
recordUsageFunction: true,
|
|
94
99
|
prefix: true,
|
|
100
|
+
defaultPermissions: true,
|
|
95
101
|
apiName: true,
|
|
96
102
|
privateApiName: true,
|
|
97
103
|
};
|
|
@@ -115,6 +121,8 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
115
121
|
databaseId: true,
|
|
116
122
|
schemaId: true,
|
|
117
123
|
privateSchemaId: true,
|
|
124
|
+
publicSchemaName: true,
|
|
125
|
+
privateSchemaName: true,
|
|
118
126
|
metersTableId: true,
|
|
119
127
|
metersTableName: true,
|
|
120
128
|
planSubscriptionsTableId: true,
|
|
@@ -131,6 +139,7 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
131
139
|
meterDefaultsTableName: true,
|
|
132
140
|
recordUsageFunction: true,
|
|
133
141
|
prefix: true,
|
|
142
|
+
defaultPermissions: true,
|
|
134
143
|
apiName: true,
|
|
135
144
|
privateApiName: true,
|
|
136
145
|
};
|
|
@@ -166,6 +175,8 @@ async function handleGet(argv, prompter) {
|
|
|
166
175
|
databaseId: true,
|
|
167
176
|
schemaId: true,
|
|
168
177
|
privateSchemaId: true,
|
|
178
|
+
publicSchemaName: true,
|
|
179
|
+
privateSchemaName: true,
|
|
169
180
|
metersTableId: true,
|
|
170
181
|
metersTableName: true,
|
|
171
182
|
planSubscriptionsTableId: true,
|
|
@@ -182,6 +193,7 @@ async function handleGet(argv, prompter) {
|
|
|
182
193
|
meterDefaultsTableName: true,
|
|
183
194
|
recordUsageFunction: true,
|
|
184
195
|
prefix: true,
|
|
196
|
+
defaultPermissions: true,
|
|
185
197
|
apiName: true,
|
|
186
198
|
privateApiName: true,
|
|
187
199
|
},
|
|
@@ -220,6 +232,20 @@ async function handleCreate(argv, prompter) {
|
|
|
220
232
|
required: false,
|
|
221
233
|
skipPrompt: true,
|
|
222
234
|
},
|
|
235
|
+
{
|
|
236
|
+
type: 'text',
|
|
237
|
+
name: 'publicSchemaName',
|
|
238
|
+
message: 'publicSchemaName',
|
|
239
|
+
required: false,
|
|
240
|
+
skipPrompt: true,
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
type: 'text',
|
|
244
|
+
name: 'privateSchemaName',
|
|
245
|
+
message: 'privateSchemaName',
|
|
246
|
+
required: false,
|
|
247
|
+
skipPrompt: true,
|
|
248
|
+
},
|
|
223
249
|
{
|
|
224
250
|
type: 'text',
|
|
225
251
|
name: 'metersTableId',
|
|
@@ -332,6 +358,13 @@ async function handleCreate(argv, prompter) {
|
|
|
332
358
|
required: false,
|
|
333
359
|
skipPrompt: true,
|
|
334
360
|
},
|
|
361
|
+
{
|
|
362
|
+
type: 'text',
|
|
363
|
+
name: 'defaultPermissions',
|
|
364
|
+
message: 'defaultPermissions',
|
|
365
|
+
required: false,
|
|
366
|
+
skipPrompt: true,
|
|
367
|
+
},
|
|
335
368
|
{
|
|
336
369
|
type: 'text',
|
|
337
370
|
name: 'apiName',
|
|
@@ -356,6 +389,8 @@ async function handleCreate(argv, prompter) {
|
|
|
356
389
|
databaseId: cleanedData.databaseId,
|
|
357
390
|
schemaId: cleanedData.schemaId,
|
|
358
391
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
392
|
+
publicSchemaName: cleanedData.publicSchemaName,
|
|
393
|
+
privateSchemaName: cleanedData.privateSchemaName,
|
|
359
394
|
metersTableId: cleanedData.metersTableId,
|
|
360
395
|
metersTableName: cleanedData.metersTableName,
|
|
361
396
|
planSubscriptionsTableId: cleanedData.planSubscriptionsTableId,
|
|
@@ -372,6 +407,7 @@ async function handleCreate(argv, prompter) {
|
|
|
372
407
|
meterDefaultsTableName: cleanedData.meterDefaultsTableName,
|
|
373
408
|
recordUsageFunction: cleanedData.recordUsageFunction,
|
|
374
409
|
prefix: cleanedData.prefix,
|
|
410
|
+
defaultPermissions: cleanedData.defaultPermissions,
|
|
375
411
|
apiName: cleanedData.apiName,
|
|
376
412
|
privateApiName: cleanedData.privateApiName,
|
|
377
413
|
},
|
|
@@ -380,6 +416,8 @@ async function handleCreate(argv, prompter) {
|
|
|
380
416
|
databaseId: true,
|
|
381
417
|
schemaId: true,
|
|
382
418
|
privateSchemaId: true,
|
|
419
|
+
publicSchemaName: true,
|
|
420
|
+
privateSchemaName: true,
|
|
383
421
|
metersTableId: true,
|
|
384
422
|
metersTableName: true,
|
|
385
423
|
planSubscriptionsTableId: true,
|
|
@@ -396,6 +434,7 @@ async function handleCreate(argv, prompter) {
|
|
|
396
434
|
meterDefaultsTableName: true,
|
|
397
435
|
recordUsageFunction: true,
|
|
398
436
|
prefix: true,
|
|
437
|
+
defaultPermissions: true,
|
|
399
438
|
apiName: true,
|
|
400
439
|
privateApiName: true,
|
|
401
440
|
},
|
|
@@ -440,6 +479,20 @@ async function handleUpdate(argv, prompter) {
|
|
|
440
479
|
required: false,
|
|
441
480
|
skipPrompt: true,
|
|
442
481
|
},
|
|
482
|
+
{
|
|
483
|
+
type: 'text',
|
|
484
|
+
name: 'publicSchemaName',
|
|
485
|
+
message: 'publicSchemaName',
|
|
486
|
+
required: false,
|
|
487
|
+
skipPrompt: true,
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
type: 'text',
|
|
491
|
+
name: 'privateSchemaName',
|
|
492
|
+
message: 'privateSchemaName',
|
|
493
|
+
required: false,
|
|
494
|
+
skipPrompt: true,
|
|
495
|
+
},
|
|
443
496
|
{
|
|
444
497
|
type: 'text',
|
|
445
498
|
name: 'metersTableId',
|
|
@@ -552,6 +605,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
552
605
|
required: false,
|
|
553
606
|
skipPrompt: true,
|
|
554
607
|
},
|
|
608
|
+
{
|
|
609
|
+
type: 'text',
|
|
610
|
+
name: 'defaultPermissions',
|
|
611
|
+
message: 'defaultPermissions',
|
|
612
|
+
required: false,
|
|
613
|
+
skipPrompt: true,
|
|
614
|
+
},
|
|
555
615
|
{
|
|
556
616
|
type: 'text',
|
|
557
617
|
name: 'apiName',
|
|
@@ -579,6 +639,8 @@ async function handleUpdate(argv, prompter) {
|
|
|
579
639
|
databaseId: cleanedData.databaseId,
|
|
580
640
|
schemaId: cleanedData.schemaId,
|
|
581
641
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
642
|
+
publicSchemaName: cleanedData.publicSchemaName,
|
|
643
|
+
privateSchemaName: cleanedData.privateSchemaName,
|
|
582
644
|
metersTableId: cleanedData.metersTableId,
|
|
583
645
|
metersTableName: cleanedData.metersTableName,
|
|
584
646
|
planSubscriptionsTableId: cleanedData.planSubscriptionsTableId,
|
|
@@ -595,6 +657,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
595
657
|
meterDefaultsTableName: cleanedData.meterDefaultsTableName,
|
|
596
658
|
recordUsageFunction: cleanedData.recordUsageFunction,
|
|
597
659
|
prefix: cleanedData.prefix,
|
|
660
|
+
defaultPermissions: cleanedData.defaultPermissions,
|
|
598
661
|
apiName: cleanedData.apiName,
|
|
599
662
|
privateApiName: cleanedData.privateApiName,
|
|
600
663
|
},
|
|
@@ -603,6 +666,8 @@ async function handleUpdate(argv, prompter) {
|
|
|
603
666
|
databaseId: true,
|
|
604
667
|
schemaId: true,
|
|
605
668
|
privateSchemaId: true,
|
|
669
|
+
publicSchemaName: true,
|
|
670
|
+
privateSchemaName: true,
|
|
606
671
|
metersTableId: true,
|
|
607
672
|
metersTableName: true,
|
|
608
673
|
planSubscriptionsTableId: true,
|
|
@@ -619,6 +684,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
619
684
|
meterDefaultsTableName: true,
|
|
620
685
|
recordUsageFunction: true,
|
|
621
686
|
prefix: true,
|
|
687
|
+
defaultPermissions: true,
|
|
622
688
|
apiName: true,
|
|
623
689
|
privateApiName: true,
|
|
624
690
|
},
|
|
@@ -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
|
computeLogTableId: 'uuid',
|
|
15
17
|
computeLogTableName: 'string',
|
|
16
18
|
usageDailyTableId: 'uuid',
|
|
@@ -71,6 +73,8 @@ async function handleList(argv, _prompter) {
|
|
|
71
73
|
databaseId: true,
|
|
72
74
|
schemaId: true,
|
|
73
75
|
privateSchemaId: true,
|
|
76
|
+
publicSchemaName: true,
|
|
77
|
+
privateSchemaName: true,
|
|
74
78
|
computeLogTableId: true,
|
|
75
79
|
computeLogTableName: true,
|
|
76
80
|
usageDailyTableId: true,
|
|
@@ -105,6 +109,8 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
105
109
|
databaseId: true,
|
|
106
110
|
schemaId: true,
|
|
107
111
|
privateSchemaId: true,
|
|
112
|
+
publicSchemaName: true,
|
|
113
|
+
privateSchemaName: true,
|
|
108
114
|
computeLogTableId: true,
|
|
109
115
|
computeLogTableName: true,
|
|
110
116
|
usageDailyTableId: true,
|
|
@@ -151,6 +157,8 @@ async function handleGet(argv, prompter) {
|
|
|
151
157
|
databaseId: true,
|
|
152
158
|
schemaId: true,
|
|
153
159
|
privateSchemaId: true,
|
|
160
|
+
publicSchemaName: true,
|
|
161
|
+
privateSchemaName: true,
|
|
154
162
|
computeLogTableId: true,
|
|
155
163
|
computeLogTableName: true,
|
|
156
164
|
usageDailyTableId: true,
|
|
@@ -200,6 +208,20 @@ async function handleCreate(argv, prompter) {
|
|
|
200
208
|
required: false,
|
|
201
209
|
skipPrompt: true,
|
|
202
210
|
},
|
|
211
|
+
{
|
|
212
|
+
type: 'text',
|
|
213
|
+
name: 'publicSchemaName',
|
|
214
|
+
message: 'publicSchemaName',
|
|
215
|
+
required: false,
|
|
216
|
+
skipPrompt: true,
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
type: 'text',
|
|
220
|
+
name: 'privateSchemaName',
|
|
221
|
+
message: 'privateSchemaName',
|
|
222
|
+
required: false,
|
|
223
|
+
skipPrompt: true,
|
|
224
|
+
},
|
|
203
225
|
{
|
|
204
226
|
type: 'text',
|
|
205
227
|
name: 'computeLogTableId',
|
|
@@ -301,6 +323,8 @@ async function handleCreate(argv, prompter) {
|
|
|
301
323
|
databaseId: cleanedData.databaseId,
|
|
302
324
|
schemaId: cleanedData.schemaId,
|
|
303
325
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
326
|
+
publicSchemaName: cleanedData.publicSchemaName,
|
|
327
|
+
privateSchemaName: cleanedData.privateSchemaName,
|
|
304
328
|
computeLogTableId: cleanedData.computeLogTableId,
|
|
305
329
|
computeLogTableName: cleanedData.computeLogTableName,
|
|
306
330
|
usageDailyTableId: cleanedData.usageDailyTableId,
|
|
@@ -320,6 +344,8 @@ async function handleCreate(argv, prompter) {
|
|
|
320
344
|
databaseId: true,
|
|
321
345
|
schemaId: true,
|
|
322
346
|
privateSchemaId: true,
|
|
347
|
+
publicSchemaName: true,
|
|
348
|
+
privateSchemaName: true,
|
|
323
349
|
computeLogTableId: true,
|
|
324
350
|
computeLogTableName: true,
|
|
325
351
|
usageDailyTableId: true,
|
|
@@ -375,6 +401,20 @@ async function handleUpdate(argv, prompter) {
|
|
|
375
401
|
required: false,
|
|
376
402
|
skipPrompt: true,
|
|
377
403
|
},
|
|
404
|
+
{
|
|
405
|
+
type: 'text',
|
|
406
|
+
name: 'publicSchemaName',
|
|
407
|
+
message: 'publicSchemaName',
|
|
408
|
+
required: false,
|
|
409
|
+
skipPrompt: true,
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
type: 'text',
|
|
413
|
+
name: 'privateSchemaName',
|
|
414
|
+
message: 'privateSchemaName',
|
|
415
|
+
required: false,
|
|
416
|
+
skipPrompt: true,
|
|
417
|
+
},
|
|
378
418
|
{
|
|
379
419
|
type: 'text',
|
|
380
420
|
name: 'computeLogTableId',
|
|
@@ -479,6 +519,8 @@ async function handleUpdate(argv, prompter) {
|
|
|
479
519
|
databaseId: cleanedData.databaseId,
|
|
480
520
|
schemaId: cleanedData.schemaId,
|
|
481
521
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
522
|
+
publicSchemaName: cleanedData.publicSchemaName,
|
|
523
|
+
privateSchemaName: cleanedData.privateSchemaName,
|
|
482
524
|
computeLogTableId: cleanedData.computeLogTableId,
|
|
483
525
|
computeLogTableName: cleanedData.computeLogTableName,
|
|
484
526
|
usageDailyTableId: cleanedData.usageDailyTableId,
|
|
@@ -498,6 +540,8 @@ async function handleUpdate(argv, prompter) {
|
|
|
498
540
|
databaseId: true,
|
|
499
541
|
schemaId: true,
|
|
500
542
|
privateSchemaId: true,
|
|
543
|
+
publicSchemaName: true,
|
|
544
|
+
privateSchemaName: true,
|
|
501
545
|
computeLogTableId: true,
|
|
502
546
|
computeLogTableName: true,
|
|
503
547
|
usageDailyTableId: 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
|
tableId: 'uuid',
|
|
15
17
|
configDefinitionsTableId: 'uuid',
|
|
16
18
|
tableName: 'string',
|
|
@@ -69,6 +71,8 @@ async function handleList(argv, _prompter) {
|
|
|
69
71
|
databaseId: true,
|
|
70
72
|
schemaId: true,
|
|
71
73
|
privateSchemaId: true,
|
|
74
|
+
publicSchemaName: true,
|
|
75
|
+
privateSchemaName: true,
|
|
72
76
|
tableId: true,
|
|
73
77
|
configDefinitionsTableId: true,
|
|
74
78
|
tableName: true,
|
|
@@ -101,6 +105,8 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
101
105
|
databaseId: true,
|
|
102
106
|
schemaId: true,
|
|
103
107
|
privateSchemaId: true,
|
|
108
|
+
publicSchemaName: true,
|
|
109
|
+
privateSchemaName: true,
|
|
104
110
|
tableId: true,
|
|
105
111
|
configDefinitionsTableId: true,
|
|
106
112
|
tableName: true,
|
|
@@ -145,6 +151,8 @@ async function handleGet(argv, prompter) {
|
|
|
145
151
|
databaseId: true,
|
|
146
152
|
schemaId: true,
|
|
147
153
|
privateSchemaId: true,
|
|
154
|
+
publicSchemaName: true,
|
|
155
|
+
privateSchemaName: true,
|
|
148
156
|
tableId: true,
|
|
149
157
|
configDefinitionsTableId: true,
|
|
150
158
|
tableName: true,
|
|
@@ -192,6 +200,20 @@ async function handleCreate(argv, prompter) {
|
|
|
192
200
|
required: false,
|
|
193
201
|
skipPrompt: true,
|
|
194
202
|
},
|
|
203
|
+
{
|
|
204
|
+
type: 'text',
|
|
205
|
+
name: 'publicSchemaName',
|
|
206
|
+
message: 'publicSchemaName',
|
|
207
|
+
required: false,
|
|
208
|
+
skipPrompt: true,
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
type: 'text',
|
|
212
|
+
name: 'privateSchemaName',
|
|
213
|
+
message: 'privateSchemaName',
|
|
214
|
+
required: false,
|
|
215
|
+
skipPrompt: true,
|
|
216
|
+
},
|
|
195
217
|
{
|
|
196
218
|
type: 'text',
|
|
197
219
|
name: 'tableId',
|
|
@@ -279,6 +301,8 @@ async function handleCreate(argv, prompter) {
|
|
|
279
301
|
databaseId: cleanedData.databaseId,
|
|
280
302
|
schemaId: cleanedData.schemaId,
|
|
281
303
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
304
|
+
publicSchemaName: cleanedData.publicSchemaName,
|
|
305
|
+
privateSchemaName: cleanedData.privateSchemaName,
|
|
282
306
|
tableId: cleanedData.tableId,
|
|
283
307
|
configDefinitionsTableId: cleanedData.configDefinitionsTableId,
|
|
284
308
|
tableName: cleanedData.tableName,
|
|
@@ -296,6 +320,8 @@ async function handleCreate(argv, prompter) {
|
|
|
296
320
|
databaseId: true,
|
|
297
321
|
schemaId: true,
|
|
298
322
|
privateSchemaId: true,
|
|
323
|
+
publicSchemaName: true,
|
|
324
|
+
privateSchemaName: true,
|
|
299
325
|
tableId: true,
|
|
300
326
|
configDefinitionsTableId: true,
|
|
301
327
|
tableName: true,
|
|
@@ -349,6 +375,20 @@ async function handleUpdate(argv, prompter) {
|
|
|
349
375
|
required: false,
|
|
350
376
|
skipPrompt: true,
|
|
351
377
|
},
|
|
378
|
+
{
|
|
379
|
+
type: 'text',
|
|
380
|
+
name: 'publicSchemaName',
|
|
381
|
+
message: 'publicSchemaName',
|
|
382
|
+
required: false,
|
|
383
|
+
skipPrompt: true,
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
type: 'text',
|
|
387
|
+
name: 'privateSchemaName',
|
|
388
|
+
message: 'privateSchemaName',
|
|
389
|
+
required: false,
|
|
390
|
+
skipPrompt: true,
|
|
391
|
+
},
|
|
352
392
|
{
|
|
353
393
|
type: 'text',
|
|
354
394
|
name: 'tableId',
|
|
@@ -439,6 +479,8 @@ async function handleUpdate(argv, prompter) {
|
|
|
439
479
|
databaseId: cleanedData.databaseId,
|
|
440
480
|
schemaId: cleanedData.schemaId,
|
|
441
481
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
482
|
+
publicSchemaName: cleanedData.publicSchemaName,
|
|
483
|
+
privateSchemaName: cleanedData.privateSchemaName,
|
|
442
484
|
tableId: cleanedData.tableId,
|
|
443
485
|
configDefinitionsTableId: cleanedData.configDefinitionsTableId,
|
|
444
486
|
tableName: cleanedData.tableName,
|
|
@@ -456,6 +498,8 @@ async function handleUpdate(argv, prompter) {
|
|
|
456
498
|
databaseId: true,
|
|
457
499
|
schemaId: true,
|
|
458
500
|
privateSchemaId: true,
|
|
501
|
+
publicSchemaName: true,
|
|
502
|
+
privateSchemaName: true,
|
|
459
503
|
tableId: true,
|
|
460
504
|
configDefinitionsTableId: true,
|
|
461
505
|
tableName: 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
|
tableStatsLogTableId: 'uuid',
|
|
15
17
|
tableStatsLogTableName: 'string',
|
|
16
18
|
tableStatsDailyTableId: 'uuid',
|
|
@@ -24,6 +26,7 @@ const fieldSchema = {
|
|
|
24
26
|
premake: 'int',
|
|
25
27
|
scope: 'string',
|
|
26
28
|
prefix: 'string',
|
|
29
|
+
defaultPermissions: 'string',
|
|
27
30
|
apiName: 'string',
|
|
28
31
|
privateApiName: 'string',
|
|
29
32
|
};
|
|
@@ -73,6 +76,8 @@ async function handleList(argv, _prompter) {
|
|
|
73
76
|
databaseId: true,
|
|
74
77
|
schemaId: true,
|
|
75
78
|
privateSchemaId: true,
|
|
79
|
+
publicSchemaName: true,
|
|
80
|
+
privateSchemaName: true,
|
|
76
81
|
tableStatsLogTableId: true,
|
|
77
82
|
tableStatsLogTableName: true,
|
|
78
83
|
tableStatsDailyTableId: true,
|
|
@@ -86,6 +91,7 @@ async function handleList(argv, _prompter) {
|
|
|
86
91
|
premake: true,
|
|
87
92
|
scope: true,
|
|
88
93
|
prefix: true,
|
|
94
|
+
defaultPermissions: true,
|
|
89
95
|
apiName: true,
|
|
90
96
|
privateApiName: true,
|
|
91
97
|
};
|
|
@@ -109,6 +115,8 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
109
115
|
databaseId: true,
|
|
110
116
|
schemaId: true,
|
|
111
117
|
privateSchemaId: true,
|
|
118
|
+
publicSchemaName: true,
|
|
119
|
+
privateSchemaName: true,
|
|
112
120
|
tableStatsLogTableId: true,
|
|
113
121
|
tableStatsLogTableName: true,
|
|
114
122
|
tableStatsDailyTableId: true,
|
|
@@ -122,6 +130,7 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
122
130
|
premake: true,
|
|
123
131
|
scope: true,
|
|
124
132
|
prefix: true,
|
|
133
|
+
defaultPermissions: true,
|
|
125
134
|
apiName: true,
|
|
126
135
|
privateApiName: true,
|
|
127
136
|
};
|
|
@@ -157,6 +166,8 @@ async function handleGet(argv, prompter) {
|
|
|
157
166
|
databaseId: true,
|
|
158
167
|
schemaId: true,
|
|
159
168
|
privateSchemaId: true,
|
|
169
|
+
publicSchemaName: true,
|
|
170
|
+
privateSchemaName: true,
|
|
160
171
|
tableStatsLogTableId: true,
|
|
161
172
|
tableStatsLogTableName: true,
|
|
162
173
|
tableStatsDailyTableId: true,
|
|
@@ -170,6 +181,7 @@ async function handleGet(argv, prompter) {
|
|
|
170
181
|
premake: true,
|
|
171
182
|
scope: true,
|
|
172
183
|
prefix: true,
|
|
184
|
+
defaultPermissions: true,
|
|
173
185
|
apiName: true,
|
|
174
186
|
privateApiName: true,
|
|
175
187
|
},
|
|
@@ -208,6 +220,20 @@ async function handleCreate(argv, prompter) {
|
|
|
208
220
|
required: false,
|
|
209
221
|
skipPrompt: true,
|
|
210
222
|
},
|
|
223
|
+
{
|
|
224
|
+
type: 'text',
|
|
225
|
+
name: 'publicSchemaName',
|
|
226
|
+
message: 'publicSchemaName',
|
|
227
|
+
required: false,
|
|
228
|
+
skipPrompt: true,
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
type: 'text',
|
|
232
|
+
name: 'privateSchemaName',
|
|
233
|
+
message: 'privateSchemaName',
|
|
234
|
+
required: false,
|
|
235
|
+
skipPrompt: true,
|
|
236
|
+
},
|
|
211
237
|
{
|
|
212
238
|
type: 'text',
|
|
213
239
|
name: 'tableStatsLogTableId',
|
|
@@ -299,6 +325,13 @@ async function handleCreate(argv, prompter) {
|
|
|
299
325
|
required: false,
|
|
300
326
|
skipPrompt: true,
|
|
301
327
|
},
|
|
328
|
+
{
|
|
329
|
+
type: 'text',
|
|
330
|
+
name: 'defaultPermissions',
|
|
331
|
+
message: 'defaultPermissions',
|
|
332
|
+
required: false,
|
|
333
|
+
skipPrompt: true,
|
|
334
|
+
},
|
|
302
335
|
{
|
|
303
336
|
type: 'text',
|
|
304
337
|
name: 'apiName',
|
|
@@ -323,6 +356,8 @@ async function handleCreate(argv, prompter) {
|
|
|
323
356
|
databaseId: cleanedData.databaseId,
|
|
324
357
|
schemaId: cleanedData.schemaId,
|
|
325
358
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
359
|
+
publicSchemaName: cleanedData.publicSchemaName,
|
|
360
|
+
privateSchemaName: cleanedData.privateSchemaName,
|
|
326
361
|
tableStatsLogTableId: cleanedData.tableStatsLogTableId,
|
|
327
362
|
tableStatsLogTableName: cleanedData.tableStatsLogTableName,
|
|
328
363
|
tableStatsDailyTableId: cleanedData.tableStatsDailyTableId,
|
|
@@ -336,6 +371,7 @@ async function handleCreate(argv, prompter) {
|
|
|
336
371
|
premake: cleanedData.premake,
|
|
337
372
|
scope: cleanedData.scope,
|
|
338
373
|
prefix: cleanedData.prefix,
|
|
374
|
+
defaultPermissions: cleanedData.defaultPermissions,
|
|
339
375
|
apiName: cleanedData.apiName,
|
|
340
376
|
privateApiName: cleanedData.privateApiName,
|
|
341
377
|
},
|
|
@@ -344,6 +380,8 @@ async function handleCreate(argv, prompter) {
|
|
|
344
380
|
databaseId: true,
|
|
345
381
|
schemaId: true,
|
|
346
382
|
privateSchemaId: true,
|
|
383
|
+
publicSchemaName: true,
|
|
384
|
+
privateSchemaName: true,
|
|
347
385
|
tableStatsLogTableId: true,
|
|
348
386
|
tableStatsLogTableName: true,
|
|
349
387
|
tableStatsDailyTableId: true,
|
|
@@ -357,6 +395,7 @@ async function handleCreate(argv, prompter) {
|
|
|
357
395
|
premake: true,
|
|
358
396
|
scope: true,
|
|
359
397
|
prefix: true,
|
|
398
|
+
defaultPermissions: true,
|
|
360
399
|
apiName: true,
|
|
361
400
|
privateApiName: true,
|
|
362
401
|
},
|
|
@@ -401,6 +440,20 @@ async function handleUpdate(argv, prompter) {
|
|
|
401
440
|
required: false,
|
|
402
441
|
skipPrompt: true,
|
|
403
442
|
},
|
|
443
|
+
{
|
|
444
|
+
type: 'text',
|
|
445
|
+
name: 'publicSchemaName',
|
|
446
|
+
message: 'publicSchemaName',
|
|
447
|
+
required: false,
|
|
448
|
+
skipPrompt: true,
|
|
449
|
+
},
|
|
450
|
+
{
|
|
451
|
+
type: 'text',
|
|
452
|
+
name: 'privateSchemaName',
|
|
453
|
+
message: 'privateSchemaName',
|
|
454
|
+
required: false,
|
|
455
|
+
skipPrompt: true,
|
|
456
|
+
},
|
|
404
457
|
{
|
|
405
458
|
type: 'text',
|
|
406
459
|
name: 'tableStatsLogTableId',
|
|
@@ -492,6 +545,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
492
545
|
required: false,
|
|
493
546
|
skipPrompt: true,
|
|
494
547
|
},
|
|
548
|
+
{
|
|
549
|
+
type: 'text',
|
|
550
|
+
name: 'defaultPermissions',
|
|
551
|
+
message: 'defaultPermissions',
|
|
552
|
+
required: false,
|
|
553
|
+
skipPrompt: true,
|
|
554
|
+
},
|
|
495
555
|
{
|
|
496
556
|
type: 'text',
|
|
497
557
|
name: 'apiName',
|
|
@@ -519,6 +579,8 @@ async function handleUpdate(argv, prompter) {
|
|
|
519
579
|
databaseId: cleanedData.databaseId,
|
|
520
580
|
schemaId: cleanedData.schemaId,
|
|
521
581
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
582
|
+
publicSchemaName: cleanedData.publicSchemaName,
|
|
583
|
+
privateSchemaName: cleanedData.privateSchemaName,
|
|
522
584
|
tableStatsLogTableId: cleanedData.tableStatsLogTableId,
|
|
523
585
|
tableStatsLogTableName: cleanedData.tableStatsLogTableName,
|
|
524
586
|
tableStatsDailyTableId: cleanedData.tableStatsDailyTableId,
|
|
@@ -532,6 +594,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
532
594
|
premake: cleanedData.premake,
|
|
533
595
|
scope: cleanedData.scope,
|
|
534
596
|
prefix: cleanedData.prefix,
|
|
597
|
+
defaultPermissions: cleanedData.defaultPermissions,
|
|
535
598
|
apiName: cleanedData.apiName,
|
|
536
599
|
privateApiName: cleanedData.privateApiName,
|
|
537
600
|
},
|
|
@@ -540,6 +603,8 @@ async function handleUpdate(argv, prompter) {
|
|
|
540
603
|
databaseId: true,
|
|
541
604
|
schemaId: true,
|
|
542
605
|
privateSchemaId: true,
|
|
606
|
+
publicSchemaName: true,
|
|
607
|
+
privateSchemaName: true,
|
|
543
608
|
tableStatsLogTableId: true,
|
|
544
609
|
tableStatsLogTableName: true,
|
|
545
610
|
tableStatsDailyTableId: true,
|
|
@@ -553,6 +618,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
553
618
|
premake: true,
|
|
554
619
|
scope: true,
|
|
555
620
|
prefix: true,
|
|
621
|
+
defaultPermissions: true,
|
|
556
622
|
apiName: true,
|
|
557
623
|
privateApiName: true,
|
|
558
624
|
},
|