@abtnode/schema 1.8.39 → 1.8.41

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.
Files changed (3) hide show
  1. package/lib/index.js +904 -846
  2. package/lib/schema.graphqls +1048 -990
  3. package/package.json +2 -2
package/lib/index.js CHANGED
@@ -12,1541 +12,1598 @@ scalar Int64
12
12
  scalar Uint32
13
13
 
14
14
  input BlockletControllerInput {
15
- id: String
16
- nftId: String
17
- nftOwner: String
18
- expireDate: Uint32
15
+ id: String
16
+ nftId: String
17
+ nftOwner: String
18
+ expireDate: Uint32
19
19
  }
20
20
 
21
21
  input BlockletQueryInput {
22
- controller: BlockletControllerInput
22
+ controller: BlockletControllerInput
23
+ }
24
+
25
+ input BlockletServiceInput {
26
+ name: String
27
+ description: String
28
+ version: String
29
+ config: String
30
+ schema: String
23
31
  }
24
32
 
25
33
  input BlockletStoreInput {
26
- name: String
27
- description: String
28
- url: String
29
- logoUrl: String
30
- maintainer: String
31
- cdnUrl: String
32
- protected: Boolean
33
- id: String
34
+ name: String
35
+ description: String
36
+ url: String
37
+ logoUrl: String
38
+ maintainer: String
39
+ cdnUrl: String
40
+ protected: Boolean
41
+ id: String
34
42
  }
35
43
 
36
44
  input ConfigEntryInput {
37
- key: String
38
- value: String
39
- required: Boolean
40
- description: String
41
- validation: String
42
- secure: Boolean
43
- custom: Boolean
44
- shared: Boolean
45
+ key: String
46
+ value: String
47
+ required: Boolean
48
+ description: String
49
+ validation: String
50
+ secure: Boolean
51
+ custom: Boolean
52
+ shared: Boolean
53
+ }
54
+
55
+ input ConfigNavigationInput {
56
+ id: String
57
+ title: String
58
+ link: String
59
+ icon: String
60
+ section: String
61
+ component: String
62
+ parent: String
63
+ role: String
64
+ visible: Boolean
65
+ from: String
45
66
  }
46
67
 
47
68
  input HashFileInput {
48
- file: String
49
- hash: String
69
+ file: String
70
+ hash: String
50
71
  }
51
72
 
52
73
  input IssuerInput {
53
- id: String
54
- name: String
55
- pk: String
74
+ id: String
75
+ name: String
76
+ pk: String
56
77
  }
57
78
 
58
79
  input NodeInfoInput {
59
- name: String
60
- description: String
61
- autoUpgrade: Boolean
62
- enableWelcomePage: Boolean
63
- registerUrl: String
64
- webWalletUrl: String
65
- blockletRegistryList: [BlockletStoreInput!]
66
- diskAlertThreshold: Uint32
80
+ name: String
81
+ description: String
82
+ autoUpgrade: Boolean
83
+ enableWelcomePage: Boolean
84
+ registerUrl: String
85
+ webWalletUrl: String
86
+ blockletRegistryList: [BlockletStoreInput!]
87
+ diskAlertThreshold: Uint32
67
88
  }
68
89
 
69
90
  input PagingInput {
70
- total: Uint32
71
- pageSize: Uint32
72
- pageCount: Uint32
73
- page: Uint32
91
+ total: Uint32
92
+ pageSize: Uint32
93
+ pageCount: Uint32
94
+ page: Uint32
74
95
  }
75
96
 
76
97
  input PassportInput {
77
- id: String
78
- name: String
79
- title: String
80
- issuer: IssuerInput
81
- type: [String!]
82
- issuanceDate: String
83
- expirationDate: String
84
- status: String
85
- role: String
98
+ id: String
99
+ name: String
100
+ title: String
101
+ issuer: IssuerInput
102
+ type: [String!]
103
+ issuanceDate: String
104
+ expirationDate: String
105
+ status: String
106
+ role: String
86
107
  }
87
108
 
88
109
  input PermissionInput {
89
- name: String
90
- description: String
91
- isProtected: Boolean
110
+ name: String
111
+ description: String
112
+ isProtected: Boolean
92
113
  }
93
114
 
94
115
  input RequestAddDomainAliasInput {
95
- id: String
96
- domainAlias: String
97
- force: Boolean
98
- teamDid: String
116
+ id: String
117
+ domainAlias: String
118
+ force: Boolean
119
+ teamDid: String
99
120
  }
100
121
 
101
122
  input RequestAddLetsEncryptCertInput {
102
- domain: String
123
+ domain: String
103
124
  }
104
125
 
105
126
  input RequestAddNginxHttpsCertInput {
106
- name: String
107
- privateKey: String
108
- certificate: String
127
+ name: String
128
+ privateKey: String
129
+ certificate: String
109
130
  }
110
131
 
111
132
  input RequestAddRoutingRuleInput {
112
- id: String
113
- rule: RoutingRuleInput
114
- teamDid: String
133
+ id: String
134
+ rule: RoutingRuleInput
135
+ teamDid: String
115
136
  }
116
137
 
117
138
  input RequestAddRoutingSiteInput {
118
- domain: String
119
- type: String
120
- rules: [RoutingRuleInput!]
139
+ domain: String
140
+ type: String
141
+ rules: [RoutingRuleInput!]
121
142
  }
122
143
 
123
144
  input RequestBlockletInput {
124
- did: String
125
- storeUrl: String
126
- attachRuntimeInfo: Boolean
145
+ did: String
146
+ storeUrl: String
147
+ attachRuntimeInfo: Boolean
127
148
  }
128
149
 
129
150
  input RequestBlockletBundleInput {
130
- did: String
131
- name: String
132
- serverlessNftId: String
151
+ did: String
152
+ name: String
153
+ serverlessNftId: String
133
154
  }
134
155
 
135
156
  input RequestBlockletDiffInput {
136
- did: String
137
- hashFiles: [HashFileInput!]
138
- rootDid: String
157
+ did: String
158
+ hashFiles: [HashFileInput!]
159
+ rootDid: String
139
160
  }
140
161
 
141
162
  input RequestBlockletMetaFromUrlInput {
142
- url: String
143
- checkPrice: Boolean
163
+ url: String
164
+ checkPrice: Boolean
144
165
  }
145
166
 
146
167
  input RequestChangeBlockletStoreInput {
147
- teamDid: String
148
- url: String
168
+ teamDid: String
169
+ url: String
149
170
  }
150
171
 
151
172
  input RequestCheckDomainsInput {
152
- domains: [String!]
153
- did: String
173
+ domains: [String!]
174
+ did: String
154
175
  }
155
176
 
156
177
  input RequestConfigBlockletInput {
157
- did: [String!]
158
- configs: [ConfigEntryInput!]
178
+ did: [String!]
179
+ configs: [ConfigEntryInput!]
180
+ }
181
+
182
+ input RequestConfigNavigationsInput {
183
+ did: String
184
+ navigations: [ConfigNavigationInput!]
159
185
  }
160
186
 
161
187
  input RequestConfigPassportIssuanceInput {
162
- teamDid: String
163
- enable: Boolean
188
+ teamDid: String
189
+ enable: Boolean
164
190
  }
165
191
 
166
192
  input RequestConfigPublicToStoreInput {
167
- did: String
168
- publicToStore: Boolean
193
+ did: String
194
+ publicToStore: Boolean
169
195
  }
170
196
 
171
197
  input RequestConfigTrustedPassportsInput {
172
- teamDid: String
173
- trustedPassports: [TrustedPassportInput!]
198
+ teamDid: String
199
+ trustedPassports: [TrustedPassportInput!]
174
200
  }
175
201
 
176
202
  input RequestCreateAccessKeyInput {
177
- remark: String
178
- passport: String
203
+ remark: String
204
+ passport: String
179
205
  }
180
206
 
181
207
  input RequestCreateInvitationInput {
182
- teamDid: String
183
- role: String
184
- remark: String
208
+ teamDid: String
209
+ role: String
210
+ remark: String
185
211
  }
186
212
 
187
213
  input RequestCreatePassportIssuanceInput {
188
- teamDid: String
189
- ownerDid: String
190
- name: String
214
+ teamDid: String
215
+ ownerDid: String
216
+ name: String
191
217
  }
192
218
 
193
219
  input RequestCreatePermissionInput {
194
- teamDid: String
195
- name: String
196
- description: String
220
+ teamDid: String
221
+ name: String
222
+ description: String
197
223
  }
198
224
 
199
225
  input RequestCreateRoleInput {
200
- teamDid: String
201
- name: String
202
- title: String
203
- description: String
204
- childName: String
205
- permissions: [String!]
226
+ teamDid: String
227
+ name: String
228
+ title: String
229
+ description: String
230
+ childName: String
231
+ permissions: [String!]
206
232
  }
