@constructive-sdk/cli 0.25.9 → 0.25.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/admin/cli/commands/app-admin-grant.js +3 -1
- package/admin/cli/commands/app-grant.js +3 -1
- package/admin/cli/commands/app-invite.js +44 -0
- package/admin/cli/commands/app-owner-grant.js +3 -1
- package/admin/cli/commands/app-permission-default-grant.d.ts +8 -0
- package/admin/cli/commands/app-permission-default-grant.js +286 -0
- package/admin/cli/commands/app-permission-default-permission.d.ts +8 -0
- package/admin/cli/commands/app-permission-default-permission.js +242 -0
- package/admin/cli/commands/org-admin-grant.js +3 -1
- package/admin/cli/commands/org-grant.js +3 -1
- package/admin/cli/commands/org-invite.js +44 -0
- package/admin/cli/commands/org-owner-grant.js +3 -1
- package/admin/cli/commands/org-permission-default-grant.d.ts +8 -0
- package/admin/cli/commands/org-permission-default-grant.js +306 -0
- package/admin/cli/commands/org-permission-default-permission.d.ts +8 -0
- package/admin/cli/commands/org-permission-default-permission.js +262 -0
- package/admin/cli/commands.js +11 -3
- package/admin/cli/executor.d.ts +5 -1
- package/admin/orm/index.d.ts +10 -2
- package/admin/orm/index.js +10 -2
- package/admin/orm/input-types.d.ts +1611 -230
- package/admin/orm/input-types.js +9 -1
- package/admin/orm/models/appPermissionDefaultGrant.d.ts +54 -0
- package/admin/orm/models/appPermissionDefaultGrant.js +104 -0
- package/admin/orm/models/appPermissionDefaultPermission.d.ts +54 -0
- package/admin/orm/models/appPermissionDefaultPermission.js +104 -0
- package/admin/orm/models/index.d.ts +5 -1
- package/admin/orm/models/index.js +11 -3
- package/admin/orm/models/orgPermissionDefaultGrant.d.ts +54 -0
- package/admin/orm/models/orgPermissionDefaultGrant.js +104 -0
- package/admin/orm/models/orgPermissionDefaultPermission.d.ts +54 -0
- package/admin/orm/models/orgPermissionDefaultPermission.js +104 -0
- package/agent/cli/commands/agent-message.js +34 -12
- package/agent/cli/commands/agent-task.js +12 -12
- package/agent/cli/embedder.d.ts +5 -0
- package/agent/cli/embedder.js +46 -9
- package/agent/orm/input-types.d.ts +289 -47
- package/agent/orm/input-types.js +1 -0
- package/api/cli/commands/check-constraint.js +0 -22
- package/api/cli/commands/composite-type.d.ts +8 -0
- package/api/cli/commands/composite-type.js +424 -0
- package/api/cli/commands/enum.js +0 -22
- package/api/cli/commands/field.js +0 -22
- package/api/cli/commands/foreign-key-constraint.js +0 -22
- package/api/cli/commands/index.js +0 -22
- package/api/cli/commands/policy.js +0 -22
- package/api/cli/commands/primary-key-constraint.js +0 -22
- package/api/cli/commands/schema.js +0 -22
- package/api/cli/commands/spatial-relation.js +0 -22
- package/api/cli/commands/table.js +6 -28
- package/api/cli/commands/trigger.js +0 -22
- package/api/cli/commands/unique-constraint.js +0 -22
- package/api/cli/commands/view-table.js +22 -0
- package/api/cli/commands/view.js +0 -22
- package/api/cli/commands.js +3 -1
- package/api/cli/executor.d.ts +1 -0
- package/api/orm/index.d.ts +2 -0
- package/api/orm/index.js +2 -0
- package/api/orm/input-types.d.ts +1064 -125
- package/api/orm/input-types.js +3 -0
- package/api/orm/models/compositeType.d.ts +54 -0
- package/api/orm/models/compositeType.js +104 -0
- package/api/orm/models/index.d.ts +1 -0
- package/api/orm/models/index.js +3 -1
- package/auth/cli/commands/link-identity.d.ts +8 -0
- package/auth/cli/commands/link-identity.js +36 -0
- package/auth/cli/commands/sign-in-sms-otp.d.ts +8 -0
- package/auth/cli/commands/sign-in-sms-otp.js +36 -0
- package/auth/cli/commands/sign-up-sms.d.ts +8 -0
- package/auth/cli/commands/sign-up-sms.js +36 -0
- package/auth/cli/commands.js +7 -1
- package/auth/cli/executor.d.ts +15 -0
- package/auth/orm/index.d.ts +15 -0
- package/auth/orm/input-types.d.ts +197 -1
- package/auth/orm/mutation/index.d.ts +25 -1
- package/auth/orm/mutation/index.js +36 -0
- package/esm/admin/cli/commands/app-admin-grant.js +3 -1
- package/esm/admin/cli/commands/app-grant.js +3 -1
- package/esm/admin/cli/commands/app-invite.js +44 -0
- package/esm/admin/cli/commands/app-owner-grant.js +3 -1
- package/esm/admin/cli/commands/app-permission-default-grant.d.ts +8 -0
- package/esm/admin/cli/commands/app-permission-default-grant.js +284 -0
- package/esm/admin/cli/commands/app-permission-default-permission.d.ts +8 -0
- package/esm/admin/cli/commands/app-permission-default-permission.js +240 -0
- package/esm/admin/cli/commands/org-admin-grant.js +3 -1
- package/esm/admin/cli/commands/org-grant.js +3 -1
- package/esm/admin/cli/commands/org-invite.js +44 -0
- package/esm/admin/cli/commands/org-owner-grant.js +3 -1
- package/esm/admin/cli/commands/org-permission-default-grant.d.ts +8 -0
- package/esm/admin/cli/commands/org-permission-default-grant.js +304 -0
- package/esm/admin/cli/commands/org-permission-default-permission.d.ts +8 -0
- package/esm/admin/cli/commands/org-permission-default-permission.js +260 -0
- package/esm/admin/cli/commands.js +11 -3
- package/esm/admin/cli/executor.d.ts +5 -1
- package/esm/admin/orm/index.d.ts +10 -2
- package/esm/admin/orm/index.js +10 -2
- package/esm/admin/orm/input-types.d.ts +1611 -230
- package/esm/admin/orm/input-types.js +9 -1
- package/esm/admin/orm/models/appPermissionDefaultGrant.d.ts +54 -0
- package/esm/admin/orm/models/appPermissionDefaultGrant.js +100 -0
- package/esm/admin/orm/models/appPermissionDefaultPermission.d.ts +54 -0
- package/esm/admin/orm/models/appPermissionDefaultPermission.js +100 -0
- package/esm/admin/orm/models/index.d.ts +5 -1
- package/esm/admin/orm/models/index.js +5 -1
- package/esm/admin/orm/models/orgPermissionDefaultGrant.d.ts +54 -0
- package/esm/admin/orm/models/orgPermissionDefaultGrant.js +100 -0
- package/esm/admin/orm/models/orgPermissionDefaultPermission.d.ts +54 -0
- package/esm/admin/orm/models/orgPermissionDefaultPermission.js +100 -0
- package/esm/agent/cli/commands/agent-message.js +34 -12
- package/esm/agent/cli/commands/agent-task.js +12 -12
- package/esm/agent/cli/embedder.d.ts +5 -0
- package/esm/agent/cli/embedder.js +10 -2
- package/esm/agent/orm/input-types.d.ts +289 -47
- package/esm/agent/orm/input-types.js +1 -0
- package/esm/api/cli/commands/check-constraint.js +0 -22
- package/esm/api/cli/commands/composite-type.d.ts +8 -0
- package/esm/api/cli/commands/composite-type.js +422 -0
- package/esm/api/cli/commands/enum.js +0 -22
- package/esm/api/cli/commands/field.js +0 -22
- package/esm/api/cli/commands/foreign-key-constraint.js +0 -22
- package/esm/api/cli/commands/index.js +0 -22
- package/esm/api/cli/commands/policy.js +0 -22
- package/esm/api/cli/commands/primary-key-constraint.js +0 -22
- package/esm/api/cli/commands/schema.js +0 -22
- package/esm/api/cli/commands/spatial-relation.js +0 -22
- package/esm/api/cli/commands/table.js +6 -28
- package/esm/api/cli/commands/trigger.js +0 -22
- package/esm/api/cli/commands/unique-constraint.js +0 -22
- package/esm/api/cli/commands/view-table.js +22 -0
- package/esm/api/cli/commands/view.js +0 -22
- package/esm/api/cli/commands.js +3 -1
- package/esm/api/cli/executor.d.ts +1 -0
- package/esm/api/orm/index.d.ts +2 -0
- package/esm/api/orm/index.js +2 -0
- package/esm/api/orm/input-types.d.ts +1064 -125
- package/esm/api/orm/input-types.js +3 -0
- package/esm/api/orm/models/compositeType.d.ts +54 -0
- package/esm/api/orm/models/compositeType.js +100 -0
- package/esm/api/orm/models/index.d.ts +1 -0
- package/esm/api/orm/models/index.js +1 -0
- package/esm/auth/cli/commands/link-identity.d.ts +8 -0
- package/esm/auth/cli/commands/link-identity.js +34 -0
- package/esm/auth/cli/commands/sign-in-sms-otp.d.ts +8 -0
- package/esm/auth/cli/commands/sign-in-sms-otp.js +34 -0
- package/esm/auth/cli/commands/sign-up-sms.d.ts +8 -0
- package/esm/auth/cli/commands/sign-up-sms.js +34 -0
- package/esm/auth/cli/commands.js +7 -1
- package/esm/auth/cli/executor.d.ts +15 -0
- package/esm/auth/orm/index.d.ts +15 -0
- package/esm/auth/orm/input-types.d.ts +197 -1
- package/esm/auth/orm/mutation/index.d.ts +25 -1
- package/esm/auth/orm/mutation/index.js +36 -0
- package/esm/modules/cli/commands/agent-module.js +88 -0
- package/esm/modules/cli/commands/billing-module.js +66 -0
- package/esm/modules/cli/commands/compute-log-module.js +44 -0
- package/esm/modules/cli/commands/config-secrets-module.js +44 -0
- package/esm/modules/cli/commands/db-usage-module.js +66 -0
- package/esm/modules/cli/commands/entity-type-provision.js +0 -44
- package/esm/modules/cli/commands/events-module.js +66 -0
- package/esm/modules/cli/commands/function-invocation-module.d.ts +8 -0
- package/esm/modules/cli/commands/function-invocation-module.js +580 -0
- package/esm/modules/cli/commands/function-module.js +22 -198
- package/esm/modules/cli/commands/graph-module.js +22 -0
- package/esm/modules/cli/commands/hierarchy-module.js +22 -0
- package/esm/modules/cli/commands/identity-providers-module.js +44 -0
- package/esm/modules/cli/commands/inference-log-module.js +44 -0
- package/esm/modules/cli/commands/invites-module.js +44 -0
- package/esm/modules/cli/commands/limits-module.js +44 -0
- package/esm/modules/cli/commands/memberships-module.js +88 -0
- package/esm/modules/cli/commands/merkle-store-module.js +22 -0
- package/esm/modules/cli/commands/namespace-module.js +22 -0
- package/esm/modules/cli/commands/notifications-module.js +88 -0
- package/esm/modules/cli/commands/permissions-module.js +44 -0
- package/esm/modules/cli/commands/plans-module.js +44 -0
- package/esm/modules/cli/commands/profiles-module.js +44 -0
- package/esm/modules/cli/commands/rate-limit-meters-module.js +66 -0
- package/esm/modules/cli/commands/storage-log-module.js +44 -0
- package/esm/modules/cli/commands/storage-module.js +66 -0
- package/esm/modules/cli/commands/transfer-log-module.js +44 -0
- package/esm/modules/cli/commands.js +29 -27
- package/esm/modules/cli/executor.d.ts +14 -13
- package/esm/modules/orm/index.d.ts +28 -26
- package/esm/modules/orm/index.js +28 -26
- package/esm/modules/orm/input-types.d.ts +4485 -2514
- package/esm/modules/orm/models/functionInvocationModule.d.ts +54 -0
- package/esm/modules/orm/models/functionInvocationModule.js +100 -0
- package/esm/modules/orm/models/index.d.ts +14 -13
- package/esm/modules/orm/models/index.js +14 -13
- package/esm/objects/orm/input-types.d.ts +62 -0
- package/esm/usage/orm/input-types.d.ts +314 -19
- package/modules/cli/commands/agent-module.js +88 -0
- package/modules/cli/commands/billing-module.js +66 -0
- package/modules/cli/commands/compute-log-module.js +44 -0
- package/modules/cli/commands/config-secrets-module.js +44 -0
- package/modules/cli/commands/db-usage-module.js +66 -0
- package/modules/cli/commands/entity-type-provision.js +0 -44
- package/modules/cli/commands/events-module.js +66 -0
- package/modules/cli/commands/function-invocation-module.d.ts +8 -0
- package/modules/cli/commands/function-invocation-module.js +582 -0
- package/modules/cli/commands/function-module.js +22 -198
- package/modules/cli/commands/graph-module.js +22 -0
- package/modules/cli/commands/hierarchy-module.js +22 -0
- package/modules/cli/commands/identity-providers-module.js +44 -0
- package/modules/cli/commands/inference-log-module.js +44 -0
- package/modules/cli/commands/invites-module.js +44 -0
- package/modules/cli/commands/limits-module.js +44 -0
- package/modules/cli/commands/memberships-module.js +88 -0
- package/modules/cli/commands/merkle-store-module.js +22 -0
- package/modules/cli/commands/namespace-module.js +22 -0
- package/modules/cli/commands/notifications-module.js +88 -0
- package/modules/cli/commands/permissions-module.js +44 -0
- package/modules/cli/commands/plans-module.js +44 -0
- package/modules/cli/commands/profiles-module.js +44 -0
- package/modules/cli/commands/rate-limit-meters-module.js +66 -0
- package/modules/cli/commands/storage-log-module.js +44 -0
- package/modules/cli/commands/storage-module.js +66 -0
- package/modules/cli/commands/transfer-log-module.js +44 -0
- package/modules/cli/commands.js +29 -27
- package/modules/cli/executor.d.ts +14 -13
- package/modules/orm/index.d.ts +28 -26
- package/modules/orm/index.js +28 -26
- package/modules/orm/input-types.d.ts +4485 -2514
- package/modules/orm/models/functionInvocationModule.d.ts +54 -0
- package/modules/orm/models/functionInvocationModule.js +104 -0
- package/modules/orm/models/index.d.ts +14 -13
- package/modules/orm/models/index.js +30 -28
- package/objects/orm/input-types.d.ts +62 -0
- package/package.json +4 -4
- package/usage/orm/input-types.d.ts +314 -19
|
@@ -46,8 +46,6 @@ const fieldSchema = {
|
|
|
46
46
|
outInvocationsTableId: 'uuid',
|
|
47
47
|
outExecutionLogsTableId: 'uuid',
|
|
48
48
|
outSecretDefinitionsTableId: 'uuid',
|
|
49
|
-
outRequirementsTableId: 'uuid',
|
|
50
|
-
outConfigRequirementsTableId: 'uuid',
|
|
51
49
|
outGraphModuleId: 'uuid',
|
|
52
50
|
outGraphsTableId: 'uuid',
|
|
53
51
|
outAgentModuleId: 'uuid',
|
|
@@ -131,8 +129,6 @@ async function handleList(argv, _prompter) {
|
|
|
131
129
|
outInvocationsTableId: true,
|
|
132
130
|
outExecutionLogsTableId: true,
|
|
133
131
|
outSecretDefinitionsTableId: true,
|
|
134
|
-
outRequirementsTableId: true,
|
|
135
|
-
outConfigRequirementsTableId: true,
|
|
136
132
|
outGraphModuleId: true,
|
|
137
133
|
outGraphsTableId: true,
|
|
138
134
|
outAgentModuleId: true,
|
|
@@ -190,8 +186,6 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
190
186
|
outInvocationsTableId: true,
|
|
191
187
|
outExecutionLogsTableId: true,
|
|
192
188
|
outSecretDefinitionsTableId: true,
|
|
193
|
-
outRequirementsTableId: true,
|
|
194
|
-
outConfigRequirementsTableId: true,
|
|
195
189
|
outGraphModuleId: true,
|
|
196
190
|
outGraphsTableId: true,
|
|
197
191
|
outAgentModuleId: true,
|
|
@@ -261,8 +255,6 @@ async function handleGet(argv, prompter) {
|
|
|
261
255
|
outInvocationsTableId: true,
|
|
262
256
|
outExecutionLogsTableId: true,
|
|
263
257
|
outSecretDefinitionsTableId: true,
|
|
264
|
-
outRequirementsTableId: true,
|
|
265
|
-
outConfigRequirementsTableId: true,
|
|
266
258
|
outGraphModuleId: true,
|
|
267
259
|
outGraphsTableId: true,
|
|
268
260
|
outAgentModuleId: true,
|
|
@@ -531,20 +523,6 @@ async function handleCreate(argv, prompter) {
|
|
|
531
523
|
required: false,
|
|
532
524
|
skipPrompt: true,
|
|
533
525
|
},
|
|
534
|
-
{
|
|
535
|
-
type: 'text',
|
|
536
|
-
name: 'outRequirementsTableId',
|
|
537
|
-
message: 'outRequirementsTableId',
|
|
538
|
-
required: false,
|
|
539
|
-
skipPrompt: true,
|
|
540
|
-
},
|
|
541
|
-
{
|
|
542
|
-
type: 'text',
|
|
543
|
-
name: 'outConfigRequirementsTableId',
|
|
544
|
-
message: 'outConfigRequirementsTableId',
|
|
545
|
-
required: false,
|
|
546
|
-
skipPrompt: true,
|
|
547
|
-
},
|
|
548
526
|
{
|
|
549
527
|
type: 'text',
|
|
550
528
|
name: 'outGraphModuleId',
|
|
@@ -609,8 +587,6 @@ async function handleCreate(argv, prompter) {
|
|
|
609
587
|
outInvocationsTableId: cleanedData.outInvocationsTableId,
|
|
610
588
|
outExecutionLogsTableId: cleanedData.outExecutionLogsTableId,
|
|
611
589
|
outSecretDefinitionsTableId: cleanedData.outSecretDefinitionsTableId,
|
|
612
|
-
outRequirementsTableId: cleanedData.outRequirementsTableId,
|
|
613
|
-
outConfigRequirementsTableId: cleanedData.outConfigRequirementsTableId,
|
|
614
590
|
outGraphModuleId: cleanedData.outGraphModuleId,
|
|
615
591
|
outGraphsTableId: cleanedData.outGraphsTableId,
|
|
616
592
|
outAgentModuleId: cleanedData.outAgentModuleId,
|
|
@@ -653,8 +629,6 @@ async function handleCreate(argv, prompter) {
|
|
|
653
629
|
outInvocationsTableId: true,
|
|
654
630
|
outExecutionLogsTableId: true,
|
|
655
631
|
outSecretDefinitionsTableId: true,
|
|
656
|
-
outRequirementsTableId: true,
|
|
657
|
-
outConfigRequirementsTableId: true,
|
|
658
632
|
outGraphModuleId: true,
|
|
659
633
|
outGraphsTableId: true,
|
|
660
634
|
outAgentModuleId: true,
|
|
@@ -929,20 +903,6 @@ async function handleUpdate(argv, prompter) {
|
|
|
929
903
|
required: false,
|
|
930
904
|
skipPrompt: true,
|
|
931
905
|
},
|
|
932
|
-
{
|
|
933
|
-
type: 'text',
|
|
934
|
-
name: 'outRequirementsTableId',
|
|
935
|
-
message: 'outRequirementsTableId',
|
|
936
|
-
required: false,
|
|
937
|
-
skipPrompt: true,
|
|
938
|
-
},
|
|
939
|
-
{
|
|
940
|
-
type: 'text',
|
|
941
|
-
name: 'outConfigRequirementsTableId',
|
|
942
|
-
message: 'outConfigRequirementsTableId',
|
|
943
|
-
required: false,
|
|
944
|
-
skipPrompt: true,
|
|
945
|
-
},
|
|
946
906
|
{
|
|
947
907
|
type: 'text',
|
|
948
908
|
name: 'outGraphModuleId',
|
|
@@ -1010,8 +970,6 @@ async function handleUpdate(argv, prompter) {
|
|
|
1010
970
|
outInvocationsTableId: cleanedData.outInvocationsTableId,
|
|
1011
971
|
outExecutionLogsTableId: cleanedData.outExecutionLogsTableId,
|
|
1012
972
|
outSecretDefinitionsTableId: cleanedData.outSecretDefinitionsTableId,
|
|
1013
|
-
outRequirementsTableId: cleanedData.outRequirementsTableId,
|
|
1014
|
-
outConfigRequirementsTableId: cleanedData.outConfigRequirementsTableId,
|
|
1015
973
|
outGraphModuleId: cleanedData.outGraphModuleId,
|
|
1016
974
|
outGraphsTableId: cleanedData.outGraphsTableId,
|
|
1017
975
|
outAgentModuleId: cleanedData.outAgentModuleId,
|
|
@@ -1054,8 +1012,6 @@ async function handleUpdate(argv, prompter) {
|
|
|
1054
1012
|
outInvocationsTableId: true,
|
|
1055
1013
|
outExecutionLogsTableId: true,
|
|
1056
1014
|
outSecretDefinitionsTableId: true,
|
|
1057
|
-
outRequirementsTableId: true,
|
|
1058
|
-
outConfigRequirementsTableId: true,
|
|
1059
1015
|
outGraphModuleId: true,
|
|
1060
1016
|
outGraphsTableId: true,
|
|
1061
1017
|
outAgentModuleId: 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
|
eventsTableId: 'uuid',
|
|
17
19
|
eventsTableName: 'string',
|
|
18
20
|
eventAggregatesTableId: 'uuid',
|
|
@@ -48,6 +50,7 @@ const fieldSchema = {
|
|
|
48
50
|
prefix: 'string',
|
|
49
51
|
entityTableId: 'uuid',
|
|
50
52
|
actorTableId: 'uuid',
|
|
53
|
+
defaultPermissions: 'string',
|
|
51
54
|
apiName: 'string',
|
|
52
55
|
privateApiName: 'string',
|
|
53
56
|
};
|
|
@@ -97,6 +100,8 @@ async function handleList(argv, _prompter) {
|
|
|
97
100
|
databaseId: true,
|
|
98
101
|
schemaId: true,
|
|
99
102
|
privateSchemaId: true,
|
|
103
|
+
publicSchemaName: true,
|
|
104
|
+
privateSchemaName: true,
|
|
100
105
|
eventsTableId: true,
|
|
101
106
|
eventsTableName: true,
|
|
102
107
|
eventAggregatesTableId: true,
|
|
@@ -132,6 +137,7 @@ async function handleList(argv, _prompter) {
|
|
|
132
137
|
prefix: true,
|
|
133
138
|
entityTableId: true,
|
|
134
139
|
actorTableId: true,
|
|
140
|
+
defaultPermissions: true,
|
|
135
141
|
apiName: true,
|
|
136
142
|
privateApiName: true,
|
|
137
143
|
};
|
|
@@ -155,6 +161,8 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
155
161
|
databaseId: true,
|
|
156
162
|
schemaId: true,
|
|
157
163
|
privateSchemaId: true,
|
|
164
|
+
publicSchemaName: true,
|
|
165
|
+
privateSchemaName: true,
|
|
158
166
|
eventsTableId: true,
|
|
159
167
|
eventsTableName: true,
|
|
160
168
|
eventAggregatesTableId: true,
|
|
@@ -190,6 +198,7 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
190
198
|
prefix: true,
|
|
191
199
|
entityTableId: true,
|
|
192
200
|
actorTableId: true,
|
|
201
|
+
defaultPermissions: true,
|
|
193
202
|
apiName: true,
|
|
194
203
|
privateApiName: true,
|
|
195
204
|
};
|
|
@@ -225,6 +234,8 @@ async function handleGet(argv, prompter) {
|
|
|
225
234
|
databaseId: true,
|
|
226
235
|
schemaId: true,
|
|
227
236
|
privateSchemaId: true,
|
|
237
|
+
publicSchemaName: true,
|
|
238
|
+
privateSchemaName: true,
|
|
228
239
|
eventsTableId: true,
|
|
229
240
|
eventsTableName: true,
|
|
230
241
|
eventAggregatesTableId: true,
|
|
@@ -260,6 +271,7 @@ async function handleGet(argv, prompter) {
|
|
|
260
271
|
prefix: true,
|
|
261
272
|
entityTableId: true,
|
|
262
273
|
actorTableId: true,
|
|
274
|
+
defaultPermissions: true,
|
|
263
275
|
apiName: true,
|
|
264
276
|
privateApiName: true,
|
|
265
277
|
},
|
|
@@ -298,6 +310,20 @@ async function handleCreate(argv, prompter) {
|
|
|
298
310
|
required: false,
|
|
299
311
|
skipPrompt: true,
|
|
300
312
|
},
|
|
313
|
+
{
|
|
314
|
+
type: 'text',
|
|
315
|
+
name: 'publicSchemaName',
|
|
316
|
+
message: 'publicSchemaName',
|
|
317
|
+
required: false,
|
|
318
|
+
skipPrompt: true,
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
type: 'text',
|
|
322
|
+
name: 'privateSchemaName',
|
|
323
|
+
message: 'privateSchemaName',
|
|
324
|
+
required: false,
|
|
325
|
+
skipPrompt: true,
|
|
326
|
+
},
|
|
301
327
|
{
|
|
302
328
|
type: 'text',
|
|
303
329
|
name: 'eventsTableId',
|
|
@@ -543,6 +569,13 @@ async function handleCreate(argv, prompter) {
|
|
|
543
569
|
required: false,
|
|
544
570
|
skipPrompt: true,
|
|
545
571
|
},
|
|
572
|
+
{
|
|
573
|
+
type: 'text',
|
|
574
|
+
name: 'defaultPermissions',
|
|
575
|
+
message: 'defaultPermissions',
|
|
576
|
+
required: false,
|
|
577
|
+
skipPrompt: true,
|
|
578
|
+
},
|
|
546
579
|
{
|
|
547
580
|
type: 'text',
|
|
548
581
|
name: 'apiName',
|
|
@@ -567,6 +600,8 @@ async function handleCreate(argv, prompter) {
|
|
|
567
600
|
databaseId: cleanedData.databaseId,
|
|
568
601
|
schemaId: cleanedData.schemaId,
|
|
569
602
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
603
|
+
publicSchemaName: cleanedData.publicSchemaName,
|
|
604
|
+
privateSchemaName: cleanedData.privateSchemaName,
|
|
570
605
|
eventsTableId: cleanedData.eventsTableId,
|
|
571
606
|
eventsTableName: cleanedData.eventsTableName,
|
|
572
607
|
eventAggregatesTableId: cleanedData.eventAggregatesTableId,
|
|
@@ -602,6 +637,7 @@ async function handleCreate(argv, prompter) {
|
|
|
602
637
|
prefix: cleanedData.prefix,
|
|
603
638
|
entityTableId: cleanedData.entityTableId,
|
|
604
639
|
actorTableId: cleanedData.actorTableId,
|
|
640
|
+
defaultPermissions: cleanedData.defaultPermissions,
|
|
605
641
|
apiName: cleanedData.apiName,
|
|
606
642
|
privateApiName: cleanedData.privateApiName,
|
|
607
643
|
},
|
|
@@ -610,6 +646,8 @@ async function handleCreate(argv, prompter) {
|
|
|
610
646
|
databaseId: true,
|
|
611
647
|
schemaId: true,
|
|
612
648
|
privateSchemaId: true,
|
|
649
|
+
publicSchemaName: true,
|
|
650
|
+
privateSchemaName: true,
|
|
613
651
|
eventsTableId: true,
|
|
614
652
|
eventsTableName: true,
|
|
615
653
|
eventAggregatesTableId: true,
|
|
@@ -645,6 +683,7 @@ async function handleCreate(argv, prompter) {
|
|
|
645
683
|
prefix: true,
|
|
646
684
|
entityTableId: true,
|
|
647
685
|
actorTableId: true,
|
|
686
|
+
defaultPermissions: true,
|
|
648
687
|
apiName: true,
|
|
649
688
|
privateApiName: true,
|
|
650
689
|
},
|
|
@@ -689,6 +728,20 @@ async function handleUpdate(argv, prompter) {
|
|
|
689
728
|
required: false,
|
|
690
729
|
skipPrompt: true,
|
|
691
730
|
},
|
|
731
|
+
{
|
|
732
|
+
type: 'text',
|
|
733
|
+
name: 'publicSchemaName',
|
|
734
|
+
message: 'publicSchemaName',
|
|
735
|
+
required: false,
|
|
736
|
+
skipPrompt: true,
|
|
737
|
+
},
|
|
738
|
+
{
|
|
739
|
+
type: 'text',
|
|
740
|
+
name: 'privateSchemaName',
|
|
741
|
+
message: 'privateSchemaName',
|
|
742
|
+
required: false,
|
|
743
|
+
skipPrompt: true,
|
|
744
|
+
},
|
|
692
745
|
{
|
|
693
746
|
type: 'text',
|
|
694
747
|
name: 'eventsTableId',
|
|
@@ -934,6 +987,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
934
987
|
required: false,
|
|
935
988
|
skipPrompt: true,
|
|
936
989
|
},
|
|
990
|
+
{
|
|
991
|
+
type: 'text',
|
|
992
|
+
name: 'defaultPermissions',
|
|
993
|
+
message: 'defaultPermissions',
|
|
994
|
+
required: false,
|
|
995
|
+
skipPrompt: true,
|
|
996
|
+
},
|
|
937
997
|
{
|
|
938
998
|
type: 'text',
|
|
939
999
|
name: 'apiName',
|
|
@@ -961,6 +1021,8 @@ async function handleUpdate(argv, prompter) {
|
|
|
961
1021
|
databaseId: cleanedData.databaseId,
|
|
962
1022
|
schemaId: cleanedData.schemaId,
|
|
963
1023
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
1024
|
+
publicSchemaName: cleanedData.publicSchemaName,
|
|
1025
|
+
privateSchemaName: cleanedData.privateSchemaName,
|
|
964
1026
|
eventsTableId: cleanedData.eventsTableId,
|
|
965
1027
|
eventsTableName: cleanedData.eventsTableName,
|
|
966
1028
|
eventAggregatesTableId: cleanedData.eventAggregatesTableId,
|
|
@@ -996,6 +1058,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
996
1058
|
prefix: cleanedData.prefix,
|
|
997
1059
|
entityTableId: cleanedData.entityTableId,
|
|
998
1060
|
actorTableId: cleanedData.actorTableId,
|
|
1061
|
+
defaultPermissions: cleanedData.defaultPermissions,
|
|
999
1062
|
apiName: cleanedData.apiName,
|
|
1000
1063
|
privateApiName: cleanedData.privateApiName,
|
|
1001
1064
|
},
|
|
@@ -1004,6 +1067,8 @@ async function handleUpdate(argv, prompter) {
|
|
|
1004
1067
|
databaseId: true,
|
|
1005
1068
|
schemaId: true,
|
|
1006
1069
|
privateSchemaId: true,
|
|
1070
|
+
publicSchemaName: true,
|
|
1071
|
+
privateSchemaName: true,
|
|
1007
1072
|
eventsTableId: true,
|
|
1008
1073
|
eventsTableName: true,
|
|
1009
1074
|
eventAggregatesTableId: true,
|
|
@@ -1039,6 +1104,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
1039
1104
|
prefix: true,
|
|
1040
1105
|
entityTableId: true,
|
|
1041
1106
|
actorTableId: true,
|
|
1107
|
+
defaultPermissions: true,
|
|
1042
1108
|
apiName: true,
|
|
1043
1109
|
privateApiName: true,
|
|
1044
1110
|
},
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CLI commands for FunctionInvocationModule
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import { CLIOptions, Inquirerer } from 'inquirerer';
|
|
7
|
+
declare const _default: (argv: Partial<Record<string, unknown>>, prompter: Inquirerer, _options: CLIOptions) => Promise<void>;
|
|
8
|
+
export default _default;
|