@constructive-sdk/cli 1.21.4 → 1.21.6
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/provision-bucket.js +1 -1
- package/admin/cli/commands.js +1 -1
- package/admin/orm/input-types.d.ts +4 -4
- package/admin/orm/mutation/index.d.ts +5 -4
- package/agent/cli/commands/provision-bucket.js +1 -1
- package/agent/cli/commands.js +1 -1
- package/agent/orm/input-types.d.ts +4 -4
- package/agent/orm/mutation/index.d.ts +5 -4
- package/api/cli/commands/{route-binding.d.ts → create-function-from-source.d.ts} +1 -1
- package/api/cli/commands/create-function-from-source.js +36 -0
- package/api/cli/commands/{hostname-binding.d.ts → email-shared-account.d.ts} +1 -1
- package/api/cli/commands/email-shared-account.js +21 -0
- package/api/cli/commands/managed-domain.js +22 -0
- package/api/cli/commands/platform-managed-domain.js +22 -0
- package/api/cli/commands/provision-bucket.js +1 -1
- package/api/cli/commands/unique-constraint.js +22 -0
- package/{esm/api/cli/commands/route-binding.d.ts → api/cli/commands/update-function-from-source.d.ts} +1 -1
- package/api/cli/commands/update-function-from-source.js +36 -0
- package/api/cli/commands.js +7 -5
- package/api/cli/executor.d.ts +15 -2
- package/api/orm/index.d.ts +15 -4
- package/api/orm/index.js +0 -4
- package/api/orm/input-types.d.ts +96 -439
- package/api/orm/models/index.d.ts +0 -2
- package/api/orm/models/index.js +2 -6
- package/api/orm/mutation/index.d.ts +30 -5
- package/api/orm/mutation/index.js +24 -0
- package/api/orm/query/index.d.ts +5 -0
- package/api/orm/query/index.js +7 -0
- package/auth/cli/commands/provision-bucket.js +1 -1
- package/auth/cli/commands.js +1 -1
- package/auth/orm/input-types.d.ts +5 -29
- package/auth/orm/mutation/index.d.ts +5 -4
- package/compute/cli/commands/function-invocation.js +44 -0
- package/compute/cli/commands/platform-function-invocation.js +44 -0
- package/compute/cli/commands/provision-bucket.js +1 -1
- package/compute/cli/commands.js +1 -1
- package/compute/orm/input-types.d.ts +50 -6
- package/compute/orm/mutation/index.d.ts +5 -4
- package/config/cli/commands/provision-bucket.js +1 -1
- package/config/cli/commands.js +1 -1
- package/config/orm/input-types.d.ts +4 -4
- package/config/orm/mutation/index.d.ts +5 -4
- package/esm/admin/cli/commands/provision-bucket.js +1 -1
- package/esm/admin/cli/commands.js +1 -1
- package/esm/admin/orm/input-types.d.ts +4 -4
- package/esm/admin/orm/mutation/index.d.ts +5 -4
- package/esm/agent/cli/commands/provision-bucket.js +1 -1
- package/esm/agent/cli/commands.js +1 -1
- package/esm/agent/orm/input-types.d.ts +4 -4
- package/esm/agent/orm/mutation/index.d.ts +5 -4
- package/esm/api/cli/commands/create-function-from-source.d.ts +8 -0
- package/esm/api/cli/commands/create-function-from-source.js +34 -0
- package/esm/api/cli/commands/{hostname-binding.d.ts → email-shared-account.d.ts} +1 -1
- package/esm/api/cli/commands/email-shared-account.js +19 -0
- package/esm/api/cli/commands/managed-domain.js +22 -0
- package/esm/api/cli/commands/platform-managed-domain.js +22 -0
- package/esm/api/cli/commands/provision-bucket.js +1 -1
- package/esm/api/cli/commands/unique-constraint.js +22 -0
- package/esm/api/cli/commands/update-function-from-source.d.ts +8 -0
- package/esm/api/cli/commands/update-function-from-source.js +34 -0
- package/esm/api/cli/commands.js +7 -5
- package/esm/api/cli/executor.d.ts +15 -2
- package/esm/api/orm/index.d.ts +15 -4
- package/esm/api/orm/index.js +0 -4
- package/esm/api/orm/input-types.d.ts +96 -439
- package/esm/api/orm/models/index.d.ts +0 -2
- package/esm/api/orm/models/index.js +0 -2
- package/esm/api/orm/mutation/index.d.ts +30 -5
- package/esm/api/orm/mutation/index.js +24 -0
- package/esm/api/orm/query/index.d.ts +5 -0
- package/esm/api/orm/query/index.js +7 -0
- package/esm/auth/cli/commands/provision-bucket.js +1 -1
- package/esm/auth/cli/commands.js +1 -1
- package/esm/auth/orm/input-types.d.ts +5 -29
- package/esm/auth/orm/mutation/index.d.ts +5 -4
- package/esm/compute/cli/commands/function-invocation.js +44 -0
- package/esm/compute/cli/commands/platform-function-invocation.js +44 -0
- package/esm/compute/cli/commands/provision-bucket.js +1 -1
- package/esm/compute/cli/commands.js +1 -1
- package/esm/compute/orm/input-types.d.ts +50 -6
- package/esm/compute/orm/mutation/index.d.ts +5 -4
- package/esm/config/cli/commands/provision-bucket.js +1 -1
- package/esm/config/cli/commands.js +1 -1
- package/esm/config/orm/input-types.d.ts +4 -4
- package/esm/config/orm/mutation/index.d.ts +5 -4
- package/esm/infra/cli/commands/provision-bucket.js +1 -1
- package/esm/infra/cli/commands.js +1 -1
- package/esm/infra/orm/input-types.d.ts +4 -4
- package/esm/infra/orm/mutation/index.d.ts +5 -4
- package/esm/modules/cli/commands/billing-provider-module.js +110 -0
- package/esm/modules/cli/commands/blueprint-construction.js +0 -22
- package/esm/modules/cli/commands/catalog-module.js +44 -0
- package/esm/modules/cli/commands/construct-blueprint.js +1 -1
- package/esm/modules/cli/commands/provision-bucket.js +1 -1
- package/esm/modules/cli/commands/storage-module.js +22 -0
- package/esm/modules/cli/commands.js +1 -1
- package/esm/modules/orm/input-types.d.ts +72 -21
- package/esm/modules/orm/mutation/index.d.ts +6 -5
- package/esm/objects/cli/commands/provision-bucket.js +1 -1
- package/esm/objects/cli/commands.js +1 -1
- package/esm/objects/orm/input-types.d.ts +4 -4
- package/esm/objects/orm/mutation/index.d.ts +5 -4
- package/esm/remote/cli/commands/provision-bucket.js +1 -1
- package/esm/remote/cli/commands.js +1 -1
- package/esm/remote/orm/input-types.d.ts +4 -4
- package/esm/remote/orm/mutation/index.d.ts +5 -4
- package/esm/storage/cli/commands/bucket.js +23 -0
- package/esm/storage/cli/commands/platform-bucket.js +23 -0
- package/esm/storage/cli/commands/provision-bucket.js +1 -1
- package/esm/storage/cli/commands/upload-files.js +1 -1
- package/esm/storage/cli/commands/upload-platform-files.js +1 -1
- package/esm/storage/cli/commands.js +1 -1
- package/esm/storage/orm/input-types.d.ts +34 -6
- package/esm/storage/orm/mutation/index.d.ts +7 -6
- package/esm/usage/cli/commands/provision-bucket.js +1 -1
- package/esm/usage/cli/commands.js +1 -1
- package/esm/usage/orm/input-types.d.ts +4 -4
- package/esm/usage/orm/mutation/index.d.ts +5 -4
- package/infra/cli/commands/provision-bucket.js +1 -1
- package/infra/cli/commands.js +1 -1
- package/infra/orm/input-types.d.ts +4 -4
- package/infra/orm/mutation/index.d.ts +5 -4
- package/modules/cli/commands/billing-provider-module.js +110 -0
- package/modules/cli/commands/blueprint-construction.js +0 -22
- package/modules/cli/commands/catalog-module.js +44 -0
- package/modules/cli/commands/construct-blueprint.js +1 -1
- package/modules/cli/commands/provision-bucket.js +1 -1
- package/modules/cli/commands/storage-module.js +22 -0
- package/modules/cli/commands.js +1 -1
- package/modules/orm/input-types.d.ts +72 -21
- package/modules/orm/mutation/index.d.ts +6 -5
- package/objects/cli/commands/provision-bucket.js +1 -1
- package/objects/cli/commands.js +1 -1
- package/objects/orm/input-types.d.ts +4 -4
- package/objects/orm/mutation/index.d.ts +5 -4
- package/package.json +4 -4
- package/remote/cli/commands/provision-bucket.js +1 -1
- package/remote/cli/commands.js +1 -1
- package/remote/orm/input-types.d.ts +4 -4
- package/remote/orm/mutation/index.d.ts +5 -4
- package/storage/cli/commands/bucket.js +23 -0
- package/storage/cli/commands/platform-bucket.js +23 -0
- package/storage/cli/commands/provision-bucket.js +1 -1
- package/storage/cli/commands/upload-files.js +1 -1
- package/storage/cli/commands/upload-platform-files.js +1 -1
- package/storage/cli/commands.js +1 -1
- package/storage/orm/input-types.d.ts +34 -6
- package/storage/orm/mutation/index.d.ts +7 -6
- package/usage/cli/commands/provision-bucket.js +1 -1
- package/usage/cli/commands.js +1 -1
- package/usage/orm/input-types.d.ts +4 -4
- package/usage/orm/mutation/index.d.ts +5 -4
- package/api/cli/commands/hostname-binding.js +0 -388
- package/api/cli/commands/route-binding.js +0 -476
- package/api/orm/models/hostnameBinding.d.ts +0 -54
- package/api/orm/models/hostnameBinding.js +0 -104
- package/api/orm/models/routeBinding.d.ts +0 -54
- package/api/orm/models/routeBinding.js +0 -104
- package/esm/api/cli/commands/hostname-binding.js +0 -386
- package/esm/api/cli/commands/route-binding.js +0 -474
- package/esm/api/orm/models/hostnameBinding.d.ts +0 -54
- package/esm/api/orm/models/hostnameBinding.js +0 -100
- package/esm/api/orm/models/routeBinding.d.ts +0 -54
- package/esm/api/orm/models/routeBinding.js +0 -100
|
@@ -10,6 +10,8 @@ const fieldSchema = {
|
|
|
10
10
|
activatePlanSubscriptionFunction: 'string',
|
|
11
11
|
apiName: 'string',
|
|
12
12
|
applyProviderObservationFunction: 'string',
|
|
13
|
+
billingConnectionTableId: 'uuid',
|
|
14
|
+
billingConnectionTableName: 'string',
|
|
13
15
|
billingCustomersTableId: 'uuid',
|
|
14
16
|
billingCustomersTableName: 'string',
|
|
15
17
|
billingDisputesTableId: 'uuid',
|
|
@@ -24,6 +26,8 @@ const fieldSchema = {
|
|
|
24
26
|
billingPricesTableName: 'string',
|
|
25
27
|
billingProductsTableId: 'uuid',
|
|
26
28
|
billingProductsTableName: 'string',
|
|
29
|
+
billingProviderConnectedFunction: 'string',
|
|
30
|
+
billingProviderKeyFunction: 'string',
|
|
27
31
|
billingProviderStateTableId: 'uuid',
|
|
28
32
|
billingProviderStateTableName: 'string',
|
|
29
33
|
billingRefundsTableId: 'uuid',
|
|
@@ -60,6 +64,7 @@ const fieldSchema = {
|
|
|
60
64
|
processBillingEventFunction: 'string',
|
|
61
65
|
productsTableId: 'uuid',
|
|
62
66
|
provider: 'string',
|
|
67
|
+
recordBillingConnectionFunction: 'string',
|
|
63
68
|
recordBillingHealthFunction: 'string',
|
|
64
69
|
recordDisputeFunction: 'string',
|
|
65
70
|
recordRefundFunction: 'string',
|
|
@@ -119,6 +124,8 @@ async function handleList(argv, _prompter) {
|
|
|
119
124
|
activatePlanSubscriptionFunction: true,
|
|
120
125
|
apiName: true,
|
|
121
126
|
applyProviderObservationFunction: true,
|
|
127
|
+
billingConnectionTableId: true,
|
|
128
|
+
billingConnectionTableName: true,
|
|
122
129
|
billingCustomersTableId: true,
|
|
123
130
|
billingCustomersTableName: true,
|
|
124
131
|
billingDisputesTableId: true,
|
|
@@ -133,6 +140,8 @@ async function handleList(argv, _prompter) {
|
|
|
133
140
|
billingPricesTableName: true,
|
|
134
141
|
billingProductsTableId: true,
|
|
135
142
|
billingProductsTableName: true,
|
|
143
|
+
billingProviderConnectedFunction: true,
|
|
144
|
+
billingProviderKeyFunction: true,
|
|
136
145
|
billingProviderStateTableId: true,
|
|
137
146
|
billingProviderStateTableName: true,
|
|
138
147
|
billingRefundsTableId: true,
|
|
@@ -169,6 +178,7 @@ async function handleList(argv, _prompter) {
|
|
|
169
178
|
processBillingEventFunction: true,
|
|
170
179
|
productsTableId: true,
|
|
171
180
|
provider: true,
|
|
181
|
+
recordBillingConnectionFunction: true,
|
|
172
182
|
recordBillingHealthFunction: true,
|
|
173
183
|
recordDisputeFunction: true,
|
|
174
184
|
recordRefundFunction: true,
|
|
@@ -202,6 +212,8 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
202
212
|
activatePlanSubscriptionFunction: true,
|
|
203
213
|
apiName: true,
|
|
204
214
|
applyProviderObservationFunction: true,
|
|
215
|
+
billingConnectionTableId: true,
|
|
216
|
+
billingConnectionTableName: true,
|
|
205
217
|
billingCustomersTableId: true,
|
|
206
218
|
billingCustomersTableName: true,
|
|
207
219
|
billingDisputesTableId: true,
|
|
@@ -216,6 +228,8 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
216
228
|
billingPricesTableName: true,
|
|
217
229
|
billingProductsTableId: true,
|
|
218
230
|
billingProductsTableName: true,
|
|
231
|
+
billingProviderConnectedFunction: true,
|
|
232
|
+
billingProviderKeyFunction: true,
|
|
219
233
|
billingProviderStateTableId: true,
|
|
220
234
|
billingProviderStateTableName: true,
|
|
221
235
|
billingRefundsTableId: true,
|
|
@@ -252,6 +266,7 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
252
266
|
processBillingEventFunction: true,
|
|
253
267
|
productsTableId: true,
|
|
254
268
|
provider: true,
|
|
269
|
+
recordBillingConnectionFunction: true,
|
|
255
270
|
recordBillingHealthFunction: true,
|
|
256
271
|
recordDisputeFunction: true,
|
|
257
272
|
recordRefundFunction: true,
|
|
@@ -297,6 +312,8 @@ async function handleGet(argv, prompter) {
|
|
|
297
312
|
activatePlanSubscriptionFunction: true,
|
|
298
313
|
apiName: true,
|
|
299
314
|
applyProviderObservationFunction: true,
|
|
315
|
+
billingConnectionTableId: true,
|
|
316
|
+
billingConnectionTableName: true,
|
|
300
317
|
billingCustomersTableId: true,
|
|
301
318
|
billingCustomersTableName: true,
|
|
302
319
|
billingDisputesTableId: true,
|
|
@@ -311,6 +328,8 @@ async function handleGet(argv, prompter) {
|
|
|
311
328
|
billingPricesTableName: true,
|
|
312
329
|
billingProductsTableId: true,
|
|
313
330
|
billingProductsTableName: true,
|
|
331
|
+
billingProviderConnectedFunction: true,
|
|
332
|
+
billingProviderKeyFunction: true,
|
|
314
333
|
billingProviderStateTableId: true,
|
|
315
334
|
billingProviderStateTableName: true,
|
|
316
335
|
billingRefundsTableId: true,
|
|
@@ -347,6 +366,7 @@ async function handleGet(argv, prompter) {
|
|
|
347
366
|
processBillingEventFunction: true,
|
|
348
367
|
productsTableId: true,
|
|
349
368
|
provider: true,
|
|
369
|
+
recordBillingConnectionFunction: true,
|
|
350
370
|
recordBillingHealthFunction: true,
|
|
351
371
|
recordDisputeFunction: true,
|
|
352
372
|
recordRefundFunction: true,
|
|
@@ -397,6 +417,20 @@ async function handleCreate(argv, prompter) {
|
|
|
397
417
|
required: false,
|
|
398
418
|
skipPrompt: true,
|
|
399
419
|
},
|
|
420
|
+
{
|
|
421
|
+
type: 'text',
|
|
422
|
+
name: 'billingConnectionTableId',
|
|
423
|
+
message: 'billingConnectionTableId',
|
|
424
|
+
required: false,
|
|
425
|
+
skipPrompt: true,
|
|
426
|
+
},
|
|
427
|
+
{
|
|
428
|
+
type: 'text',
|
|
429
|
+
name: 'billingConnectionTableName',
|
|
430
|
+
message: 'billingConnectionTableName',
|
|
431
|
+
required: false,
|
|
432
|
+
skipPrompt: true,
|
|
433
|
+
},
|
|
400
434
|
{
|
|
401
435
|
type: 'text',
|
|
402
436
|
name: 'billingCustomersTableId',
|
|
@@ -495,6 +529,20 @@ async function handleCreate(argv, prompter) {
|
|
|
495
529
|
required: false,
|
|
496
530
|
skipPrompt: true,
|
|
497
531
|
},
|
|
532
|
+
{
|
|
533
|
+
type: 'text',
|
|
534
|
+
name: 'billingProviderConnectedFunction',
|
|
535
|
+
message: 'billingProviderConnectedFunction',
|
|
536
|
+
required: false,
|
|
537
|
+
skipPrompt: true,
|
|
538
|
+
},
|
|
539
|
+
{
|
|
540
|
+
type: 'text',
|
|
541
|
+
name: 'billingProviderKeyFunction',
|
|
542
|
+
message: 'billingProviderKeyFunction',
|
|
543
|
+
required: false,
|
|
544
|
+
skipPrompt: true,
|
|
545
|
+
},
|
|
498
546
|
{
|
|
499
547
|
type: 'text',
|
|
500
548
|
name: 'billingProviderStateTableId',
|
|
@@ -739,6 +787,13 @@ async function handleCreate(argv, prompter) {
|
|
|
739
787
|
required: false,
|
|
740
788
|
skipPrompt: true,
|
|
741
789
|
},
|
|
790
|
+
{
|
|
791
|
+
type: 'text',
|
|
792
|
+
name: 'recordBillingConnectionFunction',
|
|
793
|
+
message: 'recordBillingConnectionFunction',
|
|
794
|
+
required: false,
|
|
795
|
+
skipPrompt: true,
|
|
796
|
+
},
|
|
742
797
|
{
|
|
743
798
|
type: 'text',
|
|
744
799
|
name: 'recordBillingHealthFunction',
|
|
@@ -840,6 +895,8 @@ async function handleCreate(argv, prompter) {
|
|
|
840
895
|
activatePlanSubscriptionFunction: cleanedData.activatePlanSubscriptionFunction,
|
|
841
896
|
apiName: cleanedData.apiName,
|
|
842
897
|
applyProviderObservationFunction: cleanedData.applyProviderObservationFunction,
|
|
898
|
+
billingConnectionTableId: cleanedData.billingConnectionTableId,
|
|
899
|
+
billingConnectionTableName: cleanedData.billingConnectionTableName,
|
|
843
900
|
billingCustomersTableId: cleanedData.billingCustomersTableId,
|
|
844
901
|
billingCustomersTableName: cleanedData.billingCustomersTableName,
|
|
845
902
|
billingDisputesTableId: cleanedData.billingDisputesTableId,
|
|
@@ -854,6 +911,8 @@ async function handleCreate(argv, prompter) {
|
|
|
854
911
|
billingPricesTableName: cleanedData.billingPricesTableName,
|
|
855
912
|
billingProductsTableId: cleanedData.billingProductsTableId,
|
|
856
913
|
billingProductsTableName: cleanedData.billingProductsTableName,
|
|
914
|
+
billingProviderConnectedFunction: cleanedData.billingProviderConnectedFunction,
|
|
915
|
+
billingProviderKeyFunction: cleanedData.billingProviderKeyFunction,
|
|
857
916
|
billingProviderStateTableId: cleanedData.billingProviderStateTableId,
|
|
858
917
|
billingProviderStateTableName: cleanedData.billingProviderStateTableName,
|
|
859
918
|
billingRefundsTableId: cleanedData.billingRefundsTableId,
|
|
@@ -889,6 +948,7 @@ async function handleCreate(argv, prompter) {
|
|
|
889
948
|
processBillingEventFunction: cleanedData.processBillingEventFunction,
|
|
890
949
|
productsTableId: cleanedData.productsTableId,
|
|
891
950
|
provider: cleanedData.provider,
|
|
951
|
+
recordBillingConnectionFunction: cleanedData.recordBillingConnectionFunction,
|
|
892
952
|
recordBillingHealthFunction: cleanedData.recordBillingHealthFunction,
|
|
893
953
|
recordDisputeFunction: cleanedData.recordDisputeFunction,
|
|
894
954
|
recordRefundFunction: cleanedData.recordRefundFunction,
|
|
@@ -907,6 +967,8 @@ async function handleCreate(argv, prompter) {
|
|
|
907
967
|
activatePlanSubscriptionFunction: true,
|
|
908
968
|
apiName: true,
|
|
909
969
|
applyProviderObservationFunction: true,
|
|
970
|
+
billingConnectionTableId: true,
|
|
971
|
+
billingConnectionTableName: true,
|
|
910
972
|
billingCustomersTableId: true,
|
|
911
973
|
billingCustomersTableName: true,
|
|
912
974
|
billingDisputesTableId: true,
|
|
@@ -921,6 +983,8 @@ async function handleCreate(argv, prompter) {
|
|
|
921
983
|
billingPricesTableName: true,
|
|
922
984
|
billingProductsTableId: true,
|
|
923
985
|
billingProductsTableName: true,
|
|
986
|
+
billingProviderConnectedFunction: true,
|
|
987
|
+
billingProviderKeyFunction: true,
|
|
924
988
|
billingProviderStateTableId: true,
|
|
925
989
|
billingProviderStateTableName: true,
|
|
926
990
|
billingRefundsTableId: true,
|
|
@@ -957,6 +1021,7 @@ async function handleCreate(argv, prompter) {
|
|
|
957
1021
|
processBillingEventFunction: true,
|
|
958
1022
|
productsTableId: true,
|
|
959
1023
|
provider: true,
|
|
1024
|
+
recordBillingConnectionFunction: true,
|
|
960
1025
|
recordBillingHealthFunction: true,
|
|
961
1026
|
recordDisputeFunction: true,
|
|
962
1027
|
recordRefundFunction: true,
|
|
@@ -1013,6 +1078,20 @@ async function handleUpdate(argv, prompter) {
|
|
|
1013
1078
|
required: false,
|
|
1014
1079
|
skipPrompt: true,
|
|
1015
1080
|
},
|
|
1081
|
+
{
|
|
1082
|
+
type: 'text',
|
|
1083
|
+
name: 'billingConnectionTableId',
|
|
1084
|
+
message: 'billingConnectionTableId',
|
|
1085
|
+
required: false,
|
|
1086
|
+
skipPrompt: true,
|
|
1087
|
+
},
|
|
1088
|
+
{
|
|
1089
|
+
type: 'text',
|
|
1090
|
+
name: 'billingConnectionTableName',
|
|
1091
|
+
message: 'billingConnectionTableName',
|
|
1092
|
+
required: false,
|
|
1093
|
+
skipPrompt: true,
|
|
1094
|
+
},
|
|
1016
1095
|
{
|
|
1017
1096
|
type: 'text',
|
|
1018
1097
|
name: 'billingCustomersTableId',
|
|
@@ -1111,6 +1190,20 @@ async function handleUpdate(argv, prompter) {
|
|
|
1111
1190
|
required: false,
|
|
1112
1191
|
skipPrompt: true,
|
|
1113
1192
|
},
|
|
1193
|
+
{
|
|
1194
|
+
type: 'text',
|
|
1195
|
+
name: 'billingProviderConnectedFunction',
|
|
1196
|
+
message: 'billingProviderConnectedFunction',
|
|
1197
|
+
required: false,
|
|
1198
|
+
skipPrompt: true,
|
|
1199
|
+
},
|
|
1200
|
+
{
|
|
1201
|
+
type: 'text',
|
|
1202
|
+
name: 'billingProviderKeyFunction',
|
|
1203
|
+
message: 'billingProviderKeyFunction',
|
|
1204
|
+
required: false,
|
|
1205
|
+
skipPrompt: true,
|
|
1206
|
+
},
|
|
1114
1207
|
{
|
|
1115
1208
|
type: 'text',
|
|
1116
1209
|
name: 'billingProviderStateTableId',
|
|
@@ -1355,6 +1448,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
1355
1448
|
required: false,
|
|
1356
1449
|
skipPrompt: true,
|
|
1357
1450
|
},
|
|
1451
|
+
{
|
|
1452
|
+
type: 'text',
|
|
1453
|
+
name: 'recordBillingConnectionFunction',
|
|
1454
|
+
message: 'recordBillingConnectionFunction',
|
|
1455
|
+
required: false,
|
|
1456
|
+
skipPrompt: true,
|
|
1457
|
+
},
|
|
1358
1458
|
{
|
|
1359
1459
|
type: 'text',
|
|
1360
1460
|
name: 'recordBillingHealthFunction',
|
|
@@ -1459,6 +1559,8 @@ async function handleUpdate(argv, prompter) {
|
|
|
1459
1559
|
activatePlanSubscriptionFunction: cleanedData.activatePlanSubscriptionFunction,
|
|
1460
1560
|
apiName: cleanedData.apiName,
|
|
1461
1561
|
applyProviderObservationFunction: cleanedData.applyProviderObservationFunction,
|
|
1562
|
+
billingConnectionTableId: cleanedData.billingConnectionTableId,
|
|
1563
|
+
billingConnectionTableName: cleanedData.billingConnectionTableName,
|
|
1462
1564
|
billingCustomersTableId: cleanedData.billingCustomersTableId,
|
|
1463
1565
|
billingCustomersTableName: cleanedData.billingCustomersTableName,
|
|
1464
1566
|
billingDisputesTableId: cleanedData.billingDisputesTableId,
|
|
@@ -1473,6 +1575,8 @@ async function handleUpdate(argv, prompter) {
|
|
|
1473
1575
|
billingPricesTableName: cleanedData.billingPricesTableName,
|
|
1474
1576
|
billingProductsTableId: cleanedData.billingProductsTableId,
|
|
1475
1577
|
billingProductsTableName: cleanedData.billingProductsTableName,
|
|
1578
|
+
billingProviderConnectedFunction: cleanedData.billingProviderConnectedFunction,
|
|
1579
|
+
billingProviderKeyFunction: cleanedData.billingProviderKeyFunction,
|
|
1476
1580
|
billingProviderStateTableId: cleanedData.billingProviderStateTableId,
|
|
1477
1581
|
billingProviderStateTableName: cleanedData.billingProviderStateTableName,
|
|
1478
1582
|
billingRefundsTableId: cleanedData.billingRefundsTableId,
|
|
@@ -1508,6 +1612,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
1508
1612
|
processBillingEventFunction: cleanedData.processBillingEventFunction,
|
|
1509
1613
|
productsTableId: cleanedData.productsTableId,
|
|
1510
1614
|
provider: cleanedData.provider,
|
|
1615
|
+
recordBillingConnectionFunction: cleanedData.recordBillingConnectionFunction,
|
|
1511
1616
|
recordBillingHealthFunction: cleanedData.recordBillingHealthFunction,
|
|
1512
1617
|
recordDisputeFunction: cleanedData.recordDisputeFunction,
|
|
1513
1618
|
recordRefundFunction: cleanedData.recordRefundFunction,
|
|
@@ -1526,6 +1631,8 @@ async function handleUpdate(argv, prompter) {
|
|
|
1526
1631
|
activatePlanSubscriptionFunction: true,
|
|
1527
1632
|
apiName: true,
|
|
1528
1633
|
applyProviderObservationFunction: true,
|
|
1634
|
+
billingConnectionTableId: true,
|
|
1635
|
+
billingConnectionTableName: true,
|
|
1529
1636
|
billingCustomersTableId: true,
|
|
1530
1637
|
billingCustomersTableName: true,
|
|
1531
1638
|
billingDisputesTableId: true,
|
|
@@ -1540,6 +1647,8 @@ async function handleUpdate(argv, prompter) {
|
|
|
1540
1647
|
billingPricesTableName: true,
|
|
1541
1648
|
billingProductsTableId: true,
|
|
1542
1649
|
billingProductsTableName: true,
|
|
1650
|
+
billingProviderConnectedFunction: true,
|
|
1651
|
+
billingProviderKeyFunction: true,
|
|
1543
1652
|
billingProviderStateTableId: true,
|
|
1544
1653
|
billingProviderStateTableName: true,
|
|
1545
1654
|
billingRefundsTableId: true,
|
|
@@ -1576,6 +1685,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
1576
1685
|
processBillingEventFunction: true,
|
|
1577
1686
|
productsTableId: true,
|
|
1578
1687
|
provider: true,
|
|
1688
|
+
recordBillingConnectionFunction: true,
|
|
1579
1689
|
recordBillingHealthFunction: true,
|
|
1580
1690
|
recordDisputeFunction: true,
|
|
1581
1691
|
recordRefundFunction: true,
|
|
@@ -12,7 +12,6 @@ const fieldSchema = {
|
|
|
12
12
|
constructedDefinition: 'json',
|
|
13
13
|
createdAt: 'string',
|
|
14
14
|
databaseId: 'uuid',
|
|
15
|
-
errorDetails: 'string',
|
|
16
15
|
id: 'uuid',
|
|
17
16
|
schemaId: 'uuid',
|
|
18
17
|
status: 'string',
|
|
@@ -66,7 +65,6 @@ async function handleList(argv, _prompter) {
|
|
|
66
65
|
constructedDefinition: true,
|
|
67
66
|
createdAt: true,
|
|
68
67
|
databaseId: true,
|
|
69
|
-
errorDetails: true,
|
|
70
68
|
id: true,
|
|
71
69
|
schemaId: true,
|
|
72
70
|
status: true,
|
|
@@ -94,7 +92,6 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
94
92
|
constructedDefinition: true,
|
|
95
93
|
createdAt: true,
|
|
96
94
|
databaseId: true,
|
|
97
|
-
errorDetails: true,
|
|
98
95
|
id: true,
|
|
99
96
|
schemaId: true,
|
|
100
97
|
status: true,
|
|
@@ -134,7 +131,6 @@ async function handleGet(argv, prompter) {
|
|
|
134
131
|
constructedDefinition: true,
|
|
135
132
|
createdAt: true,
|
|
136
133
|
databaseId: true,
|
|
137
|
-
errorDetails: true,
|
|
138
134
|
id: true,
|
|
139
135
|
schemaId: true,
|
|
140
136
|
status: true,
|
|
@@ -182,13 +178,6 @@ async function handleCreate(argv, prompter) {
|
|
|
182
178
|
message: 'databaseId',
|
|
183
179
|
required: true,
|
|
184
180
|
},
|
|
185
|
-
{
|
|
186
|
-
type: 'text',
|
|
187
|
-
name: 'errorDetails',
|
|
188
|
-
message: 'errorDetails',
|
|
189
|
-
required: false,
|
|
190
|
-
skipPrompt: true,
|
|
191
|
-
},
|
|
192
181
|
{
|
|
193
182
|
type: 'text',
|
|
194
183
|
name: 'schemaId',
|
|
@@ -221,7 +210,6 @@ async function handleCreate(argv, prompter) {
|
|
|
221
210
|
constructedAt: cleanedData.constructedAt,
|
|
222
211
|
constructedDefinition: cleanedData.constructedDefinition,
|
|
223
212
|
databaseId: cleanedData.databaseId,
|
|
224
|
-
errorDetails: cleanedData.errorDetails,
|
|
225
213
|
schemaId: cleanedData.schemaId,
|
|
226
214
|
status: cleanedData.status,
|
|
227
215
|
tableMap: cleanedData.tableMap,
|
|
@@ -232,7 +220,6 @@ async function handleCreate(argv, prompter) {
|
|
|
232
220
|
constructedDefinition: true,
|
|
233
221
|
createdAt: true,
|
|
234
222
|
databaseId: true,
|
|
235
|
-
errorDetails: true,
|
|
236
223
|
id: true,
|
|
237
224
|
schemaId: true,
|
|
238
225
|
status: true,
|
|
@@ -286,13 +273,6 @@ async function handleUpdate(argv, prompter) {
|
|
|
286
273
|
message: 'databaseId',
|
|
287
274
|
required: false,
|
|
288
275
|
},
|
|
289
|
-
{
|
|
290
|
-
type: 'text',
|
|
291
|
-
name: 'errorDetails',
|
|
292
|
-
message: 'errorDetails',
|
|
293
|
-
required: false,
|
|
294
|
-
skipPrompt: true,
|
|
295
|
-
},
|
|
296
276
|
{
|
|
297
277
|
type: 'text',
|
|
298
278
|
name: 'schemaId',
|
|
@@ -328,7 +308,6 @@ async function handleUpdate(argv, prompter) {
|
|
|
328
308
|
constructedAt: cleanedData.constructedAt,
|
|
329
309
|
constructedDefinition: cleanedData.constructedDefinition,
|
|
330
310
|
databaseId: cleanedData.databaseId,
|
|
331
|
-
errorDetails: cleanedData.errorDetails,
|
|
332
311
|
schemaId: cleanedData.schemaId,
|
|
333
312
|
status: cleanedData.status,
|
|
334
313
|
tableMap: cleanedData.tableMap,
|
|
@@ -339,7 +318,6 @@ async function handleUpdate(argv, prompter) {
|
|
|
339
318
|
constructedDefinition: true,
|
|
340
319
|
createdAt: true,
|
|
341
320
|
databaseId: true,
|
|
342
|
-
errorDetails: true,
|
|
343
321
|
id: true,
|
|
344
322
|
schemaId: true,
|
|
345
323
|
status: true,
|
|
@@ -20,6 +20,8 @@ const fieldSchema = {
|
|
|
20
20
|
bucketsTableName: 'string',
|
|
21
21
|
databaseId: 'uuid',
|
|
22
22
|
defaultCapabilities: 'string',
|
|
23
|
+
domainVerificationsTableId: 'uuid',
|
|
24
|
+
domainVerificationsTableName: 'string',
|
|
23
25
|
domainsTableId: 'uuid',
|
|
24
26
|
domainsTableName: 'string',
|
|
25
27
|
entityTableId: 'uuid',
|
|
@@ -112,6 +114,8 @@ async function handleList(argv, _prompter) {
|
|
|
112
114
|
bucketsTableName: true,
|
|
113
115
|
databaseId: true,
|
|
114
116
|
defaultCapabilities: true,
|
|
117
|
+
domainVerificationsTableId: true,
|
|
118
|
+
domainVerificationsTableName: true,
|
|
115
119
|
domainsTableId: true,
|
|
116
120
|
domainsTableName: true,
|
|
117
121
|
entityTableId: true,
|
|
@@ -178,6 +182,8 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
178
182
|
bucketsTableName: true,
|
|
179
183
|
databaseId: true,
|
|
180
184
|
defaultCapabilities: true,
|
|
185
|
+
domainVerificationsTableId: true,
|
|
186
|
+
domainVerificationsTableName: true,
|
|
181
187
|
domainsTableId: true,
|
|
182
188
|
domainsTableName: true,
|
|
183
189
|
entityTableId: true,
|
|
@@ -256,6 +262,8 @@ async function handleGet(argv, prompter) {
|
|
|
256
262
|
bucketsTableName: true,
|
|
257
263
|
databaseId: true,
|
|
258
264
|
defaultCapabilities: true,
|
|
265
|
+
domainVerificationsTableId: true,
|
|
266
|
+
domainVerificationsTableName: true,
|
|
259
267
|
domainsTableId: true,
|
|
260
268
|
domainsTableName: true,
|
|
261
269
|
entityTableId: true,
|
|
@@ -398,6 +406,20 @@ async function handleCreate(argv, prompter) {
|
|
|
398
406
|
required: false,
|
|
399
407
|
skipPrompt: true,
|
|
400
408
|
},
|
|
409
|
+
{
|
|
410
|
+
type: 'text',
|
|
411
|
+
name: 'domainVerificationsTableId',
|
|
412
|
+
message: 'domainVerificationsTableId',
|
|
413
|
+
required: false,
|
|
414
|
+
skipPrompt: true,
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
type: 'text',
|
|
418
|
+
name: 'domainVerificationsTableName',
|
|
419
|
+
message: 'domainVerificationsTableName',
|
|
420
|
+
required: false,
|
|
421
|
+
skipPrompt: true,
|
|
422
|
+
},
|
|
401
423
|
{
|
|
402
424
|
type: 'text',
|
|
403
425
|
name: 'domainsTableId',
|
|
@@ -662,6 +684,8 @@ async function handleCreate(argv, prompter) {
|
|
|
662
684
|
bucketsTableName: cleanedData.bucketsTableName,
|
|
663
685
|
databaseId: cleanedData.databaseId,
|
|
664
686
|
defaultCapabilities: cleanedData.defaultCapabilities,
|
|
687
|
+
domainVerificationsTableId: cleanedData.domainVerificationsTableId,
|
|
688
|
+
domainVerificationsTableName: cleanedData.domainVerificationsTableName,
|
|
665
689
|
domainsTableId: cleanedData.domainsTableId,
|
|
666
690
|
domainsTableName: cleanedData.domainsTableName,
|
|
667
691
|
entityTableId: cleanedData.entityTableId,
|
|
@@ -712,6 +736,8 @@ async function handleCreate(argv, prompter) {
|
|
|
712
736
|
bucketsTableName: true,
|
|
713
737
|
databaseId: true,
|
|
714
738
|
defaultCapabilities: true,
|
|
739
|
+
domainVerificationsTableId: true,
|
|
740
|
+
domainVerificationsTableName: true,
|
|
715
741
|
domainsTableId: true,
|
|
716
742
|
domainsTableName: true,
|
|
717
743
|
entityTableId: true,
|
|
@@ -860,6 +886,20 @@ async function handleUpdate(argv, prompter) {
|
|
|
860
886
|
required: false,
|
|
861
887
|
skipPrompt: true,
|
|
862
888
|
},
|
|
889
|
+
{
|
|
890
|
+
type: 'text',
|
|
891
|
+
name: 'domainVerificationsTableId',
|
|
892
|
+
message: 'domainVerificationsTableId',
|
|
893
|
+
required: false,
|
|
894
|
+
skipPrompt: true,
|
|
895
|
+
},
|
|
896
|
+
{
|
|
897
|
+
type: 'text',
|
|
898
|
+
name: 'domainVerificationsTableName',
|
|
899
|
+
message: 'domainVerificationsTableName',
|
|
900
|
+
required: false,
|
|
901
|
+
skipPrompt: true,
|
|
902
|
+
},
|
|
863
903
|
{
|
|
864
904
|
type: 'text',
|
|
865
905
|
name: 'domainsTableId',
|
|
@@ -1127,6 +1167,8 @@ async function handleUpdate(argv, prompter) {
|
|
|
1127
1167
|
bucketsTableName: cleanedData.bucketsTableName,
|
|
1128
1168
|
databaseId: cleanedData.databaseId,
|
|
1129
1169
|
defaultCapabilities: cleanedData.defaultCapabilities,
|
|
1170
|
+
domainVerificationsTableId: cleanedData.domainVerificationsTableId,
|
|
1171
|
+
domainVerificationsTableName: cleanedData.domainVerificationsTableName,
|
|
1130
1172
|
domainsTableId: cleanedData.domainsTableId,
|
|
1131
1173
|
domainsTableName: cleanedData.domainsTableName,
|
|
1132
1174
|
entityTableId: cleanedData.entityTableId,
|
|
@@ -1177,6 +1219,8 @@ async function handleUpdate(argv, prompter) {
|
|
|
1177
1219
|
bucketsTableName: true,
|
|
1178
1220
|
databaseId: true,
|
|
1179
1221
|
defaultCapabilities: true,
|
|
1222
|
+
domainVerificationsTableId: true,
|
|
1223
|
+
domainVerificationsTableName: true,
|
|
1180
1224
|
domainsTableId: true,
|
|
1181
1225
|
domainsTableName: true,
|
|
1182
1226
|
entityTableId: true,
|
|
@@ -3,7 +3,7 @@ import { unflattenDotNotation, buildSelectFromPaths } from '../utils';
|
|
|
3
3
|
export default async (argv, prompter, _options) => {
|
|
4
4
|
try {
|
|
5
5
|
if (argv.help || argv.h) {
|
|
6
|
-
console.log('construct-blueprint - Executes a blueprint definition by delegating to provision_* procedures. Creates a blueprint_construction record to track the attempt. Eight phases: (0) entity_type_provision for each membership_type entry \u2014 provisions entity tables, membership modules, and security. When a prefix already exists (e.g., \'org\'), the entry extends the existing entity type instead of creating a new one; if a storage[] key is present, it provisions entity-scoped storage for that type. (0.5) scope-based storage: each storage[] entry has an optional scope (\'app\' or \'org\' only). App-scoped storage seeds buckets at migration time. Org-scoped storage resolves the org membership type, creates org_buckets/org_files with owner_id, and seeds buckets per-entity via an AFTER INSERT trigger on the users table. When function_module is installed, a private functions bucket is auto-injected into org-scoped or entity-scoped storage entries. (1) provision_table() for each table with nodes[], fields[], policies[], and grants (table-level indexes/fts/unique_constraints/check_constraints are deferred). A table entry either names its table (table_name plus optional schema_name) or references one an installed module generated ("module": {"type": "agent", "scope": "org", "table": "message"}), which resolves through the module row\'s recorded table ids and raises when it matches nothing instead of creating an empty table. After provisioning, optional smart_tags (jsonb object) on the table entry are applied via metaschema.append_table_smart_tags(), and optional smart_tags on individual field entries are applied via metaschema.append_field_smart_tags(). (2) provision_relation() for each relation, (3) provision_index() for top-level + deferred indexes, (4) provision_full_text_search() for top-level + deferred FTS, (5) provision_unique_constraint() for top-level + deferred unique constraints, (6) provision_check_constraint() for top-level + deferred check constraints, (7) seed achievements from definition.achievements[] \u2014 resolves events_module by entity_prefix and creates INSERT actions for levels, level_requirements, and achievement_rewards tables. Phase 0 entity tables are added to the table_map so subsequent phases can reference them by name. Table-level entries are deferred to phases 3-6 so they can reference columns created by relations in phase 2. Returns the construction record ID
|
|
6
|
+
console.log('construct-blueprint - Executes a blueprint definition by delegating to provision_* procedures. Creates a blueprint_construction record to track the attempt. Eight phases: (0) entity_type_provision for each membership_type entry \u2014 provisions entity tables, membership modules, and security. When a prefix already exists (e.g., \'org\'), the entry extends the existing entity type instead of creating a new one; if a storage[] key is present, it provisions entity-scoped storage for that type. (0.5) scope-based storage: each storage[] entry has an optional scope (\'app\' or \'org\' only). App-scoped storage seeds buckets at migration time. Org-scoped storage resolves the org membership type, creates org_buckets/org_files with owner_id, and seeds buckets per-entity via an AFTER INSERT trigger on the users table. When function_module is installed, a private functions bucket is auto-injected into org-scoped or entity-scoped storage entries. (1) provision_table() for each table with nodes[], fields[], policies[], and grants (table-level indexes/fts/unique_constraints/check_constraints are deferred). A table entry either names its table (table_name plus optional schema_name) or references one an installed module generated ("module": {"type": "agent", "scope": "org", "table": "message"}), which resolves through the module row\'s recorded table ids and raises when it matches nothing instead of creating an empty table. After provisioning, optional smart_tags (jsonb object) on the table entry are applied via metaschema.append_table_smart_tags(), and optional smart_tags on individual field entries are applied via metaschema.append_field_smart_tags(). (2) provision_relation() for each relation, (3) provision_index() for top-level + deferred indexes, (4) provision_full_text_search() for top-level + deferred FTS, (5) provision_unique_constraint() for top-level + deferred unique constraints, (6) provision_check_constraint() for top-level + deferred check constraints, (7) seed achievements from definition.achievements[] \u2014 resolves events_module by entity_prefix and creates INSERT actions for levels, level_requirements, and achievement_rewards tables. Phase 0 entity tables are added to the table_map so subsequent phases can reference them by name. Table-level entries are deferred to phases 3-6 so they can reference columns created by relations in phase 2. Returns the construction record ID. A failure raises its coded error to the caller and rolls back the whole construction, including the construction record.\n\nUsage: construct-blueprint [OPTIONS]\n');
|
|
7
7
|
process.exit(0);
|
|
8
8
|
}
|
|
9
9
|
const answers = await prompter.prompt(argv, [
|
|
@@ -3,7 +3,7 @@ import { unflattenDotNotation, buildSelectFromPaths } from '../utils';
|
|
|
3
3
|
export default async (argv, prompter, _options) => {
|
|
4
4
|
try {
|
|
5
5
|
if (argv.help || argv.h) {
|
|
6
|
-
console.log(
|
|
6
|
+
console.log("provision-bucket - Reconcile an S3 bucket for a logical bucket in the database.\nRecords the request on the bucket row via RLS; the bucket's job\ntrigger then enqueues the same storage:provision_bucket job used on\nINSERT, and repeated requests collapse into one pending job. This is\nidempotent for an already-reconciled bucket; failures become GraphQL\nerrors.\n\nUsage: provision-bucket [OPTIONS]\n");
|
|
7
7
|
process.exit(0);
|
|
8
8
|
}
|
|
9
9
|
const answers = await prompter.prompt(argv, [
|
|
@@ -45,6 +45,7 @@ const fieldSchema = {
|
|
|
45
45
|
provisions: 'json',
|
|
46
46
|
publicSchemaName: 'string',
|
|
47
47
|
publicUrlPrefix: 'string',
|
|
48
|
+
region: 'string',
|
|
48
49
|
restrictReads: 'boolean',
|
|
49
50
|
schemaId: 'uuid',
|
|
50
51
|
scope: 'string',
|
|
@@ -130,6 +131,7 @@ async function handleList(argv, _prompter) {
|
|
|
130
131
|
provisions: true,
|
|
131
132
|
publicSchemaName: true,
|
|
132
133
|
publicUrlPrefix: true,
|
|
134
|
+
region: true,
|
|
133
135
|
restrictReads: true,
|
|
134
136
|
schemaId: true,
|
|
135
137
|
scope: true,
|
|
@@ -189,6 +191,7 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
189
191
|
provisions: true,
|
|
190
192
|
publicSchemaName: true,
|
|
191
193
|
publicUrlPrefix: true,
|
|
194
|
+
region: true,
|
|
192
195
|
restrictReads: true,
|
|
193
196
|
schemaId: true,
|
|
194
197
|
scope: true,
|
|
@@ -260,6 +263,7 @@ async function handleGet(argv, prompter) {
|
|
|
260
263
|
provisions: true,
|
|
261
264
|
publicSchemaName: true,
|
|
262
265
|
publicUrlPrefix: true,
|
|
266
|
+
region: true,
|
|
263
267
|
restrictReads: true,
|
|
264
268
|
schemaId: true,
|
|
265
269
|
scope: true,
|
|
@@ -538,6 +542,13 @@ async function handleCreate(argv, prompter) {
|
|
|
538
542
|
required: false,
|
|
539
543
|
skipPrompt: true,
|
|
540
544
|
},
|
|
545
|
+
{
|
|
546
|
+
type: 'text',
|
|
547
|
+
name: 'region',
|
|
548
|
+
message: 'region',
|
|
549
|
+
required: false,
|
|
550
|
+
skipPrompt: true,
|
|
551
|
+
},
|
|
541
552
|
{
|
|
542
553
|
type: 'boolean',
|
|
543
554
|
name: 'restrictReads',
|
|
@@ -609,6 +620,7 @@ async function handleCreate(argv, prompter) {
|
|
|
609
620
|
provisions: cleanedData.provisions,
|
|
610
621
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
611
622
|
publicUrlPrefix: cleanedData.publicUrlPrefix,
|
|
623
|
+
region: cleanedData.region,
|
|
612
624
|
restrictReads: cleanedData.restrictReads,
|
|
613
625
|
schemaId: cleanedData.schemaId,
|
|
614
626
|
scope: cleanedData.scope,
|
|
@@ -653,6 +665,7 @@ async function handleCreate(argv, prompter) {
|
|
|
653
665
|
provisions: true,
|
|
654
666
|
publicSchemaName: true,
|
|
655
667
|
publicUrlPrefix: true,
|
|
668
|
+
region: true,
|
|
656
669
|
restrictReads: true,
|
|
657
670
|
schemaId: true,
|
|
658
671
|
scope: true,
|
|
@@ -937,6 +950,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
937
950
|
required: false,
|
|
938
951
|
skipPrompt: true,
|
|
939
952
|
},
|
|
953
|
+
{
|
|
954
|
+
type: 'text',
|
|
955
|
+
name: 'region',
|
|
956
|
+
message: 'region',
|
|
957
|
+
required: false,
|
|
958
|
+
skipPrompt: true,
|
|
959
|
+
},
|
|
940
960
|
{
|
|
941
961
|
type: 'boolean',
|
|
942
962
|
name: 'restrictReads',
|
|
@@ -1011,6 +1031,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
1011
1031
|
provisions: cleanedData.provisions,
|
|
1012
1032
|
publicSchemaName: cleanedData.publicSchemaName,
|
|
1013
1033
|
publicUrlPrefix: cleanedData.publicUrlPrefix,
|
|
1034
|
+
region: cleanedData.region,
|
|
1014
1035
|
restrictReads: cleanedData.restrictReads,
|
|
1015
1036
|
schemaId: cleanedData.schemaId,
|
|
1016
1037
|
scope: cleanedData.scope,
|
|
@@ -1055,6 +1076,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
1055
1076
|
provisions: true,
|
|
1056
1077
|
publicSchemaName: true,
|
|
1057
1078
|
publicUrlPrefix: true,
|
|
1079
|
+
region: true,
|
|
1058
1080
|
restrictReads: true,
|
|
1059
1081
|
schemaId: true,
|
|
1060
1082
|
scope: true,
|