207
233
 
208
234
  input RequestCreateTransferNodeInvitationInput {
209
- teamDid: String
210
- remark: String
235
+ teamDid: String
236
+ remark: String
211
237
  }
212
238
 
213
239
  input RequestCreateWebHookInput {
214
- type: SenderType
215
- title: String
216
- description: String
217
- params: [WebHookParamInput!]
240
+ type: SenderType
241
+ title: String
242
+ description: String
243
+ params: [WebHookParamInput!]
218
244
  }
219
245
 
220
246
  input RequestDeleteAccessKeyInput {
221
- accessKeyId: String
247
+ accessKeyId: String
222
248
  }
223
249
 
224
250
  input RequestDeleteBlockletInput {
225
- did: String
226
- keepData: Boolean
251
+ did: String
252
+ keepData: Boolean
227
253
  }
228
254
 
229
255
  input RequestDeleteComponentInput {
230
- did: String
231
- rootDid: String
232
- keepData: Boolean
256
+ did: String
257
+ rootDid: String
258
+ keepData: Boolean
233
259
  }
234
260
 
235
261
  input RequestDeleteDomainAliasInput {
236
- id: String
237
- domainAlias: String
238
- teamDid: String
262
+ id: String
263
+ domainAlias: String
264
+ teamDid: String
239
265
  }
240
266
 
241
267
  input RequestDeleteNginxHttpsCertInput {
242
- id: String
268
+ id: String
243
269
  }
244
270
 
245
271
  input RequestDeletePermissionInput {
246
- teamDid: String
247
- name: String
272
+ teamDid: String
273
+ name: String
248
274
  }
249
275
 
250
276
  input RequestDeleteRoleInput {
251
- teamDid: String
252
- name: String
277
+ teamDid: String
278
+ name: String
253
279
  }
254
280
 
255
281
  input RequestDeleteRoutingRuleInput {
256
- id: String
257
- ruleId: String
258
- teamDid: String
282
+ id: String
283
+ ruleId: String
284
+ teamDid: String
259
285
  }
260
286
 
261
287
  input RequestDeleteRoutingSiteInput {
262
- id: String
288
+ id: String
263
289
  }
264
290
 
265
291
  input RequestDeleteTeamSessionInput {
266
- teamDid: String
267
- sessionId: String
292
+ teamDid: String
293
+ sessionId: String
268
294
  }
269
295
 
270
296
  input RequestDeleteWebHookInput {
271
- id: String
297
+ id: String
272
298
  }
273
299
 
274
300
  input RequestEndSessionInput {
275
- id: String
301
+ id: String
276
302
  }
277
303
 
278
304
  input RequestFindCertificateByDomainInput {
279
- domain: String
305
+ domain: String
280
306
  }
281
307
 
282
308
  input RequestGatewayInput {
283
- requestLimit: RequestLimitInput
309
+ requestLimit: RequestLimitInput
284
310
  }
285
311
 
286
312
  input RequestGetAuditLogsInput {
287
- paging: PagingInput
288
- scope: String
289
- category: String
313
+ paging: PagingInput
314
+ scope: String
315
+ category: String
290
316
  }
291
317
 
292
318
  input RequestGetBlockletsInput {
293
- useCache: Boolean
294
- query: BlockletQueryInput
319
+ useCache: Boolean
320
+ query: BlockletQueryInput
295
321
  }
296
322
 
297
323
  input RequestGetNotificationsInput {
298
- receiver: String
299
- sender: String
300
- read: Boolean
301
- paging: PagingInput
324
+ receiver: String
325
+ sender: String
326
+ read: Boolean
327
+ paging: PagingInput
302
328
  }
303
329
 
304
330
  input RequestGetPassportIssuancesInput {
305
- teamDid: String
306
- ownerDid: String
331
+ teamDid: String
332
+ ownerDid: String
307
333
  }
308
334
 
309
335
  input RequestGetRoutingSitesInput {
310
- snapshotHash: String
336
+ snapshotHash: String
311
337
  }
312
338
 
313
339
  input RequestGetRoutingSnapshotsInput {
314
- limit: Int32
340
+ limit: Int32
315
341
  }
316
342
 
317
343
  input RequestGetSessionInput {
318
- id: String
344
+ id: String
319
345
  }
320
346
 
321
347
  input RequestGetSnapshotSitesInput {
322
- hash: String
348
+ hash: String
323
349
  }
324
350
 
325
351
  input RequestGrantPermissionForRoleInput {
326
- teamDid: String
327
- roleName: String
328
- grantName: String
352
+ teamDid: String
353
+ roleName: String
354
+ grantName: String
329
355
  }
330
356
 
331
357
  input RequestHasPermissionInput {
332
- teamDid: String
333
- role: String
334
- permission: String
358
+ teamDid: String
359
+ role: String
360
+ permission: String
335
361
  }
336
362
 
337
363
  input RequestInstallComponentInput {
338
- rootDid: String
339
- mountPoint: String
340
- url: String
341
- file: Upload
342
- did: String
343
- diffVersion: String
344
- deleteSet: [String!]
345
- name: String
346
- title: String
347
- configs: [ConfigEntryInput!]
348
- downloadTokenList: [DownloadTokenInput!]
349
- skipNavigation: Boolean
364
+ rootDid: String
365
+ mountPoint: String
366
+ url: String
367
+ file: Upload
368
+ did: String
369
+ diffVersion: String
370
+ deleteSet: [String!]
371
+ name: String
372
+ title: String
373
+ configs: [ConfigEntryInput!]
374
+ downloadTokenList: [DownloadTokenInput!]
375
+ skipNavigation: Boolean
350
376
  }
351
377
 
352
378
  input RequestInstallFromVcInput {
353
- challenge: String
354
- vcPresentation: Any
379
+ challenge: String
380
+ vcPresentation: Any
355
381
  }
356
382
 
357
383
  input RequestIssuePassportToUserInput {
358
- teamDid: String
359
- userDid: String
360
- role: String
384
+ teamDid: String
385
+ userDid: String
386
+ role: String
361
387
  }
362
388
 
363
389
  input RequestLatestBlockletVersionInput {
364
- did: String
365
- version: String
390
+ did: String
391
+ version: String
366
392
  }
367
393
 
368
394
  input RequestLimitInput {
369
- enabled: Boolean
370
- rate: Uint32
371
- ipHeader: String
395
+ enabled: Boolean
396
+ rate: Uint32
397
+ ipHeader: String
372
398
  }
373
399
 
374
400
  input RequestNodeRoutingInput {
375
- provider: String
376
- snapshotHash: String
377
- forceRepopulate: Boolean
401
+ provider: String
402
+ snapshotHash: String
403
+ forceRepopulate: Boolean
378
404
  }
379
405
 
380
406
  input RequestReadNotificationsInput {
381
- id: String
407
+ id: String
382
408
  }
383
409
 
384
410
  input RequestResetNodeInput {
385
- owner: Boolean
386
- blocklets: Boolean
387
- webhooks: Boolean
388
- certificates: Boolean
389
- accessKeys: Boolean
390
- blockletExtras: Boolean
391
- routingRules: Boolean
392
- users: Boolean
393
- invitations: Boolean
411
+ owner: Boolean
412
+ blocklets: Boolean
413
+ webhooks: Boolean
414
+ certificates: Boolean
415
+ accessKeys: Boolean
416
+ blockletExtras: Boolean
417
+ routingRules: Boolean
418
+ users: Boolean
419
+ invitations: Boolean
394
420
  }
395
421
 
396
422
  input RequestRevokePermissionFromRoleInput {
397
- teamDid: String
398
- roleName: String
399
- grantName: String
423
+ teamDid: String
424
+ roleName: String
425
+ grantName: String
400
426
  }
401
427
 
402
428
  input RequestRevokeUserPassportInput {
403
- teamDid: String
404
- userDid: String
405
- passportId: String
429
+ teamDid: String
430
+ userDid: String
431
+ passportId: String
406
432
  }
407
433
 
408
434
  input RequestSendMsgInput {
409
- webhookId: String
410
- message: String
435
+ webhookId: String
436
+ message: String
411
437
  }
412
438
 
413
439
  input RequestStartSessionInput {
414
- data: String
440
+ data: String
415
441
  }
416
442
 
417
443
  input RequestTakeRoutingSnapshotInput {
418
- dryRun: Boolean
419
- message: String
444
+ dryRun: Boolean
445
+ message: String
420
446
  }
421
447
 
422
448
  input RequestTeamPermissionInput {
423
- teamDid: String
424
- permission: PermissionInput
449
+ teamDid: String
450
+ permission: PermissionInput
425
451
  }
426
452
 
427
453
  input RequestTeamRoleInput {
428
- teamDid: String
429
- role: RoleInput
454
+ teamDid: String
455
+ role: RoleInput
430
456
  }
431
457
 
