@abtnode/schema 1.16.8-next-3bd50116 → 1.16.8

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.
@@ -1,2195 +0,0 @@
1
- directive @Mutation on FIELD_DEFINITION
2
- directive @Query on FIELD_DEFINITION
3
- type AccessKey {
4
- accessKeyId: String
5
- accessKeyPublic: String
6
- remark: String
7
- passport: String
8
- createdAt: Int
9
- lastUsedAt: Int
10
- createdBy: String
11
- updatedBy: String
12
- }
13
- """
14
- Any is any json type
15
- """
16
- scalar Any
17
- type AuditLog {
18
- id: String
19
- scope: String
20
- category: String
21
- action: String
22
- content: String
23
- actor: AuditLogActor
24
- env: AuditLogEnv
25
- createdAt: Int
26
- ip: String
27
- ua: String
28
- }
29
- type AuditLogActor {
30
- did: String
31
- role: String
32
- fullName: String
33
- }
34
- type AuditLogEnv {
35
- browser: AuditLogEnvItem
36
- os: AuditLogEnvItem
37
- }
38
- type AuditLogEnvItem {
39
- name: String
40
- version: String
41
- }
42
- enum BackendServiceType {
43
- daemon
44
- blocklet
45
- redirect
46
- none
47
- general_proxy
48
- direct_response
49
- }
50
- type Backup {
51
- appPid: String
52
- userDid: String
53
- strategy: Int
54
- sourceUrl: String
55
- target: String
56
- targetUrl: String
57
- createdAt: Int
58
- updatedAt: Int
59
- status: Int
60
- message: String
61
- }
62
- enum BackupTo {
63
- spaces
64
- disk
65
- }
66
- type BlockletBackupState {
67
- appDid: String
68
- appPid: String
69
- name: String
70
- createdAt: Int
71
- }
72
- type BlockletCapabilities {
73
- clusterMode: Boolean
74
- component: Boolean
75
- navigation: Boolean
76
- didSpace: String
77
- }
78
- type BlockletController {
79
- id: String
80
- nftId: String
81
- nftOwner: String
82
- chainHost: String
83
- expireDate: Int
84
- }
85
- input BlockletControllerInput {
86
- id: String
87
- nftId: String
88
- nftOwner: String
89
- chainHost: String
90
- expireDate: Int
91
- }
92
- type BlockletDiff {
93
- hasBlocklet: Boolean
94
- version: String
95
- addSet: [String!]
96
- changeSet: [String!]
97
- deleteSet: [String!]
98
- }
99
- type BlockletDist {
100
- tarball: String
101
- integrity: String
102
- }
103
- type BlockletEngine {
104
- name: String
105
- displayName: String
106
- description: String
107
- version: String
108
- available: Boolean
109
- visible: Boolean
110
- }
111
- type BlockletHistoryItem {
112
- date: Int
113
- cpu: Int
114
- mem: Int
115
- }
116
- type BlockletMeta {
117
- did: String
118
- name: String
119
- version: String
120
- description: String
121
- interfaces: [BlockletMetaInterface!]
122
- author: BlockletMetaPerson
123
- main: String
124
- stats: BlockletStats
125
- homepage: String
126
- path: String
127
- community: String
128
- documentation: String
129
- support: String
130
- screenshots: [String!]
131
- keywords: [String!]
132
- group: String
133
- logo: String
134
- title: String
135
- dist: BlockletDist
136
- maintainers: [BlockletMetaPerson!]
137
- contributors: [BlockletMetaPerson!]
138
- repository: BlockletRepository
139
- payment: BlockletPayment
140
- nftFactory: String
141
- lastPublishedAt: Int
142
- capabilities: BlockletCapabilities
143
- components: [ChildConfig!]
144
- environments: [Environment!]
145
- requirements: Requirement
146
- bundleDid: String
147
- bundleName: String
148
- navigation: [Any!]
149
- }
150
- type BlockletMetaInterface {
151
- type: String
152
- name: String
153
- path: String
154
- prefix: String
155
- protocol: String
156
- port: Any
157
- services: [BlockletMetaService!]
158
- }
159
- type BlockletMetaPerson {
160
- name: String
161
- email: String
162
- url: String
163
- }
164
- type BlockletMetaService {
165
- name: String
166
- config: Any
167
- }
168
- type BlockletMigrateRecord {
169
- appSk: String
170
- appDid: String
171
- at: String
172
- }
173
- type BlockletPayment {
174
- price: [BlockletPaymentPrice!]
175
- share: [BlockletPaymentShare!]
176
- }
177
- type BlockletPaymentPrice {
178
- address: String
179
- value: String
180
- symbol: String
181
- }
182
- type BlockletPaymentShare {
183
- address: String
184
- name: String
185
- value: String
186
- }
187
- type BlockletPreUpdateInfo {
188
- updateId: String
189
- updateList: [UpdateList!]
190
- }
191
- input BlockletQueryInput {
192
- controller: BlockletControllerInput
193
- }
194
- type BlockletRepository {
195
- type: String
196
- url: String
197
- }
198
- type BlockletSettings {
199
- initialized: Boolean
200
- enablePassportIssuance: Boolean
201
- trustedPassports: [TrustedPassport!]
202
- whoCanAccess: String
203
- owner: WalletInfo
204
- children: [SimpleBlockletState!]
205
- publicToStore: Boolean
206
- storeList: [BlockletStore!]
207
- navigations: [ConfigNavigation!]
208
- oauth: Any
209
- """
210
- since v1.16.6
211
-
212
- """
213
- trustedFactories: [TrustedFactory!]
214
- notification: Any
215
- }
216
- enum BlockletSource {
217
- registry
218
- local
219
- upload
220
- url
221
- custom
222
- }
223
- type BlockletState {
224
- meta: BlockletMeta
225
- status: BlockletStatus
226
- createdAt: Int
227
- installedAt: Int
228
- startedAt: Int
229
- pausedAt: Int
230
- """
231
- Added in v1.6.1
232
-
233
- """
234
- stoppedAt: Int
235
- """
236
- daemon generated runtime config, usually sensitve
237
-
238
- """
239
- environments: [ConfigEntry!]
240
- """
241
- stored in blocklet extras
242
-
243
- """
244
- configs: [ConfigEntry!]
245
- diskInfo: DiskInfo
246
- runtimeInfo: RuntimeInfo
247
- """
248
- Added in v1.8.46
249
-
250
- """
251
- appRuntimeInfo: RuntimeInfo
252
- source: BlockletSource
253
- deployedFrom: String
254
- bundleSource: Any
255
- """
256
- TODO: this only exist for backward compatibility
257
-
258
- """
259
- port: Float
260
- engine: BlockletEngine
261
- mode: String
262
- """
263
- Added in v1.0.33 to support multiple ports, old `port` is still there for backward compatibility
264
- Should be a mapping of ports assigned to the blocklet
265
- Should be { BLOCKLET_PORT: port } in most cases
266
-
267
- """
268
- ports: Any
269
- children: [ComponentState!]
270
- """
271
- Added in 1.4.0
272
-
273
- """
274
- trustedPassports: [TrustedPassport!]
275
- """
276
- since v1.16.6
277
-
278
- """
279
- trustedFactories: [TrustedFactory!]
280
- """
281
- Added in v1.4.10
282
-
283
- """
284
- enablePassportIssuance: Boolean
285
- """
286
- Added in v1.6.17
287
-
288
- deprecated
289
-
290
- """
291
- dynamic: Boolean
292
- mountPoint: String
293
- """
294
- Added in v1.7.1
295
-
296
- """
297
- settings: BlockletSettings
298
- appDid: String
299
- site: RoutingSite
300
- """
301
- Added in v1.8.28
302
-
303
- """
304
- controller: BlockletController
305
- """
306
- Added in v1.8.66
307
-
308
- the complete migrate history
309
-
310
- """
311
- migratedFrom: [BlockletMigrateRecord!]
312
- """
313
- permanent app did, set on install/launch, just for indexing
314
-
315
- """
316
- appPid: String
317
- """
318
- whether the appSk is managed by DID Wallet
319
-
320
- """
321
- externalSk: Boolean
322
- """
323
- which wallet and version is used
324
-
325
- """
326
- externalSkSource: String
327
- """
328
- Added in v1.16.0
329
-
330
- """
331
- structVersion: String
332
- }
333
- type BlockletStats {
334
- downloads: Float
335
- star: Float
336
- purchases: Float
337
- }
338
- enum BlockletStatus {
339
- added
340
- downloading
341
- downloaded
342
- installing
343
- installed
344
- starting
345
- running
346
- stopping
347
- stopped
348
- error
349
- upgrading
350
- restarting
351
- corrupted
352
- waiting
353
- deleted
354
- unknown
355
- }
356
- type BlockletStore {
357
- name: String
358
- description: String
359
- url: String
360
- logoUrl: String
361
- maintainer: String
362
- cdnUrl: String
363
- protected: Boolean
364
- id: String
365
- }
366
- input BlockletStoreInput {
367
- name: String
368
- description: String
369
- url: String
370
- logoUrl: String
371
- maintainer: String
372
- cdnUrl: String
373
- protected: Boolean
374
- id: String
375
- }
376
- type BooleanResponse {
377
- code: StatusCode
378
- result: Boolean
379
- }
380
- scalar Bytes
381
- type Certificate {
382
- name: String
383
- domain: String
384
- id: String
385
- meta: CertificateMeta
386
- matchedSites: [MatchedSites!]
387
- createdAt: Int
388
- updatedAt: Int
389
- isProtected: Boolean
390
- source: String
391
- status: String
392
- }
393
- type CertificateIssuer {
394
- countryName: String
395
- organizationName: String
396
- commonName: String
397
- }
398
- type CertificateMeta {
399
- issuer: CertificateIssuer
400
- sans: [String!]
401
- validFrom: Int
402
- validTo: Int
403
- fingerprintAlg: String
404
- fingerprint: String
405
- validityPeriod: Int
406
- }
407
- type ChildConfig {
408
- name: String
409
- mountPoint: String
410
- }
411
- type ComponentState {
412
- meta: BlockletMeta
413
- status: BlockletStatus
414
- createdAt: Int
415
- installedAt: Int
416
- startedAt: Int
417
- pausedAt: Int
418
- """
419
- Added in v1.6.1
420
-
421
- """
422
- stoppedAt: Int
423
- """
424
- daemon generated runtime config, usually sensitve
425
-
426
- """
427
- environments: [ConfigEntry!]
428
- """
429
- stored in blocklet extras
430
-
431
- """
432
- configs: [ConfigEntry!]
433
- diskInfo: DiskInfo
434
- runtimeInfo: RuntimeInfo
435
- source: BlockletSource
436
- deployedFrom: String
437
- bundleSource: Any
438
- """
439
- TODO: this only exist for backward compatibility
440
-
441
- """
442
- port: Float
443
- engine: BlockletEngine
444
- mode: String
445
- """
446
- Added in v1.0.33 to support multiple ports, old `port` is still there for backward compatibility
447
- Should be a mapping of ports assigned to the blocklet
448
- Should be { BLOCKLET_PORT: port } in most cases
449
-
450
- """
451
- ports: Any
452
- """
453
- Added in v1.6.17
454
-
455
- deprecated
456
-
457
- """
458
- dynamic: Boolean
459
- mountPoint: String
460
- """
461
- Added in v1.9.0
462
-
463
- """
464
- dependents: [Dependent!]
465
- }
466
- type ConfigEntry {
467
- key: String
468
- value: String
469
- required: Boolean
470
- description: String
471
- validation: String
472
- secure: Boolean
473
- custom: Boolean
474
- shared: Boolean
475
- }
476
- input ConfigEntryInput {
477
- key: String
478
- value: String
479
- required: Boolean
480
- description: String
481
- validation: String
482
- secure: Boolean
483
- custom: Boolean
484
- shared: Boolean
485
- }
486
- type ConfigNavigation {
487
- id: String
488
- title: String
489
- link: String
490
- icon: String
491
- section: String
492
- component: String
493
- parent: String
494
- role: String
495
- visible: Boolean
496
- from: String
497
- }
498
- input ConfigNavigationInput {
499
- id: String
500
- title: String
501
- link: String
502
- icon: String
503
- section: String
504
- component: String
505
- parent: String
506
- role: String
507
- visible: Boolean
508
- from: String
509
- }
510
- type ConnectedAccount {
511
- provider: String
512
- did: String
513
- pk: String
514
- id: String
515
- lastLoginAt: Int
516
- }
517
- input ConnectedAccountInput {
518
- provider: String
519
- did: String
520
- pk: String
521
- id: String
522
- lastLoginAt: Int
523
- }
524
- type CreateAccessKey {
525
- accessKeyId: String
526
- accessKeySecret: String
527
- remark: String
528
- passport: String
529
- createdAt: Int
530
- lastUsedAt: Int
531
- }
532
- type DelegationState {
533
- delegated: Boolean
534
- }
535
- type Dependent {
536
- """
537
- component id. format: xxx/xxx/xxx
538
-
539
- """
540
- id: String
541
- required: Boolean
542
- }
543
- type DiskInfo {
544
- app: Float
545
- data: Float
546
- log: Float
547
- cache: Float
548
- blocklets: Float
549
- }
550
- input DownloadTokenInput {
551
- did: String
552
- token: String
553
- }
554
- type Environment {
555
- name: String
556
- description: String
557
- default: String
558
- required: Boolean
559
- secure: Boolean
560
- validation: String
561
- shared: Boolean
562
- }
563
- type Fuel {
564
- endpoint: String
565
- address: String
566
- value: String
567
- reason: String
568
- }
569
- type Gateway {
570
- requestLimit: RequestLimit
571
- cacheEnabled: Boolean
572
- }
573
- type GeneralResponse {
574
- code: StatusCode
575
- }
576
- input HashFileInput {
577
- file: String
578
- hash: String
579
- }
580
- enum HeaderMatchType {
581
- exact
582
- partial
583
- regexp
584
- }
585
- """
586
- general
587
-
588
- """
589
- type IPInfo {
590
- internalV4: String
591
- externalV4: String
592
- internalV6: String
593
- externalV6: String
594
- }
595
- type InviteInfo {
596
- inviteId: String
597
- role: String
598
- remark: String
599
- expireDate: String
600
- inviter: UserInfo
601
- teamDid: String
602
- interfaceName: String
603
- }
604
- type Issuer {
605
- id: String
606
- name: String
607
- pk: String
608
- }
609
- input IssuerInput {
610
- id: String
611
- name: String
612
- pk: String
613
- }
614
- type KeyValue {
615
- key: String
616
- value: Any
617
- }
618
- type LauncherInfo {
619
- did: String
620
- type: String
621
- provider: String
622
- url: String
623
- tag: String
624
- chainHost: String
625
- }
626
- type MatchedSites {
627
- id: String
628
- domain: String
629
- }
630
- type Mutation {
631
- mutationInstallBlocklet(in: RequestVersionedBlockletInput): ResponseBlocklet
632
- mutationInstallComponent(in: RequestInstallComponentInput): ResponseBlocklet
633
- mutationStartBlocklet(in: RequestBlockletInput): ResponseBlocklet
634
- mutationStopBlocklet(in: RequestBlockletInput): ResponseBlocklet
635
- mutationReloadBlocklet(in: RequestBlockletInput): ResponseBlocklet
636
- mutationRestartBlocklet(in: RequestBlockletInput): ResponseBlocklet
637
- mutationDeleteBlocklet(in: RequestDeleteBlockletInput): ResponseBlocklet
638
- mutationDeleteComponent(in: RequestDeleteComponentInput): ResponseBlocklet
639
- mutationCancelDownloadBlocklet(in: RequestBlockletInput): ResponseBlocklet
640
- mutationCheckComponentsForUpdates(in: RequestBlockletInput): ResponseCheckComponentsForUpdates
641
- mutationUpgradeComponents(in: RequestUpdateComponentsInput): ResponseBlocklet
642
- mutationConfigBlocklet(in: RequestConfigBlockletInput): ResponseBlocklet
643
- mutationConfigPublicToStore(in: RequestConfigPublicToStoreInput): ResponseBlocklet
644
- mutationConfigNavigations(in: RequestConfigNavigationsInput): ResponseBlocklet
645
- mutationConfigOAuth(in: RequestConfigOAuthInput): ResponseBlocklet
646
- mutationConfigNotification(in: RequestConfigNotifiactionInput): ResponseBlocklet
647
- mutationUpdateWhoCanAccess(in: RequestUpdateWhoCanAccessInput): ResponseBlocklet
648
- mutationUpdateComponentTitle(in: RequestUpdateComponentTitleInput): ResponseBlocklet
649
- mutationUpdateComponentMountPoint(in: RequestUpdateComponentMountPointInput): ResponseBlocklet
650
- mutationBackupBlocklet(in: RequestBackupBlockletInput): GeneralResponse
651
- mutationRestoreBlocklet(in: RequestRestoreBlockletInput): GeneralResponse
652
- mutationMigrateApplicationToStructV2(in: RequestMigrateApplicationToStructV2Input): GeneralResponse
653
- """
654
- blocklet spaces gateways
655
-
656
- """
657
- mutationAddBlockletSpaceGateway(in: RequestAddBlockletSpaceGatewayInput): GeneralResponse
658
- mutationDeleteBlockletSpaceGateway(in: RequestDeleteBlockletSpaceGatewayInput): GeneralResponse
659
- mutationUpdateBlockletSpaceGateway(in: RequestUpdateBlockletSpaceGatewayInput): GeneralResponse
660
- mutationGetBlockletSpaceGateways(in: RequestBlockletInput): ResponseGetBlockletSpaceGateways
661
- """
662
- blocklet backup record
663
-
664
- """
665
- mutationGetBlockletBackups(in: RequestGetBlockletBackupsInput): ResponseGetBlockletBackups
666
- """
667
- Node state
668
-
669
- """
670
- mutationUpdateNodeInfo(in: NodeInfoInput): ResponseGetNodeInfo
671
- mutationUpdateNodeRouting(in: RequestNodeRoutingInput): ResponseGetNodeInfo
672
- mutationUpgradeNodeVersion: ResponseUpgradeNodeVersion
673
- mutationRestartServer: ResponseRestartServer
674
- """
675
- just for test purpose
676
-
677
- """
678
- mutationResetNode(in: RequestResetNodeInput): ResponseResetNode
679
- """
680
- Gateway
681
-
682
- """
683
- mutationUpdateGateway(in: RequestGatewayInput): ResponseGateway
684
- """
685
- Team Invitation
686
-
687
- """
688
- mutationCreateMemberInvitation(in: RequestCreateInvitationInput): ResponseCreateInvitation
689
- mutationCreateTransferInvitation(in: RequestCreateTransferNodeInvitationInput): ResponseCreateTransferNodeInvitation
690
- mutationDeleteInvitation(in: RequestDeleteInvitationInput): GeneralResponse
691
- """
692
- Passport
693
-
694
- """
695
- mutationCreatePassportIssuance(in: RequestCreatePassportIssuanceInput): ResponseCreatePassportIssuance
696
- mutationDeletePassportIssuance(in: RequestDeleteTeamSessionInput): GeneralResponse
697
- mutationConfigTrustedPassports(in: RequestConfigTrustedPassportsInput): GeneralResponse
698
- mutationConfigTrustedFactories(in: RequestConfigTrustedFactoriesInput): GeneralResponse
699
- mutationConfigPassportIssuance(in: RequestConfigPassportIssuanceInput): GeneralResponse
700
- """
701
- Team User
702
-
703
- """
704
- mutationRemoveUser(in: RequestTeamUserInput): ResponseUser
705
- mutationUpdateUserApproval(in: RequestTeamUserInput): ResponseUser
706
- mutationUpdateUserRole(in: RequestTeamUserInput): ResponseUser
707
- mutationIssuePassportToUser(in: RequestIssuePassportToUserInput): ResponseUser
708
- mutationRevokeUserPassport(in: RequestRevokeUserPassportInput): ResponseUser
709
- mutationEnableUserPassport(in: RequestRevokeUserPassportInput): ResponseUser
710
- """
711
- Team Access Control
712
-
713
- """
714
- mutationCreateRole(in: RequestCreateRoleInput): ResponseRole
715
- mutationUpdateRole(in: RequestTeamRoleInput): ResponseRole
716
- mutationDeleteRole(in: RequestDeleteRoleInput): GeneralResponse
717
- mutationCreatePermission(in: RequestCreatePermissionInput): ResponsePermission
718
- mutationUpdatePermission(in: RequestTeamPermissionInput): ResponsePermission
719
- mutationDeletePermission(in: RequestDeletePermissionInput): GeneralResponse
720
- mutationGrantPermissionForRole(in: RequestGrantPermissionForRoleInput): GeneralResponse
721
- mutationRevokePermissionFromRole(in: RequestRevokePermissionFromRoleInput): GeneralResponse
722
- mutationUpdatePermissionsForRole(in: RequestUpdatePermissionsForRoleInput): ResponseRole
723
- mutationHasPermission(in: RequestHasPermissionInput): BooleanResponse
724
- """
725
- Team Settings
726
-
727
- """
728
- mutationAddBlockletStore(in: RequestChangeBlockletStoreInput): GeneralResponse
729
- mutationDeleteBlockletStore(in: RequestChangeBlockletStoreInput): GeneralResponse
730
- """
731
- Notification
732
-
733
- """
734
- mutationReadNotifications(in: RequestReadNotificationsInput): ResponseReadNotifications
735
- mutationUnreadNotifications(in: RequestReadNotificationsInput): ResponseReadNotifications
736
- """
737
- Routing Rules
738
-
739
- """
740
- mutationAddRoutingSite(in: RequestAddRoutingSiteInput): ResponseRoutingSite
741
- mutationAddDomainAlias(in: RequestAddDomainAliasInput): ResponseRoutingSite
742
- mutationDeleteDomainAlias(in: RequestDeleteDomainAliasInput): ResponseRoutingSite
743
- mutationDeleteRoutingSite(in: RequestDeleteRoutingSiteInput): GeneralResponse
744
- mutationUpdateRoutingSite(in: RequestUpdateRoutingSiteInput): ResponseRoutingSite
745
- mutationAddRoutingRule(in: RequestAddRoutingRuleInput): ResponseRoutingSite
746
- mutationUpdateRoutingRule(in: RequestUpdateRoutingRuleInput): ResponseRoutingSite
747
- mutationDeleteRoutingRule(in: RequestDeleteRoutingRuleInput): ResponseRoutingSite
748
- mutationTakeRoutingSnapshot(in: RequestTakeRoutingSnapshotInput): ResponseTakeRoutingSnapshot
749
- mutationUpdateCertificate(in: RequestUpdateNginxHttpsCertInput): ResponseUpdateNginxHttpsCert
750
- mutationAddCertificate(in: RequestAddNginxHttpsCertInput): ResponseAddNginxHttpsCert
751
- mutationDeleteCertificate(in: RequestDeleteNginxHttpsCertInput): ResponseDeleteNginxHttpsCert
752
- mutationIssueLetsEncryptCert(in: RequestAddLetsEncryptCertInput): ResponseAddLetsEncryptCert
753
- """
754
- Access Keys
755
-
756
- """
757
- mutationCreateAccessKey(in: RequestCreateAccessKeyInput): ResponseCreateAccessKey
758
- mutationUpdateAccessKey(in: RequestUpdateAccessKeyInput): ResponseUpdateAccessKey
759
- mutationDeleteAccessKey(in: RequestDeleteAccessKeyInput): ResponseDeleteAccessKey
760
- """
761
- WebHook
762
-
763
- """
764
- mutationCreateWebHook(in: RequestCreateWebHookInput): ResponseCreateWebHook
765
- mutationDeleteWebHook(in: RequestDeleteWebHookInput): ResponseDeleteWebHook
766
- """
767
- Session
768
-
769
- """
770
- mutationStartSession(in: RequestStartSessionInput): ResponseGetSession
771
- mutationUpdateSession(in: RequestUpdateSessionInput): ResponseGetSession
772
- mutationEndSession(in: RequestEndSessionInput): ResponseGetSession
773
- }
774
- type NodeEnvInfo {
775
- ip: IPInfo
776
- os: String
777
- location: String
778
- docker: Boolean
779
- image: Boolean
780
- blockletEngines: [BlockletEngine!]
781
- gitpod: Boolean
782
- disk: DiskInfo
783
- }
784
- type NodeHistoryItem {
785
- date: Int
786
- cpu: Int
787
- mem: Int
788
- daemonMem: Int
789
- serviceMem: Int
790
- dbMem: Int
791
- }
792
- input NodeInfoInput {
793
- name: String
794
- description: String
795
- autoUpgrade: Boolean
796
- """
797
- Added in v1.0.33
798
-
799
- """
800
- enableWelcomePage: Boolean
801
- """
802
- Added in v1.1.1
803
-
804
- """
805
- registerUrl: String
806
- webWalletUrl: String
807
- """
808
- Added in v1.2.1
809
-
810
- """
811
- blockletRegistryList: [BlockletStoreInput!]
812
- diskAlertThreshold: Int
813
- enableBetaRelease: Boolean
814
- }
815
- type NodeRouting {
816
- provider: String
817
- snapshotHash: String
818
- adminPath: String
819
- requestLimit: RequestLimit
820
- cacheEnabled: Boolean
821
- }
822
- """
823
- Node
824
-
825
- """
826
- type NodeState {
827
- did: String
828
- pk: String
829
- version: String
830
- name: String
831
- description: String
832
- port: String
833
- initialized: Boolean
834
- nodeOwner: WalletInfo
835
- createdAt: Int
836
- startedAt: Int
837
- initializedAt: Int
838
- mode: String
839
- routing: NodeRouting
840
- """
841
- not persistent but get returned at runtime
842
-
843
- """
844
- environments: [ConfigEntry!]
845
- uptime: Float
846
- """
847
- Added in v1.0.25 to support autoUpgrading
848
-
849
- """
850
- autoUpgrade: Boolean
851
- nextVersion: String
852
- upgradeSessionId: String
853
- """
854
- Added in v1.0.25 to support register on "Install on Blocklet Server"
855
-
856
- """
857
- registerUrl: String
858
- """
859
- Added in v1.0.33
860
-
861
- """
862
- enableWelcomePage: Boolean
863
- """
864
- Added in v1.1.1
865
-
866
- """
867
- webWalletUrl: String
868
- """
869
- Added in v1.2.1
870
-
871
- """
872
- blockletRegistryList: [BlockletStore!]
873
- """
874
- Added in v1.2.6
875
-
876
- """
877
- ownerNft: OwnerNft
878
- diskAlertThreshold: Int
879
- """
880
- Added in v1.4.0
881
-
882
- """
883
- trustedPassports: [TrustedPassport!]
884
- launcher: LauncherInfo
885
- """
886
- Added in v1.4.10
887
-
888
- """
889
- enablePassportIssuance: Boolean
890
- """
891
- Added in v1.6.9
892
-
893
- """
894
- didRegistry: String
895
- didDomain: String
896
- """
897
- Added in 1.8.44
898
-
899
- """
900
- status: Int
901
- """
902
- Added in 1.16.6
903
-
904
- """
905
- trustedFactories: [TrustedFactory!]
906
- enableBetaRelease: Boolean
907
- }
908
- type Notification {
909
- """
910
- who is sending this notification: did
911
-
912
- """
913
- sender: String
914
- """
915
- who will receive this notification: did
916
-
917
- """
918
- receiver: String
919
- title: String
920
- description: String
921
- """
922
- a link when user open the notification
923
-
924
- """
925
- action: String
926
- """
927
- blocklet | node
928
-
929
- """
930
- entityType: String
931
- """
932
- did
933
-
934
- """
935
- entityId: String
936
- read: Boolean
937
- createdAt: Int
938
- updatedAt: Int
939
- id: String
940
- """
941
- severity: error, info, warning, success
942
-
943
- """
944
- severity: String
945
- }
946
- type OwnerNft {
947
- did: String
948
- holder: String
949
- issuer: String
950
- }
951
- type Paging {
952
- """
953
- number of rows
954
-
955
- """
956
- total: Int
957
- """
958
- number of rows per page
959
-
960
- """
961
- pageSize: Int
962
- """
963
- number of page
964
-
965
- """
966
- pageCount: Int
967
- """
968
- current page number
969
-
970
- """
971
- page: Int
972
- }
973
- input PagingInput {
974
- """
975
- number of rows
976
-
977
- """
978
- total: Int
979
- """
980
- number of rows per page
981
-
982
- """
983
- pageSize: Int
984
- """
985
- number of page
986
-
987
- """
988
- pageCount: Int
989
- """
990
- current page number
991
-
992
- """
993
- page: Int
994
- }
995
- """
996
- Passport
997
-
998
- """
999
- type Passport {
1000
- id: String
1001
- name: String
1002
- title: String
1003
- issuer: Issuer
1004
- type: [String!]
1005
- issuanceDate: Int
1006
- expirationDate: Int
1007
- status: String
1008
- role: String
1009
- lastLoginAt: Int
1010
- }
1011
- """
1012
- Passport
1013
-
1014
- """
1015
- input PassportInput {
1016
- id: String
1017
- name: String
1018
- title: String
1019
- issuer: IssuerInput
1020
- type: [String!]
1021
- issuanceDate: Int
1022
- expirationDate: Int
1023
- status: String
1024
- role: String
1025
- lastLoginAt: Int
1026
- }
1027
- type PassportIssuanceInfo {
1028
- id: String
1029
- """
1030
- passport name (as same as role name)
1031
-
1032
- """
1033
- name: String
1034
- """
1035
- passport title (as same as role name)
1036
-
1037
- """
1038
- title: String
1039
- expireDate: String
1040
- teamDid: String
1041
- ownerDid: String
1042
- }
1043
- type Permission {
1044
- name: String
1045
- description: String
1046
- isProtected: Boolean
1047
- }
1048
- input PermissionInput {
1049
- name: String
1050
- description: String
1051
- isProtected: Boolean
1052
- }
1053
- type Query {
1054
- """
1055
- From Blocklet State
1056
-
1057
- """
1058
- queryGetBlocklet(in: RequestBlockletDetailInput): ResponseBlocklet
1059
- queryGetBlockletMetaFromUrl(in: RequestBlockletMetaFromUrlInput): ResponseBlockletMetaFromUrl
1060
- queryGetBlockletForLauncher(in: RequestBlockletForLauncherInput): ResponseBlockletForLauncher
1061
- queryGetBlockletDiff(in: RequestBlockletDiffInput): ResponseBlockletDiff
1062
- queryGetBlocklets(in: RequestGetBlockletsInput): ResponseGetBlocklets
1063
- queryGetBlockletRuntimeHistory(in: RequestBlockletRuntimeHistoryInput): ResponseBlockletRuntimeHistory
1064
- queryGetBlockletsFromBackup: ResponseBlockletsFromBackup
1065
- """
1066
- From NodeState
1067
-
1068
- """
1069
- queryGetNodeInfo: ResponseGetNodeInfo
1070
- queryResetNodeStatus: ResponseGetNodeInfo
1071
- queryGetNodeEnv: ResponseGetNodeEnv
1072
- queryCheckNodeVersion: ResponseCheckNodeVersion
1073
- queryGetDelegationState: ResponseDelegationState
1074
- queryGetNodeRuntimeHistory(in: RequestNodeRuntimeHistoryInput): ResponseNodeRuntimeHistory
1075
- """
1076
- From Registry
1077
-
1078
- """
1079
- queryGetBlockletMeta(in: RequestBlockletMetaInput): ResponseBlockletMeta
1080
- """
1081
- Notification
1082
-
1083
- """
1084
- queryGetNotifications(in: RequestGetNotificationsInput): ResponseGetNotifications
1085
- """
1086
- Routing Rules
1087
-
1088
- """
1089
- queryGetRoutingSites(in: RequestGetRoutingSitesInput): ResponseGetRoutingSites
1090
- queryGetRoutingSnapshots(in: RequestGetRoutingSnapshotsInput): ResponseGetRoutingSnapshots
1091
- queryGetSnapshotSites(in: RequestGetSnapshotSitesInput): ResponseGetSnapshotSites
1092
- queryGetRoutingProviders: ResponseGetRoutingProviders
1093
- """
1094
- Certificates
1095
-
1096
- """
1097
- queryGetCertificates: ResponseGetCertificates
1098
- """
1099
- Utils
1100
-
1101
- """
1102
- queryCheckDomains(in: RequestCheckDomainsInput): ResponseCheckDomains
1103
- queryFindCertificateByDomain(in: RequestFindCertificateByDomainInput): ResponseFindCertificateByDomain
1104
- """
1105
- Access Keys
1106
-
1107
- """
1108
- queryGetAccessKeys: ResponseAccessKeys
1109
- """
1110
- WebHook
1111
-
1112
- """
1113
- queryGetWebHooks: ResponseWebHooks
1114
- queryGetWebhookSenders: ResponseSenderList
1115
- querySendTestMessage(in: RequestSendMsgInput): ResponseSendMsg
1116
- """
1117
- Session
1118
-
1119
- """
1120
- queryGetSession(in: RequestGetSessionInput): ResponseGetSession
1121
- """
1122
- Team && AccessControl
1123
-
1124
- """
1125
- queryGetRoles(in: TeamInput): ResponseRoles
1126
- queryGetPermissions(in: TeamInput): ResponsePermissions
1127
- queryGetInvitations(in: TeamInput): ResponseGetInvitations
1128
- queryGetUsers(in: RequestUsersInput): ResponseUsers
1129
- queryGetUser(in: RequestTeamUserInput): ResponseUser
1130
- queryGetUsersCountPerRole(in: TeamInput): ResponseGetUsersCountPerRole
1131
- queryGetOwner(in: TeamInput): ResponseUser
1132
- queryGetPermissionsByRole(in: RequestTeamRoleInput): ResponsePermissions
1133
- queryGetPassportIssuances(in: RequestGetPassportIssuancesInput): ResponseGetPassportIssuances
1134
- """
1135
- Audit Logs
1136
-
1137
- """
1138
- queryGetAuditLogs(in: RequestGetAuditLogsInput): ResponseGetAuditLogs
1139
- }
1140
- input RequestAddBlockletSpaceGatewayInput {
1141
- did: String
1142
- spaceGateway: SpaceGatewayInput
1143
- }
1144
- input RequestAddDomainAliasInput {
1145
- id: String
1146
- domainAlias: String
1147
- force: Boolean
1148
- teamDid: String
1149
- }
1150
- input RequestAddLetsEncryptCertInput {
1151
- domain: String
1152
- did: String
1153
- }
1154
- input RequestAddNginxHttpsCertInput {
1155
- name: String
1156
- privateKey: String
1157
- certificate: String
1158
- }
1159
- input RequestAddRoutingRuleInput {
1160
- id: String
1161
- rule: RoutingRuleInput
1162
- teamDid: String
1163
- }
1164
- input RequestAddRoutingSiteInput {
1165
- domain: String
1166
- type: String
1167
- rules: [RoutingRuleInput!]
1168
- }
1169
- input RequestBackupBlockletInput {
1170
- appDid: String
1171
- to: BackupTo
1172
- }
1173
- input RequestBlockletDetailInput {
1174
- did: String
1175
- attachRuntimeInfo: Boolean
1176
- }
1177
- input RequestBlockletDiffInput {
1178
- did: String
1179
- hashFiles: [HashFileInput!]
1180
- rootDid: String
1181
- }
1182
- input RequestBlockletForLauncherInput {
1183
- did: String
1184
- }
1185
- input RequestBlockletInput {
1186
- did: String
1187
- }
1188
- input RequestBlockletMetaFromUrlInput {
1189
- url: String
1190
- checkPrice: Boolean
1191
- }
1192
- input RequestBlockletMetaInput {
1193
- did: String
1194
- storeUrl: String
1195
- }
1196
- input RequestBlockletRuntimeHistoryInput {
1197
- did: String
1198
- hours: Int
1199
- }
1200
- input RequestChangeBlockletStoreInput {
1201
- teamDid: String
1202
- url: String
1203
- }
1204
- input RequestCheckDomainsInput {
1205
- domains: [String!]
1206
- did: String
1207
- }
1208
- input RequestConfigBlockletInput {
1209
- did: [String!]
1210
- configs: [ConfigEntryInput!]
1211
- }
1212
- input RequestConfigNavigationsInput {
1213
- did: String
1214
- navigations: [ConfigNavigationInput!]
1215
- }
1216
- input RequestConfigNotifiactionInput {
1217
- did: String
1218
- notification: String
1219
- }
1220
- input RequestConfigOAuthInput {
1221
- did: String
1222
- oauth: String
1223
- }
1224
- input RequestConfigPassportIssuanceInput {
1225
- """
1226
- issuer
1227
-
1228
- """
1229
- teamDid: String
1230
- enable: Boolean
1231
- }
1232
- input RequestConfigPublicToStoreInput {
1233
- did: String
1234
- publicToStore: Boolean
1235
- }
1236
- input RequestConfigTrustedFactoriesInput {
1237
- """
1238
- issuer
1239
-
1240
- """
1241
- teamDid: String
1242
- trustedFactories: [TrustedFactoryInput!]
1243
- }
1244
- input RequestConfigTrustedPassportsInput {
1245
- """
1246
- issuer
1247
-
1248
- """
1249
- teamDid: String
1250
- trustedPassports: [TrustedPassportInput!]
1251
- }
1252
- input RequestCreateAccessKeyInput {
1253
- remark: String
1254
- passport: String
1255
- }
1256
- input RequestCreateInvitationInput {
1257
- teamDid: String
1258
- role: String
1259
- remark: String
1260
- }
1261
- input RequestCreatePassportIssuanceInput {
1262
- """
1263
- issuer
1264
-
1265
- """
1266
- teamDid: String
1267
- ownerDid: String
1268
- """
1269
- passport name, as same as role name
1270
-
1271
- """
1272
- name: String
1273
- }
1274
- input RequestCreatePermissionInput {
1275
- teamDid: String
1276
- name: String
1277
- description: String
1278
- }
1279
- input RequestCreateRoleInput {
1280
- teamDid: String
1281
- name: String
1282
- title: String
1283
- description: String
1284
- childName: String
1285
- permissions: [String!]
1286
- }
1287
- input RequestCreateTransferNodeInvitationInput {
1288
- teamDid: String
1289
- remark: String
1290
- }
1291
- """
1292
- webhook
1293
-
1294
- """
1295
- input RequestCreateWebHookInput {
1296
- """
1297
- slack/api
1298
-
1299
- """
1300
- type: SenderType
1301
- """
1302
- Slack Notification
1303
-
1304
- """
1305
- title: String
1306
- description: String
1307
- params: [WebHookParamInput!]
1308
- }
1309
- input RequestDeleteAccessKeyInput {
1310
- accessKeyId: String
1311
- }
1312
- input RequestDeleteBlockletInput {
1313
- did: String
1314
- keepData: Boolean
1315
- }
1316
- input RequestDeleteBlockletSpaceGatewayInput {
1317
- did: String
1318
- url: String
1319
- }
1320
- input RequestDeleteComponentInput {
1321
- did: String
1322
- rootDid: String
1323
- keepData: Boolean
1324
- }
1325
- input RequestDeleteDomainAliasInput {
1326
- id: String
1327
- domainAlias: String
1328
- teamDid: String
1329
- }
1330
- input RequestDeleteInvitationInput {
1331
- teamDid: String
1332
- inviteId: String
1333
- }
1334
- input RequestDeleteNginxHttpsCertInput {
1335
- id: String
1336
- }
1337
- input RequestDeletePermissionInput {
1338
- teamDid: String
1339
- name: String
1340
- }
1341
- input RequestDeleteRoleInput {
1342
- teamDid: String
1343
- name: String
1344
- }
1345
- input RequestDeleteRoutingRuleInput {
1346
- id: String
1347
- """
1348
- rule item id
1349
-
1350
- """
1351
- ruleId: String
1352
- teamDid: String
1353
- }
1354
- input RequestDeleteRoutingSiteInput {
1355
- id: String
1356
- }
1357
- input RequestDeleteTeamSessionInput {
1358
- teamDid: String
1359
- sessionId: String
1360
- }
1361
- input RequestDeleteWebHookInput {
1362
- id: String
1363
- }
1364
- input RequestEndSessionInput {
1365
- id: String
1366
- }
1367
- input RequestFindCertificateByDomainInput {
1368
- domain: String
1369
- did: String
1370
- }
1371
- input RequestGatewayInput {
1372
- requestLimit: RequestLimitInput
1373
- cacheEnabled: Boolean
1374
- }
1375
- input RequestGetAuditLogsInput {
1376
- paging: PagingInput
1377
- scope: String
1378
- category: String
1379
- }
1380
- """
1381
- blocklet backup record, 暂时不改是因为最终的筛选条件一定不会是这个
1382
-
1383
- """
1384
- input RequestGetBlockletBackupsInput {
1385
- did: String
1386
- }
1387
- input RequestGetBlockletsInput {
1388
- useCache: Boolean
1389
- query: BlockletQueryInput
1390
- }
1391
- input RequestGetNotificationsInput {
1392
- receiver: String
1393
- sender: String
1394
- read: Boolean
1395
- paging: PagingInput
1396
- }
1397
- input RequestGetPassportIssuancesInput {
1398
- teamDid: String
1399
- ownerDid: String
1400
- }
1401
- input RequestGetRoutingSitesInput {
1402
- snapshotHash: String
1403
- }
1404
- input RequestGetRoutingSnapshotsInput {
1405
- limit: Int
1406
- }
1407
- input RequestGetSessionInput {
1408
- id: String
1409
- }
1410
- input RequestGetSnapshotSitesInput {
1411
- hash: String
1412
- }
1413
- input RequestGrantPermissionForRoleInput {
1414
- teamDid: String
1415
- roleName: String
1416
- grantName: String
1417
- }
1418
- input RequestHasPermissionInput {
1419
- teamDid: String
1420
- role: String
1421
- permission: String
1422
- }
1423
- input RequestInstallComponentInput {
1424
- rootDid: String
1425
- mountPoint: String
1426
- url: String
1427
- """
1428
- install from Upload
1429
-
1430
- """
1431
- file: Upload
1432
- did: String
1433
- diffVersion: String
1434
- deleteSet: [String!]
1435
- """
1436
- custom component id and info
1437
-
1438
- """
1439
- name: String
1440
- title: String
1441
- """
1442
- configs
1443
-
1444
- """
1445
- configs: [ConfigEntryInput!]
1446
- """
1447
- paid blocklet related
1448
-
1449
- """
1450
- downloadTokenList: [DownloadTokenInput!]
1451
- skipNavigation: Boolean
1452
- }
1453
- input RequestIssuePassportToUserInput {
1454
- teamDid: String
1455
- userDid: String
1456
- role: String
1457
- }
1458
- type RequestLimit {
1459
- enabled: Boolean
1460
- rate: Int
1461
- ipHeader: String
1462
- }
1463
- input RequestLimitInput {
1464
- enabled: Boolean
1465
- rate: Int
1466
- ipHeader: String
1467
- }
1468
- input RequestMigrateApplicationToStructV2Input {
1469
- did: String
1470
- appSk: String
1471
- }
1472
- input RequestNodeRoutingInput {
1473
- provider: String
1474
- snapshotHash: String
1475
- forceRepopulate: Boolean
1476
- }
1477
- input RequestNodeRuntimeHistoryInput {
1478
- hours: Int
1479
- }
1480
- input RequestReadNotificationsInput {
1481
- id: String
1482
- }
1483
- input RequestResetNodeInput {
1484
- owner: Boolean
1485
- blocklets: Boolean
1486
- webhooks: Boolean
1487
- certificates: Boolean
1488
- accessKeys: Boolean
1489
- blockletExtras: Boolean
1490
- routingRules: Boolean
1491
- users: Boolean
1492
- invitations: Boolean
1493
- }
1494
- input RequestRestoreBlockletInput {
1495
- endpoint: String
1496
- appDid: String
1497
- delegation: String
1498
- password: Bytes
1499
- wallet: Any
1500
- from: BackupTo
1501
- appPid: String
1502
- }
1503
- input RequestRevokePermissionFromRoleInput {
1504
- teamDid: String
1505
- roleName: String
1506
- grantName: String
1507
- }
1508
- input RequestRevokeUserPassportInput {
1509
- teamDid: String
1510
- userDid: String
1511
- passportId: String
1512
- }
1513
- input RequestSendMsgInput {
1514
- webhookId: String
1515
- message: String
1516
- }
1517
- input RequestStartSessionInput {
1518
- """
1519
- json stringified
1520
-
1521
- """
1522
- data: String
1523
- }
1524
- input RequestTakeRoutingSnapshotInput {
1525
- dryRun: Boolean
1526
- message: String
1527
- }
1528
- input RequestTeamPermissionInput {
1529
- teamDid: String
1530
- permission: PermissionInput
1531
- }
1532
- input RequestTeamRoleInput {
1533
- teamDid: String
1534
- role: RoleInput
1535
- }
1536
- input RequestTeamUserInput {
1537
- teamDid: String
1538
- user: UserInfoInput
1539
- options: RequestTeamUserOptionsInput
1540
- }
1541
- input RequestTeamUserOptionsInput {
1542
- enableConnectedAccount: Boolean
1543
- }
1544
- input RequestUpdateAccessKeyInput {
1545
- accessKeyId: String
1546
- remark: String
1547
- passport: String
1548
- }
1549
- input RequestUpdateBlockletSpaceGatewayInput {
1550
- did: String
1551
- where: SpaceGatewayInput
1552
- spaceGateway: SpaceGatewayInput
1553
- }
1554
- input RequestUpdateComponentMountPointInput {
1555
- did: String
1556
- rootDid: String
1557
- mountPoint: String
1558
- }
1559
- input RequestUpdateComponentTitleInput {
1560
- did: String
1561
- rootDid: String
1562
- title: String
1563
- }
1564
- input RequestUpdateComponentsInput {
1565
- updateId: String
1566
- rootDid: String
1567
- selectedComponents: [String!]
1568
- }
1569
- input RequestUpdateNginxHttpsCertInput {
1570
- id: String
1571
- name: String
1572
- }
1573
- input RequestUpdatePermissionsForRoleInput {
1574
- teamDid: String
1575
- roleName: String
1576
- grantNames: [String!]
1577
- }
1578
- input RequestUpdateRoutingRuleInput {
1579
- id: String
1580
- rule: RoutingRuleInput
1581
- teamDid: String
1582
- }
1583
- input RequestUpdateRoutingSiteInput {
1584
- id: String
1585
- corsAllowedOrigins: [String!]
1586
- domain: String
1587
- teamDid: String
1588
- }
1589
- input RequestUpdateSessionInput {
1590
- id: String
1591
- """
1592
- json stringified
1593
-
1594
- """
1595
- data: String
1596
- }
1597
- input RequestUpdateWhoCanAccessInput {
1598
- did: [String!]
1599
- whoCanAccess: String
1600
- }
1601
- input RequestUsersInput {
1602
- teamDid: String
1603
- query: UserQueryInput
1604
- sort: UserSortInput
1605
- paging: PagingInput
1606
- dids: [String!]
1607
- }
1608
- """
1609
- blocklet installation params
1610
-
1611
- """
1612
- input RequestVersionedBlockletInput {
1613
- """
1614
- store, url, upload, create, restore
1615
-
1616
- """
1617
- type: String
1618
- """
1619
- install from Store
1620
-
1621
- """
1622
- did: String
1623
- storeUrl: String
1624
- """
1625
- install from Url or Backup
1626
-
1627
- """
1628
- url: String
1629
- """
1630
- install from Upload
1631
-
1632
- """
1633
- file: Upload
1634
- diffVersion: String
1635
- deleteSet: [String!]
1636
- """
1637
- install from custom creation
1638
-
1639
- """
1640
- title: String
1641
- description: String
1642
- startImmediately: Boolean
1643
- """
1644
- paid blocklet related
1645
-
1646
- """
1647
- downloadTokenList: [DownloadTokenInput!]
1648
- }
1649
- type Requirement {
1650
- server: String
1651
- os: Any
1652
- cpu: Any
1653
- fuels: [Fuel!]
1654
- }
1655
- type ResponseAccessKeys {
1656
- code: StatusCode
1657
- list: [AccessKey!]
1658
- }
1659
- type ResponseAddLetsEncryptCert {
1660
- code: StatusCode
1661
- }
1662
- type ResponseAddNginxHttpsCert {
1663
- code: StatusCode
1664
- }
1665
- type ResponseBlocklet {
1666
- code: StatusCode
1667
- blocklet: BlockletState
1668
- }
1669
- type ResponseBlockletDiff {
1670
- code: StatusCode
1671
- blockletDiff: BlockletDiff
1672
- }
1673
- type ResponseBlockletForLauncher {
1674
- code: StatusCode
1675
- did: String
1676
- isInstalled: Boolean
1677
- isRunning: Boolean
1678
- }
1679
- type ResponseBlockletMeta {
1680
- code: StatusCode
1681
- meta: Any
1682
- }
1683
- type ResponseBlockletMetaFromUrl {
1684
- code: StatusCode
1685
- meta: BlockletMeta
1686
- isFree: Boolean
1687
- inStore: Boolean
1688
- registryUrl: String
1689
- }
1690
- type ResponseBlockletRuntimeHistory {
1691
- code: StatusCode
1692
- history: [BlockletHistoryItem!]
1693
- }
1694
- type ResponseBlockletsFromBackup {
1695
- code: StatusCode
1696
- backups: [BlockletBackupState!]
1697
- }
1698
- type ResponseCheckComponentsForUpdates {
1699
- code: StatusCode
1700
- preUpdateInfo: BlockletPreUpdateInfo
1701
- }
1702
- type ResponseCheckDomains {
1703
- code: StatusCode
1704
- }
1705
- type ResponseCheckNodeVersion {
1706
- code: StatusCode
1707
- version: String
1708
- }
1709
- type ResponseCreateAccessKey {
1710
- code: StatusCode
1711
- data: CreateAccessKey
1712
- }
1713
- type ResponseCreateInvitation {
1714
- code: StatusCode
1715
- inviteInfo: InviteInfo
1716
- }
1717
- type ResponseCreatePassportIssuance {
1718
- code: StatusCode
1719
- info: PassportIssuanceInfo
1720
- }
1721
- type ResponseCreateTransferNodeInvitation {
1722
- code: StatusCode
1723
- inviteInfo: InviteInfo
1724
- }
1725
- type ResponseCreateWebHook {
1726
- code: StatusCode
1727
- webhook: WebHookSender
1728
- }
1729
- type ResponseDelegationState {
1730
- code: StatusCode
1731
- state: DelegationState
1732
- }
1733
- type ResponseDeleteAccessKey {
1734
- code: StatusCode
1735
- }
1736
- type ResponseDeleteNginxHttpsCert {
1737
- code: StatusCode
1738
- }
1739
- type ResponseDeleteWebHook {
1740
- code: StatusCode
1741
- }
1742
- type ResponseFindCertificateByDomain {
1743
- code: StatusCode
1744
- cert: Certificate
1745
- }
1746
- type ResponseGateway {
1747
- code: StatusCode
1748
- gateway: Gateway
1749
- cacheEnabled: Boolean
1750
- }
1751
- type ResponseGetAuditLogs {
1752
- code: StatusCode
1753
- list: [AuditLog!]
1754
- paging: Paging
1755
- }
1756
- type ResponseGetBlockletBackups {
1757
- code: StatusCode
1758
- backups: [Backup!]
1759
- }
1760
- type ResponseGetBlockletSpaceGateways {
1761
- code: StatusCode
1762
- spaceGateways: [SpaceGateway!]
1763
- }
1764
- type ResponseGetBlocklets {
1765
- code: StatusCode
1766
- blocklets: [BlockletState!]
1767
- }
1768
- type ResponseGetCertificates {
1769
- code: StatusCode
1770
- certificates: [Certificate!]
1771
- }
1772
- type ResponseGetInvitations {
1773
- code: StatusCode
1774
- invitations: [InviteInfo!]
1775
- }
1776
- type ResponseGetNodeEnv {
1777
- code: StatusCode
1778
- info: NodeEnvInfo
1779
- }
1780
- type ResponseGetNodeInfo {
1781
- code: StatusCode
1782
- info: NodeState
1783
- }
1784
- type ResponseGetNotifications {
1785
- code: StatusCode
1786
- list: [Notification!]
1787
- paging: Paging
1788
- }
1789
- type ResponseGetPassportIssuances {
1790
- code: StatusCode
1791
- list: [PassportIssuanceInfo!]
1792
- }
1793
- type ResponseGetRoutingProviders {
1794
- code: StatusCode
1795
- providers: [RoutingProvider!]
1796
- }
1797
- type ResponseGetRoutingSites {
1798
- code: StatusCode
1799
- sites: [RoutingSite!]
1800
- }
1801
- type ResponseGetRoutingSnapshots {
1802
- code: StatusCode
1803
- snapshots: [RoutingSnapshot!]
1804
- }
1805
- type ResponseGetSession {
1806
- code: StatusCode
1807
- session: Any
1808
- }
1809
- type ResponseGetSnapshotSites {
1810
- code: StatusCode
1811
- sites: [RoutingSite!]
1812
- }
1813
- type ResponseGetUsersCountPerRole {
1814
- code: StatusCode
1815
- counts: [KeyValue!]
1816
- }
1817
- type ResponseNodeRuntimeHistory {
1818
- code: StatusCode
1819
- history: [NodeHistoryItem!]
1820
- }
1821
- type ResponsePermission {
1822
- code: StatusCode
1823
- permission: Permission
1824
- }
1825
- type ResponsePermissions {
1826
- code: StatusCode
1827
- permissions: [Permission!]
1828
- }
1829
- type ResponseReadNotifications {
1830
- code: StatusCode
1831
- numAffected: Int
1832
- }
1833
- type ResponseResetNode {
1834
- code: StatusCode
1835
- }
1836
- type ResponseRestartServer {
1837
- code: StatusCode
1838
- sessionId: String
1839
- }
1840
- type ResponseRole {
1841
- code: StatusCode
1842
- role: Role
1843
- }
1844
- type ResponseRoles {
1845
- code: StatusCode
1846
- roles: [Role!]
1847
- }
1848
- type ResponseRoutingSite {
1849
- code: StatusCode
1850
- site: RoutingSite
1851
- }
1852
- type ResponseSendMsg {
1853
- code: StatusCode
1854
- }
1855
- type ResponseSenderList {
1856
- code: StatusCode
1857
- senders: [WebHookSender!]
1858
- }
1859
- type ResponseTakeRoutingSnapshot {
1860
- code: StatusCode
1861
- hash: String
1862
- }
1863
- type ResponseUpdateAccessKey {
1864
- code: StatusCode
1865
- data: AccessKey
1866
- }
1867
- type ResponseUpdateNginxHttpsCert {
1868
- code: StatusCode
1869
- }
1870
- type ResponseUpgradeNodeVersion {
1871
- code: StatusCode
1872
- sessionId: String
1873
- }
1874
- type ResponseUser {
1875
- code: StatusCode
1876
- user: UserInfo
1877
- }
1878
- type ResponseUsers {
1879
- code: StatusCode
1880
- users: [UserInfo!]
1881
- paging: Paging
1882
- }
1883
- type ResponseWebHooks {
1884
- code: StatusCode
1885
- webhooks: [WebHook!]
1886
- }
1887
- """
1888
- RBAC
1889
-
1890
- """
1891
- type Role {
1892
- name: String
1893
- description: String
1894
- grants: [String!]
1895
- title: String
1896
- isProtected: Boolean
1897
- }
1898
- """
1899
- RBAC
1900
-
1901
- """
1902
- input RoleInput {
1903
- name: String
1904
- description: String
1905
- grants: [String!]
1906
- title: String
1907
- isProtected: Boolean
1908
- }
1909
- type RoutingProvider {
1910
- name: String
1911
- description: String
1912
- running: Boolean
1913
- available: Boolean
1914
- error: String
1915
- }
1916
- type RoutingRule {
1917
- id: String
1918
- from: RoutingRuleFrom
1919
- to: RoutingRuleTo
1920
- isProtected: Boolean
1921
- }
1922
- type RoutingRuleFrom {
1923
- pathPrefix: String
1924
- header: [RoutingRuleHeader!]
1925
- }
1926
- input RoutingRuleFromInput {
1927
- pathPrefix: String
1928
- header: [RoutingRuleHeaderInput!]
1929
- }
1930
- type RoutingRuleHeader {
1931
- key: String
1932
- value: String
1933
- type: HeaderMatchType
1934
- }
1935
- input RoutingRuleHeaderInput {
1936
- key: String
1937
- value: String
1938
- type: HeaderMatchType
1939
- }
1940
- input RoutingRuleInput {
1941
- id: String
1942
- from: RoutingRuleFromInput
1943
- to: RoutingRuleToInput
1944
- isProtected: Boolean
1945
- }
1946
- type RoutingRuleTo {
1947
- port: Int
1948
- type: BackendServiceType
1949
- did: String
1950
- url: String
1951
- redirectCode: Int
1952
- interfaceName: String
1953
- componentId: String
1954
- }
1955
- input RoutingRuleToInput {
1956
- port: Int
1957
- type: BackendServiceType
1958
- did: String
1959
- url: String
1960
- redirectCode: Int
1961
- interfaceName: String
1962
- componentId: String
1963
- }
1964
- type RoutingSite {
1965
- id: String
1966
- domain: String
1967
- domainAliases: [Any!]
1968
- rules: [RoutingRule!]
1969
- isProtected: Boolean
1970
- corsAllowedOrigins: [String!]
1971
- }
1972
- type RoutingSnapshot {
1973
- hash: String
1974
- tree: String
1975
- message: String
1976
- author: String
1977
- createdAt: Int
1978
- }
1979
- type RuntimeInfo {
1980
- pid: String
1981
- port: String
1982
- uptime: String
1983
- memoryUsage: Float
1984
- cpuUsage: Float
1985
- }
1986
- enum SenderType {
1987
- slack
1988
- api
1989
- }
1990
- type SimpleBlockletMeta {
1991
- did: String
1992
- name: String
1993
- version: String
1994
- description: String
1995
- title: String
1996
- bundleDid: String
1997
- bundleName: String
1998
- }
1999
- type SimpleBlockletState {
2000
- meta: SimpleBlockletMeta
2001
- status: BlockletStatus
2002
- deployedFrom: String
2003
- mountPoint: String
2004
- deletedAt: Int
2005
- }
2006
- type SpaceGateway {
2007
- name: String
2008
- url: String
2009
- protected: String
2010
- endpoint: String
2011
- }
2012
- input SpaceGatewayInput {
2013
- name: String
2014
- url: String
2015
- protected: String
2016
- endpoint: String
2017
- }
2018
- enum StatusCode {
2019
- ok
2020
- blocklet_not_found
2021
- blocklet_not_purchased
2022
- forbidden
2023
- internal
2024
- timeout
2025
- }
2026
- input TeamInput {
2027
- teamDid: String
2028
- }
2029
- type TrustedFactory {
2030
- holderDid: String
2031
- issuerDid: String
2032
- factoryAddress: String
2033
- remark: String
2034
- passport: TrustedPassportMappingTo
2035
- }
2036
- input TrustedFactoryInput {
2037
- holderDid: String
2038
- issuerDid: String
2039
- factoryAddress: String
2040
- remark: String
2041
- passport: TrustedPassportMappingToInput
2042
- }
2043
- type TrustedPassport {
2044
- issuerDid: String
2045
- remark: String
2046
- mappings: [TrustedPassportMapping!]
2047
- }
2048
- input TrustedPassportInput {
2049
- issuerDid: String
2050
- remark: String
2051
- mappings: [TrustedPassportMappingInput!]
2052
- }
2053
- type TrustedPassportMapping {
2054
- from: TrustedPassportMappingFrom
2055
- to: TrustedPassportMappingTo
2056
- }
2057
- type TrustedPassportMappingFrom {
2058
- passport: String
2059
- }
2060
- input TrustedPassportMappingFromInput {
2061
- passport: String
2062
- }
2063
- input TrustedPassportMappingInput {
2064
- from: TrustedPassportMappingFromInput
2065
- to: TrustedPassportMappingToInput
2066
- }
2067
- type TrustedPassportMappingTo {
2068
- role: String
2069
- """
2070
- how long the passport is valid since it is issued
2071
-
2072
- """
2073
- ttl: String
2074
- ttlPolicy: String
2075
- }
2076
- input TrustedPassportMappingToInput {
2077
- role: String
2078
- """
2079
- how long the passport is valid since it is issued
2080
-
2081
- """
2082
- ttl: String
2083
- ttlPolicy: String
2084
- }
2085
- type UpdateList {
2086
- id: String
2087
- meta: BlockletMeta
2088
- }
2089
- enum Upload {
2090
- scalar
2091
- }
2092
- type UserInfo {
2093
- did: String
2094
- pk: String
2095
- role: String
2096
- avatar: String
2097
- fullName: String
2098
- email: String
2099
- approved: Boolean
2100
- createdAt: Int
2101
- updatedAt: Int
2102
- locale: String
2103
- passports: [Passport!]
2104
- firstLoginAt: Int
2105
- lastLoginAt: Int
2106
- remark: String
2107
- lastLoginIp: String
2108
- sourceProvider: String
2109
- connectedAccounts: [ConnectedAccount!]
2110
- meta: Any
2111
- }
2112
- input UserInfoInput {
2113
- did: String
2114
- pk: String
2115
- role: String
2116
- avatar: String
2117
- fullName: String
2118
- email: String
2119
- approved: Boolean
2120
- createdAt: Int
2121
- updatedAt: Int
2122
- locale: String
2123
- passports: [PassportInput!]
2124
- firstLoginAt: Int
2125
- lastLoginAt: Int
2126
- remark: String
2127
- lastLoginIp: String
2128
- sourceProvider: String
2129
- connectedAccounts: [ConnectedAccountInput!]
2130
- meta: Any
2131
- }
2132
- input UserQueryInput {
2133
- role: String
2134
- approved: Boolean
2135
- search: String
2136
- connectedDid: String
2137
- }
2138
- input UserSortInput {
2139
- updatedAt: Int
2140
- createdAt: Int
2141
- lastLoginAt: Int
2142
- }
2143
- type WalletInfo {
2144
- did: String
2145
- pk: String
2146
- }
2147
- """
2148
- 这是用户配置的 Sender 列表
2149
-
2150
- """
2151
- type WebHook {
2152
- """
2153
- slack/api
2154
-
2155
- """
2156
- type: SenderType
2157
- id: String
2158
- params: [WebHookParam!]
2159
- createdAt: Int
2160
- updatedAt: Int
2161
- }
2162
- type WebHookParam {
2163
- name: String
2164
- description: String
2165
- required: Boolean
2166
- defaultValue: String
2167
- value: String
2168
- type: String
2169
- }
2170
- input WebHookParamInput {
2171
- name: String
2172
- description: String
2173
- required: Boolean
2174
- defaultValue: String
2175
- value: String
2176
- type: String
2177
- }
2178
- """
2179
- 描述了 Sender 是什么,需要设什么才能工作
2180
-
2181
- """
2182
- type WebHookSender {
2183
- """
2184
- slack/api
2185
-
2186
- """
2187
- type: SenderType
2188
- """
2189
- Slack Notification
2190
-
2191
- """
2192
- title: String
2193
- description: String
2194
- params: [WebHookParam!]
2195
- }