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