432
458
  input RequestTeamUserInput {
433
- teamDid: String
434
- user: UserInfoInput
459
+ teamDid: String
460
+ user: UserInfoInput
435
461
  }
436
462
 
437
463
  input RequestUpdateAccessKeyInput {
438
- accessKeyId: String
439
- remark: String
440
- passport: String
464
+ accessKeyId: String
465
+ remark: String
466
+ passport: String
441
467
  }
442
468
 
443
469
  input RequestUpdateComponentMountPointInput {
444
- did: String
445
- rootDid: String
446
- mountPoint: String
470
+ did: String
471
+ rootDid: String
472
+ mountPoint: String
447
473
  }
448
474
 
449
475
  input RequestUpdateComponentTitleInput {
450
- did: String
451
- rootDid: String
452
- title: String
476
+ did: String
477
+ rootDid: String
478
+ title: String
453
479
  }
454
480
 
455
481
  input RequestUpdateComponentsInput {
456
- updateId: String
457
- rootDid: String
482
+ updateId: String
483
+ rootDid: String
458
484
  }
459
485
 
460
486
  input RequestUpdateNginxHttpsCertInput {
461
- id: String
462
- name: String
487
+ id: String
488
+ name: String
463
489
  }
464
490
 
465
491
  input RequestUpdatePermissionsForRoleInput {
466
- teamDid: String
467
- roleName: String
468
- grantNames: [String!]
492
+ teamDid: String
493
+ roleName: String
494
+ grantNames: [String!]
469
495
  }
470
496
 
471
497
  input RequestUpdateRoutingRuleInput {
472
- id: String
473
- rule: RoutingRuleInput
474
- teamDid: String
498
+ id: String
499
+ rule: RoutingRuleInput
500
+ teamDid: String
475
501
  }
476
502
 
477
503
  input RequestUpdateRoutingSiteInput {
478
- id: String
479
- corsAllowedOrigins: [String!]
480
- domain: String
481
- teamDid: String
504
+ id: String
505
+ corsAllowedOrigins: [String!]
506
+ domain: String
507
+ teamDid: String
482
508
  }
483
509
 
484
510
  input RequestUpdateSessionInput {
485
- id: String
486
- data: String
511
+ id: String
512
+ data: String
487
513
  }
488
514
 
489
515
  input RequestUpdateWhoCanAccessInput {
490
- did: [String!]
491
- whoCanAccess: String
516
+ did: [String !]
517
+ whoCanAccess: String
492
518
  }
493
519
 
494
520
  input RequestUpgradeBlockletInput {
495
- did: String
496
- storeUrl: String
521
+ did: String
522
+ storeUrl: String
497
523
  }
498
524
 
499
525
  input RequestUsersInput {
500
- teamDid: String
501
- query: UserQueryInput
502
- sort: UserSortInput
503
- paging: PagingInput
504
- dids: [String!]
526
+ teamDid: String
527
+ query: UserQueryInput
528
+ sort: UserSortInput
529
+ paging: PagingInput
530
+ dids: [String!]
505
531
  }
506
532
 
507
533
  input RequestVersionedBlockletInput {
508
- did: String
509
- storeUrl: String
510
- url: String
511
- file: Upload
512
- diffVersion: String
513
- deleteSet: [String!]
514
- title: String
515
- description: String
516
- startImmediately: Boolean
517
- downloadTokenList: [DownloadTokenInput!]
534
+ did: String
535
+ storeUrl: String
536
+ url: String
537
+ file: Upload
538
+ diffVersion: String
539
+ deleteSet: [String!]
540
+ title: String
541
+ description: String
542
+ startImmediately: Boolean
543
+ downloadTokenList: [DownloadTokenInput!]
518
544
  }
519
545
 
520
546
  input RequsetDeleteInvitationInput {
521
- teamDid: String
522
- inviteId: String
547
+ teamDid: String
548
+ inviteId: String
523
549
  }
524
550
 
525
551
  input RoleInput {
526
- name: String
527
- description: String
528
- grants: [String!]
529
- title: String
530
- isProtected: Boolean
552
+ name: String
553
+ description: String
554
+ grants: [String!]
555
+ title: String
556
+ isProtected: Boolean
531
557
  }
532
558
 
533
559
  input RoutingRuleInput {
534
- id: String
535
- from: RoutingRuleFromInput
536
- to: RoutingRuleToInput
537
- isProtected: Boolean
560
+ id: String
561
+ from: RoutingRuleFromInput
562
+ to: RoutingRuleToInput
563
+ isProtected: Boolean
564
+ services: [BlockletServiceInput!]
538
565
  }
539
566
 
540
567
  input RoutingRuleFromInput {
541
- pathPrefix: String
542
- header: [RoutingRuleHeaderInput!]
568
+ pathPrefix: String
569
+ header: [RoutingRuleHeaderInput!]
543
570
  }
544
571
 
545
572
  input RoutingRuleHeaderInput {
546
- key: String
547
- value: String
548
- type: HeaderMatchType
573
+ key: String
574
+ value: String
575
+ type: HeaderMatchType
549
576
  }
550
577
 
551
578
  input RoutingRuleToInput {
552
- port: Uint32
553
- type: BackendServiceType
554
- did: String
555
- url: String
556
- redirectCode: Int32
557
- interfaceName: String
558
- componentId: String
579
+ port: Uint32
580
+ type: BackendServiceType
581
+ did: String
582
+ url: String
583
+ redirectCode: Int32
584
+ interfaceName: String
585
+ componentId: String
559
586
  }
560
587
 
561
588
  input TeamInput {
562
- teamDid: String
589
+ teamDid: String
563
590
  }
564
591
 
565
592
  input TrustedPassportInput {
566
- issuerDid: String
567
- remark: String
568
- mappings: [TrustedPassportMappingInput!]
593
+ issuerDid: String
594
+ remark: String
595
+ mappings: [TrustedPassportMappingInput!]
569
596
  }
570
597
 
571
598
  input TrustedPassportMappingInput {
572
- from: TrustedPassportMappingFromInput
573
- to: TrustedPassportMappingToInput
599
+ from: TrustedPassportMappingFromInput
600
+ to: TrustedPassportMappingToInput
574
601
  }
575
602
 
576
603
  input TrustedPassportMappingFromInput {
577
- passport: String
604
+ passport: String
578
605
  }
579
606
 
580
607
  input TrustedPassportMappingToInput {
581
- role: String
608
+ role: String
582
609
  }
583
610
 
584
611
  input UserInfoInput {
585
- did: String
586
- pk: String
587
- role: String
588
- avatar: String
589
- fullName: String
590
- email: String
591
- approved: Boolean
592
- createdAt: String
593
- updatedAt: String
594
- locale: String
595
- passports: [PassportInput!]
596
- firstLoginAt: String
597
- lastLoginAt: String
598
- remark: String
612
+ did: String
613
+ pk: String
614
+ role: String
615
+ avatar: String
616
+ fullName: String
617
+ email: String
618
+ approved: Boolean
619
+ createdAt: String
620
+ updatedAt: String
621
+ locale: String
622
+ passports: [PassportInput!]
623
+ firstLoginAt: String
624
+ lastLoginAt: String
625
+ remark: String
599
626
  }
600
627
 
601
628
  input UserQueryInput {
602
- role: String
603
- approved: Boolean
604
- search: String
629
+ role: String
630
+ approved: Boolean
631
+ search: String
605
632
  }
606
633
 
607
634
  input UserSortInput {
608
- updatedAt: Int32
609
- createdAt: Int32
610
- lastLoginAt: Int32
635
+ updatedAt: Int32
636
+ createdAt: Int32
637
+ lastLoginAt: Int32
611
638
  }
612
639
 
613
640
  input WebHookParamInput {
614
- name: String
615
- description: String
616
- required: Boolean
617
- defaultValue: String
618
- value: String
619
- type: String
641
+ name: String
642
+ description: String
643
+ required: Boolean
644
+ defaultValue: String
645
+ value: String
646
+ type: String
620
647
  }
621
648
 
622
649
  input DownloadTokenInput {
623
- did: String
624
- token: String
650
+ did: String
651
+ token: String
625
652
  }
626
653
 
627
654
  type AccessKey {
628
- accessKeyId: String
629
- remark: String
630
- passport: String
631
- createdAt: String
632
- lastUsedAt: String
633
- createdBy: String
634
- updatedBy: String
655
+ accessKeyId: String
656
+ remark: String
657
+ passport: String
658
+ createdAt: String
659
+ lastUsedAt: String
660
+ createdBy: String
661
+ updatedBy: String
635
662
  }
636
663
 
