@abtnode/schema 1.15.17 → 1.16.0-beta-8ee536d7
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 +597 -186
- package/lib/schema.graphqls +597 -186
- package/package.json +5 -2
package/lib/index.js
CHANGED
|
@@ -3,6 +3,8 @@ module.exports = `# Code generated by protoc-gen-gogql. DO NOT EDIT
|
|
|
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,51 @@ 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
|
+
didSpace: String
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
type BlockletController {
|
|
719
|
+
id: String
|
|
720
|
+
nftId: String
|
|
721
|
+
nftOwner: String
|
|
722
|
+
chainHost: String
|
|
723
|
+
expireDate: Uint32
|
|
544
724
|
}
|
|
545
725
|
|
|
546
726
|
type BlockletDiff {
|
|
@@ -565,6 +745,12 @@ type BlockletEngine {
|
|
|
565
745
|
visible: Boolean
|
|
566
746
|
}
|
|
567
747
|
|
|
748
|
+
type BlockletHistoryItem {
|
|
749
|
+
date: Uint64
|
|
750
|
+
cpu: Uint64
|
|
751
|
+
mem: Uint64
|
|
752
|
+
}
|
|
753
|
+
|
|
568
754
|
type BlockletMeta {
|
|
569
755
|
did: String
|
|
570
756
|
name: String
|
|
@@ -589,11 +775,16 @@ type BlockletMeta {
|
|
|
589
775
|
maintainers: [BlockletMetaPerson!]
|
|
590
776
|
contributors: [BlockletMetaPerson!]
|
|
591
777
|
repository: BlockletRepository
|
|
592
|
-
|
|
778
|
+
payment: BlockletPayment
|
|
593
779
|
nftFactory: String
|
|
594
780
|
lastPublishedAt: String
|
|
595
781
|
capabilities: BlockletCapabilities
|
|
596
|
-
|
|
782
|
+
components: [ChildConfig!]
|
|
783
|
+
environments: [Environment!]
|
|
784
|
+
requirements: Requirement
|
|
785
|
+
bundleDid: String
|
|
786
|
+
bundleName: String
|
|
787
|
+
navigation: [Any!]
|
|
597
788
|
}
|
|
598
789
|
|
|
599
790
|
type BlockletMetaInterface {
|
|
@@ -617,21 +808,32 @@ type BlockletMetaService {
|
|
|
617
808
|
config: Any
|
|
618
809
|
}
|
|
619
810
|
|
|
620
|
-
type
|
|
621
|
-
|
|
622
|
-
|
|
811
|
+
type BlockletMigrateRecord {
|
|
812
|
+
appSk: String
|
|
813
|
+
appDid: String
|
|
814
|
+
at: String
|
|
623
815
|
}
|
|
624
816
|
|
|
625
|
-
type
|
|
817
|
+
type BlockletPayment {
|
|
818
|
+
price: [BlockletPaymentPrice!]
|
|
819
|
+
share: [BlockletPaymentShare!]
|
|
820
|
+
}
|
|
821
|
+
|
|
822
|
+
type BlockletPaymentPrice {
|
|
823
|
+
address: String
|
|
824
|
+
value: String
|
|
825
|
+
symbol: String
|
|
826
|
+
}
|
|
827
|
+
|
|
828
|
+
type BlockletPaymentShare {
|
|
829
|
+
address: String
|
|
626
830
|
name: String
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
protected: Boolean
|
|
634
|
-
id: String
|
|
831
|
+
value: String
|
|
832
|
+
}
|
|
833
|
+
|
|
834
|
+
type BlockletPreUpdateInfo {
|
|
835
|
+
updateId: String
|
|
836
|
+
updateList: [UpdateList!]
|
|
635
837
|
}
|
|
636
838
|
|
|
637
839
|
type BlockletRepository {
|
|
@@ -639,12 +841,16 @@ type BlockletRepository {
|
|
|
639
841
|
url: String
|
|
640
842
|
}
|
|
641
843
|
|
|
642
|
-
type
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
844
|
+
type BlockletSettings {
|
|
845
|
+
initialized: Boolean
|
|
846
|
+
enablePassportIssuance: Boolean
|
|
847
|
+
trustedPassports: [TrustedPassport!]
|
|
848
|
+
whoCanAccess: String
|
|
849
|
+
owner: WalletInfo
|
|
850
|
+
children: [DeletedBlockletState!]
|
|
851
|
+
publicToStore: Boolean
|
|
852
|
+
storeList: [BlockletStore!]
|
|
853
|
+
navigations: [ConfigNavigation!]
|
|
648
854
|
}
|
|
649
855
|
|
|
650
856
|
type BlockletState {
|
|
@@ -654,28 +860,32 @@ type BlockletState {
|
|
|
654
860
|
installedAt: String
|
|
655
861
|
startedAt: String
|
|
656
862
|
pausedAt: String
|
|
863
|
+
stoppedAt: String
|
|
657
864
|
environments: [ConfigEntry!]
|
|
658
865
|
configs: [ConfigEntry!]
|
|
659
866
|
diskInfo: DiskInfo
|
|
660
867
|
runtimeInfo: RuntimeInfo
|
|
868
|
+
appRuntimeInfo: RuntimeInfo
|
|
661
869
|
source: BlockletSource
|
|
662
870
|
deployedFrom: String
|
|
871
|
+
bundleSource: Any
|
|
663
872
|
port: Float32
|
|
664
|
-
interfaces: [BlockletStateInterface!]
|
|
665
873
|
engine: BlockletEngine
|
|
666
874
|
mode: String
|
|
667
875
|
ports: Any
|
|
668
|
-
children: [
|
|
876
|
+
children: [ComponentState!]
|
|
669
877
|
trustedPassports: [TrustedPassport!]
|
|
670
878
|
enablePassportIssuance: Boolean
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
879
|
+
dynamic: Boolean
|
|
880
|
+
mountPoint: String
|
|
881
|
+
settings: BlockletSettings
|
|
882
|
+
appDid: String
|
|
883
|
+
site: RoutingSite
|
|
884
|
+
controller: BlockletController
|
|
885
|
+
migratedFrom: [BlockletMigrateRecord!]
|
|
886
|
+
appPid: String
|
|
887
|
+
externalSk: Boolean
|
|
888
|
+
structVersion: String
|
|
679
889
|
}
|
|
680
890
|
|
|
681
891
|
type BlockletStats {
|
|
@@ -684,6 +894,17 @@ type BlockletStats {
|
|
|
684
894
|
purchases: Float32
|
|
685
895
|
}
|
|
686
896
|
|
|
897
|
+
type BlockletStore {
|
|
898
|
+
name: String
|
|
899
|
+
description: String
|
|
900
|
+
url: String
|
|
901
|
+
logoUrl: String
|
|
902
|
+
maintainer: String
|
|
903
|
+
cdnUrl: String
|
|
904
|
+
protected: Boolean
|
|
905
|
+
id: String
|
|
906
|
+
}
|
|
907
|
+
|
|
687
908
|
type BooleanResponse {
|
|
688
909
|
code: StatusCode
|
|
689
910
|
result: Boolean
|
|
@@ -692,19 +913,14 @@ type BooleanResponse {
|
|
|
692
913
|
type Certificate {
|
|
693
914
|
name: String
|
|
694
915
|
domain: String
|
|
695
|
-
validFrom: Int64
|
|
696
|
-
validTo: Int64
|
|
697
|
-
issuer: CertificateIssuer
|
|
698
|
-
sans: [String!]
|
|
699
916
|
id: String
|
|
700
|
-
|
|
701
|
-
fingerprint: String
|
|
702
|
-
validityPeriod: Int64
|
|
917
|
+
meta: CertificateMeta
|
|
703
918
|
matchedSites: [MatchedSites!]
|
|
704
919
|
createdAt: String
|
|
705
920
|
updatedAt: String
|
|
706
|
-
public: Boolean
|
|
707
921
|
isProtected: Boolean
|
|
922
|
+
source: String
|
|
923
|
+
status: String
|
|
708
924
|
}
|
|
709
925
|
|
|
710
926
|
type CertificateIssuer {
|
|
@@ -713,6 +929,46 @@ type CertificateIssuer {
|
|
|
713
929
|
commonName: String
|
|
714
930
|
}
|
|
715
931
|
|
|
932
|
+
type CertificateMeta {
|
|
933
|
+
issuer: CertificateIssuer
|
|
934
|
+
sans: [String!]
|
|
935
|
+
validFrom: Int64
|
|
936
|
+
validTo: Int64
|
|
937
|
+
fingerprintAlg: String
|
|
938
|
+
fingerprint: String
|
|
939
|
+
validityPeriod: Int64
|
|
940
|
+
}
|
|
941
|
+
|
|
942
|
+
type ChildConfig {
|
|
943
|
+
name: String
|
|
944
|
+
mountPoint: String
|
|
945
|
+
}
|
|
946
|
+
|
|
947
|
+
type ComponentState {
|
|
948
|
+
meta: BlockletMeta
|
|
949
|
+
status: BlockletStatus
|
|
950
|
+
createdAt: String
|
|
951
|
+
installedAt: String
|
|
952
|
+
startedAt: String
|
|
953
|
+
pausedAt: String
|
|
954
|
+
stoppedAt: String
|
|
955
|
+
environments: [ConfigEntry!]
|
|
956
|
+
configs: [ConfigEntry!]
|
|
957
|
+
diskInfo: DiskInfo
|
|
958
|
+
runtimeInfo: RuntimeInfo
|
|
959
|
+
source: BlockletSource
|
|
960
|
+
deployedFrom: String
|
|
961
|
+
bundleSource: Any
|
|
962
|
+
port: Float32
|
|
963
|
+
engine: BlockletEngine
|
|
964
|
+
mode: String
|
|
965
|
+
ports: Any
|
|
966
|
+
children: [ComponentState!]
|
|
967
|
+
dynamic: Boolean
|
|
968
|
+
mountPoint: String
|
|
969
|
+
dependents: [Dependent!]
|
|
970
|
+
}
|
|
971
|
+
|
|
716
972
|
type ConfigEntry {
|
|
717
973
|
key: String
|
|
718
974
|
value: String
|
|
@@ -721,6 +977,20 @@ type ConfigEntry {
|
|
|
721
977
|
validation: String
|
|
722
978
|
secure: Boolean
|
|
723
979
|
custom: Boolean
|
|
980
|
+
shared: Boolean
|
|
981
|
+
}
|
|
982
|
+
|
|
983
|
+
type ConfigNavigation {
|
|
984
|
+
id: String
|
|
985
|
+
title: String
|
|
986
|
+
link: String
|
|
987
|
+
icon: String
|
|
988
|
+
section: String
|
|
989
|
+
component: String
|
|
990
|
+
parent: String
|
|
991
|
+
role: String
|
|
992
|
+
visible: Boolean
|
|
993
|
+
from: String
|
|
724
994
|
}
|
|
725
995
|
|
|
726
996
|
type CreateAccessKey {
|
|
@@ -732,6 +1002,33 @@ type CreateAccessKey {
|
|
|
732
1002
|
lastUsedAt: String
|
|
733
1003
|
}
|
|
734
1004
|
|
|
1005
|
+
type DelegationState {
|
|
1006
|
+
delegated: Boolean
|
|
1007
|
+
}
|
|
1008
|
+
|
|
1009
|
+
type DeletedBlockletMeta {
|
|
1010
|
+
did: String
|
|
1011
|
+
name: String
|
|
1012
|
+
version: String
|
|
1013
|
+
description: String
|
|
1014
|
+
title: String
|
|
1015
|
+
bundleDid: String
|
|
1016
|
+
bundleName: String
|
|
1017
|
+
}
|
|
1018
|
+
|
|
1019
|
+
type DeletedBlockletState {
|
|
1020
|
+
meta: DeletedBlockletMeta
|
|
1021
|
+
status: BlockletStatus
|
|
1022
|
+
deployedFrom: String
|
|
1023
|
+
mountPoint: String
|
|
1024
|
+
deletedAt: String
|
|
1025
|
+
}
|
|
1026
|
+
|
|
1027
|
+
type Dependent {
|
|
1028
|
+
id: String
|
|
1029
|
+
required: Boolean
|
|
1030
|
+
}
|
|
1031
|
+
|
|
735
1032
|
type DiskInfo {
|
|
736
1033
|
app: Float32
|
|
737
1034
|
data: Float32
|
|
@@ -740,6 +1037,28 @@ type DiskInfo {
|
|
|
740
1037
|
blocklets: Float32
|
|
741
1038
|
}
|
|
742
1039
|
|
|
1040
|
+
type Environment {
|
|
1041
|
+
name: String
|
|
1042
|
+
description: String
|
|
1043
|
+
default: String
|
|
1044
|
+
required: Boolean
|
|
1045
|
+
secure: Boolean
|
|
1046
|
+
validation: String
|
|
1047
|
+
shared: Boolean
|
|
1048
|
+
}
|
|
1049
|
+
|
|
1050
|
+
type Fuel {
|
|
1051
|
+
endpoint: String
|
|
1052
|
+
address: String
|
|
1053
|
+
value: String
|
|
1054
|
+
reason: String
|
|
1055
|
+
}
|
|
1056
|
+
|
|
1057
|
+
type Gateway {
|
|
1058
|
+
requestLimit: RequestLimit
|
|
1059
|
+
cacheEnabled: Boolean
|
|
1060
|
+
}
|
|
1061
|
+
|
|
743
1062
|
type GeneralResponse {
|
|
744
1063
|
code: StatusCode
|
|
745
1064
|
}
|
|
@@ -756,7 +1075,7 @@ type InviteInfo {
|
|
|
756
1075
|
role: String
|
|
757
1076
|
remark: String
|
|
758
1077
|
expireDate: String
|
|
759
|
-
inviter:
|
|
1078
|
+
inviter: UserInfo
|
|
760
1079
|
teamDid: String
|
|
761
1080
|
interfaceName: String
|
|
762
1081
|
}
|
|
@@ -767,17 +1086,18 @@ type Issuer {
|
|
|
767
1086
|
pk: String
|
|
768
1087
|
}
|
|
769
1088
|
|
|
770
|
-
type
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
registryUrl: String
|
|
1089
|
+
type KeyValue {
|
|
1090
|
+
key: String
|
|
1091
|
+
value: Any
|
|
774
1092
|
}
|
|
775
1093
|
|
|
776
1094
|
type LauncherInfo {
|
|
777
1095
|
did: String
|
|
778
1096
|
type: String
|
|
779
|
-
|
|
1097
|
+
provider: String
|
|
780
1098
|
url: String
|
|
1099
|
+
tag: String
|
|
1100
|
+
chainHost: String
|
|
781
1101
|
}
|
|
782
1102
|
|
|
783
1103
|
type MatchedSites {
|
|
@@ -785,22 +1105,6 @@ type MatchedSites {
|
|
|
785
1105
|
domain: String
|
|
786
1106
|
}
|
|
787
1107
|
|
|
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
1108
|
type NodeEnvInfo {
|
|
805
1109
|
ip: IPInfo
|
|
806
1110
|
os: String
|
|
@@ -812,10 +1116,21 @@ type NodeEnvInfo {
|
|
|
812
1116
|
disk: DiskInfo
|
|
813
1117
|
}
|
|
814
1118
|
|
|
1119
|
+
type NodeHistoryItem {
|
|
1120
|
+
date: Uint64
|
|
1121
|
+
cpu: Uint64
|
|
1122
|
+
mem: Uint64
|
|
1123
|
+
daemonMem: Uint64
|
|
1124
|
+
serviceMem: Uint64
|
|
1125
|
+
dbMem: Uint64
|
|
1126
|
+
}
|
|
1127
|
+
|
|
815
1128
|
type NodeRouting {
|
|
816
1129
|
provider: String
|
|
817
1130
|
snapshotHash: String
|
|
818
1131
|
adminPath: String
|
|
1132
|
+
requestLimit: RequestLimit
|
|
1133
|
+
cacheEnabled: Boolean
|
|
819
1134
|
}
|
|
820
1135
|
|
|
821
1136
|
type NodeState {
|
|
@@ -832,7 +1147,6 @@ type NodeState {
|
|
|
832
1147
|
initializedAt: String
|
|
833
1148
|
mode: String
|
|
834
1149
|
routing: NodeRouting
|
|
835
|
-
members: [MemberInfo!]
|
|
836
1150
|
environments: [ConfigEntry!]
|
|
837
1151
|
uptime: Float32
|
|
838
1152
|
autoUpgrade: Boolean
|
|
@@ -841,12 +1155,15 @@ type NodeState {
|
|
|
841
1155
|
registerUrl: String
|
|
842
1156
|
enableWelcomePage: Boolean
|
|
843
1157
|
webWalletUrl: String
|
|
844
|
-
blockletRegistryList: [
|
|
1158
|
+
blockletRegistryList: [BlockletStore!]
|
|
845
1159
|
ownerNft: OwnerNft
|
|
846
1160
|
diskAlertThreshold: Uint32
|
|
847
1161
|
trustedPassports: [TrustedPassport!]
|
|
848
|
-
|
|
1162
|
+
launcher: LauncherInfo
|
|
849
1163
|
enablePassportIssuance: Boolean
|
|
1164
|
+
didRegistry: String
|
|
1165
|
+
didDomain: String
|
|
1166
|
+
status: Uint32
|
|
850
1167
|
}
|
|
851
1168
|
|
|
852
1169
|
type Notification {
|
|
@@ -865,6 +1182,7 @@ type Notification {
|
|
|
865
1182
|
}
|
|
866
1183
|
|
|
867
1184
|
type OwnerNft {
|
|
1185
|
+
did: String
|
|
868
1186
|
holder: String
|
|
869
1187
|
issuer: String
|
|
870
1188
|
}
|
|
@@ -903,11 +1221,28 @@ type Permission {
|
|
|
903
1221
|
isProtected: Boolean
|
|
904
1222
|
}
|
|
905
1223
|
|
|
1224
|
+
type RequestLimit {
|
|
1225
|
+
enabled: Boolean
|
|
1226
|
+
rate: Uint32
|
|
1227
|
+
ipHeader: String
|
|
1228
|
+
}
|
|
1229
|
+
|
|
1230
|
+
type Requirement {
|
|
1231
|
+
server: String
|
|
1232
|
+
os: Any
|
|
1233
|
+
cpu: Any
|
|
1234
|
+
fuels: [Fuel!]
|
|
1235
|
+
}
|
|
1236
|
+
|
|
906
1237
|
type ResponseAccessKeys {
|
|
907
1238
|
code: StatusCode
|
|
908
1239
|
list: [AccessKey!]
|
|
909
1240
|
}
|
|
910
1241
|
|
|
1242
|
+
type ResponseAddLetsEncryptCert {
|
|
1243
|
+
code: StatusCode
|
|
1244
|
+
}
|
|
1245
|
+
|
|
911
1246
|
type ResponseAddNginxHttpsCert {
|
|
912
1247
|
code: StatusCode
|
|
913
1248
|
}
|
|
@@ -922,6 +1257,13 @@ type ResponseBlockletDiff {
|
|
|
922
1257
|
blockletDiff: BlockletDiff
|
|
923
1258
|
}
|
|
924
1259
|
|
|
1260
|
+
type ResponseBlockletForLauncher {
|
|
1261
|
+
code: StatusCode
|
|
1262
|
+
did: String
|
|
1263
|
+
isInstalled: Boolean
|
|
1264
|
+
isRunning: Boolean
|
|
1265
|
+
}
|
|
1266
|
+
|
|
925
1267
|
type ResponseBlockletMeta {
|
|
926
1268
|
code: StatusCode
|
|
927
1269
|
meta: Any
|
|
@@ -930,9 +1272,17 @@ type ResponseBlockletMeta {
|
|
|
930
1272
|
type ResponseBlockletMetaFromUrl {
|
|
931
1273
|
code: StatusCode
|
|
932
1274
|
meta: BlockletMeta
|
|
1275
|
+
isFree: Boolean
|
|
1276
|
+
inStore: Boolean
|
|
1277
|
+
registryUrl: String
|
|
1278
|
+
}
|
|
1279
|
+
|
|
1280
|
+
type ResponseBlockletRuntimeHistory {
|
|
1281
|
+
code: StatusCode
|
|
1282
|
+
history: [BlockletHistoryItem!]
|
|
933
1283
|
}
|
|
934
1284
|
|
|
935
|
-
type
|
|
1285
|
+
type ResponseCheckComponentsForUpdates {
|
|
936
1286
|
code: StatusCode
|
|
937
1287
|
preUpdateInfo: BlockletPreUpdateInfo
|
|
938
1288
|
}
|
|
@@ -946,11 +1296,6 @@ type ResponseCheckNodeVersion {
|
|
|
946
1296
|
version: String
|
|
947
1297
|
}
|
|
948
1298
|
|
|
949
|
-
type ResponseConfigBlocklet {
|
|
950
|
-
code: StatusCode
|
|
951
|
-
blocklet: BlockletState
|
|
952
|
-
}
|
|
953
|
-
|
|
954
1299
|
type ResponseCreateAccessKey {
|
|
955
1300
|
code: StatusCode
|
|
956
1301
|
data: CreateAccessKey
|
|
@@ -966,11 +1311,21 @@ type ResponseCreatePassportIssuance {
|
|
|
966
1311
|
info: PassportIssuanceInfo
|
|
967
1312
|
}
|
|
968
1313
|
|
|
1314
|
+
type ResponseCreateTransferNodeInvitation {
|
|
1315
|
+
code: StatusCode
|
|
1316
|
+
inviteInfo: InviteInfo
|
|
1317
|
+
}
|
|
1318
|
+
|
|
969
1319
|
type ResponseCreateWebHook {
|
|
970
1320
|
code: StatusCode
|
|
971
1321
|
webhook: WebHookSender
|
|
972
1322
|
}
|
|
973
1323
|
|
|
1324
|
+
type ResponseDelegationState {
|
|
1325
|
+
code: StatusCode
|
|
1326
|
+
state: DelegationState
|
|
1327
|
+
}
|
|
1328
|
+
|
|
974
1329
|
type ResponseDeleteAccessKey {
|
|
975
1330
|
code: StatusCode
|
|
976
1331
|
}
|
|
@@ -983,6 +1338,23 @@ type ResponseDeleteWebHook {
|
|
|
983
1338
|
code: StatusCode
|
|
984
1339
|
}
|
|
985
1340
|
|
|
1341
|
+
type ResponseFindCertificateByDomain {
|
|
1342
|
+
code: StatusCode
|
|
1343
|
+
cert: Certificate
|
|
1344
|
+
}
|
|
1345
|
+
|
|
1346
|
+
type ResponseGateway {
|
|
1347
|
+
code: StatusCode
|
|
1348
|
+
gateway: Gateway
|
|
1349
|
+
cacheEnabled: Boolean
|
|
1350
|
+
}
|
|
1351
|
+
|
|
1352
|
+
type ResponseGetAuditLogs {
|
|
1353
|
+
code: StatusCode
|
|
1354
|
+
list: [AuditLog!]
|
|
1355
|
+
paging: Paging
|
|
1356
|
+
}
|
|
1357
|
+
|
|
986
1358
|
type ResponseGetBlocklets {
|
|
987
1359
|
code: StatusCode
|
|
988
1360
|
blocklets: [BlockletState!]
|
|
@@ -1034,11 +1406,6 @@ type ResponseGetRoutingSnapshots {
|
|
|
1034
1406
|
snapshots: [RoutingSnapshot!]
|
|
1035
1407
|
}
|
|
1036
1408
|
|
|
1037
|
-
type ResponseGetServices {
|
|
1038
|
-
code: StatusCode
|
|
1039
|
-
services: [BlockletService!]
|
|
1040
|
-
}
|
|
1041
|
-
|
|
1042
1409
|
type ResponseGetSession {
|
|
1043
1410
|
code: StatusCode
|
|
1044
1411
|
session: Any
|
|
@@ -1049,19 +1416,14 @@ type ResponseGetSnapshotSites {
|
|
|
1049
1416
|
sites: [RoutingSite!]
|
|
1050
1417
|
}
|
|
1051
1418
|
|
|
1052
|
-
type
|
|
1419
|
+
type ResponseGetUsersCountPerRole {
|
|
1053
1420
|
code: StatusCode
|
|
1054
|
-
|
|
1055
|
-
}
|
|
1056
|
-
|
|
1057
|
-
type ResponseLatestBlockletVersion {
|
|
1058
|
-
code: StatusCode
|
|
1059
|
-
data: LatestBlockletVersion
|
|
1421
|
+
counts: [KeyValue!]
|
|
1060
1422
|
}
|
|
1061
1423
|
|
|
1062
|
-
type
|
|
1424
|
+
type ResponseNodeRuntimeHistory {
|
|
1063
1425
|
code: StatusCode
|
|
1064
|
-
|
|
1426
|
+
history: [NodeHistoryItem!]
|
|
1065
1427
|
}
|
|
1066
1428
|
|
|
1067
1429
|
type ResponsePermission {
|
|
@@ -1083,6 +1445,11 @@ type ResponseResetNode {
|
|
|
1083
1445
|
code: StatusCode
|
|
1084
1446
|
}
|
|
1085
1447
|
|
|
1448
|
+
type ResponseRestartServer {
|
|
1449
|
+
code: StatusCode
|
|
1450
|
+
sessionId: String
|
|
1451
|
+
}
|
|
1452
|
+
|
|
1086
1453
|
type ResponseRole {
|
|
1087
1454
|
code: StatusCode
|
|
1088
1455
|
role: Role
|
|
@@ -1128,12 +1495,13 @@ type ResponseUpgradeNodeVersion {
|
|
|
1128
1495
|
|
|
1129
1496
|
type ResponseUser {
|
|
1130
1497
|
code: StatusCode
|
|
1131
|
-
user:
|
|
1498
|
+
user: UserInfo
|
|
1132
1499
|
}
|
|
1133
1500
|
|
|
1134
1501
|
type ResponseUsers {
|
|
1135
1502
|
code: StatusCode
|
|
1136
|
-
users: [
|
|
1503
|
+
users: [UserInfo!]
|
|
1504
|
+
paging: Paging
|
|
1137
1505
|
}
|
|
1138
1506
|
|
|
1139
1507
|
type ResponseWebHooks {
|
|
@@ -1162,8 +1530,6 @@ type RoutingRule {
|
|
|
1162
1530
|
from: RoutingRuleFrom
|
|
1163
1531
|
to: RoutingRuleTo
|
|
1164
1532
|
isProtected: Boolean
|
|
1165
|
-
interfaces: [BlockletStateInterface!]
|
|
1166
|
-
services: [BlockletService!]
|
|
1167
1533
|
}
|
|
1168
1534
|
|
|
1169
1535
|
type RoutingRuleFrom {
|
|
@@ -1184,7 +1550,7 @@ type RoutingRuleTo {
|
|
|
1184
1550
|
url: String
|
|
1185
1551
|
redirectCode: Int32
|
|
1186
1552
|
interfaceName: String
|
|
1187
|
-
|
|
1553
|
+
componentId: String
|
|
1188
1554
|
}
|
|
1189
1555
|
|
|
1190
1556
|
type RoutingSite {
|
|
@@ -1214,6 +1580,7 @@ type RuntimeInfo {
|
|
|
1214
1580
|
|
|
1215
1581
|
type TrustedPassport {
|
|
1216
1582
|
issuerDid: String
|
|
1583
|
+
remark: String
|
|
1217
1584
|
mappings: [TrustedPassportMapping!]
|
|
1218
1585
|
}
|
|
1219
1586
|
|
|
@@ -1230,6 +1597,29 @@ type TrustedPassportMappingTo {
|
|
|
1230
1597
|
role: String
|
|
1231
1598
|
}
|
|
1232
1599
|
|
|
1600
|
+
type UpdateList {
|
|
1601
|
+
id: String
|
|
1602
|
+
meta: BlockletMeta
|
|
1603
|
+
}
|
|
1604
|
+
|
|
1605
|
+
type UserInfo {
|
|
1606
|
+
did: String
|
|
1607
|
+
pk: String
|
|
1608
|
+
role: String
|
|
1609
|
+
avatar: String
|
|
1610
|
+
fullName: String
|
|
1611
|
+
email: String
|
|
1612
|
+
approved: Boolean
|
|
1613
|
+
createdAt: String
|
|
1614
|
+
updatedAt: String
|
|
1615
|
+
locale: String
|
|
1616
|
+
passports: [Passport!]
|
|
1617
|
+
firstLoginAt: String
|
|
1618
|
+
lastLoginAt: String
|
|
1619
|
+
remark: String
|
|
1620
|
+
lastLoginIp: String
|
|
1621
|
+
}
|
|
1622
|
+
|
|
1233
1623
|
type WalletInfo {
|
|
1234
1624
|
did: String
|
|
1235
1625
|
pk: String
|
|
@@ -1264,6 +1654,7 @@ enum BackendServiceType {
|
|
|
1264
1654
|
redirect
|
|
1265
1655
|
none
|
|
1266
1656
|
general_proxy
|
|
1657
|
+
direct_response
|
|
1267
1658
|
}
|
|
1268
1659
|
|
|
1269
1660
|
enum BlockletSource {
|
|
@@ -1271,6 +1662,7 @@ enum BlockletSource {
|
|
|
1271
1662
|
local
|
|
1272
1663
|
upload
|
|
1273
1664
|
url
|
|
1665
|
+
custom
|
|
1274
1666
|
}
|
|
1275
1667
|
|
|
1276
1668
|
enum BlockletStatus {
|
|
@@ -1288,6 +1680,7 @@ enum BlockletStatus {
|
|
|
1288
1680
|
restarting
|
|
1289
1681
|
corrupted
|
|
1290
1682
|
waiting
|
|
1683
|
+
deleted
|
|
1291
1684
|
unknown
|
|
1292
1685
|
}
|
|
1293
1686
|
|
|
@@ -1315,25 +1708,33 @@ scalar Upload
|
|
|
1315
1708
|
|
|
1316
1709
|
type Mutation {
|
|
1317
1710
|
installBlocklet(input: RequestVersionedBlockletInput): ResponseBlocklet
|
|
1318
|
-
|
|
1711
|
+
installComponent(input: RequestInstallComponentInput): ResponseBlocklet
|
|
1319
1712
|
startBlocklet(input: RequestBlockletInput): ResponseBlocklet
|
|
1320
1713
|
stopBlocklet(input: RequestBlockletInput): ResponseBlocklet
|
|
1321
1714
|
reloadBlocklet(input: RequestBlockletInput): ResponseBlocklet
|
|
1322
1715
|
restartBlocklet(input: RequestBlockletInput): ResponseBlocklet
|
|
1323
1716
|
deleteBlocklet(input: RequestDeleteBlockletInput): ResponseBlocklet
|
|
1717
|
+
deleteComponent(input: RequestDeleteComponentInput): ResponseBlocklet
|
|
1324
1718
|
cancelDownloadBlocklet(input: RequestBlockletInput): ResponseBlocklet
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1719
|
+
checkComponentsForUpdates(input: RequestBlockletInput): ResponseCheckComponentsForUpdates
|
|
1720
|
+
upgradeComponents(input: RequestUpdateComponentsInput): ResponseBlocklet
|
|
1721
|
+
configBlocklet(input: RequestConfigBlockletInput): ResponseBlocklet
|
|
1722
|
+
configPublicToStore(input: RequestConfigPublicToStoreInput): ResponseBlocklet
|
|
1723
|
+
configNavigations(input: RequestConfigNavigationsInput): ResponseBlocklet
|
|
1724
|
+
updateWhoCanAccess(input: RequestUpdateWhoCanAccessInput): ResponseBlocklet
|
|
1725
|
+
updateComponentTitle(input: RequestUpdateComponentTitleInput): ResponseBlocklet
|
|
1726
|
+
updateComponentMountPoint(input: RequestUpdateComponentMountPointInput): ResponseBlocklet
|
|
1727
|
+
backupToSpaces(input: RequestBackupToSpacesInput): GeneralResponse
|
|
1728
|
+
restoreFromSpaces(input: RequestRestoreFromSpacesInput): GeneralResponse
|
|
1729
|
+
migrateApplicationToStructV2(input: RequsetMigrateApplicationToStructV2Input): GeneralResponse
|
|
1329
1730
|
updateNodeInfo(input: NodeInfoInput): ResponseGetNodeInfo
|
|
1330
1731
|
updateNodeRouting(input: RequestNodeRoutingInput): ResponseGetNodeInfo
|
|
1331
1732
|
upgradeNodeVersion: ResponseUpgradeNodeVersion
|
|
1332
|
-
|
|
1333
|
-
deleteBlockletRegistry(input: RequestChangeBlockletRegistryInput): GeneralResponse
|
|
1334
|
-
selectBlockletRegistry(input: RequestChangeBlockletRegistryInput): GeneralResponse
|
|
1733
|
+
restartServer: ResponseRestartServer
|
|
1335
1734
|
resetNode(input: RequestResetNodeInput): ResponseResetNode
|
|
1336
|
-
|
|
1735
|
+
updateGateway(input: RequestGatewayInput): ResponseGateway
|
|
1736
|
+
createMemberInvitation(input: RequestCreateInvitationInput): ResponseCreateInvitation
|
|
1737
|
+
createTransferInvitation(input: RequestCreateTransferNodeInvitationInput): ResponseCreateTransferNodeInvitation
|
|
1337
1738
|
deleteInvitation(input: RequsetDeleteInvitationInput): GeneralResponse
|
|
1338
1739
|
createPassportIssuance(input: RequestCreatePassportIssuanceInput): ResponseCreatePassportIssuance
|
|
1339
1740
|
deletePassportIssuance(input: RequestDeleteTeamSessionInput): GeneralResponse
|
|
@@ -1342,6 +1743,7 @@ type Mutation {
|
|
|
1342
1743
|
removeUser(input: RequestTeamUserInput): ResponseUser
|
|
1343
1744
|
updateUserApproval(input: RequestTeamUserInput): ResponseUser
|
|
1344
1745
|
updateUserRole(input: RequestTeamUserInput): ResponseUser
|
|
1746
|
+
issuePassportToUser(input: RequestIssuePassportToUserInput): ResponseUser
|
|
1345
1747
|
revokeUserPassport(input: RequestRevokeUserPassportInput): ResponseUser
|
|
1346
1748
|
enableUserPassport(input: RequestRevokeUserPassportInput): ResponseUser
|
|
1347
1749
|
createRole(input: RequestCreateRoleInput): ResponseRole
|
|
@@ -1354,6 +1756,8 @@ type Mutation {
|
|
|
1354
1756
|
revokePermissionFromRole(input: RequestRevokePermissionFromRoleInput): GeneralResponse
|
|
1355
1757
|
updatePermissionsForRole(input: RequestUpdatePermissionsForRoleInput): ResponseRole
|
|
1356
1758
|
hasPermission(input: RequestHasPermissionInput): BooleanResponse
|
|
1759
|
+
addBlockletStore(input: RequestChangeBlockletStoreInput): GeneralResponse
|
|
1760
|
+
deleteBlockletStore(input: RequestChangeBlockletStoreInput): GeneralResponse
|
|
1357
1761
|
readNotifications(input: RequestReadNotificationsInput): ResponseReadNotifications
|
|
1358
1762
|
unreadNotifications(input: RequestReadNotificationsInput): ResponseReadNotifications
|
|
1359
1763
|
addRoutingSite(input: RequestAddRoutingSiteInput): ResponseRoutingSite
|
|
@@ -1365,9 +1769,10 @@ type Mutation {
|
|
|
1365
1769
|
updateRoutingRule(input: RequestUpdateRoutingRuleInput): ResponseRoutingSite
|
|
1366
1770
|
deleteRoutingRule(input: RequestDeleteRoutingRuleInput): ResponseRoutingSite
|
|
1367
1771
|
takeRoutingSnapshot(input: RequestTakeRoutingSnapshotInput): ResponseTakeRoutingSnapshot
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1772
|
+
updateCertificate(input: RequestUpdateNginxHttpsCertInput): ResponseUpdateNginxHttpsCert
|
|
1773
|
+
addCertificate(input: RequestAddNginxHttpsCertInput): ResponseAddNginxHttpsCert
|
|
1774
|
+
deleteCertificate(input: RequestDeleteNginxHttpsCertInput): ResponseDeleteNginxHttpsCert
|
|
1775
|
+
issueLetsEncryptCert(input: RequestAddLetsEncryptCertInput): ResponseAddLetsEncryptCert
|
|
1371
1776
|
createAccessKey(input: RequestCreateAccessKeyInput): ResponseCreateAccessKey
|
|
1372
1777
|
updateAccessKey(input: RequestUpdateAccessKeyInput): ResponseUpdateAccessKey
|
|
1373
1778
|
deleteAccessKey(input: RequestDeleteAccessKeyInput): ResponseDeleteAccessKey
|
|
@@ -1379,24 +1784,27 @@ type Mutation {
|
|
|
1379
1784
|
}
|
|
1380
1785
|
|
|
1381
1786
|
type Query {
|
|
1382
|
-
getBlocklet(input:
|
|
1787
|
+
getBlocklet(input: RequestBlockletDetailInput): ResponseBlocklet
|
|
1383
1788
|
getBlockletMetaFromUrl(input: RequestBlockletMetaFromUrlInput): ResponseBlockletMetaFromUrl
|
|
1789
|
+
getBlockletForLauncher(input: RequestBlockletForLauncherInput): ResponseBlockletForLauncher
|
|
1384
1790
|
getBlockletDiff(input: RequestBlockletDiffInput): ResponseBlockletDiff
|
|
1385
1791
|
getBlocklets(input: RequestGetBlockletsInput): ResponseGetBlocklets
|
|
1386
|
-
|
|
1792
|
+
getBlockletRuntimeHistory(input: RequestBlockletRuntimeHistoryInput): ResponseBlockletRuntimeHistory
|
|
1387
1793
|
getNodeInfo: ResponseGetNodeInfo
|
|
1794
|
+
resetNodeStatus: ResponseGetNodeInfo
|
|
1388
1795
|
getNodeEnv: ResponseGetNodeEnv
|
|
1389
1796
|
checkNodeVersion: ResponseCheckNodeVersion
|
|
1390
|
-
|
|
1391
|
-
|
|
1797
|
+
getDelegationState: ResponseDelegationState
|
|
1798
|
+
getNodeRuntimeHistory(input: RequestNodeRuntimeHistoryInput): ResponseNodeRuntimeHistory
|
|
1799
|
+
getBlockletMeta(input: RequestBlockletMetaInput): ResponseBlockletMeta
|
|
1392
1800
|
getNotifications(input: RequestGetNotificationsInput): ResponseGetNotifications
|
|
1393
1801
|
getRoutingSites(input: RequestGetRoutingSitesInput): ResponseGetRoutingSites
|
|
1394
1802
|
getRoutingSnapshots(input: RequestGetRoutingSnapshotsInput): ResponseGetRoutingSnapshots
|
|
1395
1803
|
getSnapshotSites(input: RequestGetSnapshotSitesInput): ResponseGetSnapshotSites
|
|
1396
1804
|
getRoutingProviders: ResponseGetRoutingProviders
|
|
1397
|
-
getServices: ResponseGetServices
|
|
1398
1805
|
getCertificates: ResponseGetCertificates
|
|
1399
1806
|
checkDomains(input: RequestCheckDomainsInput): ResponseCheckDomains
|
|
1807
|
+
findCertificateByDomain(input: RequestFindCertificateByDomainInput): ResponseFindCertificateByDomain
|
|
1400
1808
|
getAccessKeys: ResponseAccessKeys
|
|
1401
1809
|
getWebHooks: ResponseWebHooks
|
|
1402
1810
|
getWebhookSenders: ResponseSenderList
|
|
@@ -1405,8 +1813,11 @@ type Query {
|
|
|
1405
1813
|
getRoles(input: TeamInput): ResponseRoles
|
|
1406
1814
|
getPermissions(input: TeamInput): ResponsePermissions
|
|
1407
1815
|
getInvitations(input: TeamInput): ResponseGetInvitations
|
|
1408
|
-
getUsers(input:
|
|
1816
|
+
getUsers(input: RequestUsersInput): ResponseUsers
|
|
1409
1817
|
getUser(input: RequestTeamUserInput): ResponseUser
|
|
1818
|
+
getUsersCountPerRole(input: TeamInput): ResponseGetUsersCountPerRole
|
|
1819
|
+
getOwner(input: TeamInput): ResponseUser
|
|
1410
1820
|
getPermissionsByRole(input: RequestTeamRoleInput): ResponsePermissions
|
|
1411
1821
|
getPassportIssuances(input: RequestGetPassportIssuancesInput): ResponseGetPassportIssuances
|
|
1822
|
+
getAuditLogs(input: RequestGetAuditLogsInput): ResponseGetAuditLogs
|
|
1412
1823
|
}`;
|