@abtnode/schema 1.16.5-beta-1472da21 → 1.16.6-beta-8be2fe37
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 +40 -13
- package/lib/schema.graphqls +39 -12
- package/package.json +2 -2
package/lib/index.js
CHANGED
|
@@ -219,6 +219,11 @@ input RequestConfigPublicToStoreInput {
|
|
|
219
219
|
publicToStore: Boolean
|
|
220
220
|
}
|
|
221
221
|
|
|
222
|
+
input RequestConfigTrustedFactoriesInput {
|
|
223
|
+
teamDid: String
|
|
224
|
+
trustedFactories: [TrustedFactoryInput!]
|
|
225
|
+
}
|
|
226
|
+
|
|
222
227
|
input RequestConfigTrustedPassportsInput {
|
|
223
228
|
teamDid: String
|
|
224
229
|
trustedPassports: [TrustedPassportInput!]
|
|
@@ -289,6 +294,11 @@ input RequestDeleteDomainAliasInput {
|
|
|
289
294
|
teamDid: String
|
|
290
295
|
}
|
|
291
296
|
|
|
297
|
+
input RequestDeleteInvitationInput {
|
|
298
|
+
teamDid: String
|
|
299
|
+
inviteId: String
|
|
300
|
+
}
|
|
301
|
+
|
|
292
302
|
input RequestDeleteNginxHttpsCertInput {
|
|
293
303
|
id: String
|
|
294
304
|
}
|
|
@@ -414,6 +424,11 @@ input RequestLimitInput {
|
|
|
414
424
|
ipHeader: String
|
|
415
425
|
}
|
|
416
426
|
|
|
427
|
+
input RequestMigrateApplicationToStructV2Input {
|
|
428
|
+
did: String
|
|
429
|
+
appSk: String
|
|
430
|
+
}
|
|
431
|
+
|
|
417
432
|
input RequestNodeRoutingInput {
|
|
418
433
|
provider: String
|
|
419
434
|
snapshotHash: String
|
|
@@ -571,16 +586,6 @@ input RequestVersionedBlockletInput {
|
|
|
571
586
|
downloadTokenList: [DownloadTokenInput!]
|
|
572
587
|
}
|
|
573
588
|
|
|
574
|
-
input RequsetDeleteInvitationInput {
|
|
575
|
-
teamDid: String
|
|
576
|
-
inviteId: String
|
|
577
|
-
}
|
|
578
|
-
|
|
579
|
-
input RequsetMigrateApplicationToStructV2Input {
|
|
580
|
-
did: String
|
|
581
|
-
appSk: String
|
|
582
|
-
}
|
|
583
|
-
|
|
584
589
|
input RoleInput {
|
|
585
590
|
name: String
|
|
586
591
|
description: String
|
|
@@ -621,6 +626,14 @@ input TeamInput {
|
|
|
621
626
|
teamDid: String
|
|
622
627
|
}
|
|
623
628
|
|
|
629
|
+
input TrustedFactoryInput {
|
|
630
|
+
holderDid: String
|
|
631
|
+
issuerDid: String
|
|
632
|
+
factoryAddress: String
|
|
633
|
+
remark: String
|
|
634
|
+
passport: TrustedPassportMappingToInput
|
|
635
|
+
}
|
|
636
|
+
|
|
624
637
|
input TrustedPassportInput {
|
|
625
638
|
issuerDid: String
|
|
626
639
|
remark: String
|
|
@@ -638,6 +651,7 @@ input TrustedPassportMappingFromInput {
|
|
|
638
651
|
|
|
639
652
|
input TrustedPassportMappingToInput {
|
|
640
653
|
role: String
|
|
654
|
+
ttl: String
|
|
641
655
|
}
|
|
642
656
|
|
|
643
657
|
input UserInfoInput {
|
|
@@ -871,6 +885,7 @@ type BlockletSettings {
|
|
|
871
885
|
storeList: [BlockletStore!]
|
|
872
886
|
navigations: [ConfigNavigation!]
|
|
873
887
|
oauth: Any
|
|
888
|
+
trustedFactories: [TrustedFactory!]
|
|
874
889
|
}
|
|
875
890
|
|
|
876
891
|
type BlockletState {
|
|
@@ -895,6 +910,7 @@ type BlockletState {
|
|
|
895
910
|
ports: Any
|
|
896
911
|
children: [ComponentState!]
|
|
897
912
|
trustedPassports: [TrustedPassport!]
|
|
913
|
+
trustedFactories: [TrustedFactory!]
|
|
898
914
|
enablePassportIssuance: Boolean
|
|
899
915
|
dynamic: Boolean
|
|
900
916
|
mountPoint: String
|
|
@@ -1185,6 +1201,7 @@ type NodeState {
|
|
|
1185
1201
|
didRegistry: String
|
|
1186
1202
|
didDomain: String
|
|
1187
1203
|
status: Uint32
|
|
1204
|
+
trustedFactories: [TrustedFactory!]
|
|
1188
1205
|
}
|
|
1189
1206
|
|
|
1190
1207
|
type Notification {
|
|
@@ -1605,6 +1622,14 @@ type RuntimeInfo {
|
|
|
1605
1622
|
cpuUsage: Float32
|
|
1606
1623
|
}
|
|
1607
1624
|
|
|
1625
|
+
type TrustedFactory {
|
|
1626
|
+
holderDid: String
|
|
1627
|
+
issuerDid: String
|
|
1628
|
+
factoryAddress: String
|
|
1629
|
+
remark: String
|
|
1630
|
+
passport: TrustedPassportMappingTo
|
|
1631
|
+
}
|
|
1632
|
+
|
|
1608
1633
|
type TrustedPassport {
|
|
1609
1634
|
issuerDid: String
|
|
1610
1635
|
remark: String
|
|
@@ -1622,6 +1647,7 @@ type TrustedPassportMappingFrom {
|
|
|
1622
1647
|
|
|
1623
1648
|
type TrustedPassportMappingTo {
|
|
1624
1649
|
role: String
|
|
1650
|
+
ttl: String
|
|
1625
1651
|
}
|
|
1626
1652
|
|
|
1627
1653
|
type UpdateList {
|
|
@@ -1761,7 +1787,7 @@ type Mutation {
|
|
|
1761
1787
|
updateComponentMountPoint(input: RequestUpdateComponentMountPointInput): ResponseBlocklet
|
|
1762
1788
|
backupBlocklet(input: RequestBackupBlockletInput): GeneralResponse
|
|
1763
1789
|
restoreBlocklet(input: RequestRestoreBlockletInput): GeneralResponse
|
|
1764
|
-
migrateApplicationToStructV2(input:
|
|
1790
|
+
migrateApplicationToStructV2(input: RequestMigrateApplicationToStructV2Input): GeneralResponse
|
|
1765
1791
|
updateNodeInfo(input: NodeInfoInput): ResponseGetNodeInfo
|
|
1766
1792
|
updateNodeRouting(input: RequestNodeRoutingInput): ResponseGetNodeInfo
|
|
1767
1793
|
upgradeNodeVersion: ResponseUpgradeNodeVersion
|
|
@@ -1770,10 +1796,11 @@ type Mutation {
|
|
|
1770
1796
|
updateGateway(input: RequestGatewayInput): ResponseGateway
|
|
1771
1797
|
createMemberInvitation(input: RequestCreateInvitationInput): ResponseCreateInvitation
|
|
1772
1798
|
createTransferInvitation(input: RequestCreateTransferNodeInvitationInput): ResponseCreateTransferNodeInvitation
|
|
1773
|
-
deleteInvitation(input:
|
|
1799
|
+
deleteInvitation(input: RequestDeleteInvitationInput): GeneralResponse
|
|
1774
1800
|
createPassportIssuance(input: RequestCreatePassportIssuanceInput): ResponseCreatePassportIssuance
|
|
1775
1801
|
deletePassportIssuance(input: RequestDeleteTeamSessionInput): GeneralResponse
|
|
1776
1802
|
configTrustedPassports(input: RequestConfigTrustedPassportsInput): GeneralResponse
|
|
1803
|
+
configTrustedFactories(input: RequestConfigTrustedFactoriesInput): GeneralResponse
|
|
1777
1804
|
configPassportIssuance(input: RequestConfigPassportIssuanceInput): GeneralResponse
|
|
1778
1805
|
removeUser(input: RequestTeamUserInput): ResponseUser
|
|
1779
1806
|
updateUserApproval(input: RequestTeamUserInput): ResponseUser
|
|
@@ -1856,4 +1883,4 @@ type Query {
|
|
|
1856
1883
|
getPermissionsByRole(input: RequestTeamRoleInput): ResponsePermissions
|
|
1857
1884
|
getPassportIssuances(input: RequestGetPassportIssuancesInput): ResponseGetPassportIssuances
|
|
1858
1885
|
getAuditLogs(input: RequestGetAuditLogsInput): ResponseGetAuditLogs
|
|
1859
|
-
}`;
|
|
1886
|
+
}`;
|
package/lib/schema.graphqls
CHANGED
|
@@ -219,6 +219,11 @@ input RequestConfigPublicToStoreInput {
|
|
|
219
219
|
publicToStore: Boolean
|
|
220
220
|
}
|
|
221
221
|
|
|
222
|
+
input RequestConfigTrustedFactoriesInput {
|
|
223
|
+
teamDid: String
|
|
224
|
+
trustedFactories: [TrustedFactoryInput!]
|
|
225
|
+
}
|
|
226
|
+
|
|
222
227
|
input RequestConfigTrustedPassportsInput {
|
|
223
228
|
teamDid: String
|
|
224
229
|
trustedPassports: [TrustedPassportInput!]
|
|
@@ -289,6 +294,11 @@ input RequestDeleteDomainAliasInput {
|
|
|
289
294
|
teamDid: String
|
|
290
295
|
}
|
|
291
296
|
|
|
297
|
+
input RequestDeleteInvitationInput {
|
|
298
|
+
teamDid: String
|
|
299
|
+
inviteId: String
|
|
300
|
+
}
|
|
301
|
+
|
|
292
302
|
input RequestDeleteNginxHttpsCertInput {
|
|
293
303
|
id: String
|
|
294
304
|
}
|
|
@@ -414,6 +424,11 @@ input RequestLimitInput {
|
|
|
414
424
|
ipHeader: String
|
|
415
425
|
}
|
|
416
426
|
|
|
427
|
+
input RequestMigrateApplicationToStructV2Input {
|
|
428
|
+
did: String
|
|
429
|
+
appSk: String
|
|
430
|
+
}
|
|
431
|
+
|
|
417
432
|
input RequestNodeRoutingInput {
|
|
418
433
|
provider: String
|
|
419
434
|
snapshotHash: String
|
|
@@ -571,16 +586,6 @@ input RequestVersionedBlockletInput {
|
|
|
571
586
|
downloadTokenList: [DownloadTokenInput!]
|
|
572
587
|
}
|
|
573
588
|
|
|
574
|
-
input RequsetDeleteInvitationInput {
|
|
575
|
-
teamDid: String
|
|
576
|
-
inviteId: String
|
|
577
|
-
}
|
|
578
|
-
|
|
579
|
-
input RequsetMigrateApplicationToStructV2Input {
|
|
580
|
-
did: String
|
|
581
|
-
appSk: String
|
|
582
|
-
}
|
|
583
|
-
|
|
584
589
|
input RoleInput {
|
|
585
590
|
name: String
|
|
586
591
|
description: String
|
|
@@ -621,6 +626,14 @@ input TeamInput {
|
|
|
621
626
|
teamDid: String
|
|
622
627
|
}
|
|
623
628
|
|
|
629
|
+
input TrustedFactoryInput {
|
|
630
|
+
holderDid: String
|
|
631
|
+
issuerDid: String
|
|
632
|
+
factoryAddress: String
|
|
633
|
+
remark: String
|
|
634
|
+
passport: TrustedPassportMappingToInput
|
|
635
|
+
}
|
|
636
|
+
|
|
624
637
|
input TrustedPassportInput {
|
|
625
638
|
issuerDid: String
|
|
626
639
|
remark: String
|
|
@@ -638,6 +651,7 @@ input TrustedPassportMappingFromInput {
|
|
|
638
651
|
|
|
639
652
|
input TrustedPassportMappingToInput {
|
|
640
653
|
role: String
|
|
654
|
+
ttl: String
|
|
641
655
|
}
|
|
642
656
|
|
|
643
657
|
input UserInfoInput {
|
|
@@ -871,6 +885,7 @@ type BlockletSettings {
|
|
|
871
885
|
storeList: [BlockletStore!]
|
|
872
886
|
navigations: [ConfigNavigation!]
|
|
873
887
|
oauth: Any
|
|
888
|
+
trustedFactories: [TrustedFactory!]
|
|
874
889
|
}
|
|
875
890
|
|
|
876
891
|
type BlockletState {
|
|
@@ -895,6 +910,7 @@ type BlockletState {
|
|
|
895
910
|
ports: Any
|
|
896
911
|
children: [ComponentState!]
|
|
897
912
|
trustedPassports: [TrustedPassport!]
|
|
913
|
+
trustedFactories: [TrustedFactory!]
|
|
898
914
|
enablePassportIssuance: Boolean
|
|
899
915
|
dynamic: Boolean
|
|
900
916
|
mountPoint: String
|
|
@@ -1185,6 +1201,7 @@ type NodeState {
|
|
|
1185
1201
|
didRegistry: String
|
|
1186
1202
|
didDomain: String
|
|
1187
1203
|
status: Uint32
|
|
1204
|
+
trustedFactories: [TrustedFactory!]
|
|
1188
1205
|
}
|
|
1189
1206
|
|
|
1190
1207
|
type Notification {
|
|
@@ -1605,6 +1622,14 @@ type RuntimeInfo {
|
|
|
1605
1622
|
cpuUsage: Float32
|
|
1606
1623
|
}
|
|
1607
1624
|
|
|
1625
|
+
type TrustedFactory {
|
|
1626
|
+
holderDid: String
|
|
1627
|
+
issuerDid: String
|
|
1628
|
+
factoryAddress: String
|
|
1629
|
+
remark: String
|
|
1630
|
+
passport: TrustedPassportMappingTo
|
|
1631
|
+
}
|
|
1632
|
+
|
|
1608
1633
|
type TrustedPassport {
|
|
1609
1634
|
issuerDid: String
|
|
1610
1635
|
remark: String
|
|
@@ -1622,6 +1647,7 @@ type TrustedPassportMappingFrom {
|
|
|
1622
1647
|
|
|
1623
1648
|
type TrustedPassportMappingTo {
|
|
1624
1649
|
role: String
|
|
1650
|
+
ttl: String
|
|
1625
1651
|
}
|
|
1626
1652
|
|
|
1627
1653
|
type UpdateList {
|
|
@@ -1763,7 +1789,7 @@ type Mutation {
|
|
|
1763
1789
|
updateComponentMountPoint(input: RequestUpdateComponentMountPointInput): ResponseBlocklet
|
|
1764
1790
|
backupBlocklet(input: RequestBackupBlockletInput): GeneralResponse
|
|
1765
1791
|
restoreBlocklet(input: RequestRestoreBlockletInput): GeneralResponse
|
|
1766
|
-
migrateApplicationToStructV2(input:
|
|
1792
|
+
migrateApplicationToStructV2(input: RequestMigrateApplicationToStructV2Input): GeneralResponse
|
|
1767
1793
|
updateNodeInfo(input: NodeInfoInput): ResponseGetNodeInfo
|
|
1768
1794
|
updateNodeRouting(input: RequestNodeRoutingInput): ResponseGetNodeInfo
|
|
1769
1795
|
upgradeNodeVersion: ResponseUpgradeNodeVersion
|
|
@@ -1772,10 +1798,11 @@ type Mutation {
|
|
|
1772
1798
|
updateGateway(input: RequestGatewayInput): ResponseGateway
|
|
1773
1799
|
createMemberInvitation(input: RequestCreateInvitationInput): ResponseCreateInvitation
|
|
1774
1800
|
createTransferInvitation(input: RequestCreateTransferNodeInvitationInput): ResponseCreateTransferNodeInvitation
|
|
1775
|
-
deleteInvitation(input:
|
|
1801
|
+
deleteInvitation(input: RequestDeleteInvitationInput): GeneralResponse
|
|
1776
1802
|
createPassportIssuance(input: RequestCreatePassportIssuanceInput): ResponseCreatePassportIssuance
|
|
1777
1803
|
deletePassportIssuance(input: RequestDeleteTeamSessionInput): GeneralResponse
|
|
1778
1804
|
configTrustedPassports(input: RequestConfigTrustedPassportsInput): GeneralResponse
|
|
1805
|
+
configTrustedFactories(input: RequestConfigTrustedFactoriesInput): GeneralResponse
|
|
1779
1806
|
configPassportIssuance(input: RequestConfigPassportIssuanceInput): GeneralResponse
|
|
1780
1807
|
removeUser(input: RequestTeamUserInput): ResponseUser
|
|
1781
1808
|
updateUserApproval(input: RequestTeamUserInput): ResponseUser
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.16.
|
|
6
|
+
"version": "1.16.6-beta-8be2fe37",
|
|
7
7
|
"description": "",
|
|
8
8
|
"main": "lib/index.js",
|
|
9
9
|
"files": [
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"keywords": [],
|
|
14
14
|
"author": "wangshijun <wangshijun2010@gmail.com> (http://github.com/wangshijun)",
|
|
15
15
|
"license": "MIT",
|
|
16
|
-
"gitHead": "
|
|
16
|
+
"gitHead": "27229a1a62850e95907b7a53e0259a809d99377b",
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"@wangshijun/ts-protoc-gen": "^0.16.2"
|
|
19
19
|
}
|