637
664
  type AuditLog {
638
- id: String
639
- scope: String
640
- category: String
641
- action: String
642
- content: String
643
- actor: AuditLogActor
644
- env: AuditLogEnv
645
- createdAt: String
646
- ip: String
665
+ id: String
666
+ scope: String
667
+ category: String
668
+ action: String
669
+ content: String
670
+ actor: AuditLogActor
671
+ env: AuditLogEnv
672
+ createdAt: String
673
+ ip: String
647
674
  }
648
675
 
649
676
  type AuditLogActor {
650
- did: String
651
- role: String
652
- fullName: String
677
+ did: String
678
+ role: String
679
+ fullName: String
653
680
  }
654
681
 
655
682
  type AuditLogEnv {
656
- browser: AuditLogEnvItem
657
- os: AuditLogEnvItem
683
+ browser: AuditLogEnvItem
684
+ os: AuditLogEnvItem
658
685
  }
659
686
 
660
687
  type AuditLogEnvItem {
661
- name: String
662
- version: String
688
+ name: String
689
+ version: String
663
690
  }
664
691
 
665
692
  type BlockletCapabilities {
666
- clusterMode: Boolean
667
- component: Boolean
693
+ clusterMode: Boolean
694
+ component: Boolean
695
+ navigation: Boolean
668
696
  }
669
697
 
670
698
  type BlockletController {
671
- id: String
672
- nftId: String
673
- nftOwner: String
674
- expireDate: Uint32
699
+ id: String
700
+ nftId: String
701
+ nftOwner: String
702
+ expireDate: Uint32
675
703
  }
676
704
 
677
705
  type BlockletDiff {
678
- hasBlocklet: Boolean
679
- version: String
680
- addSet: [String!]
681
- changeSet: [String!]
682
- deleteSet: [String!]
706
+ hasBlocklet: Boolean
707
+ version: String
708
+ addSet: [String!]
709
+ changeSet: [String!]
710
+ deleteSet: [String!]
683
711
  }
684
712
 
685
713
  type BlockletDist {
686
- tarball: String
687
- integrity: String
714
+ tarball: String
715
+ integrity: String
688
716
  }
689
717
 
690
718
  type BlockletEngine {
691
- name: String
692
- displayName: String
693
- description: String
694
- version: String
695
- available: Boolean
696
- visible: Boolean
719
+ name: String
720
+ displayName: String
721
+ description: String
722
+ version: String
723
+ available: Boolean
724
+ visible: Boolean
697
725
  }
698
726
 
699
727
  type BlockletMeta {
700
- did: String
701
- name: String
702
- version: String
703
- description: String
704
- interfaces: [BlockletMetaInterface!]
705
- author: BlockletMetaPerson
706
- main: String
707
- stats: BlockletStats
708
- homepage: String
709
- price: Float32
710
- path: String
711
- community: String
712
- documentation: String
713
- support: String
714
- screenshots: [String!]
715
- keywords: [String!]
716
- group: String
717
- logo: String
718
- title: String
719
- dist: BlockletDist
720
- maintainers: [BlockletMetaPerson!]
721
- contributors: [BlockletMetaPerson!]
722
- repository: BlockletRepository
723
- payment: BlockletPayment
724
- nftFactory: String
725
- lastPublishedAt: String
726
- capabilities: BlockletCapabilities
727
- components: [ChildConfig!]
728
- environments: [Environment!]
729
- requirements: Requirement
730
- bundleDid: String
731
- bundleName: String
728
+ did: String
729
+ name: String
730
+ version: String
731
+ description: String
732
+ interfaces: [BlockletMetaInterface!]
733
+ author: BlockletMetaPerson
734
+ main: String
735
+ stats: BlockletStats
736
+ homepage: String
737
+ price: Float32
738
+ path: String
739
+ community: String
740
+ documentation: String
741
+ support: String
742
+ screenshots: [String!]
743
+ keywords: [String!]
744
+ group: String
745
+ logo: String
746
+ title: String
747
+ dist: BlockletDist
748
+ maintainers: [BlockletMetaPerson!]
749
+ contributors: [BlockletMetaPerson!]
750
+ repository: BlockletRepository
751
+ payment: BlockletPayment
752
+ nftFactory: String
753
+ lastPublishedAt: String
754
+ capabilities: BlockletCapabilities
755
+ components: [ChildConfig!]
756
+ environments: [Environment!]
757
+ requirements: Requirement
758
+ bundleDid: String
759
+ bundleName: String
760
+ navigation: [Any!]
732
761
  }
733
762
 
734
763
  type BlockletMetaInterface {
735
- type: String
736
- name: String
737
- path: String
738
- prefix: String
739
- protocol: String
740
- port: Any
741
- services: [BlockletMetaService!]
764
+ type: String
765
+ name: String
766
+ path: String
767
+ prefix: String
768
+ protocol: String
769
+ port: Any
770
+ services: [BlockletMetaService!]
742
771
  }
743
772
 
744
773
  type BlockletMetaPerson {
745
- name: String
746
- email: String
747
- url: String
774
+ name: String
775
+ email: String
776
+ url: String
748
777
  }
749
778
 
750
779
  type BlockletMetaService {
751
- name: String
752
- config: Any
780
+ name: String
781
+ config: Any
753
782
  }
754
783
 
755
784
  type BlockletPayment {
756
- price: [BlockletPaymentPrice!]
757
- share: [BlockletPaymentShare!]
785
+ price: [BlockletPaymentPrice!]
786
+ share: [BlockletPaymentShare!]
758
787
  }
759
788
 
760
789
  type BlockletPaymentPrice {
761
- address: String
762
- value: String
763
- symbol: String
790
+ address: String
791
+ value: String
792
+ symbol: String
764
793
  }
765
794
 
766
795
  type BlockletPaymentShare {
767
- address: String
768
- name: String
769
- value: String
796
+ address: String
797
+ name: String
798
+ value: String
770
799
  }
771
800
 
772
801
  type BlockletPreUpdateInfo {
773
- updateId: String
774
- updateList: [UpdateList!]
802
+ updateId: String
803
+ updateList: [UpdateList!]
775
804
  }
776
805
 
777
806
  type BlockletRepository {
778
- type: String
779
- url: String
807
+ type: String
808
+ url: String
809
+ }
810
+
811
+ type BlockletService {
812
+ name: String
813
+ description: String
814
+ version: String
815
+ config: String
816
+ schema: String
780
817
  }
781
818
 
782
819
  type BlockletSettings {
783
- initialized: Boolean
784
- enablePassportIssuance: Boolean
785
- trustedPassports: [TrustedPassport!]
786
- whoCanAccess: String
787
- owner: WalletInfo
788
- children: [DeletedBlockletState!]
789
- publicToStore: Boolean
790
- storeList: [BlockletStore!]
820
+ initialized: Boolean
821
+ enablePassportIssuance: Boolean
822
+ trustedPassports: [TrustedPassport!]
823
+ whoCanAccess: String
824
+ owner: WalletInfo
825
+ children: [DeletedBlockletState!]
826
+ publicToStore: Boolean
827
+ storeList: [BlockletStore!]
828
+ navigations: [ConfigNavigation!]
791
829
  }
792
830
 
793
831
  type BlockletState {
794
- meta: BlockletMeta
795
- status: BlockletStatus
796
- createdAt: String
797
- installedAt: String
798
- startedAt: String
799
- pausedAt: String
800
- stoppedAt: String
801
- environments: [ConfigEntry!]
802
- configs: [ConfigEntry!]
803
- diskInfo: DiskInfo
804
- runtimeInfo: RuntimeInfo
805
- source: BlockletSource
806
- deployedFrom: String
807
- bundleSource: Any
808
- port: Float32
809
- engine: BlockletEngine
810
- mode: String
811
- ports: Any
812
- children: [ComponentState!]
813
- trustedPassports: [TrustedPassport!]
814
- enablePassportIssuance: Boolean
815
- dynamic: Boolean
816
- mountPoint: String
817
- settings: BlockletSettings
818
- appDid: String
819
- site: RoutingSite
820
- controller: BlockletController
832
+ meta: BlockletMeta
833
+ status: BlockletStatus
834
+ createdAt: String
835
+ installedAt: String
836
+ startedAt: String
837
+ pausedAt: String
838
+ stoppedAt: String
839
+ environments: [ConfigEntry!]
840
+ configs: [ConfigEntry!]
841
+ diskInfo: DiskInfo
842
+ runtimeInfo: RuntimeInfo
843
+ source: BlockletSource
844
+ deployedFrom: String
845
+ bundleSource: Any
846
+ port: Float32
847
+ engine: BlockletEngine
848
+ mode: String
849
+ ports: Any
850
+ children: [ComponentState!]
851
+ trustedPassports: [TrustedPassport!]
852
+ enablePassportIssuance: Boolean
853
+ dynamic: Boolean
854
+ mountPoint: String
855
+ settings: BlockletSettings
856
+ appDid: String
857
+ site: RoutingSite
858
+ controller: BlockletController
821
859
  }
822
860
 
