@abtnode/schema 1.7.19 → 1.7.22
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 +33 -6
- package/lib/schema.graphqls +33 -6
- package/package.json +2 -2
package/lib/index.js
CHANGED
|
@@ -165,8 +165,7 @@ input RequestCheckDomainsInput {
|
|
|
165
165
|
}
|
|
166
166
|
|
|
167
167
|
input RequestConfigBlockletInput {
|
|
168
|
-
did: String
|
|
169
|
-
childDid: String
|
|
168
|
+
did: [String!]
|
|
170
169
|
configs: [ConfigEntryInput!]
|
|
171
170
|
}
|
|
172
171
|
|
|
@@ -225,6 +224,7 @@ input RequestDeleteBlockletInput {
|
|
|
225
224
|
input RequestDeleteComponentInput {
|
|
226
225
|
did: String
|
|
227
226
|
rootDid: String
|
|
227
|
+
keepData: Boolean
|
|
228
228
|
}
|
|
229
229
|
|
|
230
230
|
input RequestDeleteDomainAliasInput {
|
|
@@ -480,6 +480,11 @@ input RequsetCreateInvitationInput {
|
|
|
480
480
|
remark: String
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
+
input RequsetCreateTransferNodeInvitationInput {
|
|
484
|
+
teamDid: String
|
|
485
|
+
remark: String
|
|
486
|
+
}
|
|
487
|
+
|
|
483
488
|
input RequsetDeleteInvitationInput {
|
|
484
489
|
teamDid: String
|
|
485
490
|
inviteId: String
|
|
@@ -520,7 +525,7 @@ input RoutingRuleToInput {
|
|
|
520
525
|
url: String
|
|
521
526
|
redirectCode: Int32
|
|
522
527
|
interfaceName: String
|
|
523
|
-
|
|
528
|
+
componentId: String
|
|
524
529
|
}
|
|
525
530
|
|
|
526
531
|
input TeamInput {
|
|
@@ -701,7 +706,7 @@ type BlockletPaymentShare {
|
|
|
701
706
|
|
|
702
707
|
type BlockletPreUpdateInfo {
|
|
703
708
|
updateId: String
|
|
704
|
-
updateList: [
|
|
709
|
+
updateList: [UpdateList!]
|
|
705
710
|
}
|
|
706
711
|
|
|
707
712
|
type BlockletRegistry {
|
|
@@ -840,6 +845,10 @@ type CreateAccessKey {
|
|
|
840
845
|
lastUsedAt: String
|
|
841
846
|
}
|
|
842
847
|
|
|
848
|
+
type DelegationState {
|
|
849
|
+
delegated: Boolean
|
|
850
|
+
}
|
|
851
|
+
|
|
843
852
|
type DeletedBlockletMeta {
|
|
844
853
|
did: String
|
|
845
854
|
name: String
|
|
@@ -1018,6 +1027,7 @@ type Notification {
|
|
|
1018
1027
|
}
|
|
1019
1028
|
|
|
1020
1029
|
type OwnerNft {
|
|
1030
|
+
did: String
|
|
1021
1031
|
holder: String
|
|
1022
1032
|
issuer: String
|
|
1023
1033
|
}
|
|
@@ -1139,11 +1149,21 @@ type ResponseCreatePassportIssuance {
|
|
|
1139
1149
|
info: PassportIssuanceInfo
|
|
1140
1150
|
}
|
|
1141
1151
|
|
|
1152
|
+
type ResponseCreateTransferNodeInvitation {
|
|
1153
|
+
code: StatusCode
|
|
1154
|
+
inviteInfo: InviteInfo
|
|
1155
|
+
}
|
|
1156
|
+
|
|
1142
1157
|
type ResponseCreateWebHook {
|
|
1143
1158
|
code: StatusCode
|
|
1144
1159
|
webhook: WebHookSender
|
|
1145
1160
|
}
|
|
1146
1161
|
|
|
1162
|
+
type ResponseDelegationState {
|
|
1163
|
+
code: StatusCode
|
|
1164
|
+
state: DelegationState
|
|
1165
|
+
}
|
|
1166
|
+
|
|
1147
1167
|
type ResponseDeleteAccessKey {
|
|
1148
1168
|
code: StatusCode
|
|
1149
1169
|
}
|
|
@@ -1373,7 +1393,7 @@ type RoutingRuleTo {
|
|
|
1373
1393
|
url: String
|
|
1374
1394
|
redirectCode: Int32
|
|
1375
1395
|
interfaceName: String
|
|
1376
|
-
|
|
1396
|
+
componentId: String
|
|
1377
1397
|
}
|
|
1378
1398
|
|
|
1379
1399
|
type RoutingSite {
|
|
@@ -1420,6 +1440,11 @@ type TrustedPassportMappingTo {
|
|
|
1420
1440
|
role: String
|
|
1421
1441
|
}
|
|
1422
1442
|
|
|
1443
|
+
type UpdateList {
|
|
1444
|
+
id: String
|
|
1445
|
+
meta: BlockletMeta
|
|
1446
|
+
}
|
|
1447
|
+
|
|
1423
1448
|
type WalletInfo {
|
|
1424
1449
|
did: String
|
|
1425
1450
|
pk: String
|
|
@@ -1529,7 +1554,8 @@ type Mutation {
|
|
|
1529
1554
|
selectBlockletStore(input: RequestChangeBlockletStoreInput): GeneralResponse
|
|
1530
1555
|
resetNode(input: RequestResetNodeInput): ResponseResetNode
|
|
1531
1556
|
updateGateway(input: RequestGatewayInput): ResponseGateway
|
|
1532
|
-
|
|
1557
|
+
createMemberInvitation(input: RequsetCreateInvitationInput): ResponseCreateInvitation
|
|
1558
|
+
createTransferInvitation(input: RequsetCreateTransferNodeInvitationInput): ResponseCreateTransferNodeInvitation
|
|
1533
1559
|
deleteInvitation(input: RequsetDeleteInvitationInput): GeneralResponse
|
|
1534
1560
|
createPassportIssuance(input: RequestCreatePassportIssuanceInput): ResponseCreatePassportIssuance
|
|
1535
1561
|
deletePassportIssuance(input: RequestDeleteTeamSessionInput): GeneralResponse
|
|
@@ -1584,6 +1610,7 @@ type Query {
|
|
|
1584
1610
|
getNodeInfo: ResponseGetNodeInfo
|
|
1585
1611
|
getNodeEnv: ResponseGetNodeEnv
|
|
1586
1612
|
checkNodeVersion: ResponseCheckNodeVersion
|
|
1613
|
+
getDelegationState: ResponseDelegationState
|
|
1587
1614
|
listBlocklets(input: RequestListBlockletsInput): ResponseListBlocklets
|
|
1588
1615
|
getBlockletMeta(input: RequestBlockletInput): ResponseBlockletMeta
|
|
1589
1616
|
getNotifications(input: RequestGetNotificationsInput): ResponseGetNotifications
|
package/lib/schema.graphqls
CHANGED
|
@@ -165,8 +165,7 @@ input RequestCheckDomainsInput {
|
|
|
165
165
|
}
|
|
166
166
|
|
|
167
167
|
input RequestConfigBlockletInput {
|
|
168
|
-
did: String
|
|
169
|
-
childDid: String
|
|
168
|
+
did: [String!]
|
|
170
169
|
configs: [ConfigEntryInput!]
|
|
171
170
|
}
|
|
172
171
|
|
|
@@ -225,6 +224,7 @@ input RequestDeleteBlockletInput {
|
|
|
225
224
|
input RequestDeleteComponentInput {
|
|
226
225
|
did: String
|
|
227
226
|
rootDid: String
|
|
227
|
+
keepData: Boolean
|
|
228
228
|
}
|
|
229
229
|
|
|
230
230
|
input RequestDeleteDomainAliasInput {
|
|
@@ -480,6 +480,11 @@ input RequsetCreateInvitationInput {
|
|
|
480
480
|
remark: String
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
+
input RequsetCreateTransferNodeInvitationInput {
|
|
484
|
+
teamDid: String
|
|
485
|
+
remark: String
|
|
486
|
+
}
|
|
487
|
+
|
|
483
488
|
input RequsetDeleteInvitationInput {
|
|
484
489
|
teamDid: String
|
|
485
490
|
inviteId: String
|
|
@@ -520,7 +525,7 @@ input RoutingRuleToInput {
|
|
|
520
525
|
url: String
|
|
521
526
|
redirectCode: Int32
|
|
522
527
|
interfaceName: String
|
|
523
|
-
|
|
528
|
+
componentId: String
|
|
524
529
|
}
|
|
525
530
|
|
|
526
531
|
input TeamInput {
|
|
@@ -701,7 +706,7 @@ type BlockletPaymentShare {
|
|
|
701
706
|
|
|
702
707
|
type BlockletPreUpdateInfo {
|
|
703
708
|
updateId: String
|
|
704
|
-
updateList: [
|
|
709
|
+
updateList: [UpdateList!]
|
|
705
710
|
}
|
|
706
711
|
|
|
707
712
|
type BlockletRegistry {
|
|
@@ -840,6 +845,10 @@ type CreateAccessKey {
|
|
|
840
845
|
lastUsedAt: String
|
|
841
846
|
}
|
|
842
847
|
|
|
848
|
+
type DelegationState {
|
|
849
|
+
delegated: Boolean
|
|
850
|
+
}
|
|
851
|
+
|
|
843
852
|
type DeletedBlockletMeta {
|
|
844
853
|
did: String
|
|
845
854
|
name: String
|
|
@@ -1018,6 +1027,7 @@ type Notification {
|
|
|
1018
1027
|
}
|
|
1019
1028
|
|
|
1020
1029
|
type OwnerNft {
|
|
1030
|
+
did: String
|
|
1021
1031
|
holder: String
|
|
1022
1032
|
issuer: String
|
|
1023
1033
|
}
|
|
@@ -1139,11 +1149,21 @@ type ResponseCreatePassportIssuance {
|
|
|
1139
1149
|
info: PassportIssuanceInfo
|
|
1140
1150
|
}
|
|
1141
1151
|
|
|
1152
|
+
type ResponseCreateTransferNodeInvitation {
|
|
1153
|
+
code: StatusCode
|
|
1154
|
+
inviteInfo: InviteInfo
|
|
1155
|
+
}
|
|
1156
|
+
|
|
1142
1157
|
type ResponseCreateWebHook {
|
|
1143
1158
|
code: StatusCode
|
|
1144
1159
|
webhook: WebHookSender
|
|
1145
1160
|
}
|
|
1146
1161
|
|
|
1162
|
+
type ResponseDelegationState {
|
|
1163
|
+
code: StatusCode
|
|
1164
|
+
state: DelegationState
|
|
1165
|
+
}
|
|
1166
|
+
|
|
1147
1167
|
type ResponseDeleteAccessKey {
|
|
1148
1168
|
code: StatusCode
|
|
1149
1169
|
}
|
|
@@ -1373,7 +1393,7 @@ type RoutingRuleTo {
|
|
|
1373
1393
|
url: String
|
|
1374
1394
|
redirectCode: Int32
|
|
1375
1395
|
interfaceName: String
|
|
1376
|
-
|
|
1396
|
+
componentId: String
|
|
1377
1397
|
}
|
|
1378
1398
|
|
|
1379
1399
|
type RoutingSite {
|
|
@@ -1420,6 +1440,11 @@ type TrustedPassportMappingTo {
|
|
|
1420
1440
|
role: String
|
|
1421
1441
|
}
|
|
1422
1442
|
|
|
1443
|
+
type UpdateList {
|
|
1444
|
+
id: String
|
|
1445
|
+
meta: BlockletMeta
|
|
1446
|
+
}
|
|
1447
|
+
|
|
1423
1448
|
type WalletInfo {
|
|
1424
1449
|
did: String
|
|
1425
1450
|
pk: String
|
|
@@ -1531,7 +1556,8 @@ type Mutation {
|
|
|
1531
1556
|
selectBlockletStore(input: RequestChangeBlockletStoreInput): GeneralResponse
|
|
1532
1557
|
resetNode(input: RequestResetNodeInput): ResponseResetNode
|
|
1533
1558
|
updateGateway(input: RequestGatewayInput): ResponseGateway
|
|
1534
|
-
|
|
1559
|
+
createMemberInvitation(input: RequsetCreateInvitationInput): ResponseCreateInvitation
|
|
1560
|
+
createTransferInvitation(input: RequsetCreateTransferNodeInvitationInput): ResponseCreateTransferNodeInvitation
|
|
1535
1561
|
deleteInvitation(input: RequsetDeleteInvitationInput): GeneralResponse
|
|
1536
1562
|
createPassportIssuance(input: RequestCreatePassportIssuanceInput): ResponseCreatePassportIssuance
|
|
1537
1563
|
deletePassportIssuance(input: RequestDeleteTeamSessionInput): GeneralResponse
|
|
@@ -1586,6 +1612,7 @@ type Query {
|
|
|
1586
1612
|
getNodeInfo: ResponseGetNodeInfo
|
|
1587
1613
|
getNodeEnv: ResponseGetNodeEnv
|
|
1588
1614
|
checkNodeVersion: ResponseCheckNodeVersion
|
|
1615
|
+
getDelegationState: ResponseDelegationState
|
|
1589
1616
|
listBlocklets(input: RequestListBlockletsInput): ResponseListBlocklets
|
|
1590
1617
|
getBlockletMeta(input: RequestBlockletInput): ResponseBlockletMeta
|
|
1591
1618
|
getNotifications(input: RequestGetNotificationsInput): ResponseGetNotifications
|
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.22",
|
|
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": "6190972e62b5e6b1039aa71a291b3e2c521df367"
|
|
17
17
|
}
|