@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
|
@@ -44,8 +44,6 @@ const fieldSchema = {
|
|
|
44
44
|
outInvocationsTableId: 'uuid',
|
|
45
45
|
outExecutionLogsTableId: 'uuid',
|
|
46
46
|
outSecretDefinitionsTableId: 'uuid',
|
|
47
|
-
outRequirementsTableId: 'uuid',
|
|
48
|
-
outConfigRequirementsTableId: 'uuid',
|
|
49
47
|
outGraphModuleId: 'uuid',
|
|
50
48
|
outGraphsTableId: 'uuid',
|
|
51
49
|
outAgentModuleId: 'uuid',
|
|
@@ -129,8 +127,6 @@ async function handleList(argv, _prompter) {
|
|
|
129
127
|
outInvocationsTableId: true,
|
|
130
128
|
outExecutionLogsTableId: true,
|
|
131
129
|
outSecretDefinitionsTableId: true,
|
|
132
|
-
outRequirementsTableId: true,
|
|
133
|
-
outConfigRequirementsTableId: true,
|
|
134
130
|
outGraphModuleId: true,
|
|
135
131
|
outGraphsTableId: true,
|
|
136
132
|
outAgentModuleId: true,
|
|
@@ -188,8 +184,6 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
188
184
|
outInvocationsTableId: true,
|
|
189
185
|
outExecutionLogsTableId: true,
|
|
190
186
|
outSecretDefinitionsTableId: true,
|
|
191
|
-
outRequirementsTableId: true,
|
|
192
|
-
outConfigRequirementsTableId: true,
|
|
193
187
|
outGraphModuleId: true,
|
|
194
188
|
outGraphsTableId: true,
|
|
195
189
|
outAgentModuleId: true,
|
|
@@ -259,8 +253,6 @@ async function handleGet(argv, prompter) {
|
|
|
259
253
|
outInvocationsTableId: true,
|
|
260
254
|
outExecutionLogsTableId: true,
|
|
261
255
|
outSecretDefinitionsTableId: true,
|
|
262
|
-
outRequirementsTableId: true,
|
|
263
|
-
outConfigRequirementsTableId: true,
|
|
264
256
|
outGraphModuleId: true,
|
|
265
257
|
outGraphsTableId: true,
|
|
266
258
|
outAgentModuleId: true,
|
|
@@ -529,20 +521,6 @@ async function handleCreate(argv, prompter) {
|
|
|
529
521
|
required: false,
|
|
530
522
|
skipPrompt: true,
|
|
531
523
|
},
|
|
532
|
-
{
|
|
533
|
-
type: 'text',
|
|
534
|
-
name: 'outRequirementsTableId',
|
|
535
|
-
message: 'outRequirementsTableId',
|
|
536
|
-
required: false,
|
|
537
|
-
skipPrompt: true,
|
|
538
|
-
},
|
|
539
|
-
{
|
|
540
|
-
type: 'text',
|
|
541
|
-
name: 'outConfigRequirementsTableId',
|
|
542
|
-
message: 'outConfigRequirementsTableId',
|
|
543
|
-
required: false,
|
|
544
|
-
skipPrompt: true,
|
|
545
|
-
},
|
|
546
524
|
{
|
|
547
525
|
type: 'text',
|
|
548
526
|
name: 'outGraphModuleId',
|
|
@@ -607,8 +585,6 @@ async function handleCreate(argv, prompter) {
|
|
|
607
585
|
outInvocationsTableId: cleanedData.outInvocationsTableId,
|
|
608
586
|
outExecutionLogsTableId: cleanedData.outExecutionLogsTableId,
|
|
609
587
|
outSecretDefinitionsTableId: cleanedData.outSecretDefinitionsTableId,
|
|
610
|
-
outRequirementsTableId: cleanedData.outRequirementsTableId,
|
|
611
|
-
outConfigRequirementsTableId: cleanedData.outConfigRequirementsTableId,
|
|
612
588
|
outGraphModuleId: cleanedData.outGraphModuleId,
|
|
613
589
|
outGraphsTableId: cleanedData.outGraphsTableId,
|
|
614
590
|
outAgentModuleId: cleanedData.outAgentModuleId,
|
|
@@ -651,8 +627,6 @@ async function handleCreate(argv, prompter) {
|
|
|
651
627
|
outInvocationsTableId: true,
|
|
652
628
|
outExecutionLogsTableId: true,
|
|
653
629
|
outSecretDefinitionsTableId: true,
|
|
654
|
-
outRequirementsTableId: true,
|
|
655
|
-
outConfigRequirementsTableId: true,
|
|
656
630
|
outGraphModuleId: true,
|
|
657
631
|
outGraphsTableId: true,
|
|
658
632
|
outAgentModuleId: true,
|
|
@@ -927,20 +901,6 @@ async function handleUpdate(argv, prompter) {
|
|
|
927
901
|
required: false,
|
|
928
902
|
skipPrompt: true,
|
|
929
903
|
},
|
|
930
|
-
{
|
|
931
|
-
type: 'text',
|
|
932
|
-
name: 'outRequirementsTableId',
|
|
933
|
-
message: 'outRequirementsTableId',
|
|
934
|
-
required: false,
|
|
935
|
-
skipPrompt: true,
|
|
936
|
-
},
|
|
937
|
-
{
|
|
938
|
-
type: 'text',
|
|
939
|
-
name: 'outConfigRequirementsTableId',
|
|
940
|
-
message: 'outConfigRequirementsTableId',
|
|
941
|
-
required: false,
|
|
942
|
-
skipPrompt: true,
|
|
943
|
-
},
|
|
944
904
|
{
|
|
945
905
|
type: 'text',
|
|
946
906
|
name: 'outGraphModuleId',
|
|
@@ -1008,8 +968,6 @@ async function handleUpdate(argv, prompter) {
|
|
|
1008
968
|
outInvocationsTableId: cleanedData.outInvocationsTableId,
|
|
1009
969
|
outExecutionLogsTableId: cleanedData.outExecutionLogsTableId,
|
|
1010
970
|
outSecretDefinitionsTableId: cleanedData.outSecretDefinitionsTableId,
|
|
1011
|
-
outRequirementsTableId: cleanedData.outRequirementsTableId,
|
|
1012
|
-
outConfigRequirementsTableId: cleanedData.outConfigRequirementsTableId,
|
|
1013
971
|
outGraphModuleId: cleanedData.outGraphModuleId,
|
|
1014
972
|
outGraphsTableId: cleanedData.outGraphsTableId,
|
|
1015
973
|
outAgentModuleId: cleanedData.outAgentModuleId,
|
|
@@ -1052,8 +1010,6 @@ async function handleUpdate(argv, prompter) {
|
|
|
1052
1010
|
outInvocationsTableId: true,
|
|
1053
1011
|
outExecutionLogsTableId: true,
|
|
1054
1012
|
outSecretDefinitionsTableId: true,
|
|
1055
|
-
outRequirementsTableId: true,
|
|
1056
|
-
outConfigRequirementsTableId: true,
|
|
1057
1013
|
outGraphModuleId: true,
|
|
1058
1014
|
outGraphsTableId: true,
|
|
1059
1015
|
outAgentModuleId: true,
|
|
@@ -11,6 +11,8 @@ const fieldSchema = {
|
|
|
11
11
|
databaseId: 'uuid',
|
|
12
12
|
schemaId: 'uuid',
|
|
13
13
|
privateSchemaId: 'uuid',
|
|
14
|
+
publicSchemaName: 'string',
|
|
15
|
+
privateSchemaName: 'string',
|
|
14
16
|
eventsTableId: 'uuid',
|
|
15
17
|
eventsTableName: 'string',
|
|
16
18
|
eventAggregatesTableId: 'uuid',
|
|
@@ -46,6 +48,7 @@ const fieldSchema = {
|
|
|
46
48
|
prefix: 'string',
|
|
47
49
|
entityTableId: 'uuid',
|
|
48
50
|
actorTableId: 'uuid',
|
|
51
|
+
defaultPermissions: 'string',
|
|
49
52
|
apiName: 'string',
|
|
50
53
|
privateApiName: 'string',
|
|
51
54
|
};
|
|
@@ -95,6 +98,8 @@ async function handleList(argv, _prompter) {
|
|
|
95
98
|
databaseId: true,
|
|
96
99
|
schemaId: true,
|
|
97
100
|
privateSchemaId: true,
|
|
101
|
+
publicSchemaName: true,
|
|
102
|
+
privateSchemaName: true,
|
|
98
103
|
eventsTableId: true,
|
|
99
104
|
eventsTableName: true,
|
|
100
105
|
eventAggregatesTableId: true,
|
|
@@ -130,6 +135,7 @@ async function handleList(argv, _prompter) {
|
|
|
130
135
|
prefix: true,
|
|
131
136
|
entityTableId: true,
|
|
132
137
|
actorTableId: true,
|
|
138
|
+
defaultPermissions: true,
|
|
133
139
|
apiName: true,
|
|
134
140
|
privateApiName: true,
|
|
135
141
|
};
|
|
@@ -153,6 +159,8 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
153
159
|
databaseId: true,
|
|
154
160
|
schemaId: true,
|
|
155
161
|
privateSchemaId: true,
|
|
162
|
+
publicSchemaName: true,
|
|
163
|
+
privateSchemaName: true,
|
|
156
164
|
eventsTableId: true,
|
|
157
165
|
eventsTableName: true,
|
|
158
166
|
eventAggregatesTableId: true,
|
|
@@ -188,6 +196,7 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
188
196
|
prefix: true,
|
|
189
197
|
entityTableId: true,
|
|
190
198
|
actorTableId: true,
|
|
199
|
+
defaultPermissions: true,
|
|
191
200
|
apiName: true,
|
|
192
201
|
privateApiName: true,
|
|
193
202
|
};
|
|
@@ -223,6 +232,8 @@ async function handleGet(argv, prompter) {
|
|
|
223
232
|
databaseId: true,
|
|
224
233
|
schemaId: true,
|
|
225
234
|
privateSchemaId: true,
|
|
235
|
+
publicSchemaName: true,
|
|
236
|
+
privateSchemaName: true,
|
|
226
237
|
eventsTableId: true,
|
|
227
238
|
eventsTableName: true,
|
|
228
239
|
eventAggregatesTableId: true,
|
|
@@ -258,6 +269,7 @@ async function handleGet(argv, prompter) {
|
|
|
258
269
|
prefix: true,
|
|
259
270
|
entityTableId: true,
|
|
260
271
|
actorTableId: true,
|
|
272
|
+
defaultPermissions: true,
|
|
261
273
|
apiName: true,
|
|
262
274
|
privateApiName: true,
|
|
263
275
|
},
|
|
@@ -296,6 +308,20 @@ async function handleCreate(argv, prompter) {
|
|
|
296
308
|
required: false,
|
|
297
309
|
skipPrompt: true,
|
|
298
310
|
},
|
|
311
|
+
{
|
|
312
|
+
type: 'text',
|
|
313
|
+
name: 'publicSchemaName',
|
|
314
|
+
message: 'publicSchemaName',
|
|
315
|
+
required: false,
|
|
316
|
+
skipPrompt: true,
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
type: 'text',
|
|
320
|
+
name: 'privateSchemaName',
|
|
321
|
+
message: 'privateSchemaName',
|
|
322
|
+
required: false,
|
|
323
|
+
skipPrompt: true,
|
|
324
|
+
},
|
|
299
325
|
{
|
|
300
326
|
type: 'text',
|
|
301
327
|
name: 'eventsTableId',
|
|
@@ -541,6 +567,13 @@ async function handleCreate(argv, prompter) {
|
|
|
541
567
|
required: false,
|
|
542
568
|
skipPrompt: true,
|
|
543
569
|
},
|
|
570
|
+
{
|
|
571
|
+
type: 'text',
|
|
572
|
+
name: 'defaultPermissions',
|
|
573
|
+
message: 'defaultPermissions',
|
|
574
|
+
required: false,
|
|
575
|
+
skipPrompt: true,
|
|
576
|
+
},
|
|
544
577
|
{
|
|
545
578
|
type: 'text',
|
|
546
579
|
name: 'apiName',
|
|
@@ -565,6 +598,8 @@ async function handleCreate(argv, prompter) {
|
|
|
565
598
|
databaseId: cleanedData.databaseId,
|
|
566
599
|
schemaId: cleanedData.schemaId,
|
|
567
600
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
601
|
+
publicSchemaName: cleanedData.publicSchemaName,
|
|
602
|
+
privateSchemaName: cleanedData.privateSchemaName,
|
|
568
603
|
eventsTableId: cleanedData.eventsTableId,
|
|
569
604
|
eventsTableName: cleanedData.eventsTableName,
|
|
570
605
|
eventAggregatesTableId: cleanedData.eventAggregatesTableId,
|
|
@@ -600,6 +635,7 @@ async function handleCreate(argv, prompter) {
|
|
|
600
635
|
prefix: cleanedData.prefix,
|
|
601
636
|
entityTableId: cleanedData.entityTableId,
|
|
602
637
|
actorTableId: cleanedData.actorTableId,
|
|
638
|
+
defaultPermissions: cleanedData.defaultPermissions,
|
|
603
639
|
apiName: cleanedData.apiName,
|
|
604
640
|
privateApiName: cleanedData.privateApiName,
|
|
605
641
|
},
|
|
@@ -608,6 +644,8 @@ async function handleCreate(argv, prompter) {
|
|
|
608
644
|
databaseId: true,
|
|
609
645
|
schemaId: true,
|
|
610
646
|
privateSchemaId: true,
|
|
647
|
+
publicSchemaName: true,
|
|
648
|
+
privateSchemaName: true,
|
|
611
649
|
eventsTableId: true,
|
|
612
650
|
eventsTableName: true,
|
|
613
651
|
eventAggregatesTableId: true,
|
|
@@ -643,6 +681,7 @@ async function handleCreate(argv, prompter) {
|
|
|
643
681
|
prefix: true,
|
|
644
682
|
entityTableId: true,
|
|
645
683
|
actorTableId: true,
|
|
684
|
+
defaultPermissions: true,
|
|
646
685
|
apiName: true,
|
|
647
686
|
privateApiName: true,
|
|
648
687
|
},
|
|
@@ -687,6 +726,20 @@ async function handleUpdate(argv, prompter) {
|
|
|
687
726
|
required: false,
|
|
688
727
|
skipPrompt: true,
|
|
689
728
|
},
|
|
729
|
+
{
|
|
730
|
+
type: 'text',
|
|
731
|
+
name: 'publicSchemaName',
|
|
732
|
+
message: 'publicSchemaName',
|
|
733
|
+
required: false,
|
|
734
|
+
skipPrompt: true,
|
|
735
|
+
},
|
|
736
|
+
{
|
|
737
|
+
type: 'text',
|
|
738
|
+
name: 'privateSchemaName',
|
|
739
|
+
message: 'privateSchemaName',
|
|
740
|
+
required: false,
|
|
741
|
+
skipPrompt: true,
|
|
742
|
+
},
|
|
690
743
|
{
|
|
691
744
|
type: 'text',
|
|
692
745
|
name: 'eventsTableId',
|
|
@@ -932,6 +985,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
932
985
|
required: false,
|
|
933
986
|
skipPrompt: true,
|
|
934
987
|
},
|
|
988
|
+
{
|
|
989
|
+
type: 'text',
|
|
990
|
+
name: 'defaultPermissions',
|
|
991
|
+
message: 'defaultPermissions',
|
|
992
|
+
required: false,
|
|
993
|
+
skipPrompt: true,
|
|
994
|
+
},
|
|
935
995
|
{
|
|
936
996
|
type: 'text',
|
|
937
997
|
name: 'apiName',
|
|
@@ -959,6 +1019,8 @@ async function handleUpdate(argv, prompter) {
|
|
|
959
1019
|
databaseId: cleanedData.databaseId,
|
|
960
1020
|
schemaId: cleanedData.schemaId,
|
|
961
1021
|
privateSchemaId: cleanedData.privateSchemaId,
|
|
1022
|
+
publicSchemaName: cleanedData.publicSchemaName,
|
|
1023
|
+
privateSchemaName: cleanedData.privateSchemaName,
|
|
962
1024
|
eventsTableId: cleanedData.eventsTableId,
|
|
963
1025
|
eventsTableName: cleanedData.eventsTableName,
|
|
964
1026
|
eventAggregatesTableId: cleanedData.eventAggregatesTableId,
|
|
@@ -994,6 +1056,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
994
1056
|
prefix: cleanedData.prefix,
|
|
995
1057
|
entityTableId: cleanedData.entityTableId,
|
|
996
1058
|
actorTableId: cleanedData.actorTableId,
|
|
1059
|
+
defaultPermissions: cleanedData.defaultPermissions,
|
|
997
1060
|
apiName: cleanedData.apiName,
|
|
998
1061
|
privateApiName: cleanedData.privateApiName,
|
|
999
1062
|
},
|
|
@@ -1002,6 +1065,8 @@ async function handleUpdate(argv, prompter) {
|
|
|
1002
1065
|
databaseId: true,
|
|
1003
1066
|
schemaId: true,
|
|
1004
1067
|
privateSchemaId: true,
|
|
1068
|
+
publicSchemaName: true,
|
|
1069
|
+
privateSchemaName: true,
|
|
1005
1070
|
eventsTableId: true,
|
|
1006
1071
|
eventsTableName: true,
|
|
1007
1072
|
eventAggregatesTableId: true,
|
|
@@ -1037,6 +1102,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
1037
1102
|
prefix: true,
|
|
1038
1103
|
entityTableId: true,
|
|
1039
1104
|
actorTableId: true,
|
|
1105
|
+
defaultPermissions: true,
|
|
1040
1106
|
apiName: true,
|
|
1041
1107
|
privateApiName: true,
|
|
1042
1108
|
},
|
|
@@ -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;
|