823
861
  type BlockletStats {
824
- downloads: Float32
825
- star: Float32
826
- purchases: Float32
862
+ downloads: Float32
863
+ star: Float32
864
+ purchases: Float32
827
865
  }
828
866
 
829
867
  type BlockletStore {
830
- name: String
831
- description: String
832
- url: String
833
- logoUrl: String
834
- maintainer: String
835
- cdnUrl: String
836
- protected: Boolean
837
- id: String
868
+ name: String
869
+ description: String
870
+ url: String
871
+ logoUrl: String
872
+ maintainer: String
873
+ cdnUrl: String
874
+ protected: Boolean
875
+ id: String
838
876
  }
839
877
 
840
878
  type BooleanResponse {
841
- code: StatusCode
842
- result: Boolean
879
+ code: StatusCode
880
+ result: Boolean
843
881
  }
844
882
 
845
883
  type Certificate {
846
- name: String
847
- domain: String
848
- id: String
849
- meta: CertificateMeta
850
- matchedSites: [MatchedSites!]
851
- createdAt: String
852
- updatedAt: String
853
- isProtected: Boolean
854
- source: String
855
- status: String
884
+ name: String
885
+ domain: String
886
+ id: String
887
+ meta: CertificateMeta
888
+ matchedSites: [MatchedSites!]
889
+ createdAt: String
890
+ updatedAt: String
891
+ isProtected: Boolean
892
+ source: String
893
+ status: String
856
894
  }
857
895
 
858
896
  type CertificateIssuer {
859
- countryName: String
860
- organizationName: String
861
- commonName: String
897
+ countryName: String
898
+ organizationName: String
899
+ commonName: String
862
900
  }
863
901
 
864
902
  type CertificateMeta {
865
- issuer: CertificateIssuer
866
- sans: [String!]
867
- validFrom: Int64
868
- validTo: Int64
869
- fingerprintAlg: String
870
- fingerprint: String
871
- validityPeriod: Int64
903
+ issuer: CertificateIssuer
904
+ sans: [String!]
905
+ validFrom: Int64
906
+ validTo: Int64
907
+ fingerprintAlg: String
908
+ fingerprint: String
909
+ validityPeriod: Int64
872
910
  }
873
911
 
874
912
  type ChildConfig {
875
- name: String
876
- mountPoint: String
913
+ name: String
914
+ mountPoint: String
877
915
  }
878
916
 
879
917
  type ComponentState {
880
- meta: BlockletMeta
881
- status: BlockletStatus
882
- createdAt: String
883
- installedAt: String
884
- startedAt: String
885
- pausedAt: String
886
- stoppedAt: String
887
- environments: [ConfigEntry!]
888
- configs: [ConfigEntry!]
889
- diskInfo: DiskInfo
890
- runtimeInfo: RuntimeInfo
891
- source: BlockletSource
892
- deployedFrom: String
893
- bundleSource: Any
894
- port: Float32
895
- engine: BlockletEngine
896
- mode: String
897
- ports: Any
898
- children: [ComponentState!]
899
- dynamic: Boolean
900
- mountPoint: String
918
+ meta: BlockletMeta
919
+ status: BlockletStatus
920
+ createdAt: String
921
+ installedAt: String
922
+ startedAt: String
923
+ pausedAt: String
924
+ stoppedAt: String
925
+ environments: [ConfigEntry!]
926
+ configs: [ConfigEntry!]
927
+ diskInfo: DiskInfo
928
+ runtimeInfo: RuntimeInfo
929
+ source: BlockletSource
930
+ deployedFrom: String
931
+ bundleSource: Any
932
+ port: Float32
933
+ engine: BlockletEngine
934
+ mode: String
935
+ ports: Any
936
+ children: [ComponentState!]
937
+ dynamic: Boolean
938
+ mountPoint: String
901
939
  }
902
940
 
903
941
  type ConfigEntry {
904
- key: String
905
- value: String
906
- required: Boolean
907
- description: String
908
- validation: String
909
- secure: Boolean
910
- custom: Boolean
911
- shared: Boolean
942
+ key: String
943
+ value: String
944
+ required: Boolean
945
+ description: String
946
+ validation: String
947
+ secure: Boolean
948
+ custom: Boolean
949
+ shared: Boolean
950
+ }
951
+
952
+ type ConfigNavigation {
953
+ id: String
954
+ title: String
955
+ link: String
956
+ icon: String
957
+ section: String
958
+ component: String
959
+ parent: String
960
+ role: String
961
+ visible: Boolean
962
+ from: String
912
963
  }
913
964
 
914
965
  type CreateAccessKey {
915
- accessKeyId: String
916
- accessKeySecret: String
917
- remark: String
918
- passport: String
919
- createdAt: String
920
- lastUsedAt: String
966
+ accessKeyId: String
967
+ accessKeySecret: String
968
+ remark: String
969
+ passport: String
970
+ createdAt: String
971
+ lastUsedAt: String
921
972
  }
922
973
 
923
974
  type DelegationState {
924
- delegated: Boolean
975
+ delegated: Boolean
925
976
  }
926
977
 
927
978
  type DeletedBlockletMeta {
928
- did: String
929
- name: String
930
- version: String
931
- description: String
932
- title: String
933
- bundleDid: String
934
- bundleName: String
979
+ did: String
980
+ name: String
981
+ version: String
982
+ description: String
983
+ title: String
984
+ bundleDid: String
985
+ bundleName: String
935
986
  }
936
987
 
937
988
  type DeletedBlockletState {
938
- meta: DeletedBlockletMeta
939
- status: BlockletStatus
940
- deployedFrom: String
941
- mountPoint: String
942
- deletedAt: String
989
+ meta: DeletedBlockletMeta
990
+ status: BlockletStatus
991
+ deployedFrom: String
992
+ mountPoint: String
993
+ deletedAt: String
943
994
  }
944
995
 
945
996
  type DiskInfo {
946
- app: Float32
947
- data: Float32
948
- log: Float32
949
- cache: Float32
950
- blocklets: Float32
997
+ app: Float32
998
+ data: Float32
999
+ log: Float32
1000
+ cache: Float32
1001
+ blocklets: Float32
951
1002
  }
952
1003
 
953
1004
  type Environment {
954
- name: String
955
- description: String
956
- default: String
957
- required: Boolean
958
- secure: Boolean
959
- validation: String
960
- shared: Boolean
1005
+ name: String
1006
+ description: String
1007
+ default: String
1008
+ required: Boolean
1009
+ secure: Boolean
1010
+ validation: String
1011
+ shared: Boolean
961
1012
  }
962
1013
 
963
1014
  type Fuel {
964
- endpoint: String
965
- address: String
966
- value: String
967
- reason: String
1015
+ endpoint: String
1016
+ address: String
1017
+ value: String
1018
+ reason: String
968
1019
  }
969
1020
 
970
1021
  type Gateway {
971
- requestLimit: RequestLimit
1022
+ requestLimit: RequestLimit
972
1023
  }
973
1024
 
974
1025
  type GeneralResponse {
975
- code: StatusCode
1026
+ code: StatusCode
976
1027
  }
977
1028
 
978
1029
  type IPInfo {
979
- internalV4: String
980
- externalV4: String
981
- internalV6: String
982
- externalV6: String
1030
+ internalV4: String
1031
+ externalV4: String
1032
+ internalV6: String
1033
+ externalV6: String
983
1034
  }
984
1035
 
985
1036
  type InviteInfo {
986
- inviteId: String
987
- role: String
988
- remark: String
989
- expireDate: String
990
- inviter: UserInfo
991
- teamDid: String
992
- interfaceName: String
1037
+ inviteId: String
1038
+ role: String
1039
+ remark: String
1040
+ expireDate: String
1041
+ inviter: UserInfo
1042
+ teamDid: String
1043
+ interfaceName: String
993
1044
  }
994
1045
 
995
1046
  type Issuer {
996
- id: String
997
- name: String
998
- pk: String
1047
+ id: String
1048
+ name: String
1049
+ pk: String
999
1050
  }
1000
1051
 
1001
1052
  type KeyValue {
1002
- key: String
1003
- value: Any
1053
+ key: String
1054
+ value: Any
1004
1055
  }
1005
1056
 
1006
1057
  type LatestBlockletVersion {
1007
- did: String
1008
- version: String
1009
- registryUrl: String
1058
+ did: String
1059
+ version: String
1060
+ registryUrl: String
1010
1061
  }
1011
1062
 
1012
1063
  type LauncherInfo {
1013
- did: String
1014
- type: String
1015
- provider: String
1016
- url: String
1017
- tag: String
1018
- chainHost: String
1064
+ did: String
1065
+ type: String
1066
+ provider: String
1067
+ url: String
1068
+ tag: String
1069
+ chainHost: String
1019
1070
  }
1020
1071
 
