@constructive-sdk/cli 0.14.7 → 0.14.9
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/org-membership-default.js +0 -44
- package/admin/cli/commands/org-membership-setting.d.ts +8 -0
- package/admin/cli/commands/org-membership-setting.js +418 -0
- package/admin/cli/commands.js +5 -3
- package/admin/cli/executor.d.ts +2 -1
- package/admin/orm/index.d.ts +4 -2
- package/admin/orm/index.js +4 -2
- package/admin/orm/input-types.d.ts +303 -142
- package/admin/orm/models/index.d.ts +2 -1
- package/admin/orm/models/index.js +5 -3
- package/admin/orm/models/orgMembershipSetting.d.ts +56 -0
- package/admin/orm/models/orgMembershipSetting.js +100 -0
- package/auth/cli/commands/crypto-address.js +22 -0
- package/auth/cli/commands/email.js +22 -0
- package/auth/cli/commands/identity-provider.d.ts +8 -0
- package/auth/cli/commands/identity-provider.js +164 -0
- package/auth/cli/commands/phone-number.js +22 -0
- package/auth/cli/commands/webauthn-credential.d.ts +8 -0
- package/auth/cli/commands/webauthn-credential.js +456 -0
- package/auth/cli/commands.js +7 -3
- package/auth/cli/executor.d.ts +7 -5
- package/auth/orm/index.d.ts +9 -5
- package/auth/orm/index.js +4 -0
- package/auth/orm/input-types.d.ts +525 -81
- package/auth/orm/input-types.js +1 -0
- package/auth/orm/models/identityProvider.d.ts +32 -0
- package/auth/orm/models/identityProvider.js +55 -0
- package/auth/orm/models/index.d.ts +2 -0
- package/auth/orm/models/index.js +5 -1
- package/auth/orm/models/webauthnCredential.d.ts +56 -0
- package/auth/orm/models/webauthnCredential.js +100 -0
- package/auth/orm/mutation/index.d.ts +9 -9
- package/auth/orm/mutation/index.js +12 -12
- package/esm/admin/cli/commands/org-membership-default.js +0 -44
- package/esm/admin/cli/commands/org-membership-setting.d.ts +8 -0
- package/esm/admin/cli/commands/org-membership-setting.js +416 -0
- package/esm/admin/cli/commands.js +5 -3
- package/esm/admin/cli/executor.d.ts +2 -1
- package/esm/admin/orm/index.d.ts +4 -2
- package/esm/admin/orm/index.js +4 -2
- package/esm/admin/orm/input-types.d.ts +303 -142
- package/esm/admin/orm/models/index.d.ts +2 -1
- package/esm/admin/orm/models/index.js +2 -1
- package/esm/admin/orm/models/orgMembershipSetting.d.ts +56 -0
- package/esm/admin/orm/models/orgMembershipSetting.js +96 -0
- package/esm/auth/cli/commands/crypto-address.js +22 -0
- package/esm/auth/cli/commands/email.js +22 -0
- package/esm/auth/cli/commands/identity-provider.d.ts +8 -0
- package/esm/auth/cli/commands/identity-provider.js +162 -0
- package/esm/auth/cli/commands/phone-number.js +22 -0
- package/esm/auth/cli/commands/webauthn-credential.d.ts +8 -0
- package/esm/auth/cli/commands/webauthn-credential.js +454 -0
- package/esm/auth/cli/commands.js +7 -3
- package/esm/auth/cli/executor.d.ts +7 -5
- package/esm/auth/orm/index.d.ts +9 -5
- package/esm/auth/orm/index.js +4 -0
- package/esm/auth/orm/input-types.d.ts +525 -81
- package/esm/auth/orm/input-types.js +1 -0
- package/esm/auth/orm/models/identityProvider.d.ts +32 -0
- package/esm/auth/orm/models/identityProvider.js +51 -0
- package/esm/auth/orm/models/index.d.ts +2 -0
- package/esm/auth/orm/models/index.js +2 -0
- package/esm/auth/orm/models/webauthnCredential.d.ts +56 -0
- package/esm/auth/orm/models/webauthnCredential.js +96 -0
- package/esm/auth/orm/mutation/index.d.ts +9 -9
- package/esm/auth/orm/mutation/index.js +12 -12
- package/esm/objects/orm/input-types.d.ts +12 -0
- package/esm/public/cli/commands/crypto-address.js +22 -0
- package/esm/public/cli/commands/email.js +22 -0
- package/esm/public/cli/commands/entity-type-provision.js +110 -0
- package/esm/public/cli/commands/identity-provider.d.ts +8 -0
- package/esm/public/cli/commands/identity-provider.js +162 -0
- package/esm/public/cli/commands/identity-providers-module.d.ts +8 -0
- package/esm/public/cli/commands/identity-providers-module.js +316 -0
- package/esm/public/cli/commands/memberships-module.js +44 -0
- package/esm/public/cli/commands/notifications-module.d.ts +8 -0
- package/esm/public/cli/commands/notifications-module.js +448 -0
- package/esm/public/cli/commands/org-membership-default.js +0 -44
- package/esm/public/cli/commands/org-membership-setting.d.ts +8 -0
- package/esm/public/cli/commands/org-membership-setting.js +416 -0
- package/esm/public/cli/commands/phone-number.js +22 -0
- package/esm/public/cli/commands/relation-provision.js +24 -156
- package/esm/public/cli/commands/secure-table-provision.js +24 -156
- package/esm/public/cli/commands/storage-module.js +44 -0
- package/esm/public/cli/commands/webauthn-auth-module.d.ts +8 -0
- package/esm/public/cli/commands/webauthn-auth-module.js +536 -0
- package/esm/public/cli/commands/webauthn-credential.d.ts +8 -0
- package/esm/public/cli/commands/webauthn-credential.js +454 -0
- package/esm/public/cli/commands.js +17 -5
- package/esm/public/cli/executor.d.ts +12 -6
- package/esm/public/orm/index.d.ts +19 -7
- package/esm/public/orm/index.js +14 -2
- package/esm/public/orm/input-types.d.ts +1827 -366
- package/esm/public/orm/input-types.js +7 -0
- package/esm/public/orm/models/identityProvider.d.ts +32 -0
- package/esm/public/orm/models/identityProvider.js +51 -0
- package/esm/public/orm/models/identityProvidersModule.d.ts +56 -0
- package/esm/public/orm/models/identityProvidersModule.js +96 -0
- package/esm/public/orm/models/index.d.ts +7 -1
- package/esm/public/orm/models/index.js +7 -1
- package/esm/public/orm/models/notificationsModule.d.ts +56 -0
- package/esm/public/orm/models/notificationsModule.js +96 -0
- package/esm/public/orm/models/orgMembershipSetting.d.ts +56 -0
- package/esm/public/orm/models/orgMembershipSetting.js +96 -0
- package/esm/public/orm/models/webauthnAuthModule.d.ts +56 -0
- package/esm/public/orm/models/webauthnAuthModule.js +96 -0
- package/esm/public/orm/models/webauthnCredential.d.ts +56 -0
- package/esm/public/orm/models/webauthnCredential.js +96 -0
- package/esm/public/orm/mutation/index.d.ts +9 -9
- package/esm/public/orm/mutation/index.js +12 -12
- package/objects/orm/input-types.d.ts +12 -0
- package/package.json +3 -3
- package/public/cli/commands/crypto-address.js +22 -0
- package/public/cli/commands/email.js +22 -0
- package/public/cli/commands/entity-type-provision.js +110 -0
- package/public/cli/commands/identity-provider.d.ts +8 -0
- package/public/cli/commands/identity-provider.js +164 -0
- package/public/cli/commands/identity-providers-module.d.ts +8 -0
- package/public/cli/commands/identity-providers-module.js +318 -0
- package/public/cli/commands/memberships-module.js +44 -0
- package/public/cli/commands/notifications-module.d.ts +8 -0
- package/public/cli/commands/notifications-module.js +450 -0
- package/public/cli/commands/org-membership-default.js +0 -44
- package/public/cli/commands/org-membership-setting.d.ts +8 -0
- package/public/cli/commands/org-membership-setting.js +418 -0
- package/public/cli/commands/phone-number.js +22 -0
- package/public/cli/commands/relation-provision.js +24 -156
- package/public/cli/commands/secure-table-provision.js +24 -156
- package/public/cli/commands/storage-module.js +44 -0
- package/public/cli/commands/webauthn-auth-module.d.ts +8 -0
- package/public/cli/commands/webauthn-auth-module.js +538 -0
- package/public/cli/commands/webauthn-credential.d.ts +8 -0
- package/public/cli/commands/webauthn-credential.js +456 -0
- package/public/cli/commands.js +17 -5
- package/public/cli/executor.d.ts +12 -6
- package/public/orm/index.d.ts +19 -7
- package/public/orm/index.js +14 -2
- package/public/orm/input-types.d.ts +1827 -366
- package/public/orm/input-types.js +7 -0
- package/public/orm/models/identityProvider.d.ts +32 -0
- package/public/orm/models/identityProvider.js +55 -0
- package/public/orm/models/identityProvidersModule.d.ts +56 -0
- package/public/orm/models/identityProvidersModule.js +100 -0
- package/public/orm/models/index.d.ts +7 -1
- package/public/orm/models/index.js +17 -5
- package/public/orm/models/notificationsModule.d.ts +56 -0
- package/public/orm/models/notificationsModule.js +100 -0
- package/public/orm/models/orgMembershipSetting.d.ts +56 -0
- package/public/orm/models/orgMembershipSetting.js +100 -0
- package/public/orm/models/webauthnAuthModule.d.ts +56 -0
- package/public/orm/models/webauthnAuthModule.js +100 -0
- package/public/orm/models/webauthnCredential.d.ts +56 -0
- package/public/orm/models/webauthnCredential.js +100 -0
- package/public/orm/mutation/index.d.ts +9 -9
- package/public/orm/mutation/index.js +12 -12
|
@@ -25,14 +25,8 @@ const fieldSchema = {
|
|
|
25
25
|
createIndex: 'boolean',
|
|
26
26
|
exposeInApi: 'boolean',
|
|
27
27
|
nodes: 'json',
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
policyType: 'string',
|
|
31
|
-
policyPrivileges: 'string',
|
|
32
|
-
policyRole: 'string',
|
|
33
|
-
policyPermissive: 'boolean',
|
|
34
|
-
policyName: 'string',
|
|
35
|
-
policyData: 'json',
|
|
28
|
+
grants: 'json',
|
|
29
|
+
policies: 'json',
|
|
36
30
|
outFieldId: 'uuid',
|
|
37
31
|
outJunctionTableId: 'uuid',
|
|
38
32
|
outSourceFieldId: 'uuid',
|
|
@@ -98,14 +92,8 @@ async function handleList(argv, _prompter) {
|
|
|
98
92
|
createIndex: true,
|
|
99
93
|
exposeInApi: true,
|
|
100
94
|
nodes: true,
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
policyType: true,
|
|
104
|
-
policyPrivileges: true,
|
|
105
|
-
policyRole: true,
|
|
106
|
-
policyPermissive: true,
|
|
107
|
-
policyName: true,
|
|
108
|
-
policyData: true,
|
|
95
|
+
grants: true,
|
|
96
|
+
policies: true,
|
|
109
97
|
outFieldId: true,
|
|
110
98
|
outJunctionTableId: true,
|
|
111
99
|
outSourceFieldId: true,
|
|
@@ -145,14 +133,8 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
145
133
|
createIndex: true,
|
|
146
134
|
exposeInApi: true,
|
|
147
135
|
nodes: true,
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
policyType: true,
|
|
151
|
-
policyPrivileges: true,
|
|
152
|
-
policyRole: true,
|
|
153
|
-
policyPermissive: true,
|
|
154
|
-
policyName: true,
|
|
155
|
-
policyData: true,
|
|
136
|
+
grants: true,
|
|
137
|
+
policies: true,
|
|
156
138
|
outFieldId: true,
|
|
157
139
|
outJunctionTableId: true,
|
|
158
140
|
outSourceFieldId: true,
|
|
@@ -204,14 +186,8 @@ async function handleGet(argv, prompter) {
|
|
|
204
186
|
createIndex: true,
|
|
205
187
|
exposeInApi: true,
|
|
206
188
|
nodes: true,
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
policyType: true,
|
|
210
|
-
policyPrivileges: true,
|
|
211
|
-
policyRole: true,
|
|
212
|
-
policyPermissive: true,
|
|
213
|
-
policyName: true,
|
|
214
|
-
policyData: true,
|
|
189
|
+
grants: true,
|
|
190
|
+
policies: true,
|
|
215
191
|
outFieldId: true,
|
|
216
192
|
outJunctionTableId: true,
|
|
217
193
|
outSourceFieldId: true,
|
|
@@ -347,59 +323,17 @@ async function handleCreate(argv, prompter) {
|
|
|
347
323
|
required: false,
|
|
348
324
|
skipPrompt: true,
|
|
349
325
|
},
|
|
350
|
-
{
|
|
351
|
-
type: 'text',
|
|
352
|
-
name: 'grantRoles',
|
|
353
|
-
message: 'grantRoles',
|
|
354
|
-
required: false,
|
|
355
|
-
skipPrompt: true,
|
|
356
|
-
},
|
|
357
326
|
{
|
|
358
327
|
type: 'json',
|
|
359
|
-
name: '
|
|
360
|
-
message: '
|
|
361
|
-
required: false,
|
|
362
|
-
skipPrompt: true,
|
|
363
|
-
},
|
|
364
|
-
{
|
|
365
|
-
type: 'text',
|
|
366
|
-
name: 'policyType',
|
|
367
|
-
message: 'policyType',
|
|
368
|
-
required: false,
|
|
369
|
-
skipPrompt: true,
|
|
370
|
-
},
|
|
371
|
-
{
|
|
372
|
-
type: 'text',
|
|
373
|
-
name: 'policyPrivileges',
|
|
374
|
-
message: 'policyPrivileges',
|
|
375
|
-
required: false,
|
|
376
|
-
skipPrompt: true,
|
|
377
|
-
},
|
|
378
|
-
{
|
|
379
|
-
type: 'text',
|
|
380
|
-
name: 'policyRole',
|
|
381
|
-
message: 'policyRole',
|
|
382
|
-
required: false,
|
|
383
|
-
skipPrompt: true,
|
|
384
|
-
},
|
|
385
|
-
{
|
|
386
|
-
type: 'boolean',
|
|
387
|
-
name: 'policyPermissive',
|
|
388
|
-
message: 'policyPermissive',
|
|
389
|
-
required: false,
|
|
390
|
-
skipPrompt: true,
|
|
391
|
-
},
|
|
392
|
-
{
|
|
393
|
-
type: 'text',
|
|
394
|
-
name: 'policyName',
|
|
395
|
-
message: 'policyName',
|
|
328
|
+
name: 'grants',
|
|
329
|
+
message: 'grants',
|
|
396
330
|
required: false,
|
|
397
331
|
skipPrompt: true,
|
|
398
332
|
},
|
|
399
333
|
{
|
|
400
334
|
type: 'json',
|
|
401
|
-
name: '
|
|
402
|
-
message: '
|
|
335
|
+
name: 'policies',
|
|
336
|
+
message: 'policies',
|
|
403
337
|
required: false,
|
|
404
338
|
skipPrompt: true,
|
|
405
339
|
},
|
|
@@ -455,14 +389,8 @@ async function handleCreate(argv, prompter) {
|
|
|
455
389
|
createIndex: cleanedData.createIndex,
|
|
456
390
|
exposeInApi: cleanedData.exposeInApi,
|
|
457
391
|
nodes: cleanedData.nodes,
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
policyType: cleanedData.policyType,
|
|
461
|
-
policyPrivileges: cleanedData.policyPrivileges,
|
|
462
|
-
policyRole: cleanedData.policyRole,
|
|
463
|
-
policyPermissive: cleanedData.policyPermissive,
|
|
464
|
-
policyName: cleanedData.policyName,
|
|
465
|
-
policyData: cleanedData.policyData,
|
|
392
|
+
grants: cleanedData.grants,
|
|
393
|
+
policies: cleanedData.policies,
|
|
466
394
|
outFieldId: cleanedData.outFieldId,
|
|
467
395
|
outJunctionTableId: cleanedData.outJunctionTableId,
|
|
468
396
|
outSourceFieldId: cleanedData.outSourceFieldId,
|
|
@@ -487,14 +415,8 @@ async function handleCreate(argv, prompter) {
|
|
|
487
415
|
createIndex: true,
|
|
488
416
|
exposeInApi: true,
|
|
489
417
|
nodes: true,
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
policyType: true,
|
|
493
|
-
policyPrivileges: true,
|
|
494
|
-
policyRole: true,
|
|
495
|
-
policyPermissive: true,
|
|
496
|
-
policyName: true,
|
|
497
|
-
policyData: true,
|
|
418
|
+
grants: true,
|
|
419
|
+
policies: true,
|
|
498
420
|
outFieldId: true,
|
|
499
421
|
outJunctionTableId: true,
|
|
500
422
|
outSourceFieldId: true,
|
|
@@ -636,59 +558,17 @@ async function handleUpdate(argv, prompter) {
|
|
|
636
558
|
required: false,
|
|
637
559
|
skipPrompt: true,
|
|
638
560
|
},
|
|
639
|
-
{
|
|
640
|
-
type: 'text',
|
|
641
|
-
name: 'grantRoles',
|
|
642
|
-
message: 'grantRoles',
|
|
643
|
-
required: false,
|
|
644
|
-
skipPrompt: true,
|
|
645
|
-
},
|
|
646
561
|
{
|
|
647
562
|
type: 'json',
|
|
648
|
-
name: '
|
|
649
|
-
message: '
|
|
650
|
-
required: false,
|
|
651
|
-
skipPrompt: true,
|
|
652
|
-
},
|
|
653
|
-
{
|
|
654
|
-
type: 'text',
|
|
655
|
-
name: 'policyType',
|
|
656
|
-
message: 'policyType',
|
|
657
|
-
required: false,
|
|
658
|
-
skipPrompt: true,
|
|
659
|
-
},
|
|
660
|
-
{
|
|
661
|
-
type: 'text',
|
|
662
|
-
name: 'policyPrivileges',
|
|
663
|
-
message: 'policyPrivileges',
|
|
664
|
-
required: false,
|
|
665
|
-
skipPrompt: true,
|
|
666
|
-
},
|
|
667
|
-
{
|
|
668
|
-
type: 'text',
|
|
669
|
-
name: 'policyRole',
|
|
670
|
-
message: 'policyRole',
|
|
671
|
-
required: false,
|
|
672
|
-
skipPrompt: true,
|
|
673
|
-
},
|
|
674
|
-
{
|
|
675
|
-
type: 'boolean',
|
|
676
|
-
name: 'policyPermissive',
|
|
677
|
-
message: 'policyPermissive',
|
|
678
|
-
required: false,
|
|
679
|
-
skipPrompt: true,
|
|
680
|
-
},
|
|
681
|
-
{
|
|
682
|
-
type: 'text',
|
|
683
|
-
name: 'policyName',
|
|
684
|
-
message: 'policyName',
|
|
563
|
+
name: 'grants',
|
|
564
|
+
message: 'grants',
|
|
685
565
|
required: false,
|
|
686
566
|
skipPrompt: true,
|
|
687
567
|
},
|
|
688
568
|
{
|
|
689
569
|
type: 'json',
|
|
690
|
-
name: '
|
|
691
|
-
message: '
|
|
570
|
+
name: 'policies',
|
|
571
|
+
message: 'policies',
|
|
692
572
|
required: false,
|
|
693
573
|
skipPrompt: true,
|
|
694
574
|
},
|
|
@@ -747,14 +627,8 @@ async function handleUpdate(argv, prompter) {
|
|
|
747
627
|
createIndex: cleanedData.createIndex,
|
|
748
628
|
exposeInApi: cleanedData.exposeInApi,
|
|
749
629
|
nodes: cleanedData.nodes,
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
policyType: cleanedData.policyType,
|
|
753
|
-
policyPrivileges: cleanedData.policyPrivileges,
|
|
754
|
-
policyRole: cleanedData.policyRole,
|
|
755
|
-
policyPermissive: cleanedData.policyPermissive,
|
|
756
|
-
policyName: cleanedData.policyName,
|
|
757
|
-
policyData: cleanedData.policyData,
|
|
630
|
+
grants: cleanedData.grants,
|
|
631
|
+
policies: cleanedData.policies,
|
|
758
632
|
outFieldId: cleanedData.outFieldId,
|
|
759
633
|
outJunctionTableId: cleanedData.outJunctionTableId,
|
|
760
634
|
outSourceFieldId: cleanedData.outSourceFieldId,
|
|
@@ -779,14 +653,8 @@ async function handleUpdate(argv, prompter) {
|
|
|
779
653
|
createIndex: true,
|
|
780
654
|
exposeInApi: true,
|
|
781
655
|
nodes: true,
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
policyType: true,
|
|
785
|
-
policyPrivileges: true,
|
|
786
|
-
policyRole: true,
|
|
787
|
-
policyPermissive: true,
|
|
788
|
-
policyName: true,
|
|
789
|
-
policyData: true,
|
|
656
|
+
grants: true,
|
|
657
|
+
policies: true,
|
|
790
658
|
outFieldId: true,
|
|
791
659
|
outJunctionTableId: true,
|
|
792
660
|
outSourceFieldId: true,
|
|
@@ -15,14 +15,8 @@ const fieldSchema = {
|
|
|
15
15
|
nodes: 'json',
|
|
16
16
|
useRls: 'boolean',
|
|
17
17
|
fields: 'json',
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
policyType: 'string',
|
|
21
|
-
policyPrivileges: 'string',
|
|
22
|
-
policyRole: 'string',
|
|
23
|
-
policyPermissive: 'boolean',
|
|
24
|
-
policyName: 'string',
|
|
25
|
-
policyData: 'json',
|
|
18
|
+
grants: 'json',
|
|
19
|
+
policies: 'json',
|
|
26
20
|
outFields: 'uuid',
|
|
27
21
|
};
|
|
28
22
|
const usage = '\nsecure-table-provision <command>\n\nCommands:\n list List secureTableProvision records\n find-first Find first matching secureTableProvision record\n get Get a secureTableProvision by ID\n create Create a new secureTableProvision\n update Update an existing secureTableProvision\n delete Delete a secureTableProvision\n\nList Options:\n --limit <n> Max number of records to return (forward pagination)\n --last <n> Number of records from the end (backward pagination)\n --after <cursor> Cursor for forward pagination\n --before <cursor> Cursor for backward pagination\n --offset <n> Number of records to skip\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.name.equalTo foo)\n --condition.<f>.<op> Condition filter (dot-notation)\n --orderBy <values> Comma-separated ordering values (e.g. NAME_ASC,CREATED_AT_DESC)\n\nFind-First Options:\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.status.equalTo active)\n --condition.<f>.<op> Condition filter (dot-notation)\n\n --help, -h Show this help message\n';
|
|
@@ -75,14 +69,8 @@ async function handleList(argv, _prompter) {
|
|
|
75
69
|
nodes: true,
|
|
76
70
|
useRls: true,
|
|
77
71
|
fields: true,
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
policyType: true,
|
|
81
|
-
policyPrivileges: true,
|
|
82
|
-
policyRole: true,
|
|
83
|
-
policyPermissive: true,
|
|
84
|
-
policyName: true,
|
|
85
|
-
policyData: true,
|
|
72
|
+
grants: true,
|
|
73
|
+
policies: true,
|
|
86
74
|
outFields: true,
|
|
87
75
|
};
|
|
88
76
|
const findManyArgs = parseFindManyArgs(argv, defaultSelect);
|
|
@@ -109,14 +97,8 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
109
97
|
nodes: true,
|
|
110
98
|
useRls: true,
|
|
111
99
|
fields: true,
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
policyType: true,
|
|
115
|
-
policyPrivileges: true,
|
|
116
|
-
policyRole: true,
|
|
117
|
-
policyPermissive: true,
|
|
118
|
-
policyName: true,
|
|
119
|
-
policyData: true,
|
|
100
|
+
grants: true,
|
|
101
|
+
policies: true,
|
|
120
102
|
outFields: true,
|
|
121
103
|
};
|
|
122
104
|
const findFirstArgs = parseFindFirstArgs(argv, defaultSelect);
|
|
@@ -155,14 +137,8 @@ async function handleGet(argv, prompter) {
|
|
|
155
137
|
nodes: true,
|
|
156
138
|
useRls: true,
|
|
157
139
|
fields: true,
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
policyType: true,
|
|
161
|
-
policyPrivileges: true,
|
|
162
|
-
policyRole: true,
|
|
163
|
-
policyPermissive: true,
|
|
164
|
-
policyName: true,
|
|
165
|
-
policyData: true,
|
|
140
|
+
grants: true,
|
|
141
|
+
policies: true,
|
|
166
142
|
outFields: true,
|
|
167
143
|
},
|
|
168
144
|
})
|
|
@@ -228,59 +204,17 @@ async function handleCreate(argv, prompter) {
|
|
|
228
204
|
required: false,
|
|
229
205
|
skipPrompt: true,
|
|
230
206
|
},
|
|
231
|
-
{
|
|
232
|
-
type: 'text',
|
|
233
|
-
name: 'grantRoles',
|
|
234
|
-
message: 'grantRoles',
|
|
235
|
-
required: false,
|
|
236
|
-
skipPrompt: true,
|
|
237
|
-
},
|
|
238
207
|
{
|
|
239
208
|
type: 'json',
|
|
240
|
-
name: '
|
|
241
|
-
message: '
|
|
242
|
-
required: false,
|
|
243
|
-
skipPrompt: true,
|
|
244
|
-
},
|
|
245
|
-
{
|
|
246
|
-
type: 'text',
|
|
247
|
-
name: 'policyType',
|
|
248
|
-
message: 'policyType',
|
|
249
|
-
required: false,
|
|
250
|
-
skipPrompt: true,
|
|
251
|
-
},
|
|
252
|
-
{
|
|
253
|
-
type: 'text',
|
|
254
|
-
name: 'policyPrivileges',
|
|
255
|
-
message: 'policyPrivileges',
|
|
256
|
-
required: false,
|
|
257
|
-
skipPrompt: true,
|
|
258
|
-
},
|
|
259
|
-
{
|
|
260
|
-
type: 'text',
|
|
261
|
-
name: 'policyRole',
|
|
262
|
-
message: 'policyRole',
|
|
263
|
-
required: false,
|
|
264
|
-
skipPrompt: true,
|
|
265
|
-
},
|
|
266
|
-
{
|
|
267
|
-
type: 'boolean',
|
|
268
|
-
name: 'policyPermissive',
|
|
269
|
-
message: 'policyPermissive',
|
|
270
|
-
required: false,
|
|
271
|
-
skipPrompt: true,
|
|
272
|
-
},
|
|
273
|
-
{
|
|
274
|
-
type: 'text',
|
|
275
|
-
name: 'policyName',
|
|
276
|
-
message: 'policyName',
|
|
209
|
+
name: 'grants',
|
|
210
|
+
message: 'grants',
|
|
277
211
|
required: false,
|
|
278
212
|
skipPrompt: true,
|
|
279
213
|
},
|
|
280
214
|
{
|
|
281
215
|
type: 'json',
|
|
282
|
-
name: '
|
|
283
|
-
message: '
|
|
216
|
+
name: 'policies',
|
|
217
|
+
message: 'policies',
|
|
284
218
|
required: false,
|
|
285
219
|
skipPrompt: true,
|
|
286
220
|
},
|
|
@@ -305,14 +239,8 @@ async function handleCreate(argv, prompter) {
|
|
|
305
239
|
nodes: cleanedData.nodes,
|
|
306
240
|
useRls: cleanedData.useRls,
|
|
307
241
|
fields: cleanedData.fields,
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
policyType: cleanedData.policyType,
|
|
311
|
-
policyPrivileges: cleanedData.policyPrivileges,
|
|
312
|
-
policyRole: cleanedData.policyRole,
|
|
313
|
-
policyPermissive: cleanedData.policyPermissive,
|
|
314
|
-
policyName: cleanedData.policyName,
|
|
315
|
-
policyData: cleanedData.policyData,
|
|
242
|
+
grants: cleanedData.grants,
|
|
243
|
+
policies: cleanedData.policies,
|
|
316
244
|
outFields: cleanedData.outFields,
|
|
317
245
|
},
|
|
318
246
|
select: {
|
|
@@ -324,14 +252,8 @@ async function handleCreate(argv, prompter) {
|
|
|
324
252
|
nodes: true,
|
|
325
253
|
useRls: true,
|
|
326
254
|
fields: true,
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
policyType: true,
|
|
330
|
-
policyPrivileges: true,
|
|
331
|
-
policyRole: true,
|
|
332
|
-
policyPermissive: true,
|
|
333
|
-
policyName: true,
|
|
334
|
-
policyData: true,
|
|
255
|
+
grants: true,
|
|
256
|
+
policies: true,
|
|
335
257
|
outFields: true,
|
|
336
258
|
},
|
|
337
259
|
})
|
|
@@ -403,59 +325,17 @@ async function handleUpdate(argv, prompter) {
|
|
|
403
325
|
required: false,
|
|
404
326
|
skipPrompt: true,
|
|
405
327
|
},
|
|
406
|
-
{
|
|
407
|
-
type: 'text',
|
|
408
|
-
name: 'grantRoles',
|
|
409
|
-
message: 'grantRoles',
|
|
410
|
-
required: false,
|
|
411
|
-
skipPrompt: true,
|
|
412
|
-
},
|
|
413
328
|
{
|
|
414
329
|
type: 'json',
|
|
415
|
-
name: '
|
|
416
|
-
message: '
|
|
417
|
-
required: false,
|
|
418
|
-
skipPrompt: true,
|
|
419
|
-
},
|
|
420
|
-
{
|
|
421
|
-
type: 'text',
|
|
422
|
-
name: 'policyType',
|
|
423
|
-
message: 'policyType',
|
|
424
|
-
required: false,
|
|
425
|
-
skipPrompt: true,
|
|
426
|
-
},
|
|
427
|
-
{
|
|
428
|
-
type: 'text',
|
|
429
|
-
name: 'policyPrivileges',
|
|
430
|
-
message: 'policyPrivileges',
|
|
431
|
-
required: false,
|
|
432
|
-
skipPrompt: true,
|
|
433
|
-
},
|
|
434
|
-
{
|
|
435
|
-
type: 'text',
|
|
436
|
-
name: 'policyRole',
|
|
437
|
-
message: 'policyRole',
|
|
438
|
-
required: false,
|
|
439
|
-
skipPrompt: true,
|
|
440
|
-
},
|
|
441
|
-
{
|
|
442
|
-
type: 'boolean',
|
|
443
|
-
name: 'policyPermissive',
|
|
444
|
-
message: 'policyPermissive',
|
|
445
|
-
required: false,
|
|
446
|
-
skipPrompt: true,
|
|
447
|
-
},
|
|
448
|
-
{
|
|
449
|
-
type: 'text',
|
|
450
|
-
name: 'policyName',
|
|
451
|
-
message: 'policyName',
|
|
330
|
+
name: 'grants',
|
|
331
|
+
message: 'grants',
|
|
452
332
|
required: false,
|
|
453
333
|
skipPrompt: true,
|
|
454
334
|
},
|
|
455
335
|
{
|
|
456
336
|
type: 'json',
|
|
457
|
-
name: '
|
|
458
|
-
message: '
|
|
337
|
+
name: 'policies',
|
|
338
|
+
message: 'policies',
|
|
459
339
|
required: false,
|
|
460
340
|
skipPrompt: true,
|
|
461
341
|
},
|
|
@@ -483,14 +363,8 @@ async function handleUpdate(argv, prompter) {
|
|
|
483
363
|
nodes: cleanedData.nodes,
|
|
484
364
|
useRls: cleanedData.useRls,
|
|
485
365
|
fields: cleanedData.fields,
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
policyType: cleanedData.policyType,
|
|
489
|
-
policyPrivileges: cleanedData.policyPrivileges,
|
|
490
|
-
policyRole: cleanedData.policyRole,
|
|
491
|
-
policyPermissive: cleanedData.policyPermissive,
|
|
492
|
-
policyName: cleanedData.policyName,
|
|
493
|
-
policyData: cleanedData.policyData,
|
|
366
|
+
grants: cleanedData.grants,
|
|
367
|
+
policies: cleanedData.policies,
|
|
494
368
|
outFields: cleanedData.outFields,
|
|
495
369
|
},
|
|
496
370
|
select: {
|
|
@@ -502,14 +376,8 @@ async function handleUpdate(argv, prompter) {
|
|
|
502
376
|
nodes: true,
|
|
503
377
|
useRls: true,
|
|
504
378
|
fields: true,
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
policyType: true,
|
|
508
|
-
policyPrivileges: true,
|
|
509
|
-
policyRole: true,
|
|
510
|
-
policyPermissive: true,
|
|
511
|
-
policyName: true,
|
|
512
|
-
policyData: true,
|
|
379
|
+
grants: true,
|
|
380
|
+
policies: true,
|
|
513
381
|
outFields: true,
|
|
514
382
|
},
|
|
515
383
|
})
|
|
@@ -17,6 +17,8 @@ const fieldSchema = {
|
|
|
17
17
|
bucketsTableName: 'string',
|
|
18
18
|
filesTableName: 'string',
|
|
19
19
|
uploadRequestsTableName: 'string',
|
|
20
|
+
membershipType: 'int',
|
|
21
|
+
policies: 'string',
|
|
20
22
|
entityTableId: 'uuid',
|
|
21
23
|
endpoint: 'string',
|
|
22
24
|
publicUrlPrefix: 'string',
|
|
@@ -80,6 +82,8 @@ async function handleList(argv, _prompter) {
|
|
|
80
82
|
bucketsTableName: true,
|
|
81
83
|
filesTableName: true,
|
|
82
84
|
uploadRequestsTableName: true,
|
|
85
|
+
membershipType: true,
|
|
86
|
+
policies: true,
|
|
83
87
|
entityTableId: true,
|
|
84
88
|
endpoint: true,
|
|
85
89
|
publicUrlPrefix: true,
|
|
@@ -117,6 +121,8 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
117
121
|
bucketsTableName: true,
|
|
118
122
|
filesTableName: true,
|
|
119
123
|
uploadRequestsTableName: true,
|
|
124
|
+
membershipType: true,
|
|
125
|
+
policies: true,
|
|
120
126
|
entityTableId: true,
|
|
121
127
|
endpoint: true,
|
|
122
128
|
publicUrlPrefix: true,
|
|
@@ -166,6 +172,8 @@ async function handleGet(argv, prompter) {
|
|
|
166
172
|
bucketsTableName: true,
|
|
167
173
|
filesTableName: true,
|
|
168
174
|
uploadRequestsTableName: true,
|
|
175
|
+
membershipType: true,
|
|
176
|
+
policies: true,
|
|
169
177
|
entityTableId: true,
|
|
170
178
|
endpoint: true,
|
|
171
179
|
publicUrlPrefix: true,
|
|
@@ -254,6 +262,20 @@ async function handleCreate(argv, prompter) {
|
|
|
254
262
|
required: false,
|
|
255
263
|
skipPrompt: true,
|
|
256
264
|
},
|
|
265
|
+
{
|
|
266
|
+
type: 'text',
|
|
267
|
+
name: 'membershipType',
|
|
268
|
+
message: 'membershipType',
|
|
269
|
+
required: false,
|
|
270
|
+
skipPrompt: true,
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
type: 'text',
|
|
274
|
+
name: 'policies',
|
|
275
|
+
message: 'policies',
|
|
276
|
+
required: false,
|
|
277
|
+
skipPrompt: true,
|
|
278
|
+
},
|
|
257
279
|
{
|
|
258
280
|
type: 'text',
|
|
259
281
|
name: 'entityTableId',
|
|
@@ -340,6 +362,8 @@ async function handleCreate(argv, prompter) {
|
|
|
340
362
|
bucketsTableName: cleanedData.bucketsTableName,
|
|
341
363
|
filesTableName: cleanedData.filesTableName,
|
|
342
364
|
uploadRequestsTableName: cleanedData.uploadRequestsTableName,
|
|
365
|
+
membershipType: cleanedData.membershipType,
|
|
366
|
+
policies: cleanedData.policies,
|
|
343
367
|
entityTableId: cleanedData.entityTableId,
|
|
344
368
|
endpoint: cleanedData.endpoint,
|
|
345
369
|
publicUrlPrefix: cleanedData.publicUrlPrefix,
|
|
@@ -362,6 +386,8 @@ async function handleCreate(argv, prompter) {
|
|
|
362
386
|
bucketsTableName: true,
|
|
363
387
|
filesTableName: true,
|
|
364
388
|
uploadRequestsTableName: true,
|
|
389
|
+
membershipType: true,
|
|
390
|
+
policies: true,
|
|
365
391
|
entityTableId: true,
|
|
366
392
|
endpoint: true,
|
|
367
393
|
publicUrlPrefix: true,
|
|
@@ -456,6 +482,20 @@ async function handleUpdate(argv, prompter) {
|
|
|
456
482
|
required: false,
|
|
457
483
|
skipPrompt: true,
|
|
458
484
|
},
|
|
485
|
+
{
|
|
486
|
+
type: 'text',
|
|
487
|
+
name: 'membershipType',
|
|
488
|
+
message: 'membershipType',
|
|
489
|
+
required: false,
|
|
490
|
+
skipPrompt: true,
|
|
491
|
+
},
|
|
492
|
+
{
|
|
493
|
+
type: 'text',
|
|
494
|
+
name: 'policies',
|
|
495
|
+
message: 'policies',
|
|
496
|
+
required: false,
|
|
497
|
+
skipPrompt: true,
|
|
498
|
+
},
|
|
459
499
|
{
|
|
460
500
|
type: 'text',
|
|
461
501
|
name: 'entityTableId',
|
|
@@ -545,6 +585,8 @@ async function handleUpdate(argv, prompter) {
|
|
|
545
585
|
bucketsTableName: cleanedData.bucketsTableName,
|
|
546
586
|
filesTableName: cleanedData.filesTableName,
|
|
547
587
|
uploadRequestsTableName: cleanedData.uploadRequestsTableName,
|
|
588
|
+
membershipType: cleanedData.membershipType,
|
|
589
|
+
policies: cleanedData.policies,
|
|
548
590
|
entityTableId: cleanedData.entityTableId,
|
|
549
591
|
endpoint: cleanedData.endpoint,
|
|
550
592
|
publicUrlPrefix: cleanedData.publicUrlPrefix,
|
|
@@ -567,6 +609,8 @@ async function handleUpdate(argv, prompter) {
|
|
|
567
609
|
bucketsTableName: true,
|
|
568
610
|
filesTableName: true,
|
|
569
611
|
uploadRequestsTableName: true,
|
|
612
|
+
membershipType: true,
|
|
613
|
+
policies: true,
|
|
570
614
|
entityTableId: true,
|
|
571
615
|
endpoint: true,
|
|
572
616
|
publicUrlPrefix: true,
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CLI commands for WebauthnAuthModule
|
|
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;
|