@abtnode/schema 1.7.10 → 1.7.13
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/lib/index.js +105 -7
- package/lib/schema.graphqls +105 -7
- package/package.json +2 -2
package/lib/index.js
CHANGED
|
@@ -156,7 +156,7 @@ input RequestBlockletMetaFromUrlInput {
|
|
|
156
156
|
checkPrice: Boolean
|
|
157
157
|
}
|
|
158
158
|
|
|
159
|
-
input
|
|
159
|
+
input RequestChangeBlockletStoreInput {
|
|
160
160
|
url: String
|
|
161
161
|
}
|
|
162
162
|
|
|
@@ -272,6 +272,16 @@ input RequestFindCertificateByDomainInput {
|
|
|
272
272
|
domain: String
|
|
273
273
|
}
|
|
274
274
|
|
|
275
|
+
input RequestGatewayInput {
|
|
276
|
+
requestLimit: RequestLimitInput
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
input RequestGetAuditLogsInput {
|
|
280
|
+
paging: PagingInput
|
|
281
|
+
scope: String
|
|
282
|
+
category: String
|
|
283
|
+
}
|
|
284
|
+
|
|
275
285
|
input RequestGetBlockletsInput {
|
|
276
286
|
useCache: Boolean
|
|
277
287
|
}
|
|
@@ -324,6 +334,8 @@ input RequestInstallComponentInput {
|
|
|
324
334
|
did: String
|
|
325
335
|
diffVersion: String
|
|
326
336
|
deleteSet: [String!]
|
|
337
|
+
name: String
|
|
338
|
+
title: String
|
|
327
339
|
}
|
|
328
340
|
|
|
329
341
|
input RequestInstallFromVcInput {
|
|
@@ -336,6 +348,12 @@ input RequestLatestBlockletVersionInput {
|
|
|
336
348
|
version: String
|
|
337
349
|
}
|
|
338
350
|
|
|
351
|
+
input RequestLimitInput {
|
|
352
|
+
enabled: Boolean
|
|
353
|
+
rate: Uint32
|
|
354
|
+
ipHeader: String
|
|
355
|
+
}
|
|
356
|
+
|
|
339
357
|
input RequestListBlockletsInput {
|
|
340
358
|
registryUrl: String
|
|
341
359
|
}
|
|
@@ -547,6 +565,40 @@ type AccessKey {
|
|
|
547
565
|
updatedBy: String
|
|
548
566
|
}
|
|
549
567
|
|
|
568
|
+
type AuditLog {
|
|
569
|
+
id: String
|
|
570
|
+
scope: String
|
|
571
|
+
category: String
|
|
572
|
+
action: String
|
|
573
|
+
content: String
|
|
574
|
+
actor: AuditLogActor
|
|
575
|
+
env: AuditLogEnv
|
|
576
|
+
geo: AuditLogGeo
|
|
577
|
+
createdAt: String
|
|
578
|
+
ip: String
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
type AuditLogActor {
|
|
582
|
+
did: String
|
|
583
|
+
role: String
|
|
584
|
+
fullName: String
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
type AuditLogEnv {
|
|
588
|
+
browser: AuditLogEnvItem
|
|
589
|
+
os: AuditLogEnvItem
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
type AuditLogEnvItem {
|
|
593
|
+
name: String
|
|
594
|
+
version: String
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
type AuditLogGeo {
|
|
598
|
+
country: String
|
|
599
|
+
city: String
|
|
600
|
+
}
|
|
601
|
+
|
|
550
602
|
type BlockletCapabilities {
|
|
551
603
|
clusterMode: Boolean
|
|
552
604
|
component: Boolean
|
|
@@ -605,6 +657,8 @@ type BlockletMeta {
|
|
|
605
657
|
children: [ChildConfig!]
|
|
606
658
|
environments: [Environment!]
|
|
607
659
|
requirements: Requirement
|
|
660
|
+
bundleDid: String
|
|
661
|
+
bundleName: String
|
|
608
662
|
}
|
|
609
663
|
|
|
610
664
|
type BlockletMetaInterface {
|
|
@@ -681,6 +735,7 @@ type BlockletSettings {
|
|
|
681
735
|
trustedPassports: [TrustedPassport!]
|
|
682
736
|
whoCanAccess: String
|
|
683
737
|
owner: WalletInfo
|
|
738
|
+
children: [DeletedBlockletState!]
|
|
684
739
|
}
|
|
685
740
|
|
|
686
741
|
type BlockletState {
|
|
@@ -785,6 +840,24 @@ type CreateAccessKey {
|
|
|
785
840
|
lastUsedAt: String
|
|
786
841
|
}
|
|
787
842
|
|
|
843
|
+
type DeletedBlockletMeta {
|
|
844
|
+
did: String
|
|
845
|
+
name: String
|
|
846
|
+
version: String
|
|
847
|
+
description: String
|
|
848
|
+
title: String
|
|
849
|
+
bundleDid: String
|
|
850
|
+
bundleName: String
|
|
851
|
+
}
|
|
852
|
+
|
|
853
|
+
type DeletedBlockletState {
|
|
854
|
+
meta: DeletedBlockletMeta
|
|
855
|
+
status: BlockletStatus
|
|
856
|
+
deployedFrom: String
|
|
857
|
+
mountPoint: String
|
|
858
|
+
deletedAt: String
|
|
859
|
+
}
|
|
860
|
+
|
|
788
861
|
type DiskInfo {
|
|
789
862
|
app: Float32
|
|
790
863
|
data: Float32
|
|
@@ -810,6 +883,10 @@ type Fuel {
|
|
|
810
883
|
reason: String
|
|
811
884
|
}
|
|
812
885
|
|
|
886
|
+
type Gateway {
|
|
887
|
+
requestLimit: RequestLimit
|
|
888
|
+
}
|
|
889
|
+
|
|
813
890
|
type GeneralResponse {
|
|
814
891
|
code: StatusCode
|
|
815
892
|
}
|
|
@@ -889,6 +966,7 @@ type NodeRouting {
|
|
|
889
966
|
provider: String
|
|
890
967
|
snapshotHash: String
|
|
891
968
|
adminPath: String
|
|
969
|
+
requestLimit: RequestLimit
|
|
892
970
|
}
|
|
893
971
|
|
|
894
972
|
type NodeState {
|
|
@@ -978,6 +1056,12 @@ type Permission {
|
|
|
978
1056
|
isProtected: Boolean
|
|
979
1057
|
}
|
|
980
1058
|
|
|
1059
|
+
type RequestLimit {
|
|
1060
|
+
enabled: Boolean
|
|
1061
|
+
rate: Uint32
|
|
1062
|
+
ipHeader: String
|
|
1063
|
+
}
|
|
1064
|
+
|
|
981
1065
|
type Requirement {
|
|
982
1066
|
server: String
|
|
983
1067
|
os: Any
|
|
@@ -1077,6 +1161,17 @@ type ResponseFindCertificateByDomain {
|
|
|
1077
1161
|
cert: Certificate
|
|
1078
1162
|
}
|
|
1079
1163
|
|
|
1164
|
+
type ResponseGateway {
|
|
1165
|
+
code: StatusCode
|
|
1166
|
+
gateway: Gateway
|
|
1167
|
+
}
|
|
1168
|
+
|
|
1169
|
+
type ResponseGetAuditLogs {
|
|
1170
|
+
code: StatusCode
|
|
1171
|
+
list: [AuditLog!]
|
|
1172
|
+
paging: Paging
|
|
1173
|
+
}
|
|
1174
|
+
|
|
1080
1175
|
type ResponseGetBlocklets {
|
|
1081
1176
|
code: StatusCode
|
|
1082
1177
|
blocklets: [BlockletState!]
|
|
@@ -1385,6 +1480,7 @@ enum BlockletStatus {
|
|
|
1385
1480
|
restarting
|
|
1386
1481
|
corrupted
|
|
1387
1482
|
waiting
|
|
1483
|
+
deleted
|
|
1388
1484
|
unknown
|
|
1389
1485
|
}
|
|
1390
1486
|
|
|
@@ -1428,10 +1524,11 @@ type Mutation {
|
|
|
1428
1524
|
updateNodeInfo(input: NodeInfoInput): ResponseGetNodeInfo
|
|
1429
1525
|
updateNodeRouting(input: RequestNodeRoutingInput): ResponseGetNodeInfo
|
|
1430
1526
|
upgradeNodeVersion: ResponseUpgradeNodeVersion
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1527
|
+
addBlockletStore(input: RequestChangeBlockletStoreInput): GeneralResponse
|
|
1528
|
+
deleteBlockletStore(input: RequestChangeBlockletStoreInput): GeneralResponse
|
|
1529
|
+
selectBlockletStore(input: RequestChangeBlockletStoreInput): GeneralResponse
|
|
1434
1530
|
resetNode(input: RequestResetNodeInput): ResponseResetNode
|
|
1531
|
+
updateGateway(input: RequestGatewayInput): ResponseGateway
|
|
1435
1532
|
createInvitation(input: RequsetCreateInvitationInput): ResponseCreateInvitation
|
|
1436
1533
|
deleteInvitation(input: RequsetDeleteInvitationInput): GeneralResponse
|
|
1437
1534
|
createPassportIssuance(input: RequestCreatePassportIssuanceInput): ResponseCreatePassportIssuance
|
|
@@ -1464,9 +1561,9 @@ type Mutation {
|
|
|
1464
1561
|
updateRoutingRule(input: RequestUpdateRoutingRuleInput): ResponseRoutingSite
|
|
1465
1562
|
deleteRoutingRule(input: RequestDeleteRoutingRuleInput): ResponseRoutingSite
|
|
1466
1563
|
takeRoutingSnapshot(input: RequestTakeRoutingSnapshotInput): ResponseTakeRoutingSnapshot
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1564
|
+
updateCertificate(input: RequestUpdateNginxHttpsCertInput): ResponseUpdateNginxHttpsCert
|
|
1565
|
+
addCertificate(input: RequestAddNginxHttpsCertInput): ResponseAddNginxHttpsCert
|
|
1566
|
+
deleteCertificate(input: RequestDeleteNginxHttpsCertInput): ResponseDeleteNginxHttpsCert
|
|
1470
1567
|
issueLetsEncryptCert(input: RequestAddLetsEcryptCertInput): ResponseAddLetsEcryptCert
|
|
1471
1568
|
createAccessKey(input: RequestCreateAccessKeyInput): ResponseCreateAccessKey
|
|
1472
1569
|
updateAccessKey(input: RequestUpdateAccessKeyInput): ResponseUpdateAccessKey
|
|
@@ -1511,4 +1608,5 @@ type Query {
|
|
|
1511
1608
|
getOwner(input: TeamInput): ResponseUser
|
|
1512
1609
|
getPermissionsByRole(input: RequestTeamRoleInput): ResponsePermissions
|
|
1513
1610
|
getPassportIssuances(input: RequestGetPassportIssuancesInput): ResponseGetPassportIssuances
|
|
1611
|
+
getAuditLogs(input: RequestGetAuditLogsInput): ResponseGetAuditLogs
|
|
1514
1612
|
}`;
|
package/lib/schema.graphqls
CHANGED
|
@@ -156,7 +156,7 @@ input RequestBlockletMetaFromUrlInput {
|
|
|
156
156
|
checkPrice: Boolean
|
|
157
157
|
}
|
|
158
158
|
|
|
159
|
-
input
|
|
159
|
+
input RequestChangeBlockletStoreInput {
|
|
160
160
|
url: String
|
|
161
161
|
}
|
|
162
162
|
|
|
@@ -272,6 +272,16 @@ input RequestFindCertificateByDomainInput {
|
|
|
272
272
|
domain: String
|
|
273
273
|
}
|
|
274
274
|
|
|
275
|
+
input RequestGatewayInput {
|
|
276
|
+
requestLimit: RequestLimitInput
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
input RequestGetAuditLogsInput {
|
|
280
|
+
paging: PagingInput
|
|
281
|
+
scope: String
|
|
282
|
+
category: String
|
|
283
|
+
}
|
|
284
|
+
|
|
275
285
|
input RequestGetBlockletsInput {
|
|
276
286
|
useCache: Boolean
|
|
277
287
|
}
|
|
@@ -324,6 +334,8 @@ input RequestInstallComponentInput {
|
|
|
324
334
|
did: String
|
|
325
335
|
diffVersion: String
|
|
326
336
|
deleteSet: [String!]
|
|
337
|
+
name: String
|
|
338
|
+
title: String
|
|
327
339
|
}
|
|
328
340
|
|
|
329
341
|
input RequestInstallFromVcInput {
|
|
@@ -336,6 +348,12 @@ input RequestLatestBlockletVersionInput {
|
|
|
336
348
|
version: String
|
|
337
349
|
}
|
|
338
350
|
|
|
351
|
+
input RequestLimitInput {
|
|
352
|
+
enabled: Boolean
|
|
353
|
+
rate: Uint32
|
|
354
|
+
ipHeader: String
|
|
355
|
+
}
|
|
356
|
+
|
|
339
357
|
input RequestListBlockletsInput {
|
|
340
358
|
registryUrl: String
|
|
341
359
|
}
|
|
@@ -547,6 +565,40 @@ type AccessKey {
|
|
|
547
565
|
updatedBy: String
|
|
548
566
|
}
|
|
549
567
|
|
|
568
|
+
type AuditLog {
|
|
569
|
+
id: String
|
|
570
|
+
scope: String
|
|
571
|
+
category: String
|
|
572
|
+
action: String
|
|
573
|
+
content: String
|
|
574
|
+
actor: AuditLogActor
|
|
575
|
+
env: AuditLogEnv
|
|
576
|
+
geo: AuditLogGeo
|
|
577
|
+
createdAt: String
|
|
578
|
+
ip: String
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
type AuditLogActor {
|
|
582
|
+
did: String
|
|
583
|
+
role: String
|
|
584
|
+
fullName: String
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
type AuditLogEnv {
|
|
588
|
+
browser: AuditLogEnvItem
|
|
589
|
+
os: AuditLogEnvItem
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
type AuditLogEnvItem {
|
|
593
|
+
name: String
|
|
594
|
+
version: String
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
type AuditLogGeo {
|
|
598
|
+
country: String
|
|
599
|
+
city: String
|
|
600
|
+
}
|
|
601
|
+
|
|
550
602
|
type BlockletCapabilities {
|
|
551
603
|
clusterMode: Boolean
|
|
552
604
|
component: Boolean
|
|
@@ -605,6 +657,8 @@ type BlockletMeta {
|
|
|
605
657
|
children: [ChildConfig!]
|
|
606
658
|
environments: [Environment!]
|
|
607
659
|
requirements: Requirement
|
|
660
|
+
bundleDid: String
|
|
661
|
+
bundleName: String
|
|
608
662
|
}
|
|
609
663
|
|
|
610
664
|
type BlockletMetaInterface {
|
|
@@ -681,6 +735,7 @@ type BlockletSettings {
|
|
|
681
735
|
trustedPassports: [TrustedPassport!]
|
|
682
736
|
whoCanAccess: String
|
|
683
737
|
owner: WalletInfo
|
|
738
|
+
children: [DeletedBlockletState!]
|
|
684
739
|
}
|
|
685
740
|
|
|
686
741
|
type BlockletState {
|
|
@@ -785,6 +840,24 @@ type CreateAccessKey {
|
|
|
785
840
|
lastUsedAt: String
|
|
786
841
|
}
|
|
787
842
|
|
|
843
|
+
type DeletedBlockletMeta {
|
|
844
|
+
did: String
|
|
845
|
+
name: String
|
|
846
|
+
version: String
|
|
847
|
+
description: String
|
|
848
|
+
title: String
|
|
849
|
+
bundleDid: String
|
|
850
|
+
bundleName: String
|
|
851
|
+
}
|
|
852
|
+
|
|
853
|
+
type DeletedBlockletState {
|
|
854
|
+
meta: DeletedBlockletMeta
|
|
855
|
+
status: BlockletStatus
|
|
856
|
+
deployedFrom: String
|
|
857
|
+
mountPoint: String
|
|
858
|
+
deletedAt: String
|
|
859
|
+
}
|
|
860
|
+
|
|
788
861
|
type DiskInfo {
|
|
789
862
|
app: Float32
|
|
790
863
|
data: Float32
|
|
@@ -810,6 +883,10 @@ type Fuel {
|
|
|
810
883
|
reason: String
|
|
811
884
|
}
|
|
812
885
|
|
|
886
|
+
type Gateway {
|
|
887
|
+
requestLimit: RequestLimit
|
|
888
|
+
}
|
|
889
|
+
|
|
813
890
|
type GeneralResponse {
|
|
814
891
|
code: StatusCode
|
|
815
892
|
}
|
|
@@ -889,6 +966,7 @@ type NodeRouting {
|
|
|
889
966
|
provider: String
|
|
890
967
|
snapshotHash: String
|
|
891
968
|
adminPath: String
|
|
969
|
+
requestLimit: RequestLimit
|
|
892
970
|
}
|
|
893
971
|
|
|
894
972
|
type NodeState {
|
|
@@ -978,6 +1056,12 @@ type Permission {
|
|
|
978
1056
|
isProtected: Boolean
|
|
979
1057
|
}
|
|
980
1058
|
|
|
1059
|
+
type RequestLimit {
|
|
1060
|
+
enabled: Boolean
|
|
1061
|
+
rate: Uint32
|
|
1062
|
+
ipHeader: String
|
|
1063
|
+
}
|
|
1064
|
+
|
|
981
1065
|
type Requirement {
|
|
982
1066
|
server: String
|
|
983
1067
|
os: Any
|
|
@@ -1077,6 +1161,17 @@ type ResponseFindCertificateByDomain {
|
|
|
1077
1161
|
cert: Certificate
|
|
1078
1162
|
}
|
|
1079
1163
|
|
|
1164
|
+
type ResponseGateway {
|
|
1165
|
+
code: StatusCode
|
|
1166
|
+
gateway: Gateway
|
|
1167
|
+
}
|
|
1168
|
+
|
|
1169
|
+
type ResponseGetAuditLogs {
|
|
1170
|
+
code: StatusCode
|
|
1171
|
+
list: [AuditLog!]
|
|
1172
|
+
paging: Paging
|
|
1173
|
+
}
|
|
1174
|
+
|
|
1080
1175
|
type ResponseGetBlocklets {
|
|
1081
1176
|
code: StatusCode
|
|
1082
1177
|
blocklets: [BlockletState!]
|
|
@@ -1385,6 +1480,7 @@ enum BlockletStatus {
|
|
|
1385
1480
|
restarting
|
|
1386
1481
|
corrupted
|
|
1387
1482
|
waiting
|
|
1483
|
+
deleted
|
|
1388
1484
|
unknown
|
|
1389
1485
|
}
|
|
1390
1486
|
|
|
@@ -1430,10 +1526,11 @@ type Mutation {
|
|
|
1430
1526
|
updateNodeInfo(input: NodeInfoInput): ResponseGetNodeInfo
|
|
1431
1527
|
updateNodeRouting(input: RequestNodeRoutingInput): ResponseGetNodeInfo
|
|
1432
1528
|
upgradeNodeVersion: ResponseUpgradeNodeVersion
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1529
|
+
addBlockletStore(input: RequestChangeBlockletStoreInput): GeneralResponse
|
|
1530
|
+
deleteBlockletStore(input: RequestChangeBlockletStoreInput): GeneralResponse
|
|
1531
|
+
selectBlockletStore(input: RequestChangeBlockletStoreInput): GeneralResponse
|
|
1436
1532
|
resetNode(input: RequestResetNodeInput): ResponseResetNode
|
|
1533
|
+
updateGateway(input: RequestGatewayInput): ResponseGateway
|
|
1437
1534
|
createInvitation(input: RequsetCreateInvitationInput): ResponseCreateInvitation
|
|
1438
1535
|
deleteInvitation(input: RequsetDeleteInvitationInput): GeneralResponse
|
|
1439
1536
|
createPassportIssuance(input: RequestCreatePassportIssuanceInput): ResponseCreatePassportIssuance
|
|
@@ -1466,9 +1563,9 @@ type Mutation {
|
|
|
1466
1563
|
updateRoutingRule(input: RequestUpdateRoutingRuleInput): ResponseRoutingSite
|
|
1467
1564
|
deleteRoutingRule(input: RequestDeleteRoutingRuleInput): ResponseRoutingSite
|
|
1468
1565
|
takeRoutingSnapshot(input: RequestTakeRoutingSnapshotInput): ResponseTakeRoutingSnapshot
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1566
|
+
updateCertificate(input: RequestUpdateNginxHttpsCertInput): ResponseUpdateNginxHttpsCert
|
|
1567
|
+
addCertificate(input: RequestAddNginxHttpsCertInput): ResponseAddNginxHttpsCert
|
|
1568
|
+
deleteCertificate(input: RequestDeleteNginxHttpsCertInput): ResponseDeleteNginxHttpsCert
|
|
1472
1569
|
issueLetsEncryptCert(input: RequestAddLetsEcryptCertInput): ResponseAddLetsEcryptCert
|
|
1473
1570
|
createAccessKey(input: RequestCreateAccessKeyInput): ResponseCreateAccessKey
|
|
1474
1571
|
updateAccessKey(input: RequestUpdateAccessKeyInput): ResponseUpdateAccessKey
|
|
@@ -1513,5 +1610,6 @@ type Query {
|
|
|
1513
1610
|
getOwner(input: TeamInput): ResponseUser
|
|
1514
1611
|
getPermissionsByRole(input: RequestTeamRoleInput): ResponsePermissions
|
|
1515
1612
|
getPassportIssuances(input: RequestGetPassportIssuancesInput): ResponseGetPassportIssuances
|
|
1613
|
+
getAuditLogs(input: RequestGetAuditLogsInput): ResponseGetAuditLogs
|
|
1516
1614
|
}
|
|
1517
1615
|
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.7.
|
|
6
|
+
"version": "1.7.13",
|
|
7
7
|
"description": "",
|
|
8
8
|
"main": "lib/index.js",
|
|
9
9
|
"files": [
|
|
@@ -13,5 +13,5 @@
|
|
|
13
13
|
"keywords": [],
|
|
14
14
|
"author": "wangshijun <wangshijun2010@gmail.com> (http://github.com/wangshijun)",
|
|
15
15
|
"license": "MIT",
|
|
16
|
-
"gitHead": "
|
|
16
|
+
"gitHead": "c35c485417df0e023c06c09557644b46a6c8c655"
|
|
17
17
|
}
|