1021
1072
  type MatchedSites {
1022
- id: String
1023
- domain: String
1073
+ id: String
1074
+ domain: String
1024
1075
  }
1025
1076
 
1026
1077
  type NodeEnvInfo {
1027
- ip: IPInfo
1028
- os: String
1029
- location: String
1030
- docker: Boolean
1031
- image: Boolean
1032
- blockletEngines: [BlockletEngine!]
1033
- gitpod: Boolean
1034
- disk: DiskInfo
1078
+ ip: IPInfo
1079
+ os: String
1080
+ location: String
1081
+ docker: Boolean
1082
+ image: Boolean
1083
+ blockletEngines: [BlockletEngine!]
1084
+ gitpod: Boolean
1085
+ disk: DiskInfo
1035
1086
  }
1036
1087
 
1037
1088
  type NodeRouting {
1038
- provider: String
1039
- snapshotHash: String
1040
- adminPath: String
1041
- requestLimit: RequestLimit
1089
+ provider: String
1090
+ snapshotHash: String
1091
+ adminPath: String
1092
+ requestLimit: RequestLimit
1042
1093
  }
1043
1094
 
1044
1095
  type NodeState {
1045
- did: String
1046
- pk: String
1047
- version: String
1048
- name: String
1049
- description: String
1050
- port: String
1051
- initialized: Boolean
1052
- nodeOwner: WalletInfo
1053
- createdAt: String
1054
- startedAt: String
1055
- initializedAt: String
1056
- mode: String
1057
- routing: NodeRouting
1058
- environments: [ConfigEntry!]
1059
- uptime: Float32
1060
- autoUpgrade: Boolean
1061
- nextVersion: String
1062
- upgradeSessionId: String
1063
- registerUrl: String
1064
- enableWelcomePage: Boolean
1065
- webWalletUrl: String
1066
- blockletRegistryList: [BlockletStore!]
1067
- ownerNft: OwnerNft
1068
- diskAlertThreshold: Uint32
1069
- trustedPassports: [TrustedPassport!]
1070
- launcher: LauncherInfo
1071
- enablePassportIssuance: Boolean
1072
- didRegistry: String
1073
- didDomain: String
1096
+ did: String
1097
+ pk: String
1098
+ version: String
1099
+ name: String
1100
+ description: String
1101
+ port: String
1102
+ initialized: Boolean
1103
+ nodeOwner: WalletInfo
1104
+ createdAt: String
1105
+ startedAt: String
1106
+ initializedAt: String
1107
+ mode: String
1108
+ routing: NodeRouting
1109
+ environments: [ConfigEntry!]
1110
+ uptime: Float32
1111
+ autoUpgrade: Boolean
1112
+ nextVersion: String
1113
+ upgradeSessionId: String
1114
+ registerUrl: String
1115
+ enableWelcomePage: Boolean
1116
+ webWalletUrl: String
1117
+ blockletRegistryList: [BlockletStore!]
1118
+ ownerNft: OwnerNft
1119
+ diskAlertThreshold: Uint32
1120
+ trustedPassports: [TrustedPassport!]
1121
+ launcher: LauncherInfo
1122
+ enablePassportIssuance: Boolean
1123
+ didRegistry: String
1124
+ didDomain: String
1074
1125
  }
1075
1126
 
1076
1127
  type Notification {
1077
- sender: String
1078
- receiver: String
1079
- title: String
1080
- description: String
1081
- action: String
1082
- entityType: String
1083
- entityId: String
1084
- read: Boolean
1085
- createdAt: String
1086
- updatedAt: String
1087
- id: String
1088
- severity: String
1128
+ sender: String
1129
+ receiver: String
1130
+ title: String
1131
+ description: String
1132
+ action: String
1133
+ entityType: String
1134
+ entityId: String
1135
+ read: Boolean
1136
+ createdAt: String
1137
+ updatedAt: String
1138
+ id: String
1139
+ severity: String
1089
1140
  }
1090
1141
 
1091
1142
  type OwnerNft {
1092
- did: String
1093
- holder: String
1094
- issuer: String
1143
+ did: String
1144
+ holder: String
1145
+ issuer: String
1095
1146
  }
1096
1147
 
1097
1148
  type Paging {
1098
- total: Uint32
1099
- pageSize: Uint32
1100
- pageCount: Uint32
1101
- page: Uint32
1149
+ total: Uint32
1150
+ pageSize: Uint32
1151
+ pageCount: Uint32
1152
+ page: Uint32
1102
1153
  }
1103
1154
 
1104
1155
  type Passport {
1105
- id: String
1106
- name: String
1107
- title: String
1108
- issuer: Issuer
1109
- type: [String!]
1110
- issuanceDate: String
1111
- expirationDate: String
1112
- status: String
1113
- role: String
1156
+ id: String
1157
+ name: String
1158
+ title: String
1159
+ issuer: Issuer
1160
+ type: [String!]
1161
+ issuanceDate: String
1162
+ expirationDate: String
1163
+ status: String
1164
+ role: String
1114
1165
  }
1115
1166
 
1116
1167
  type PassportIssuanceInfo {
1117
- id: String
1118
- name: String
1119
- title: String
1120
- expireDate: String
1121
- teamDid: String
1122
- ownerDid: String
1168
+ id: String
1169
+ name: String
1170
+ title: String
1171
+ expireDate: String
1172
+ teamDid: String
1173
+ ownerDid: String
1123
1174
  }
1124
1175
 
1125
1176
  type Permission {
1126
- name: String
1127
- description: String
1128
- isProtected: Boolean
1177
+ name: String
1178
+ description: String
1179
+ isProtected: Boolean
1129
1180
  }
1130
1181
 
1131
1182
  type RequestLimit {
1132
- enabled: Boolean
1133
- rate: Uint32
1134
- ipHeader: String
1183
+ enabled: Boolean
1184
+ rate: Uint32
1185
+ ipHeader: String
1135
1186
  }
1136
1187
 
1137
1188
  type Requirement {
1138
- server: String
1139
- os: Any
1140
- cpu: Any
1141
- fuels: [Fuel!]
1189
+ server: String
1190
+ os: Any
1191
+ cpu: Any
1192
+ fuels: [Fuel!]
1142
1193
  }
1143
1194
 
1144
1195
  type ResponseAccessKeys {
1145
- code: StatusCode
1146
- list: [AccessKey!]
1196
+ code: StatusCode
1197
+ list: [AccessKey!]
1147
1198
  }
1148
1199
 
1149
1200
  type ResponseAddLetsEncryptCert {
1150
- code: StatusCode
1201
+ code: StatusCode
1151
1202
  }
1152
1203
 
1153
1204
  type ResponseAddNginxHttpsCert {
1154
- code: StatusCode
1205
+ code: StatusCode
1155
1206
  }
1156
1207
 
1157
1208
  type ResponseBlocklet {
1158
- code: StatusCode
1159
- blocklet: BlockletState
1209
+ code: StatusCode
1210
+ blocklet: BlockletState
1160
1211
  }
1161
1212
 
1162
1213
  type ResponseBlockletDiff {
1163
- code: StatusCode
1164
- blockletDiff: BlockletDiff
1214
+ code: StatusCode
1215
+ blockletDiff: BlockletDiff
1165
1216
  }
1166
1217
 
1167
1218
  type ResponseBlockletInfo {
1168
- code: StatusCode
1169
- blockletDid: String
1170
- isExternal: Boolean
1171
- isInstalled: Boolean
1172
- isRunning: Boolean
1219
+ code: StatusCode
1220
+ blockletDid: String
1221
+ isExternal: Boolean
1222
+ isInstalled: Boolean
1223
+ isRunning: Boolean
1173
1224
  }
1174
1225
 
1175
1226
  type ResponseBlockletMeta {
1176
- code: StatusCode
1177
- meta: Any
1227
+ code: StatusCode
1228
+ meta: Any
1178
1229
  }
1179
1230
 
1180
1231
  type ResponseBlockletMetaFromUrl {
1181
- code: StatusCode
1182
- meta: BlockletMeta
1183
- isFree: Boolean
1184
- inStore: Boolean
1185
- registryUrl: String
1232
+ code: StatusCode
1233
+ meta: BlockletMeta
1234
+ isFree: Boolean
1235
+ inStore: Boolean
1236
+ registryUrl: String
1186
1237
  }
1187
1238
 
1188
1239
  type ResponseCheckComponentsForUpdates {
1189
- code: StatusCode
1190
- preUpdateInfo: BlockletPreUpdateInfo
1240
+ code: StatusCode
1241
+ preUpdateInfo: BlockletPreUpdateInfo
1191
1242
  }
1192
1243
 
1193
1244
  type ResponseCheckDomains {
1194
- code: StatusCode
1245
+ code: StatusCode
1195
1246
  }
1196
1247
 
