@abtnode/schema 1.15.17 → 1.16.0-beta-b16cb035
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +62 -16
- package/lib/index.js +596 -186
- package/lib/schema.graphqls +596 -186
- package/package.json +5 -2
package/lib/schema.graphqls
CHANGED
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
|
|
4
4
|
scalar Any
|
|
5
5
|
|
|
6
|
+
scalar Bytes
|
|
7
|
+
|
|
6
8
|
scalar Float32
|
|
7
9
|
|
|
8
10
|
scalar Int32
|
|
@@ -11,34 +13,31 @@ scalar Int64
|
|
|
11
13
|
|
|
12
14
|
scalar Uint32
|
|
13
15
|
|
|
14
|
-
|
|
16
|
+
scalar Uint64
|
|
17
|
+
|
|
18
|
+
input BlockletControllerInput {
|
|
19
|
+
id: String
|
|
20
|
+
nftId: String
|
|
21
|
+
nftOwner: String
|
|
22
|
+
chainHost: String
|
|
23
|
+
expireDate: Uint32
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
input BlockletQueryInput {
|
|
27
|
+
controller: BlockletControllerInput
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
input BlockletStoreInput {
|
|
15
31
|
name: String
|
|
16
32
|
description: String
|
|
17
33
|
url: String
|
|
18
34
|
logoUrl: String
|
|
19
35
|
maintainer: String
|
|
20
36
|
cdnUrl: String
|
|
21
|
-
selected: Boolean
|
|
22
37
|
protected: Boolean
|
|
23
38
|
id: String
|
|
24
39
|
}
|
|
25
40
|
|
|
26
|
-
input BlockletServiceInput {
|
|
27
|
-
name: String
|
|
28
|
-
description: String
|
|
29
|
-
version: String
|
|
30
|
-
config: String
|
|
31
|
-
schema: String
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
input BlockletStateInterfaceInput {
|
|
35
|
-
ruleId: String
|
|
36
|
-
type: String
|
|
37
|
-
name: String
|
|
38
|
-
url: String
|
|
39
|
-
authConfig: Any
|
|
40
|
-
}
|
|
41
|
-
|
|
42
41
|
input ConfigEntryInput {
|
|
43
42
|
key: String
|
|
44
43
|
value: String
|
|
@@ -47,6 +46,25 @@ input ConfigEntryInput {
|
|
|
47
46
|
validation: String
|
|
48
47
|
secure: Boolean
|
|
49
48
|
custom: Boolean
|
|
49
|
+
shared: Boolean
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
input ConfigNavigationInput {
|
|
53
|
+
id: String
|
|
54
|
+
title: String
|
|
55
|
+
link: String
|
|
56
|
+
icon: String
|
|
57
|
+
section: String
|
|
58
|
+
component: String
|
|
59
|
+
parent: String
|
|
60
|
+
role: String
|
|
61
|
+
visible: Boolean
|
|
62
|
+
from: String
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
input DownloadTokenInput {
|
|
66
|
+
did: String
|
|
67
|
+
token: String
|
|
50
68
|
}
|
|
51
69
|
|
|
52
70
|
input HashFileInput {
|
|
@@ -60,22 +78,6 @@ input IssuerInput {
|
|
|
60
78
|
pk: String
|
|
61
79
|
}
|
|
62
80
|
|
|
63
|
-
input MemberInfoInput {
|
|
64
|
-
did: String
|
|
65
|
-
pk: String
|
|
66
|
-
role: String
|
|
67
|
-
avatar: String
|
|
68
|
-
fullName: String
|
|
69
|
-
email: String
|
|
70
|
-
approved: Boolean
|
|
71
|
-
createdAt: String
|
|
72
|
-
updatedAt: String
|
|
73
|
-
locale: String
|
|
74
|
-
passports: [PassportInput!]
|
|
75
|
-
firstLoginAt: String
|
|
76
|
-
lastLoginAt: String
|
|
77
|
-
}
|
|
78
|
-
|
|
79
81
|
input NodeInfoInput {
|
|
80
82
|
name: String
|
|
81
83
|
description: String
|
|
@@ -83,7 +85,7 @@ input NodeInfoInput {
|
|
|
83
85
|
enableWelcomePage: Boolean
|
|
84
86
|
registerUrl: String
|
|
85
87
|
webWalletUrl: String
|
|
86
|
-
blockletRegistryList: [
|
|
88
|
+
blockletRegistryList: [BlockletStoreInput!]
|
|
87
89
|
diskAlertThreshold: Uint32
|
|
88
90
|
}
|
|
89
91
|
|
|
@@ -115,18 +117,25 @@ input PermissionInput {
|
|
|
115
117
|
input RequestAddDomainAliasInput {
|
|
116
118
|
id: String
|
|
117
119
|
domainAlias: String
|
|
120
|
+
force: Boolean
|
|
121
|
+
teamDid: String
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
input RequestAddLetsEncryptCertInput {
|
|
125
|
+
domain: String
|
|
126
|
+
did: String
|
|
118
127
|
}
|
|
119
128
|
|
|
120
129
|
input RequestAddNginxHttpsCertInput {
|
|
121
130
|
name: String
|
|
122
131
|
privateKey: String
|
|
123
132
|
certificate: String
|
|
124
|
-
public: Boolean
|
|
125
133
|
}
|
|
126
134
|
|
|
127
135
|
input RequestAddRoutingRuleInput {
|
|
128
136
|
id: String
|
|
129
137
|
rule: RoutingRuleInput
|
|
138
|
+
teamDid: String
|
|
130
139
|
}
|
|
131
140
|
|
|
132
141
|
input RequestAddRoutingSiteInput {
|
|
@@ -135,15 +144,32 @@ input RequestAddRoutingSiteInput {
|
|
|
135
144
|
rules: [RoutingRuleInput!]
|
|
136
145
|
}
|
|
137
146
|
|
|
147
|
+
input RequestBackupToSpacesInput {
|
|
148
|
+
appDid: String
|
|
149
|
+
}
|
|
150
|
+
|
|
138
151
|
input RequestBlockletInput {
|
|
139
152
|
did: String
|
|
140
|
-
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
input RequestBlockletDetailInput {
|
|
156
|
+
did: String
|
|
141
157
|
attachRuntimeInfo: Boolean
|
|
142
158
|
}
|
|
143
159
|
|
|
144
160
|
input RequestBlockletDiffInput {
|
|
145
161
|
did: String
|
|
146
162
|
hashFiles: [HashFileInput!]
|
|
163
|
+
rootDid: String
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
input RequestBlockletForLauncherInput {
|
|
167
|
+
did: String
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
input RequestBlockletMetaInput {
|
|
171
|
+
did: String
|
|
172
|
+
storeUrl: String
|
|
147
173
|
}
|
|
148
174
|
|
|
149
175
|
input RequestBlockletMetaFromUrlInput {
|
|
@@ -151,25 +177,41 @@ input RequestBlockletMetaFromUrlInput {
|
|
|
151
177
|
checkPrice: Boolean
|
|
152
178
|
}
|
|
153
179
|
|
|
154
|
-
input
|
|
180
|
+
input RequestBlockletRuntimeHistoryInput {
|
|
181
|
+
did: String
|
|
182
|
+
hours: Uint32
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
input RequestChangeBlockletStoreInput {
|
|
186
|
+
teamDid: String
|
|
155
187
|
url: String
|
|
156
188
|
}
|
|
157
189
|
|
|
158
190
|
input RequestCheckDomainsInput {
|
|
159
191
|
domains: [String!]
|
|
192
|
+
did: String
|
|
160
193
|
}
|
|
161
194
|
|
|
162
195
|
input RequestConfigBlockletInput {
|
|
163
|
-
did: String
|
|
164
|
-
childDid: String
|
|
196
|
+
did: [String!]
|
|
165
197
|
configs: [ConfigEntryInput!]
|
|
166
198
|
}
|
|
167
199
|
|
|
200
|
+
input RequestConfigNavigationsInput {
|
|
201
|
+
did: String
|
|
202
|
+
navigations: [ConfigNavigationInput!]
|
|
203
|
+
}
|
|
204
|
+
|
|
168
205
|
input RequestConfigPassportIssuanceInput {
|
|
169
206
|
teamDid: String
|
|
170
207
|
enable: Boolean
|
|
171
208
|
}
|
|
172
209
|
|
|
210
|
+
input RequestConfigPublicToStoreInput {
|
|
211
|
+
did: String
|
|
212
|
+
publicToStore: Boolean
|
|
213
|
+
}
|
|
214
|
+
|
|
173
215
|
input RequestConfigTrustedPassportsInput {
|
|
174
216
|
teamDid: String
|
|
175
217
|
trustedPassports: [TrustedPassportInput!]
|
|
@@ -180,6 +222,12 @@ input RequestCreateAccessKeyInput {
|
|
|
180
222
|
passport: String
|
|
181
223
|
}
|
|
182
224
|
|
|
225
|
+
input RequestCreateInvitationInput {
|
|
226
|
+
teamDid: String
|
|
227
|
+
role: String
|
|
228
|
+
remark: String
|
|
229
|
+
}
|
|
230
|
+
|
|
183
231
|
input RequestCreatePassportIssuanceInput {
|
|
184
232
|
teamDid: String
|
|
185
233
|
ownerDid: String
|
|
@@ -201,6 +249,11 @@ input RequestCreateRoleInput {
|
|
|
201
249
|
permissions: [String!]
|
|
202
250
|
}
|
|
203
251
|
|
|
252
|
+
input RequestCreateTransferNodeInvitationInput {
|
|
253
|
+
teamDid: String
|
|
254
|
+
remark: String
|
|
255
|
+
}
|
|
256
|
+
|
|
204
257
|
input RequestCreateWebHookInput {
|
|
205
258
|
type: SenderType
|
|
206
259
|
title: String
|
|
@@ -217,9 +270,16 @@ input RequestDeleteBlockletInput {
|
|
|
217
270
|
keepData: Boolean
|
|
218
271
|
}
|
|
219
272
|
|
|
273
|
+
input RequestDeleteComponentInput {
|
|
274
|
+
did: String
|
|
275
|
+
rootDid: String
|
|
276
|
+
keepData: Boolean
|
|
277
|
+
}
|
|
278
|
+
|
|
220
279
|
input RequestDeleteDomainAliasInput {
|
|
221
280
|
id: String
|
|
222
281
|
domainAlias: String
|
|
282
|
+
teamDid: String
|
|
223
283
|
}
|
|
224
284
|
|
|
225
285
|
input RequestDeleteNginxHttpsCertInput {
|
|
@@ -239,6 +299,7 @@ input RequestDeleteRoleInput {
|
|
|
239
299
|
input RequestDeleteRoutingRuleInput {
|
|
240
300
|
id: String
|
|
241
301
|
ruleId: String
|
|
302
|
+
teamDid: String
|
|
242
303
|
}
|
|
243
304
|
|
|
244
305
|
input RequestDeleteRoutingSiteInput {
|
|
@@ -258,8 +319,25 @@ input RequestEndSessionInput {
|
|
|
258
319
|
id: String
|
|
259
320
|
}
|
|
260
321
|
|
|
322
|
+
input RequestFindCertificateByDomainInput {
|
|
323
|
+
domain: String
|
|
324
|
+
did: String
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
input RequestGatewayInput {
|
|
328
|
+
requestLimit: RequestLimitInput
|
|
329
|
+
cacheEnabled: Boolean
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
input RequestGetAuditLogsInput {
|
|
333
|
+
paging: PagingInput
|
|
334
|
+
scope: String
|
|
335
|
+
category: String
|
|
336
|
+
}
|
|
337
|
+
|
|
261
338
|
input RequestGetBlockletsInput {
|
|
262
339
|
useCache: Boolean
|
|
340
|
+
query: BlockletQueryInput
|
|
263
341
|
}
|
|
264
342
|
|
|
265
343
|
input RequestGetNotificationsInput {
|
|
@@ -302,18 +380,31 @@ input RequestHasPermissionInput {
|
|
|
302
380
|
permission: String
|
|
303
381
|
}
|
|
304
382
|
|
|
305
|
-
input
|
|
306
|
-
|
|
307
|
-
|
|
383
|
+
input RequestInstallComponentInput {
|
|
384
|
+
rootDid: String
|
|
385
|
+
mountPoint: String
|
|
386
|
+
url: String
|
|
387
|
+
file: Upload
|
|
388
|
+
did: String
|
|
389
|
+
diffVersion: String
|
|
390
|
+
deleteSet: [String!]
|
|
391
|
+
name: String
|
|
392
|
+
title: String
|
|
393
|
+
configs: [ConfigEntryInput!]
|
|
394
|
+
downloadTokenList: [DownloadTokenInput!]
|
|
395
|
+
skipNavigation: Boolean
|
|
308
396
|
}
|
|
309
397
|
|
|
310
|
-
input
|
|
311
|
-
|
|
312
|
-
|
|
398
|
+
input RequestIssuePassportToUserInput {
|
|
399
|
+
teamDid: String
|
|
400
|
+
userDid: String
|
|
401
|
+
role: String
|
|
313
402
|
}
|
|
314
403
|
|
|
315
|
-
input
|
|
316
|
-
|
|
404
|
+
input RequestLimitInput {
|
|
405
|
+
enabled: Boolean
|
|
406
|
+
rate: Uint32
|
|
407
|
+
ipHeader: String
|
|
317
408
|
}
|
|
318
409
|
|
|
319
410
|
input RequestNodeRoutingInput {
|
|
@@ -322,6 +413,10 @@ input RequestNodeRoutingInput {
|
|
|
322
413
|
forceRepopulate: Boolean
|
|
323
414
|
}
|
|
324
415
|
|
|
416
|
+
input RequestNodeRuntimeHistoryInput {
|
|
417
|
+
hours: Uint32
|
|
418
|
+
}
|
|
419
|
+
|
|
325
420
|
input RequestReadNotificationsInput {
|
|
326
421
|
id: String
|
|
327
422
|
}
|
|
@@ -338,6 +433,14 @@ input RequestResetNodeInput {
|
|
|
338
433
|
invitations: Boolean
|
|
339
434
|
}
|
|
340
435
|
|
|
436
|
+
input RequestRestoreFromSpacesInput {
|
|
437
|
+
endpoint: String
|
|
438
|
+
appDid: String
|
|
439
|
+
delegation: String
|
|
440
|
+
password: Bytes
|
|
441
|
+
wallet: Any
|
|
442
|
+
}
|
|
443
|
+
|
|
341
444
|
input RequestRevokePermissionFromRoleInput {
|
|
342
445
|
teamDid: String
|
|
343
446
|
roleName: String
|
|
@@ -376,7 +479,7 @@ input RequestTeamRoleInput {
|
|
|
376
479
|
|
|
377
480
|
input RequestTeamUserInput {
|
|
378
481
|
teamDid: String
|
|
379
|
-
user:
|
|
482
|
+
user: UserInfoInput
|
|
380
483
|
}
|
|
381
484
|
|
|
382
485
|
input RequestUpdateAccessKeyInput {
|
|
@@ -385,16 +488,27 @@ input RequestUpdateAccessKeyInput {
|
|
|
385
488
|
passport: String
|
|
386
489
|
}
|
|
387
490
|
|
|
388
|
-
input
|
|
491
|
+
input RequestUpdateComponentMountPointInput {
|
|
492
|
+
did: String
|
|
493
|
+
rootDid: String
|
|
494
|
+
mountPoint: String
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
input RequestUpdateComponentTitleInput {
|
|
498
|
+
did: String
|
|
499
|
+
rootDid: String
|
|
500
|
+
title: String
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
input RequestUpdateComponentsInput {
|
|
389
504
|
updateId: String
|
|
505
|
+
rootDid: String
|
|
506
|
+
selectedComponents: [String!]
|
|
390
507
|
}
|
|
391
508
|
|
|
392
509
|
input RequestUpdateNginxHttpsCertInput {
|
|
510
|
+
id: String
|
|
393
511
|
name: String
|
|
394
|
-
domain: String
|
|
395
|
-
privateKey: String
|
|
396
|
-
certificate: String
|
|
397
|
-
public: Boolean
|
|
398
512
|
}
|
|
399
513
|
|
|
400
514
|
input RequestUpdatePermissionsForRoleInput {
|
|
@@ -406,12 +520,14 @@ input RequestUpdatePermissionsForRoleInput {
|
|
|
406
520
|
input RequestUpdateRoutingRuleInput {
|
|
407
521
|
id: String
|
|
408
522
|
rule: RoutingRuleInput
|
|
523
|
+
teamDid: String
|
|
409
524
|
}
|
|
410
525
|
|
|
411
526
|
input RequestUpdateRoutingSiteInput {
|
|
412
527
|
id: String
|
|
413
528
|
corsAllowedOrigins: [String!]
|
|
414
529
|
domain: String
|
|
530
|
+
teamDid: String
|
|
415
531
|
}
|
|
416
532
|
|
|
417
533
|
input RequestUpdateSessionInput {
|
|
@@ -419,24 +535,31 @@ input RequestUpdateSessionInput {
|
|
|
419
535
|
data: String
|
|
420
536
|
}
|
|
421
537
|
|
|
422
|
-
input
|
|
423
|
-
did: String
|
|
424
|
-
|
|
538
|
+
input RequestUpdateWhoCanAccessInput {
|
|
539
|
+
did: [String!]
|
|
540
|
+
whoCanAccess: String
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
input RequestUsersInput {
|
|
544
|
+
teamDid: String
|
|
545
|
+
query: UserQueryInput
|
|
546
|
+
sort: UserSortInput
|
|
547
|
+
paging: PagingInput
|
|
548
|
+
dids: [String!]
|
|
425
549
|
}
|
|
426
550
|
|
|
427
551
|
input RequestVersionedBlockletInput {
|
|
552
|
+
type: String
|
|
428
553
|
did: String
|
|
554
|
+
storeUrl: String
|
|
429
555
|
url: String
|
|
430
556
|
file: Upload
|
|
431
557
|
diffVersion: String
|
|
432
558
|
deleteSet: [String!]
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
role: String
|
|
438
|
-
remark: String
|
|
439
|
-
interfaceName: String
|
|
559
|
+
title: String
|
|
560
|
+
description: String
|
|
561
|
+
startImmediately: Boolean
|
|
562
|
+
downloadTokenList: [DownloadTokenInput!]
|
|
440
563
|
}
|
|
441
564
|
|
|
442
565
|
input RequsetDeleteInvitationInput {
|
|
@@ -444,6 +567,11 @@ input RequsetDeleteInvitationInput {
|
|
|
444
567
|
inviteId: String
|
|
445
568
|
}
|
|
446
569
|
|
|
570
|
+
input RequsetMigrateApplicationToStructV2Input {
|
|
571
|
+
did: String
|
|
572
|
+
appSk: String
|
|
573
|
+
}
|
|
574
|
+
|
|
447
575
|
input RoleInput {
|
|
448
576
|
name: String
|
|
449
577
|
description: String
|
|
@@ -457,8 +585,6 @@ input RoutingRuleInput {
|
|
|
457
585
|
from: RoutingRuleFromInput
|
|
458
586
|
to: RoutingRuleToInput
|
|
459
587
|
isProtected: Boolean
|
|
460
|
-
interfaces: [BlockletStateInterfaceInput!]
|
|
461
|
-
services: [BlockletServiceInput!]
|
|
462
588
|
}
|
|
463
589
|
|
|
464
590
|
input RoutingRuleFromInput {
|
|
@@ -479,7 +605,7 @@ input RoutingRuleToInput {
|
|
|
479
605
|
url: String
|
|
480
606
|
redirectCode: Int32
|
|
481
607
|
interfaceName: String
|
|
482
|
-
|
|
608
|
+
componentId: String
|
|
483
609
|
}
|
|
484
610
|
|
|
485
611
|
input TeamInput {
|
|
@@ -488,6 +614,7 @@ input TeamInput {
|
|
|
488
614
|
|
|
489
615
|
input TrustedPassportInput {
|
|
490
616
|
issuerDid: String
|
|
617
|
+
remark: String
|
|
491
618
|
mappings: [TrustedPassportMappingInput!]
|
|
492
619
|
}
|
|
493
620
|
|
|
@@ -504,6 +631,36 @@ input TrustedPassportMappingToInput {
|
|
|
504
631
|
role: String
|
|
505
632
|
}
|
|
506
633
|
|
|
634
|
+
input UserInfoInput {
|
|
635
|
+
did: String
|
|
636
|
+
pk: String
|
|
637
|
+
role: String
|
|
638
|
+
avatar: String
|
|
639
|
+
fullName: String
|
|
640
|
+
email: String
|
|
641
|
+
approved: Boolean
|
|
642
|
+
createdAt: String
|
|
643
|
+
updatedAt: String
|
|
644
|
+
locale: String
|
|
645
|
+
passports: [PassportInput!]
|
|
646
|
+
firstLoginAt: String
|
|
647
|
+
lastLoginAt: String
|
|
648
|
+
remark: String
|
|
649
|
+
lastLoginIp: String
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
input UserQueryInput {
|
|
653
|
+
role: String
|
|
654
|
+
approved: Boolean
|
|
655
|
+
search: String
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
input UserSortInput {
|
|
659
|
+
updatedAt: Int32
|
|
660
|
+
createdAt: Int32
|
|
661
|
+
lastLoginAt: Int32
|
|
662
|
+
}
|
|
663
|
+
|
|
507
664
|
input WebHookParamInput {
|
|
508
665
|
name: String
|
|
509
666
|
description: String
|
|
@@ -519,28 +676,50 @@ type AccessKey {
|
|
|
519
676
|
passport: String
|
|
520
677
|
createdAt: String
|
|
521
678
|
lastUsedAt: String
|
|
679
|
+
createdBy: String
|
|
680
|
+
updatedBy: String
|
|
522
681
|
}
|
|
523
682
|
|
|
524
|
-
type
|
|
525
|
-
|
|
683
|
+
type AuditLog {
|
|
684
|
+
id: String
|
|
685
|
+
scope: String
|
|
686
|
+
category: String
|
|
687
|
+
action: String
|
|
688
|
+
content: String
|
|
689
|
+
actor: AuditLogActor
|
|
690
|
+
env: AuditLogEnv
|
|
691
|
+
createdAt: String
|
|
692
|
+
ip: String
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
type AuditLogActor {
|
|
696
|
+
did: String
|
|
697
|
+
role: String
|
|
698
|
+
fullName: String
|
|
526
699
|
}
|
|
527
700
|
|
|
528
|
-
type
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
tokens: [BlockletChargingToken!]
|
|
701
|
+
type AuditLogEnv {
|
|
702
|
+
browser: AuditLogEnvItem
|
|
703
|
+
os: AuditLogEnvItem
|
|
532
704
|
}
|
|
533
705
|
|
|
534
|
-
type
|
|
535
|
-
address: String
|
|
706
|
+
type AuditLogEnvItem {
|
|
536
707
|
name: String
|
|
537
|
-
|
|
708
|
+
version: String
|
|
538
709
|
}
|
|
539
710
|
|
|
540
|
-
type
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
711
|
+
type BlockletCapabilities {
|
|
712
|
+
clusterMode: Boolean
|
|
713
|
+
component: Boolean
|
|
714
|
+
navigation: Boolean
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
type BlockletController {
|
|
718
|
+
id: String
|
|
719
|
+
nftId: String
|
|
720
|
+
nftOwner: String
|
|
721
|
+
chainHost: String
|
|
722
|
+
expireDate: Uint32
|
|
544
723
|
}
|
|
545
724
|
|
|
546
725
|
type BlockletDiff {
|
|
@@ -565,6 +744,12 @@ type BlockletEngine {
|
|
|
565
744
|
visible: Boolean
|
|
566
745
|
}
|
|
567
746
|
|
|
747
|
+
type BlockletHistoryItem {
|
|
748
|
+
date: Uint64
|
|
749
|
+
cpu: Uint64
|
|
750
|
+
mem: Uint64
|
|
751
|
+
}
|
|
752
|
+
|
|
568
753
|
type BlockletMeta {
|
|
569
754
|
did: String
|
|
570
755
|
name: String
|
|
@@ -589,11 +774,16 @@ type BlockletMeta {
|
|
|
589
774
|
maintainers: [BlockletMetaPerson!]
|
|
590
775
|
contributors: [BlockletMetaPerson!]
|
|
591
776
|
repository: BlockletRepository
|
|
592
|
-
|
|
777
|
+
payment: BlockletPayment
|
|
593
778
|
nftFactory: String
|
|
594
779
|
lastPublishedAt: String
|
|
595
780
|
capabilities: BlockletCapabilities
|
|
596
|
-
|
|
781
|
+
components: [ChildConfig!]
|
|
782
|
+
environments: [Environment!]
|
|
783
|
+
requirements: Requirement
|
|
784
|
+
bundleDid: String
|
|
785
|
+
bundleName: String
|
|
786
|
+
navigation: [Any!]
|
|
597
787
|
}
|
|
598
788
|
|
|
599
789
|
type BlockletMetaInterface {
|
|
@@ -617,21 +807,32 @@ type BlockletMetaService {
|
|
|
617
807
|
config: Any
|
|
618
808
|
}
|
|
619
809
|
|
|
620
|
-
type
|
|
621
|
-
|
|
622
|
-
|
|
810
|
+
type BlockletMigrateRecord {
|
|
811
|
+
appSk: String
|
|
812
|
+
appDid: String
|
|
813
|
+
at: String
|
|
623
814
|
}
|
|
624
815
|
|
|
625
|
-
type
|
|
816
|
+
type BlockletPayment {
|
|
817
|
+
price: [BlockletPaymentPrice!]
|
|
818
|
+
share: [BlockletPaymentShare!]
|
|
819
|
+
}
|
|
820
|
+
|
|
821
|
+
type BlockletPaymentPrice {
|
|
822
|
+
address: String
|
|
823
|
+
value: String
|
|
824
|
+
symbol: String
|
|
825
|
+
}
|
|
826
|
+
|
|
827
|
+
type BlockletPaymentShare {
|
|
828
|
+
address: String
|
|
626
829
|
name: String
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
protected: Boolean
|
|
634
|
-
id: String
|
|
830
|
+
value: String
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
type BlockletPreUpdateInfo {
|
|
834
|
+
updateId: String
|
|
835
|
+
updateList: [UpdateList!]
|
|
635
836
|
}
|
|
636
837
|
|
|
637
838
|
type BlockletRepository {
|
|
@@ -639,12 +840,16 @@ type BlockletRepository {
|
|
|
639
840
|
url: String
|
|
640
841
|
}
|
|
641
842
|
|
|
642
|
-
type
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
843
|
+
type BlockletSettings {
|
|
844
|
+
initialized: Boolean
|
|
845
|
+
enablePassportIssuance: Boolean
|
|
846
|
+
trustedPassports: [TrustedPassport!]
|
|
847
|
+
whoCanAccess: String
|
|
848
|
+
owner: WalletInfo
|
|
849
|
+
children: [DeletedBlockletState!]
|
|
850
|
+
publicToStore: Boolean
|
|
851
|
+
storeList: [BlockletStore!]
|
|
852
|
+
navigations: [ConfigNavigation!]
|
|
648
853
|
}
|
|
649
854
|
|
|
650
855
|
type BlockletState {
|
|
@@ -654,28 +859,32 @@ type BlockletState {
|
|
|
654
859
|
installedAt: String
|
|
655
860
|
startedAt: String
|
|
656
861
|
pausedAt: String
|
|
862
|
+
stoppedAt: String
|
|
657
863
|
environments: [ConfigEntry!]
|
|
658
864
|
configs: [ConfigEntry!]
|
|
659
865
|
diskInfo: DiskInfo
|
|
660
866
|
runtimeInfo: RuntimeInfo
|
|
867
|
+
appRuntimeInfo: RuntimeInfo
|
|
661
868
|
source: BlockletSource
|
|
662
869
|
deployedFrom: String
|
|
870
|
+
bundleSource: Any
|
|
663
871
|
port: Float32
|
|
664
|
-
interfaces: [BlockletStateInterface!]
|
|
665
872
|
engine: BlockletEngine
|
|
666
873
|
mode: String
|
|
667
874
|
ports: Any
|
|
668
|
-
children: [
|
|
875
|
+
children: [ComponentState!]
|
|
669
876
|
trustedPassports: [TrustedPassport!]
|
|
670
877
|
enablePassportIssuance: Boolean
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
878
|
+
dynamic: Boolean
|
|
879
|
+
mountPoint: String
|
|
880
|
+
settings: BlockletSettings
|
|
881
|
+
appDid: String
|
|
882
|
+
site: RoutingSite
|
|
883
|
+
controller: BlockletController
|
|
884
|
+
migratedFrom: [BlockletMigrateRecord!]
|
|
885
|
+
appPid: String
|
|
886
|
+
externalSk: Boolean
|
|
887
|
+
structVersion: String
|
|
679
888
|
}
|
|
680
889
|
|
|
681
890
|
type BlockletStats {
|
|
@@ -684,6 +893,17 @@ type BlockletStats {
|
|
|
684
893
|
purchases: Float32
|
|
685
894
|
}
|
|
686
895
|
|
|
896
|
+
type BlockletStore {
|
|
897
|
+
name: String
|
|
898
|
+
description: String
|
|
899
|
+
url: String
|
|
900
|
+
logoUrl: String
|
|
901
|
+
maintainer: String
|
|
902
|
+
cdnUrl: String
|
|
903
|
+
protected: Boolean
|
|
904
|
+
id: String
|
|
905
|
+
}
|
|
906
|
+
|
|
687
907
|
type BooleanResponse {
|
|
688
908
|
code: StatusCode
|
|
689
909
|
result: Boolean
|
|
@@ -692,19 +912,14 @@ type BooleanResponse {
|
|
|
692
912
|
type Certificate {
|
|
693
913
|
name: String
|
|
694
914
|
domain: String
|
|
695
|
-
validFrom: Int64
|
|
696
|
-
validTo: Int64
|
|
697
|
-
issuer: CertificateIssuer
|
|
698
|
-
sans: [String!]
|
|
699
915
|
id: String
|
|
700
|
-
|
|
701
|
-
fingerprint: String
|
|
702
|
-
validityPeriod: Int64
|
|
916
|
+
meta: CertificateMeta
|
|
703
917
|
matchedSites: [MatchedSites!]
|
|
704
918
|
createdAt: String
|
|
705
919
|
updatedAt: String
|
|
706
|
-
public: Boolean
|
|
707
920
|
isProtected: Boolean
|
|
921
|
+
source: String
|
|
922
|
+
status: String
|
|
708
923
|
}
|
|
709
924
|
|
|
710
925
|
type CertificateIssuer {
|
|
@@ -713,6 +928,46 @@ type CertificateIssuer {
|
|
|
713
928
|
commonName: String
|
|
714
929
|
}
|
|
715
930
|
|
|
931
|
+
type CertificateMeta {
|
|
932
|
+
issuer: CertificateIssuer
|
|
933
|
+
sans: [String!]
|
|
934
|
+
validFrom: Int64
|
|
935
|
+
validTo: Int64
|
|
936
|
+
fingerprintAlg: String
|
|
937
|
+
fingerprint: String
|
|
938
|
+
validityPeriod: Int64
|
|
939
|
+
}
|
|
940
|
+
|
|
941
|
+
type ChildConfig {
|
|
942
|
+
name: String
|
|
943
|
+
mountPoint: String
|
|
944
|
+
}
|
|
945
|
+
|
|
946
|
+
type ComponentState {
|
|
947
|
+
meta: BlockletMeta
|
|
948
|
+
status: BlockletStatus
|
|
949
|
+
createdAt: String
|
|
950
|
+
installedAt: String
|
|
951
|
+
startedAt: String
|
|
952
|
+
pausedAt: String
|
|
953
|
+
stoppedAt: String
|
|
954
|
+
environments: [ConfigEntry!]
|
|
955
|
+
configs: [ConfigEntry!]
|
|
956
|
+
diskInfo: DiskInfo
|
|
957
|
+
runtimeInfo: RuntimeInfo
|
|
958
|
+
source: BlockletSource
|
|
959
|
+
deployedFrom: String
|
|
960
|
+
bundleSource: Any
|
|
961
|
+
port: Float32
|
|
962
|
+
engine: BlockletEngine
|
|
963
|
+
mode: String
|
|
964
|
+
ports: Any
|
|
965
|
+
children: [ComponentState!]
|
|
966
|
+
dynamic: Boolean
|
|
967
|
+
mountPoint: String
|
|
968
|
+
dependents: [Dependent!]
|
|
969
|
+
}
|
|
970
|
+
|
|
716
971
|
type ConfigEntry {
|
|
717
972
|
key: String
|
|
718
973
|
value: String
|
|
@@ -721,6 +976,20 @@ type ConfigEntry {
|
|
|
721
976
|
validation: String
|
|
722
977
|
secure: Boolean
|
|
723
978
|
custom: Boolean
|
|
979
|
+
shared: Boolean
|
|
980
|
+
}
|
|
981
|
+
|
|
982
|
+
type ConfigNavigation {
|
|
983
|
+
id: String
|
|
984
|
+
title: String
|
|
985
|
+
link: String
|
|
986
|
+
icon: String
|
|
987
|
+
section: String
|
|
988
|
+
component: String
|
|
989
|
+
parent: String
|
|
990
|
+
role: String
|
|
991
|
+
visible: Boolean
|
|
992
|
+
from: String
|
|
724
993
|
}
|
|
725
994
|
|
|
726
995
|
type CreateAccessKey {
|
|
@@ -732,6 +1001,33 @@ type CreateAccessKey {
|
|
|
732
1001
|
lastUsedAt: String
|
|
733
1002
|
}
|
|
734
1003
|
|
|
1004
|
+
type DelegationState {
|
|
1005
|
+
delegated: Boolean
|
|
1006
|
+
}
|
|
1007
|
+
|
|
1008
|
+
type DeletedBlockletMeta {
|
|
1009
|
+
did: String
|
|
1010
|
+
name: String
|
|
1011
|
+
version: String
|
|
1012
|
+
description: String
|
|
1013
|
+
title: String
|
|
1014
|
+
bundleDid: String
|
|
1015
|
+
bundleName: String
|
|
1016
|
+
}
|
|
1017
|
+
|
|
1018
|
+
type DeletedBlockletState {
|
|
1019
|
+
meta: DeletedBlockletMeta
|
|
1020
|
+
status: BlockletStatus
|
|
1021
|
+
deployedFrom: String
|
|
1022
|
+
mountPoint: String
|
|
1023
|
+
deletedAt: String
|
|
1024
|
+
}
|
|
1025
|
+
|
|
1026
|
+
type Dependent {
|
|
1027
|
+
id: String
|
|
1028
|
+
required: Boolean
|
|
1029
|
+
}
|
|
1030
|
+
|
|
735
1031
|
type DiskInfo {
|
|
736
1032
|
app: Float32
|
|
737
1033
|
data: Float32
|
|
@@ -740,6 +1036,28 @@ type DiskInfo {
|
|
|
740
1036
|
blocklets: Float32
|
|
741
1037
|
}
|
|
742
1038
|
|
|
1039
|
+
type Environment {
|
|
1040
|
+
name: String
|
|
1041
|
+
description: String
|
|
1042
|
+
default: String
|
|
1043
|
+
required: Boolean
|
|
1044
|
+
secure: Boolean
|
|
1045
|
+
validation: String
|
|
1046
|
+
shared: Boolean
|
|
1047
|
+
}
|
|
1048
|
+
|
|
1049
|
+
type Fuel {
|
|
1050
|
+
endpoint: String
|
|
1051
|
+
address: String
|
|
1052
|
+
value: String
|
|
1053
|
+
reason: String
|
|
1054
|
+
}
|
|
1055
|
+
|
|
1056
|
+
type Gateway {
|
|
1057
|
+
requestLimit: RequestLimit
|
|
1058
|
+
cacheEnabled: Boolean
|
|
1059
|
+
}
|
|
1060
|
+
|
|
743
1061
|
type GeneralResponse {
|
|
744
1062
|
code: StatusCode
|
|
745
1063
|
}
|
|
@@ -756,7 +1074,7 @@ type InviteInfo {
|
|
|
756
1074
|
role: String
|
|
757
1075
|
remark: String
|
|
758
1076
|
expireDate: String
|
|
759
|
-
inviter:
|
|
1077
|
+
inviter: UserInfo
|
|
760
1078
|
teamDid: String
|
|
761
1079
|
interfaceName: String
|
|
762
1080
|
}
|
|
@@ -767,17 +1085,18 @@ type Issuer {
|
|
|
767
1085
|
pk: String
|
|
768
1086
|
}
|
|
769
1087
|
|
|
770
|
-
type
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
registryUrl: String
|
|
1088
|
+
type KeyValue {
|
|
1089
|
+
key: String
|
|
1090
|
+
value: Any
|
|
774
1091
|
}
|
|
775
1092
|
|
|
776
1093
|
type LauncherInfo {
|
|
777
1094
|
did: String
|
|
778
1095
|
type: String
|
|
779
|
-
|
|
1096
|
+
provider: String
|
|
780
1097
|
url: String
|
|
1098
|
+
tag: String
|
|
1099
|
+
chainHost: String
|
|
781
1100
|
}
|
|
782
1101
|
|
|
783
1102
|
type MatchedSites {
|
|
@@ -785,22 +1104,6 @@ type MatchedSites {
|
|
|
785
1104
|
domain: String
|
|
786
1105
|
}
|
|
787
1106
|
|
|
788
|
-
type MemberInfo {
|
|
789
|
-
did: String
|
|
790
|
-
pk: String
|
|
791
|
-
role: String
|
|
792
|
-
avatar: String
|
|
793
|
-
fullName: String
|
|
794
|
-
email: String
|
|
795
|
-
approved: Boolean
|
|
796
|
-
createdAt: String
|
|
797
|
-
updatedAt: String
|
|
798
|
-
locale: String
|
|
799
|
-
passports: [Passport!]
|
|
800
|
-
firstLoginAt: String
|
|
801
|
-
lastLoginAt: String
|
|
802
|
-
}
|
|
803
|
-
|
|
804
1107
|
type NodeEnvInfo {
|
|
805
1108
|
ip: IPInfo
|
|
806
1109
|
os: String
|
|
@@ -812,10 +1115,21 @@ type NodeEnvInfo {
|
|
|
812
1115
|
disk: DiskInfo
|
|
813
1116
|
}
|
|
814
1117
|
|
|
1118
|
+
type NodeHistoryItem {
|
|
1119
|
+
date: Uint64
|
|
1120
|
+
cpu: Uint64
|
|
1121
|
+
mem: Uint64
|
|
1122
|
+
daemonMem: Uint64
|
|
1123
|
+
serviceMem: Uint64
|
|
1124
|
+
dbMem: Uint64
|
|
1125
|
+
}
|
|
1126
|
+
|
|
815
1127
|
type NodeRouting {
|
|
816
1128
|
provider: String
|
|
817
1129
|
snapshotHash: String
|
|
818
1130
|
adminPath: String
|
|
1131
|
+
requestLimit: RequestLimit
|
|
1132
|
+
cacheEnabled: Boolean
|
|
819
1133
|
}
|
|
820
1134
|
|
|
821
1135
|
type NodeState {
|
|
@@ -832,7 +1146,6 @@ type NodeState {
|
|
|
832
1146
|
initializedAt: String
|
|
833
1147
|
mode: String
|
|
834
1148
|
routing: NodeRouting
|
|
835
|
-
members: [MemberInfo!]
|
|
836
1149
|
environments: [ConfigEntry!]
|
|
837
1150
|
uptime: Float32
|
|
838
1151
|
autoUpgrade: Boolean
|
|
@@ -841,12 +1154,15 @@ type NodeState {
|
|
|
841
1154
|
registerUrl: String
|
|
842
1155
|
enableWelcomePage: Boolean
|
|
843
1156
|
webWalletUrl: String
|
|
844
|
-
blockletRegistryList: [
|
|
1157
|
+
blockletRegistryList: [BlockletStore!]
|
|
845
1158
|
ownerNft: OwnerNft
|
|
846
1159
|
diskAlertThreshold: Uint32
|
|
847
1160
|
trustedPassports: [TrustedPassport!]
|
|
848
|
-
|
|
1161
|
+
launcher: LauncherInfo
|
|
849
1162
|
enablePassportIssuance: Boolean
|
|
1163
|
+
didRegistry: String
|
|
1164
|
+
didDomain: String
|
|
1165
|
+
status: Uint32
|
|
850
1166
|
}
|
|
851
1167
|
|
|
852
1168
|
type Notification {
|
|
@@ -865,6 +1181,7 @@ type Notification {
|
|
|
865
1181
|
}
|
|
866
1182
|
|
|
867
1183
|
type OwnerNft {
|
|
1184
|
+
did: String
|
|
868
1185
|
holder: String
|
|
869
1186
|
issuer: String
|
|
870
1187
|
}
|
|
@@ -903,11 +1220,28 @@ type Permission {
|
|
|
903
1220
|
isProtected: Boolean
|
|
904
1221
|
}
|
|
905
1222
|
|
|
1223
|
+
type RequestLimit {
|
|
1224
|
+
enabled: Boolean
|
|
1225
|
+
rate: Uint32
|
|
1226
|
+
ipHeader: String
|
|
1227
|
+
}
|
|
1228
|
+
|
|
1229
|
+
type Requirement {
|
|
1230
|
+
server: String
|
|
1231
|
+
os: Any
|
|
1232
|
+
cpu: Any
|
|
1233
|
+
fuels: [Fuel!]
|
|
1234
|
+
}
|
|
1235
|
+
|
|
906
1236
|
type ResponseAccessKeys {
|
|
907
1237
|
code: StatusCode
|
|
908
1238
|
list: [AccessKey!]
|
|
909
1239
|
}
|
|
910
1240
|
|
|
1241
|
+
type ResponseAddLetsEncryptCert {
|
|
1242
|
+
code: StatusCode
|
|
1243
|
+
}
|
|
1244
|
+
|
|
911
1245
|
type ResponseAddNginxHttpsCert {
|
|
912
1246
|
code: StatusCode
|
|
913
1247
|
}
|
|
@@ -922,6 +1256,13 @@ type ResponseBlockletDiff {
|
|
|
922
1256
|
blockletDiff: BlockletDiff
|
|
923
1257
|
}
|
|
924
1258
|
|
|
1259
|
+
type ResponseBlockletForLauncher {
|
|
1260
|
+
code: StatusCode
|
|
1261
|
+
did: String
|
|
1262
|
+
isInstalled: Boolean
|
|
1263
|
+
isRunning: Boolean
|
|
1264
|
+
}
|
|
1265
|
+
|
|
925
1266
|
type ResponseBlockletMeta {
|
|
926
1267
|
code: StatusCode
|
|
927
1268
|
meta: Any
|
|
@@ -930,9 +1271,17 @@ type ResponseBlockletMeta {
|
|
|
930
1271
|
type ResponseBlockletMetaFromUrl {
|
|
931
1272
|
code: StatusCode
|
|
932
1273
|
meta: BlockletMeta
|
|
1274
|
+
isFree: Boolean
|
|
1275
|
+
inStore: Boolean
|
|
1276
|
+
registryUrl: String
|
|
1277
|
+
}
|
|
1278
|
+
|
|
1279
|
+
type ResponseBlockletRuntimeHistory {
|
|
1280
|
+
code: StatusCode
|
|
1281
|
+
history: [BlockletHistoryItem!]
|
|
933
1282
|
}
|
|
934
1283
|
|
|
935
|
-
type
|
|
1284
|
+
type ResponseCheckComponentsForUpdates {
|
|
936
1285
|
code: StatusCode
|
|
937
1286
|
preUpdateInfo: BlockletPreUpdateInfo
|
|
938
1287
|
}
|
|
@@ -946,11 +1295,6 @@ type ResponseCheckNodeVersion {
|
|
|
946
1295
|
version: String
|
|
947
1296
|
}
|
|
948
1297
|
|
|
949
|
-
type ResponseConfigBlocklet {
|
|
950
|
-
code: StatusCode
|
|
951
|
-
blocklet: BlockletState
|
|
952
|
-
}
|
|
953
|
-
|
|
954
1298
|
type ResponseCreateAccessKey {
|
|
955
1299
|
code: StatusCode
|
|
956
1300
|
data: CreateAccessKey
|
|
@@ -966,11 +1310,21 @@ type ResponseCreatePassportIssuance {
|
|
|
966
1310
|
info: PassportIssuanceInfo
|
|
967
1311
|
}
|
|
968
1312
|
|
|
1313
|
+
type ResponseCreateTransferNodeInvitation {
|
|
1314
|
+
code: StatusCode
|
|
1315
|
+
inviteInfo: InviteInfo
|
|
1316
|
+
}
|
|
1317
|
+
|
|
969
1318
|
type ResponseCreateWebHook {
|
|
970
1319
|
code: StatusCode
|
|
971
1320
|
webhook: WebHookSender
|
|
972
1321
|
}
|
|
973
1322
|
|
|
1323
|
+
type ResponseDelegationState {
|
|
1324
|
+
code: StatusCode
|
|
1325
|
+
state: DelegationState
|
|
1326
|
+
}
|
|
1327
|
+
|
|
974
1328
|
type ResponseDeleteAccessKey {
|
|
975
1329
|
code: StatusCode
|
|
976
1330
|
}
|
|
@@ -983,6 +1337,23 @@ type ResponseDeleteWebHook {
|
|
|
983
1337
|
code: StatusCode
|
|
984
1338
|
}
|
|
985
1339
|
|
|
1340
|
+
type ResponseFindCertificateByDomain {
|
|
1341
|
+
code: StatusCode
|
|
1342
|
+
cert: Certificate
|
|
1343
|
+
}
|
|
1344
|
+
|
|
1345
|
+
type ResponseGateway {
|
|
1346
|
+
code: StatusCode
|
|
1347
|
+
gateway: Gateway
|
|
1348
|
+
cacheEnabled: Boolean
|
|
1349
|
+
}
|
|
1350
|
+
|
|
1351
|
+
type ResponseGetAuditLogs {
|
|
1352
|
+
code: StatusCode
|
|
1353
|
+
list: [AuditLog!]
|
|
1354
|
+
paging: Paging
|
|
1355
|
+
}
|
|
1356
|
+
|
|
986
1357
|
type ResponseGetBlocklets {
|
|
987
1358
|
code: StatusCode
|
|
988
1359
|
blocklets: [BlockletState!]
|
|
@@ -1034,11 +1405,6 @@ type ResponseGetRoutingSnapshots {
|
|
|
1034
1405
|
snapshots: [RoutingSnapshot!]
|
|
1035
1406
|
}
|
|
1036
1407
|
|
|
1037
|
-
type ResponseGetServices {
|
|
1038
|
-
code: StatusCode
|
|
1039
|
-
services: [BlockletService!]
|
|
1040
|
-
}
|
|
1041
|
-
|
|
1042
1408
|
type ResponseGetSession {
|
|
1043
1409
|
code: StatusCode
|
|
1044
1410
|
session: Any
|
|
@@ -1049,19 +1415,14 @@ type ResponseGetSnapshotSites {
|
|
|
1049
1415
|
sites: [RoutingSite!]
|
|
1050
1416
|
}
|
|
1051
1417
|
|
|
1052
|
-
type
|
|
1418
|
+
type ResponseGetUsersCountPerRole {
|
|
1053
1419
|
code: StatusCode
|
|
1054
|
-
|
|
1055
|
-
}
|
|
1056
|
-
|
|
1057
|
-
type ResponseLatestBlockletVersion {
|
|
1058
|
-
code: StatusCode
|
|
1059
|
-
data: LatestBlockletVersion
|
|
1420
|
+
counts: [KeyValue!]
|
|
1060
1421
|
}
|
|
1061
1422
|
|
|
1062
|
-
type
|
|
1423
|
+
type ResponseNodeRuntimeHistory {
|
|
1063
1424
|
code: StatusCode
|
|
1064
|
-
|
|
1425
|
+
history: [NodeHistoryItem!]
|
|
1065
1426
|
}
|
|
1066
1427
|
|
|
1067
1428
|
type ResponsePermission {
|
|
@@ -1083,6 +1444,11 @@ type ResponseResetNode {
|
|
|
1083
1444
|
code: StatusCode
|
|
1084
1445
|
}
|
|
1085
1446
|
|
|
1447
|
+
type ResponseRestartServer {
|
|
1448
|
+
code: StatusCode
|
|
1449
|
+
sessionId: String
|
|
1450
|
+
}
|
|
1451
|
+
|
|
1086
1452
|
type ResponseRole {
|
|
1087
1453
|
code: StatusCode
|
|
1088
1454
|
role: Role
|
|
@@ -1128,12 +1494,13 @@ type ResponseUpgradeNodeVersion {
|
|
|
1128
1494
|
|
|
1129
1495
|
type ResponseUser {
|
|
1130
1496
|
code: StatusCode
|
|
1131
|
-
user:
|
|
1497
|
+
user: UserInfo
|
|
1132
1498
|
}
|
|
1133
1499
|
|
|
1134
1500
|
type ResponseUsers {
|
|
1135
1501
|
code: StatusCode
|
|
1136
|
-
users: [
|
|
1502
|
+
users: [UserInfo!]
|
|
1503
|
+
paging: Paging
|
|
1137
1504
|
}
|
|
1138
1505
|
|
|
1139
1506
|
type ResponseWebHooks {
|
|
@@ -1162,8 +1529,6 @@ type RoutingRule {
|
|
|
1162
1529
|
from: RoutingRuleFrom
|
|
1163
1530
|
to: RoutingRuleTo
|
|
1164
1531
|
isProtected: Boolean
|
|
1165
|
-
interfaces: [BlockletStateInterface!]
|
|
1166
|
-
services: [BlockletService!]
|
|
1167
1532
|
}
|
|
1168
1533
|
|
|
1169
1534
|
type RoutingRuleFrom {
|
|
@@ -1184,7 +1549,7 @@ type RoutingRuleTo {
|
|
|
1184
1549
|
url: String
|
|
1185
1550
|
redirectCode: Int32
|
|
1186
1551
|
interfaceName: String
|
|
1187
|
-
|
|
1552
|
+
componentId: String
|
|
1188
1553
|
}
|
|
1189
1554
|
|
|
1190
1555
|
type RoutingSite {
|
|
@@ -1214,6 +1579,7 @@ type RuntimeInfo {
|
|
|
1214
1579
|
|
|
1215
1580
|
type TrustedPassport {
|
|
1216
1581
|
issuerDid: String
|
|
1582
|
+
remark: String
|
|
1217
1583
|
mappings: [TrustedPassportMapping!]
|
|
1218
1584
|
}
|
|
1219
1585
|
|
|
@@ -1230,6 +1596,29 @@ type TrustedPassportMappingTo {
|
|
|
1230
1596
|
role: String
|
|
1231
1597
|
}
|
|
1232
1598
|
|
|
1599
|
+
type UpdateList {
|
|
1600
|
+
id: String
|
|
1601
|
+
meta: BlockletMeta
|
|
1602
|
+
}
|
|
1603
|
+
|
|
1604
|
+
type UserInfo {
|
|
1605
|
+
did: String
|
|
1606
|
+
pk: String
|
|
1607
|
+
role: String
|
|
1608
|
+
avatar: String
|
|
1609
|
+
fullName: String
|
|
1610
|
+
email: String
|
|
1611
|
+
approved: Boolean
|
|
1612
|
+
createdAt: String
|
|
1613
|
+
updatedAt: String
|
|
1614
|
+
locale: String
|
|
1615
|
+
passports: [Passport!]
|
|
1616
|
+
firstLoginAt: String
|
|
1617
|
+
lastLoginAt: String
|
|
1618
|
+
remark: String
|
|
1619
|
+
lastLoginIp: String
|
|
1620
|
+
}
|
|
1621
|
+
|
|
1233
1622
|
type WalletInfo {
|
|
1234
1623
|
did: String
|
|
1235
1624
|
pk: String
|
|
@@ -1264,6 +1653,7 @@ enum BackendServiceType {
|
|
|
1264
1653
|
redirect
|
|
1265
1654
|
none
|
|
1266
1655
|
general_proxy
|
|
1656
|
+
direct_response
|
|
1267
1657
|
}
|
|
1268
1658
|
|
|
1269
1659
|
enum BlockletSource {
|
|
@@ -1271,6 +1661,7 @@ enum BlockletSource {
|
|
|
1271
1661
|
local
|
|
1272
1662
|
upload
|
|
1273
1663
|
url
|
|
1664
|
+
custom
|
|
1274
1665
|
}
|
|
1275
1666
|
|
|
1276
1667
|
enum BlockletStatus {
|
|
@@ -1288,6 +1679,7 @@ enum BlockletStatus {
|
|
|
1288
1679
|
restarting
|
|
1289
1680
|
corrupted
|
|
1290
1681
|
waiting
|
|
1682
|
+
deleted
|
|
1291
1683
|
unknown
|
|
1292
1684
|
}
|
|
1293
1685
|
|
|
@@ -1317,25 +1709,33 @@ enum Upload {
|
|
|
1317
1709
|
|
|
1318
1710
|
type Mutation {
|
|
1319
1711
|
installBlocklet(input: RequestVersionedBlockletInput): ResponseBlocklet
|
|
1320
|
-
|
|
1712
|
+
installComponent(input: RequestInstallComponentInput): ResponseBlocklet
|
|
1321
1713
|
startBlocklet(input: RequestBlockletInput): ResponseBlocklet
|
|
1322
1714
|
stopBlocklet(input: RequestBlockletInput): ResponseBlocklet
|
|
1323
1715
|
reloadBlocklet(input: RequestBlockletInput): ResponseBlocklet
|
|
1324
1716
|
restartBlocklet(input: RequestBlockletInput): ResponseBlocklet
|
|
1325
1717
|
deleteBlocklet(input: RequestDeleteBlockletInput): ResponseBlocklet
|
|
1718
|
+
deleteComponent(input: RequestDeleteComponentInput): ResponseBlocklet
|
|
1326
1719
|
cancelDownloadBlocklet(input: RequestBlockletInput): ResponseBlocklet
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1720
|
+
checkComponentsForUpdates(input: RequestBlockletInput): ResponseCheckComponentsForUpdates
|
|
1721
|
+
upgradeComponents(input: RequestUpdateComponentsInput): ResponseBlocklet
|
|
1722
|
+
configBlocklet(input: RequestConfigBlockletInput): ResponseBlocklet
|
|
1723
|
+
configPublicToStore(input: RequestConfigPublicToStoreInput): ResponseBlocklet
|
|
1724
|
+
configNavigations(input: RequestConfigNavigationsInput): ResponseBlocklet
|
|
1725
|
+
updateWhoCanAccess(input: RequestUpdateWhoCanAccessInput): ResponseBlocklet
|
|
1726
|
+
updateComponentTitle(input: RequestUpdateComponentTitleInput): ResponseBlocklet
|
|
1727
|
+
updateComponentMountPoint(input: RequestUpdateComponentMountPointInput): ResponseBlocklet
|
|
1728
|
+
backupToSpaces(input: RequestBackupToSpacesInput): GeneralResponse
|
|
1729
|
+
restoreFromSpaces(input: RequestRestoreFromSpacesInput): GeneralResponse
|
|
1730
|
+
migrateApplicationToStructV2(input: RequsetMigrateApplicationToStructV2Input): GeneralResponse
|
|
1331
1731
|
updateNodeInfo(input: NodeInfoInput): ResponseGetNodeInfo
|
|
1332
1732
|
updateNodeRouting(input: RequestNodeRoutingInput): ResponseGetNodeInfo
|
|
1333
1733
|
upgradeNodeVersion: ResponseUpgradeNodeVersion
|
|
1334
|
-
|
|
1335
|
-
deleteBlockletRegistry(input: RequestChangeBlockletRegistryInput): GeneralResponse
|
|
1336
|
-
selectBlockletRegistry(input: RequestChangeBlockletRegistryInput): GeneralResponse
|
|
1734
|
+
restartServer: ResponseRestartServer
|
|
1337
1735
|
resetNode(input: RequestResetNodeInput): ResponseResetNode
|
|
1338
|
-
|
|
1736
|
+
updateGateway(input: RequestGatewayInput): ResponseGateway
|
|
1737
|
+
createMemberInvitation(input: RequestCreateInvitationInput): ResponseCreateInvitation
|
|
1738
|
+
createTransferInvitation(input: RequestCreateTransferNodeInvitationInput): ResponseCreateTransferNodeInvitation
|
|
1339
1739
|
deleteInvitation(input: RequsetDeleteInvitationInput): GeneralResponse
|
|
1340
1740
|
createPassportIssuance(input: RequestCreatePassportIssuanceInput): ResponseCreatePassportIssuance
|
|
1341
1741
|
deletePassportIssuance(input: RequestDeleteTeamSessionInput): GeneralResponse
|
|
@@ -1344,6 +1744,7 @@ type Mutation {
|
|
|
1344
1744
|
removeUser(input: RequestTeamUserInput): ResponseUser
|
|
1345
1745
|
updateUserApproval(input: RequestTeamUserInput): ResponseUser
|
|
1346
1746
|
updateUserRole(input: RequestTeamUserInput): ResponseUser
|
|
1747
|
+
issuePassportToUser(input: RequestIssuePassportToUserInput): ResponseUser
|
|
1347
1748
|
revokeUserPassport(input: RequestRevokeUserPassportInput): ResponseUser
|
|
1348
1749
|
enableUserPassport(input: RequestRevokeUserPassportInput): ResponseUser
|
|
1349
1750
|
createRole(input: RequestCreateRoleInput): ResponseRole
|
|
@@ -1356,6 +1757,8 @@ type Mutation {
|
|
|
1356
1757
|
revokePermissionFromRole(input: RequestRevokePermissionFromRoleInput): GeneralResponse
|
|
1357
1758
|
updatePermissionsForRole(input: RequestUpdatePermissionsForRoleInput): ResponseRole
|
|
1358
1759
|
hasPermission(input: RequestHasPermissionInput): BooleanResponse
|
|
1760
|
+
addBlockletStore(input: RequestChangeBlockletStoreInput): GeneralResponse
|
|
1761
|
+
deleteBlockletStore(input: RequestChangeBlockletStoreInput): GeneralResponse
|
|
1359
1762
|
readNotifications(input: RequestReadNotificationsInput): ResponseReadNotifications
|
|
1360
1763
|
unreadNotifications(input: RequestReadNotificationsInput): ResponseReadNotifications
|
|
1361
1764
|
addRoutingSite(input: RequestAddRoutingSiteInput): ResponseRoutingSite
|
|
@@ -1367,9 +1770,10 @@ type Mutation {
|
|
|
1367
1770
|
updateRoutingRule(input: RequestUpdateRoutingRuleInput): ResponseRoutingSite
|
|
1368
1771
|
deleteRoutingRule(input: RequestDeleteRoutingRuleInput): ResponseRoutingSite
|
|
1369
1772
|
takeRoutingSnapshot(input: RequestTakeRoutingSnapshotInput): ResponseTakeRoutingSnapshot
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1773
|
+
updateCertificate(input: RequestUpdateNginxHttpsCertInput): ResponseUpdateNginxHttpsCert
|
|
1774
|
+
addCertificate(input: RequestAddNginxHttpsCertInput): ResponseAddNginxHttpsCert
|
|
1775
|
+
deleteCertificate(input: RequestDeleteNginxHttpsCertInput): ResponseDeleteNginxHttpsCert
|
|
1776
|
+
issueLetsEncryptCert(input: RequestAddLetsEncryptCertInput): ResponseAddLetsEncryptCert
|
|
1373
1777
|
createAccessKey(input: RequestCreateAccessKeyInput): ResponseCreateAccessKey
|
|
1374
1778
|
updateAccessKey(input: RequestUpdateAccessKeyInput): ResponseUpdateAccessKey
|
|
1375
1779
|
deleteAccessKey(input: RequestDeleteAccessKeyInput): ResponseDeleteAccessKey
|
|
@@ -1381,24 +1785,27 @@ type Mutation {
|
|
|
1381
1785
|
}
|
|
1382
1786
|
|
|
1383
1787
|
type Query {
|
|
1384
|
-
getBlocklet(input:
|
|
1788
|
+
getBlocklet(input: RequestBlockletDetailInput): ResponseBlocklet
|
|
1385
1789
|
getBlockletMetaFromUrl(input: RequestBlockletMetaFromUrlInput): ResponseBlockletMetaFromUrl
|
|
1790
|
+
getBlockletForLauncher(input: RequestBlockletForLauncherInput): ResponseBlockletForLauncher
|
|
1386
1791
|
getBlockletDiff(input: RequestBlockletDiffInput): ResponseBlockletDiff
|
|
1387
1792
|
getBlocklets(input: RequestGetBlockletsInput): ResponseGetBlocklets
|
|
1388
|
-
|
|
1793
|
+
getBlockletRuntimeHistory(input: RequestBlockletRuntimeHistoryInput): ResponseBlockletRuntimeHistory
|
|
1389
1794
|
getNodeInfo: ResponseGetNodeInfo
|
|
1795
|
+
resetNodeStatus: ResponseGetNodeInfo
|
|
1390
1796
|
getNodeEnv: ResponseGetNodeEnv
|
|
1391
1797
|
checkNodeVersion: ResponseCheckNodeVersion
|
|
1392
|
-
|
|
1393
|
-
|
|
1798
|
+
getDelegationState: ResponseDelegationState
|
|
1799
|
+
getNodeRuntimeHistory(input: RequestNodeRuntimeHistoryInput): ResponseNodeRuntimeHistory
|
|
1800
|
+
getBlockletMeta(input: RequestBlockletMetaInput): ResponseBlockletMeta
|
|
1394
1801
|
getNotifications(input: RequestGetNotificationsInput): ResponseGetNotifications
|
|
1395
1802
|
getRoutingSites(input: RequestGetRoutingSitesInput): ResponseGetRoutingSites
|
|
1396
1803
|
getRoutingSnapshots(input: RequestGetRoutingSnapshotsInput): ResponseGetRoutingSnapshots
|
|
1397
1804
|
getSnapshotSites(input: RequestGetSnapshotSitesInput): ResponseGetSnapshotSites
|
|
1398
1805
|
getRoutingProviders: ResponseGetRoutingProviders
|
|
1399
|
-
getServices: ResponseGetServices
|
|
1400
1806
|
getCertificates: ResponseGetCertificates
|
|
1401
1807
|
checkDomains(input: RequestCheckDomainsInput): ResponseCheckDomains
|
|
1808
|
+
findCertificateByDomain(input: RequestFindCertificateByDomainInput): ResponseFindCertificateByDomain
|
|
1402
1809
|
getAccessKeys: ResponseAccessKeys
|
|
1403
1810
|
getWebHooks: ResponseWebHooks
|
|
1404
1811
|
getWebhookSenders: ResponseSenderList
|
|
@@ -1407,9 +1814,12 @@ type Query {
|
|
|
1407
1814
|
getRoles(input: TeamInput): ResponseRoles
|
|
1408
1815
|
getPermissions(input: TeamInput): ResponsePermissions
|
|
1409
1816
|
getInvitations(input: TeamInput): ResponseGetInvitations
|
|
1410
|
-
getUsers(input:
|
|
1817
|
+
getUsers(input: RequestUsersInput): ResponseUsers
|
|
1411
1818
|
getUser(input: RequestTeamUserInput): ResponseUser
|
|
1819
|
+
getUsersCountPerRole(input: TeamInput): ResponseGetUsersCountPerRole
|
|
1820
|
+
getOwner(input: TeamInput): ResponseUser
|
|
1412
1821
|
getPermissionsByRole(input: RequestTeamRoleInput): ResponsePermissions
|
|
1413
1822
|
getPassportIssuances(input: RequestGetPassportIssuancesInput): ResponseGetPassportIssuances
|
|
1823
|
+
getAuditLogs(input: RequestGetAuditLogsInput): ResponseGetAuditLogs
|
|
1414
1824
|
}
|
|
1415
1825
|
|