@abtnode/schema 1.8.36 → 1.8.37
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 +52 -45
- package/lib/schema.graphqls +52 -45
- package/package.json +2 -2
package/lib/index.js
CHANGED
|
@@ -22,18 +22,6 @@ input BlockletQueryInput {
|
|
|
22
22
|
controller: BlockletControllerInput
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
input BlockletRegistryInput {
|
|
26
|
-
name: String
|
|
27
|
-
description: String
|
|
28
|
-
url: String
|
|
29
|
-
logoUrl: String
|
|
30
|
-
maintainer: String
|
|
31
|
-
cdnUrl: String
|
|
32
|
-
selected: Boolean
|
|
33
|
-
protected: Boolean
|
|
34
|
-
id: String
|
|
35
|
-
}
|
|
36
|
-
|
|
37
25
|
input BlockletServiceInput {
|
|
38
26
|
name: String
|
|
39
27
|
description: String
|
|
@@ -42,11 +30,15 @@ input BlockletServiceInput {
|
|
|
42
30
|
schema: String
|
|
43
31
|
}
|
|
44
32
|
|
|
45
|
-
input
|
|
46
|
-
ruleId: String
|
|
47
|
-
type: String
|
|
33
|
+
input BlockletStoreInput {
|
|
48
34
|
name: String
|
|
35
|
+
description: String
|
|
49
36
|
url: String
|
|
37
|
+
logoUrl: String
|
|
38
|
+
maintainer: String
|
|
39
|
+
cdnUrl: String
|
|
40
|
+
protected: Boolean
|
|
41
|
+
id: String
|
|
50
42
|
}
|
|
51
43
|
|
|
52
44
|
input ConfigEntryInput {
|
|
@@ -78,7 +70,7 @@ input NodeInfoInput {
|
|
|
78
70
|
enableWelcomePage: Boolean
|
|
79
71
|
registerUrl: String
|
|
80
72
|
webWalletUrl: String
|
|
81
|
-
blockletRegistryList: [
|
|
73
|
+
blockletRegistryList: [BlockletStoreInput!]
|
|
82
74
|
diskAlertThreshold: Uint32
|
|
83
75
|
}
|
|
84
76
|
|
|
@@ -138,7 +130,7 @@ input RequestAddRoutingSiteInput {
|
|
|
138
130
|
|
|
139
131
|
input RequestBlockletInput {
|
|
140
132
|
did: String
|
|
141
|
-
|
|
133
|
+
storeUrl: String
|
|
142
134
|
attachRuntimeInfo: Boolean
|
|
143
135
|
}
|
|
144
136
|
|
|
@@ -159,6 +151,7 @@ input RequestBlockletMetaFromUrlInput {
|
|
|
159
151
|
}
|
|
160
152
|
|
|
161
153
|
input RequestChangeBlockletStoreInput {
|
|
154
|
+
teamDid: String
|
|
162
155
|
url: String
|
|
163
156
|
}
|
|
164
157
|
|
|
@@ -507,7 +500,7 @@ input RequestUpdateWhoCanAccessInput {
|
|
|
507
500
|
|
|
508
501
|
input RequestUpgradeBlockletInput {
|
|
509
502
|
did: String
|
|
510
|
-
|
|
503
|
+
storeUrl: String
|
|
511
504
|
}
|
|
512
505
|
|
|
513
506
|
input RequestUsersInput {
|
|
@@ -520,6 +513,7 @@ input RequestUsersInput {
|
|
|
520
513
|
|
|
521
514
|
input RequestVersionedBlockletInput {
|
|
522
515
|
did: String
|
|
516
|
+
storeUrl: String
|
|
523
517
|
url: String
|
|
524
518
|
file: Upload
|
|
525
519
|
diffVersion: String
|
|
@@ -548,7 +542,6 @@ input RoutingRuleInput {
|
|
|
548
542
|
from: RoutingRuleFromInput
|
|
549
543
|
to: RoutingRuleToInput
|
|
550
544
|
isProtected: Boolean
|
|
551
|
-
interfaces: [BlockletStateInterfaceInput!]
|
|
552
545
|
services: [BlockletServiceInput!]
|
|
553
546
|
}
|
|
554
547
|
|
|
@@ -789,18 +782,6 @@ type BlockletPreUpdateInfo {
|
|
|
789
782
|
updateList: [UpdateList!]
|
|
790
783
|
}
|
|
791
784
|
|
|
792
|
-
type BlockletRegistry {
|
|
793
|
-
name: String
|
|
794
|
-
description: String
|
|
795
|
-
url: String
|
|
796
|
-
logoUrl: String
|
|
797
|
-
maintainer: String
|
|
798
|
-
cdnUrl: String
|
|
799
|
-
selected: Boolean
|
|
800
|
-
protected: Boolean
|
|
801
|
-
id: String
|
|
802
|
-
}
|
|
803
|
-
|
|
804
785
|
type BlockletRepository {
|
|
805
786
|
type: String
|
|
806
787
|
url: String
|
|
@@ -822,6 +803,7 @@ type BlockletSettings {
|
|
|
822
803
|
owner: WalletInfo
|
|
823
804
|
children: [DeletedBlockletState!]
|
|
824
805
|
publicToStore: Boolean
|
|
806
|
+
storeList: [BlockletStore!]
|
|
825
807
|
}
|
|
826
808
|
|
|
827
809
|
type BlockletState {
|
|
@@ -840,11 +822,10 @@ type BlockletState {
|
|
|
840
822
|
deployedFrom: String
|
|
841
823
|
bundleSource: Any
|
|
842
824
|
port: Float32
|
|
843
|
-
interfaces: [BlockletStateInterface!]
|
|
844
825
|
engine: BlockletEngine
|
|
845
826
|
mode: String
|
|
846
827
|
ports: Any
|
|
847
|
-
children: [
|
|
828
|
+
children: [ComponentState!]
|
|
848
829
|
trustedPassports: [TrustedPassport!]
|
|
849
830
|
enablePassportIssuance: Boolean
|
|
850
831
|
dynamic: Boolean
|
|
@@ -855,19 +836,23 @@ type BlockletState {
|
|
|
855
836
|
controller: BlockletController
|
|
856
837
|
}
|
|
857
838
|
|
|
858
|
-
type BlockletStateInterface {
|
|
859
|
-
ruleId: String
|
|
860
|
-
type: String
|
|
861
|
-
name: String
|
|
862
|
-
url: String
|
|
863
|
-
}
|
|
864
|
-
|
|
865
839
|
type BlockletStats {
|
|
866
840
|
downloads: Float32
|
|
867
841
|
star: Float32
|
|
868
842
|
purchases: Float32
|
|
869
843
|
}
|
|
870
844
|
|
|
845
|
+
type BlockletStore {
|
|
846
|
+
name: String
|
|
847
|
+
description: String
|
|
848
|
+
url: String
|
|
849
|
+
logoUrl: String
|
|
850
|
+
maintainer: String
|
|
851
|
+
cdnUrl: String
|
|
852
|
+
protected: Boolean
|
|
853
|
+
id: String
|
|
854
|
+
}
|
|
855
|
+
|
|
871
856
|
type BooleanResponse {
|
|
872
857
|
code: StatusCode
|
|
873
858
|
result: Boolean
|
|
@@ -907,6 +892,30 @@ type ChildConfig {
|
|
|
907
892
|
mountPoint: String
|
|
908
893
|
}
|
|
909
894
|
|
|
895
|
+
type ComponentState {
|
|
896
|
+
meta: BlockletMeta
|
|
897
|
+
status: BlockletStatus
|
|
898
|
+
createdAt: String
|
|
899
|
+
installedAt: String
|
|
900
|
+
startedAt: String
|
|
901
|
+
pausedAt: String
|
|
902
|
+
stoppedAt: String
|
|
903
|
+
environments: [ConfigEntry!]
|
|
904
|
+
configs: [ConfigEntry!]
|
|
905
|
+
diskInfo: DiskInfo
|
|
906
|
+
runtimeInfo: RuntimeInfo
|
|
907
|
+
source: BlockletSource
|
|
908
|
+
deployedFrom: String
|
|
909
|
+
bundleSource: Any
|
|
910
|
+
port: Float32
|
|
911
|
+
engine: BlockletEngine
|
|
912
|
+
mode: String
|
|
913
|
+
ports: Any
|
|
914
|
+
children: [ComponentState!]
|
|
915
|
+
dynamic: Boolean
|
|
916
|
+
mountPoint: String
|
|
917
|
+
}
|
|
918
|
+
|
|
910
919
|
type ConfigEntry {
|
|
911
920
|
key: String
|
|
912
921
|
value: String
|
|
@@ -1070,7 +1079,7 @@ type NodeState {
|
|
|
1070
1079
|
registerUrl: String
|
|
1071
1080
|
enableWelcomePage: Boolean
|
|
1072
1081
|
webWalletUrl: String
|
|
1073
|
-
blockletRegistryList: [
|
|
1082
|
+
blockletRegistryList: [BlockletStore!]
|
|
1074
1083
|
ownerNft: OwnerNft
|
|
1075
1084
|
diskAlertThreshold: Uint32
|
|
1076
1085
|
trustedPassports: [TrustedPassport!]
|
|
@@ -1444,7 +1453,6 @@ type RoutingRule {
|
|
|
1444
1453
|
from: RoutingRuleFrom
|
|
1445
1454
|
to: RoutingRuleTo
|
|
1446
1455
|
isProtected: Boolean
|
|
1447
|
-
interfaces: [BlockletStateInterface!]
|
|
1448
1456
|
services: [BlockletService!]
|
|
1449
1457
|
}
|
|
1450
1458
|
|
|
@@ -1643,9 +1651,6 @@ type Mutation {
|
|
|
1643
1651
|
updateNodeInfo(input: NodeInfoInput): ResponseGetNodeInfo
|
|
1644
1652
|
updateNodeRouting(input: RequestNodeRoutingInput): ResponseGetNodeInfo
|
|
1645
1653
|
upgradeNodeVersion: ResponseUpgradeNodeVersion
|
|
1646
|
-
addBlockletStore(input: RequestChangeBlockletStoreInput): GeneralResponse
|
|
1647
|
-
deleteBlockletStore(input: RequestChangeBlockletStoreInput): GeneralResponse
|
|
1648
|
-
selectBlockletStore(input: RequestChangeBlockletStoreInput): GeneralResponse
|
|
1649
1654
|
resetNode(input: RequestResetNodeInput): ResponseResetNode
|
|
1650
1655
|
updateGateway(input: RequestGatewayInput): ResponseGateway
|
|
1651
1656
|
createMemberInvitation(input: RequestCreateInvitationInput): ResponseCreateInvitation
|
|
@@ -1671,6 +1676,8 @@ type Mutation {
|
|
|
1671
1676
|
revokePermissionFromRole(input: RequestRevokePermissionFromRoleInput): GeneralResponse
|
|
1672
1677
|
updatePermissionsForRole(input: RequestUpdatePermissionsForRoleInput): ResponseRole
|
|
1673
1678
|
hasPermission(input: RequestHasPermissionInput): BooleanResponse
|
|
1679
|
+
addBlockletStore(input: RequestChangeBlockletStoreInput): GeneralResponse
|
|
1680
|
+
deleteBlockletStore(input: RequestChangeBlockletStoreInput): GeneralResponse
|
|
1674
1681
|
readNotifications(input: RequestReadNotificationsInput): ResponseReadNotifications
|
|
1675
1682
|
unreadNotifications(input: RequestReadNotificationsInput): ResponseReadNotifications
|
|
1676
1683
|
addRoutingSite(input: RequestAddRoutingSiteInput): ResponseRoutingSite
|
package/lib/schema.graphqls
CHANGED
|
@@ -22,18 +22,6 @@ input BlockletQueryInput {
|
|
|
22
22
|
controller: BlockletControllerInput
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
input BlockletRegistryInput {
|
|
26
|
-
name: String
|
|
27
|
-
description: String
|
|
28
|
-
url: String
|
|
29
|
-
logoUrl: String
|
|
30
|
-
maintainer: String
|
|
31
|
-
cdnUrl: String
|
|
32
|
-
selected: Boolean
|
|
33
|
-
protected: Boolean
|
|
34
|
-
id: String
|
|
35
|
-
}
|
|
36
|
-
|
|
37
25
|
input BlockletServiceInput {
|
|
38
26
|
name: String
|
|
39
27
|
description: String
|
|
@@ -42,11 +30,15 @@ input BlockletServiceInput {
|
|
|
42
30
|
schema: String
|
|
43
31
|
}
|
|
44
32
|
|
|
45
|
-
input
|
|
46
|
-
ruleId: String
|
|
47
|
-
type: String
|
|
33
|
+
input BlockletStoreInput {
|
|
48
34
|
name: String
|
|
35
|
+
description: String
|
|
49
36
|
url: String
|
|
37
|
+
logoUrl: String
|
|
38
|
+
maintainer: String
|
|
39
|
+
cdnUrl: String
|
|
40
|
+
protected: Boolean
|
|
41
|
+
id: String
|
|
50
42
|
}
|
|
51
43
|
|
|
52
44
|
input ConfigEntryInput {
|
|
@@ -78,7 +70,7 @@ input NodeInfoInput {
|
|
|
78
70
|
enableWelcomePage: Boolean
|
|
79
71
|
registerUrl: String
|
|
80
72
|
webWalletUrl: String
|
|
81
|
-
blockletRegistryList: [
|
|
73
|
+
blockletRegistryList: [BlockletStoreInput!]
|
|
82
74
|
diskAlertThreshold: Uint32
|
|
83
75
|
}
|
|
84
76
|
|
|
@@ -138,7 +130,7 @@ input RequestAddRoutingSiteInput {
|
|
|
138
130
|
|
|
139
131
|
input RequestBlockletInput {
|
|
140
132
|
did: String
|
|
141
|
-
|
|
133
|
+
storeUrl: String
|
|
142
134
|
attachRuntimeInfo: Boolean
|
|
143
135
|
}
|
|
144
136
|
|
|
@@ -159,6 +151,7 @@ input RequestBlockletMetaFromUrlInput {
|
|
|
159
151
|
}
|
|
160
152
|
|
|
161
153
|
input RequestChangeBlockletStoreInput {
|
|
154
|
+
teamDid: String
|
|
162
155
|
url: String
|
|
163
156
|
}
|
|
164
157
|
|
|
@@ -507,7 +500,7 @@ input RequestUpdateWhoCanAccessInput {
|
|
|
507
500
|
|
|
508
501
|
input RequestUpgradeBlockletInput {
|
|
509
502
|
did: String
|
|
510
|
-
|
|
503
|
+
storeUrl: String
|
|
511
504
|
}
|
|
512
505
|
|
|
513
506
|
input RequestUsersInput {
|
|
@@ -520,6 +513,7 @@ input RequestUsersInput {
|
|
|
520
513
|
|
|
521
514
|
input RequestVersionedBlockletInput {
|
|
522
515
|
did: String
|
|
516
|
+
storeUrl: String
|
|
523
517
|
url: String
|
|
524
518
|
file: Upload
|
|
525
519
|
diffVersion: String
|
|
@@ -548,7 +542,6 @@ input RoutingRuleInput {
|
|
|
548
542
|
from: RoutingRuleFromInput
|
|
549
543
|
to: RoutingRuleToInput
|
|
550
544
|
isProtected: Boolean
|
|
551
|
-
interfaces: [BlockletStateInterfaceInput!]
|
|
552
545
|
services: [BlockletServiceInput!]
|
|
553
546
|
}
|
|
554
547
|
|
|
@@ -789,18 +782,6 @@ type BlockletPreUpdateInfo {
|
|
|
789
782
|
updateList: [UpdateList!]
|
|
790
783
|
}
|
|
791
784
|
|
|
792
|
-
type BlockletRegistry {
|
|
793
|
-
name: String
|
|
794
|
-
description: String
|
|
795
|
-
url: String
|
|
796
|
-
logoUrl: String
|
|
797
|
-
maintainer: String
|
|
798
|
-
cdnUrl: String
|
|
799
|
-
selected: Boolean
|
|
800
|
-
protected: Boolean
|
|
801
|
-
id: String
|
|
802
|
-
}
|
|
803
|
-
|
|
804
785
|
type BlockletRepository {
|
|
805
786
|
type: String
|
|
806
787
|
url: String
|
|
@@ -822,6 +803,7 @@ type BlockletSettings {
|
|
|
822
803
|
owner: WalletInfo
|
|
823
804
|
children: [DeletedBlockletState!]
|
|
824
805
|
publicToStore: Boolean
|
|
806
|
+
storeList: [BlockletStore!]
|
|
825
807
|
}
|
|
826
808
|
|
|
827
809
|
type BlockletState {
|
|
@@ -840,11 +822,10 @@ type BlockletState {
|
|
|
840
822
|
deployedFrom: String
|
|
841
823
|
bundleSource: Any
|
|
842
824
|
port: Float32
|
|
843
|
-
interfaces: [BlockletStateInterface!]
|
|
844
825
|
engine: BlockletEngine
|
|
845
826
|
mode: String
|
|
846
827
|
ports: Any
|
|
847
|
-
children: [
|
|
828
|
+
children: [ComponentState!]
|
|
848
829
|
trustedPassports: [TrustedPassport!]
|
|
849
830
|
enablePassportIssuance: Boolean
|
|
850
831
|
dynamic: Boolean
|
|
@@ -855,19 +836,23 @@ type BlockletState {
|
|
|
855
836
|
controller: BlockletController
|
|
856
837
|
}
|
|
857
838
|
|
|
858
|
-
type BlockletStateInterface {
|
|
859
|
-
ruleId: String
|
|
860
|
-
type: String
|
|
861
|
-
name: String
|
|
862
|
-
url: String
|
|
863
|
-
}
|
|
864
|
-
|
|
865
839
|
type BlockletStats {
|
|
866
840
|
downloads: Float32
|
|
867
841
|
star: Float32
|
|
868
842
|
purchases: Float32
|
|
869
843
|
}
|
|
870
844
|
|
|
845
|
+
type BlockletStore {
|
|
846
|
+
name: String
|
|
847
|
+
description: String
|
|
848
|
+
url: String
|
|
849
|
+
logoUrl: String
|
|
850
|
+
maintainer: String
|
|
851
|
+
cdnUrl: String
|
|
852
|
+
protected: Boolean
|
|
853
|
+
id: String
|
|
854
|
+
}
|
|
855
|
+
|
|
871
856
|
type BooleanResponse {
|
|
872
857
|
code: StatusCode
|
|
873
858
|
result: Boolean
|
|
@@ -907,6 +892,30 @@ type ChildConfig {
|
|
|
907
892
|
mountPoint: String
|
|
908
893
|
}
|
|
909
894
|
|
|
895
|
+
type ComponentState {
|
|
896
|
+
meta: BlockletMeta
|
|
897
|
+
status: BlockletStatus
|
|
898
|
+
createdAt: String
|
|
899
|
+
installedAt: String
|
|
900
|
+
startedAt: String
|
|
901
|
+
pausedAt: String
|
|
902
|
+
stoppedAt: String
|
|
903
|
+
environments: [ConfigEntry!]
|
|
904
|
+
configs: [ConfigEntry!]
|
|
905
|
+
diskInfo: DiskInfo
|
|
906
|
+
runtimeInfo: RuntimeInfo
|
|
907
|
+
source: BlockletSource
|
|
908
|
+
deployedFrom: String
|
|
909
|
+
bundleSource: Any
|
|
910
|
+
port: Float32
|
|
911
|
+
engine: BlockletEngine
|
|
912
|
+
mode: String
|
|
913
|
+
ports: Any
|
|
914
|
+
children: [ComponentState!]
|
|
915
|
+
dynamic: Boolean
|
|
916
|
+
mountPoint: String
|
|
917
|
+
}
|
|
918
|
+
|
|
910
919
|
type ConfigEntry {
|
|
911
920
|
key: String
|
|
912
921
|
value: String
|
|
@@ -1070,7 +1079,7 @@ type NodeState {
|
|
|
1070
1079
|
registerUrl: String
|
|
1071
1080
|
enableWelcomePage: Boolean
|
|
1072
1081
|
webWalletUrl: String
|
|
1073
|
-
blockletRegistryList: [
|
|
1082
|
+
blockletRegistryList: [BlockletStore!]
|
|
1074
1083
|
ownerNft: OwnerNft
|
|
1075
1084
|
diskAlertThreshold: Uint32
|
|
1076
1085
|
trustedPassports: [TrustedPassport!]
|
|
@@ -1444,7 +1453,6 @@ type RoutingRule {
|
|
|
1444
1453
|
from: RoutingRuleFrom
|
|
1445
1454
|
to: RoutingRuleTo
|
|
1446
1455
|
isProtected: Boolean
|
|
1447
|
-
interfaces: [BlockletStateInterface!]
|
|
1448
1456
|
services: [BlockletService!]
|
|
1449
1457
|
}
|
|
1450
1458
|
|
|
@@ -1645,9 +1653,6 @@ type Mutation {
|
|
|
1645
1653
|
updateNodeInfo(input: NodeInfoInput): ResponseGetNodeInfo
|
|
1646
1654
|
updateNodeRouting(input: RequestNodeRoutingInput): ResponseGetNodeInfo
|
|
1647
1655
|
upgradeNodeVersion: ResponseUpgradeNodeVersion
|
|
1648
|
-
addBlockletStore(input: RequestChangeBlockletStoreInput): GeneralResponse
|
|
1649
|
-
deleteBlockletStore(input: RequestChangeBlockletStoreInput): GeneralResponse
|
|
1650
|
-
selectBlockletStore(input: RequestChangeBlockletStoreInput): GeneralResponse
|
|
1651
1656
|
resetNode(input: RequestResetNodeInput): ResponseResetNode
|
|
1652
1657
|
updateGateway(input: RequestGatewayInput): ResponseGateway
|
|
1653
1658
|
createMemberInvitation(input: RequestCreateInvitationInput): ResponseCreateInvitation
|
|
@@ -1673,6 +1678,8 @@ type Mutation {
|
|
|
1673
1678
|
revokePermissionFromRole(input: RequestRevokePermissionFromRoleInput): GeneralResponse
|
|
1674
1679
|
updatePermissionsForRole(input: RequestUpdatePermissionsForRoleInput): ResponseRole
|
|
1675
1680
|
hasPermission(input: RequestHasPermissionInput): BooleanResponse
|
|
1681
|
+
addBlockletStore(input: RequestChangeBlockletStoreInput): GeneralResponse
|
|
1682
|
+
deleteBlockletStore(input: RequestChangeBlockletStoreInput): GeneralResponse
|
|
1676
1683
|
readNotifications(input: RequestReadNotificationsInput): ResponseReadNotifications
|
|
1677
1684
|
unreadNotifications(input: RequestReadNotificationsInput): ResponseReadNotifications
|
|
1678
1685
|
addRoutingSite(input: RequestAddRoutingSiteInput): ResponseRoutingSite
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.8.
|
|
6
|
+
"version": "1.8.37",
|
|
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": "f26f451c6e2b1168b36f78269eafdf3f671236bf",
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"@wangshijun/ts-protoc-gen": "^0.16.2"
|
|
19
19
|
}
|