1197
1248
  type ResponseCheckNodeVersion {
1198
- code: StatusCode
1199
- version: String
1249
+ code: StatusCode
1250
+ version: String
1200
1251
  }
1201
1252
 
1202
1253
  type ResponseCreateAccessKey {
1203
- code: StatusCode
1204
- data: CreateAccessKey
1254
+ code: StatusCode
1255
+ data: CreateAccessKey
1205
1256
  }
1206
1257
 
1207
1258
  type ResponseCreateInvitation {
1208
- code: StatusCode
1209
- inviteInfo: InviteInfo
1259
+ code: StatusCode
1260
+ inviteInfo: InviteInfo
1210
1261
  }
1211
1262
 
1212
1263
  type ResponseCreatePassportIssuance {
1213
- code: StatusCode
1214
- info: PassportIssuanceInfo
1264
+ code: StatusCode
1265
+ info: PassportIssuanceInfo
1215
1266
  }
1216
1267
 
1217
1268
  type ResponseCreateTransferNodeInvitation {
1218
- code: StatusCode
1219
- inviteInfo: InviteInfo
1269
+ code: StatusCode
1270
+ inviteInfo: InviteInfo
1220
1271
  }
1221
1272
 
1222
1273
  type ResponseCreateWebHook {
1223
- code: StatusCode
1224
- webhook: WebHookSender
1274
+ code: StatusCode
1275
+ webhook: WebHookSender
1225
1276
  }
1226
1277
 
1227
1278
  type ResponseDelegationState {
1228
- code: StatusCode
1229
- state: DelegationState
1279
+ code: StatusCode
1280
+ state: DelegationState
1230
1281
  }
1231
1282
 
1232
1283
  type ResponseDeleteAccessKey {
1233
- code: StatusCode
1284
+ code: StatusCode
1234
1285
  }
1235
1286
 
1236
1287
  type ResponseDeleteNginxHttpsCert {
1237
- code: StatusCode
1288
+ code: StatusCode
1238
1289
  }
1239
1290
 
1240
1291
  type ResponseDeleteWebHook {
1241
- code: StatusCode
1292
+ code: StatusCode
1242
1293
  }
1243
1294
 
1244
1295
  type ResponseFindCertificateByDomain {
1245
- code: StatusCode
1246
- cert: Certificate
1296
+ code: StatusCode
1297
+ cert: Certificate
1247
1298
  }
1248
1299
 
1249
1300
  type ResponseGateway {
1250
- code: StatusCode
1251
- gateway: Gateway
1301
+ code: StatusCode
1302
+ gateway: Gateway
1252
1303
  }
1253
1304
 
1254
1305
  type ResponseGetAuditLogs {
1255
- code: StatusCode
1256
- list: [AuditLog!]
1257
- paging: Paging
1306
+ code: StatusCode
1307
+ list: [AuditLog!]
1308
+ paging: Paging
1258
1309
  }
1259
1310
 
1260
1311
  type ResponseGetBlocklets {
1261
- code: StatusCode
1262
- blocklets: [BlockletState!]
1312
+ code: StatusCode
1313
+ blocklets: [BlockletState!]
1263
1314
  }
1264
1315
 
1265
1316
  type ResponseGetCertificates {
1266
- code: StatusCode
1267
- certificates: [Certificate!]
1317
+ code: StatusCode
1318
+ certificates: [Certificate!]
1268
1319
  }
1269
1320
 
1270
1321
  type ResponseGetInvitations {
1271
- code: StatusCode
1272
- invitations: [InviteInfo!]
1322
+ code: StatusCode
1323
+ invitations: [InviteInfo!]
1273
1324
  }
1274
1325
 
1275
1326
  type ResponseGetNodeEnv {
1276
- code: StatusCode
1277
- info: NodeEnvInfo
1327
+ code: StatusCode
1328
+ info: NodeEnvInfo
1278
1329
  }
1279
1330
 
1280
1331
  type ResponseGetNodeInfo {
1281
- code: StatusCode
1282
- info: NodeState
1332
+ code: StatusCode
1333
+ info: NodeState
1283
1334
  }
1284
1335
 
1285
1336
  type ResponseGetNotifications {
1286
- code: StatusCode
1287
- list: [Notification!]
1288
- paging: Paging
1337
+ code: StatusCode
1338
+ list: [Notification!]
1339
+ paging: Paging
1289
1340
  }
1290
1341
 
1291
1342
  type ResponseGetPassportIssuances {
1292
- code: StatusCode
1293
- list: [PassportIssuanceInfo!]
1343
+ code: StatusCode
1344
+ list: [PassportIssuanceInfo!]
1294
1345
  }
1295
1346
 
1296
1347
  type ResponseGetRoutingProviders {
1297
- code: StatusCode
1298
- providers: [RoutingProvider!]
1348
+ code: StatusCode
1349
+ providers: [RoutingProvider!]
1299
1350
  }
1300
1351
 
1301
1352
  type ResponseGetRoutingSites {
1302
- code: StatusCode
1303
- sites: [RoutingSite!]
1353
+ code: StatusCode
1354
+ sites: [RoutingSite!]
1304
1355
  }
1305
1356
 
1306
1357
  type ResponseGetRoutingSnapshots {
1307
- code: StatusCode
1308
- snapshots: [RoutingSnapshot!]
1358
+ code: StatusCode
1359
+ snapshots: [RoutingSnapshot!]
1360
+ }
1361
+
1362
+ type ResponseGetServices {
1363
+ code: StatusCode
1364
+ services: [BlockletService!]
1309
1365
  }
1310
1366
 
1311
1367
  type ResponseGetSession {
1312
- code: StatusCode
1313
- session: Any
1368
+ code: StatusCode
1369
+ session: Any
1314
1370
  }
1315
1371
 
1316
1372
  type ResponseGetSnapshotSites {
1317
- code: StatusCode
1318
- sites: [RoutingSite!]
1373
+ code: StatusCode
1374
+ sites: [RoutingSite!]
1319
1375
  }
1320
1376
 
1321
1377
  type ResponseGetUsersCountPerRole {
1322
- code: StatusCode
1323
- counts: [KeyValue!]
1378
+ code: StatusCode
1379
+ counts: [KeyValue!]
1324
1380
  }
1325
1381
 
1326
1382
  type ResponseInstallFromVc {
1327
- code: StatusCode
1328
- blocklet: BlockletState
1383
+ code: StatusCode
1384
+ blocklet: BlockletState
1329
1385
  }
1330
1386
 
1331
1387
  type ResponseLatestBlockletVersion {
1332
- code: StatusCode
1333
- data: LatestBlockletVersion
1388
+ code: StatusCode
1389
+ data: LatestBlockletVersion
1334
1390
  }
1335
1391
 
1336
1392
  type ResponsePermission {
1337
- code: StatusCode
1338
- permission: Permission
1393
+ code: StatusCode
1394
+ permission: Permission
1339
1395
  }
1340
1396
 
1341
1397
  type ResponsePermissions {
1342
- code: StatusCode
1343
- permissions: [Permission!]
1398
+ code: StatusCode
1399
+ permissions: [Permission!]
1344
1400
  }
1345
1401
 
1346
1402
  type ResponseReadNotifications {
1347
- code: StatusCode
1348
- numAffected: Int32
1403
+ code: StatusCode
1404
+ numAffected: Int32
1349
1405
  }
1350
1406
 
1351
1407
  type ResponseResetNode {
1352
- code: StatusCode
1408
+ code: StatusCode
1353
1409
  }
1354
1410
 
1355
1411
  type ResponseRole {
1356
- code: StatusCode
1357
- role: Role
1412
+ code: StatusCode
1413
+ role: Role
1358
1414
  }
1359
1415
 
1360
1416
  type ResponseRoles {
1361
- code: StatusCode
1362
- roles: [Role!]
1417
+ code: StatusCode
1418
+ roles: [Role!]
1363
1419
  }
1364
1420
 
1365
1421
  type ResponseRoutingSite {
1366
- code: StatusCode
1367
- site: RoutingSite
1422
+ code: StatusCode
1423
+ site: RoutingSite
1368
1424
  }
1369
1425
 
1370
1426
  type ResponseSendMsg {
1371
- code: StatusCode
1427
+ code: StatusCode
1372
1428
  }
1373
1429
 
1374
1430
  type ResponseSenderList {
1375
- code: StatusCode
1376
- senders: [WebHookSender!]
1431
+ code: StatusCode
1432
+ senders: [WebHookSender!]
1377
1433
  }
1378
1434
 
1379
1435
  type ResponseTakeRoutingSnapshot {
1380
- code: StatusCode
1381
- hash: String
1436
+ code: StatusCode
1437
+ hash: String
1382
1438
  }
1383
1439
 
1384
1440
  type ResponseUpdateAccessKey {
1385
- code: StatusCode
1386
- data: AccessKey
1441
+ code: StatusCode
1442
+ data: AccessKey
1387
1443
  }
1388
1444
 
1389
1445
  type ResponseUpdateNginxHttpsCert {
1390
- code: StatusCode
1446
+ code: StatusCode
1391
1447
  }
1392
1448
 
1393
1449
  type ResponseUpgradeNodeVersion {
1394
- code: StatusCode
1395
- sessionId: String
1450
+ code: StatusCode
1451
+ sessionId: String
1396
1452
  }
1397
1453
 
1398
1454
  type ResponseUser {
1399
- code: StatusCode
1400
- user: UserInfo
1455
+ code: StatusCode
1456
+ user: UserInfo
1401
1457
  }
1402
1458
 
1403
1459
  type ResponseUsers {
1404
- code: StatusCode
1405
- users: [UserInfo!]
1406
- paging: Paging
1460
+ code: StatusCode
1461
+ users: [UserInfo!]
1462
+ paging: Paging
1407
1463
  }
1408
1464
 
1409
1465
  type ResponseWebHooks {
1410
- code: StatusCode
1411
- webhooks: [WebHookRecord!]
1466
+ code: StatusCode
1467
+ webhooks: [WebHookRecord!]
1412
1468
  }
1413
1469
 
1414
1470
  type Role {
1415
- name: String
1416
- description: String
1417
- grants: [String!]
1418
- title: String
1419
- isProtected: Boolean
1471
+ name: String
1472
+ description: String
1473
+ grants: [String!]
1474
+ title: String
1475
+ isProtected: Boolean
1420
1476
  }
1421
1477
 
1422
1478
  type RoutingProvider {
1423
- name: String
1424
- description: String
1425
- running: Boolean
1426
- available: Boolean
1427
- error: String
1479
+ name: String
1480
+ description: String
1481
+ running: Boolean
1482
+ available: Boolean
1483
+ error: String
1428
1484
  }
1429
1485
 
1430
1486
  type RoutingRule {
1431
- id: String
1432
- from: RoutingRuleFrom
1433
- to: RoutingRuleTo
1434
- isProtected: Boolean
1487
+ id: String
1488
+ from: RoutingRuleFrom
1489
+ to: RoutingRuleTo
1490
+ isProtected: Boolean
1491
+ services: [BlockletService!]
1435
1492
  }
1436
1493
 
1437
1494
  type RoutingRuleFrom {
1438
- pathPrefix: String
1439
- header: [RoutingRuleHeader!]
1495
+ pathPrefix: String
1496
+ header: [RoutingRuleHeader!]
1440
1497
  }
1441
1498
 
1442
1499
  type RoutingRuleHeader {
1443
- key: String
1444
- value: String
1445
- type: HeaderMatchType
1500
+ key: String
1501
+ value: String
1502
+ type: HeaderMatchType
1446
1503
  }
1447
1504
 
1448
1505
  type RoutingRuleTo {
1449
- port: Uint32
1450
- type: BackendServiceType
1451
- did: String
1452
- url: String
1453
- redirectCode: Int32
1454
- interfaceName: String
1455
- componentId: String
1506
+ port: Uint32
1507
+ type: BackendServiceType
1508
+ did: String
1509
+ url: String
1510
+ redirectCode: Int32
1511
+ interfaceName: String
1512
+ componentId: String
1456
1513
  }
1457
1514
 
1458
1515
  type RoutingSite {
1459
- id: String
1460
- domain: String
1461
- domainAliases: [Any!]
1462
- rules: [RoutingRule!]
1463
- isProtected: Boolean
1464
- corsAllowedOrigins: [String!]
1516
+ id: String
1517
+ domain: String
1518
+ domainAliases: [Any!]
1519
+ rules: [RoutingRule!]
1520
+ isProtected: Boolean
1521
+ corsAllowedOrigins: [String!]
1465
1522
  }
1466
1523
 
1467
1524
  type RoutingSnapshot {
1468
- hash: String
1469
- tree: String
1470
- message: String
1471
- author: String
1472
- createdAt: String
1525
+ hash: String
1526
+ tree: String
1527
+ message: String
1528
+ author: String
1529
+ createdAt: String
1473
1530
  }
1474
1531
 
1475
1532
  type RuntimeInfo {
1476
- pid: String
1477
- port: String
1478
- uptime: String
1479
- memoryUsage: Float32
1480
- cpuUsage: Float32
1533
+ pid: String
1534
+ port: String
1535
+ uptime: String
1536
+ memoryUsage: Float32
1537
+ cpuUsage: Float32
1481
1538
  }
1482
1539
 
1483
1540
  type TrustedPassport {
1484
- issuerDid: String
1485
- remark: String
1486
- mappings: [TrustedPassportMapping!]
1541
+ issuerDid: String
1542
+ remark: String
1543
+ mappings: [TrustedPassportMapping!]
1487
1544
  }
1488
1545
 
1489
1546
  type TrustedPassportMapping {
1490
- from: TrustedPassportMappingFrom
1491
- to: TrustedPassportMappingTo
1547
+ from: TrustedPassportMappingFrom
1548
+ to: TrustedPassportMappingTo
1492
1549
  }
1493
1550
 
1494
1551
  type TrustedPassportMappingFrom {
1495
- passport: String
1552
+ passport: String
1496
1553
  }
1497
1554
 
1498
1555
  type TrustedPassportMappingTo {
1499
- role: String
1556
+ role: String
1500
1557
  }
1501
1558
 
1502
1559
  type UpdateList {
1503
- id: String
1504
- meta: BlockletMeta
1560
+ id: String
1561
+ meta: BlockletMeta
1505
1562
  }
1506
1563
 
1507
1564
  type UserInfo {
1508
- did: String
1509
- pk: String
1510
- role: String
1511
- avatar: String
1512
- fullName: String
1513
- email: String
1514
- approved: Boolean
1515
- createdAt: String
1516
- updatedAt: String
1517
- locale: String
1518
- passports: [Passport!]
1519
- firstLoginAt: String
1520
- lastLoginAt: String
1521
- remark: String
1565
+ did: String
1566
+ pk: String
1567
+ role: String
1568
+ avatar: String
1569
+ fullName: String
1570
+ email: String
1571
+ approved: Boolean
1572
+ createdAt: String
1573
+ updatedAt: String
1574
+ locale: String
1575
+ passports: [Passport!]
1576
+ firstLoginAt: String
1577
+ lastLoginAt: String
1578
+ remark: String
1522
1579
  }
1523
1580
 
1524
1581
  type WalletInfo {
1525
- did: String
1526
- pk: String
1582
+ did: String
1583
+ pk: String
1527
1584
  }
1528
1585
 
1529
1586
  type WebHookParam {
1530
- name: String
1531
- description: String
1532
- required: Boolean
1533
- defaultValue: String
1534
- value: String
1535
- type: String
1587
+ name: String
1588
+ description: String
1589
+ required: Boolean
1590
+ defaultValue: String
1591
+ value: String
1592
+ type: String
1536
1593
  }
1537
1594
 
1538
1595
  type WebHookRecord {
1539
- type: SenderType
1540
- id: String
1541
- params: [WebHookParam!]
1542
- createdAt: String
1596
+ type: SenderType
1597
+ id: String
1598
+ params: [WebHookParam!]
1599
+ createdAt: String
1543
1600
  }
1544
1601
 
1545
1602
  type WebHookSender {
1546
- type: SenderType
1547
- title: String
1548
- description: String
1549
- params: [WebHookParam!]
1603
+ type: SenderType
1604
+ title: String
1605
+ description: String
1606
+ params: [WebHookParam!]
1550
1607
  }
1551
1608
 
1552
1609
  enum BackendServiceType {
@@ -1623,6 +1680,7 @@ type Mutation {
1623
1680
  upgradeComponents(input: RequestUpdateComponentsInput): ResponseBlocklet
1624
1681
  configBlocklet(input: RequestConfigBlockletInput): ResponseBlocklet
1625
1682
  configPublicToStore(input: RequestConfigPublicToStoreInput): ResponseBlocklet
1683
+ configNavigations(input: RequestConfigNavigationsInput): ResponseBlocklet
1626
1684
  updateWhoCanAccess(input: RequestUpdateWhoCanAccessInput): ResponseBlocklet
1627
1685
  updateComponentTitle(input: RequestUpdateComponentTitleInput): ResponseBlocklet
1628
1686
  updateComponentMountPoint(input: RequestUpdateComponentMountPointInput): ResponseBlocklet
@@ -1716,4 +1774,4 @@ type Query {
1716
1774
  getPermissionsByRole(input: RequestTeamRoleInput): ResponsePermissions
1717
1775
  getPassportIssuances(input: RequestGetPassportIssuancesInput): ResponseGetPassportIssuances
1718
1776
  getAuditLogs(input: RequestGetAuditLogsInput): ResponseGetAuditLogs
1719
- }`;
1777
+ }`;