@abtnode/schema 1.8.30 → 1.8.32
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 +23 -2
- package/lib/schema.graphqls +23 -2
- package/package.json +2 -2
package/lib/index.js
CHANGED
|
@@ -131,6 +131,11 @@ input RequestBlockletInput {
|
|
|
131
131
|
attachRuntimeInfo: Boolean
|
|
132
132
|
}
|
|
133
133
|
|
|
134
|
+
input RequestBlockletBundleInput {
|
|
135
|
+
did: String
|
|
136
|
+
name: String
|
|
137
|
+
}
|
|
138
|
+
|
|
134
139
|
input RequestBlockletDiffInput {
|
|
135
140
|
did: String
|
|
136
141
|
hashFiles: [HashFileInput!]
|
|
@@ -331,6 +336,7 @@ input RequestInstallComponentInput {
|
|
|
331
336
|
title: String
|
|
332
337
|
configs: [ConfigEntryInput!]
|
|
333
338
|
downloadTokenList: [DownloadTokenInput!]
|
|
339
|
+
skipNavigation: Boolean
|
|
334
340
|
}
|
|
335
341
|
|
|
336
342
|
input RequestInstallFromVcInput {
|
|
@@ -485,6 +491,7 @@ input RequestUsersInput {
|
|
|
485
491
|
query: UserQueryInput
|
|
486
492
|
sort: UserSortInput
|
|
487
493
|
paging: PagingInput
|
|
494
|
+
dids: [String!]
|
|
488
495
|
}
|
|
489
496
|
|
|
490
497
|
input RequestVersionedBlockletInput {
|
|
@@ -662,6 +669,12 @@ type BlockletCapabilities {
|
|
|
662
669
|
component: Boolean
|
|
663
670
|
}
|
|
664
671
|
|
|
672
|
+
type BlockletController {
|
|
673
|
+
id: String
|
|
674
|
+
vcId: String
|
|
675
|
+
expireDate: Uint32
|
|
676
|
+
}
|
|
677
|
+
|
|
665
678
|
type BlockletDiff {
|
|
666
679
|
hasBlocklet: Boolean
|
|
667
680
|
version: String
|
|
@@ -825,6 +838,7 @@ type BlockletState {
|
|
|
825
838
|
settings: BlockletSettings
|
|
826
839
|
appDid: String
|
|
827
840
|
site: RoutingSite
|
|
841
|
+
controller: BlockletController
|
|
828
842
|
}
|
|
829
843
|
|
|
830
844
|
type BlockletStateInterface {
|
|
@@ -1143,6 +1157,14 @@ type ResponseBlockletDiff {
|
|
|
1143
1157
|
blockletDiff: BlockletDiff
|
|
1144
1158
|
}
|
|
1145
1159
|
|
|
1160
|
+
type ResponseBlockletInfo {
|
|
1161
|
+
code: StatusCode
|
|
1162
|
+
blockletDid: String
|
|
1163
|
+
isExternal: Boolean
|
|
1164
|
+
isInstalled: Boolean
|
|
1165
|
+
isRunning: Boolean
|
|
1166
|
+
}
|
|
1167
|
+
|
|
1146
1168
|
type ResponseBlockletMeta {
|
|
1147
1169
|
code: StatusCode
|
|
1148
1170
|
meta: Any
|
|
@@ -1152,8 +1174,6 @@ type ResponseBlockletMetaFromUrl {
|
|
|
1152
1174
|
code: StatusCode
|
|
1153
1175
|
meta: BlockletMeta
|
|
1154
1176
|
isFree: Boolean
|
|
1155
|
-
isInstalled: Boolean
|
|
1156
|
-
isRunning: Boolean
|
|
1157
1177
|
inStore: Boolean
|
|
1158
1178
|
registryUrl: String
|
|
1159
1179
|
}
|
|
@@ -1665,6 +1685,7 @@ type Mutation {
|
|
|
1665
1685
|
type Query {
|
|
1666
1686
|
getBlocklet(input: RequestBlockletInput): ResponseBlocklet
|
|
1667
1687
|
getBlockletMetaFromUrl(input: RequestBlockletMetaFromUrlInput): ResponseBlockletMetaFromUrl
|
|
1688
|
+
getBlockletByBundle(input: RequestBlockletBundleInput): ResponseBlockletInfo
|
|
1668
1689
|
getBlockletDiff(input: RequestBlockletDiffInput): ResponseBlockletDiff
|
|
1669
1690
|
getBlocklets(input: RequestGetBlockletsInput): ResponseGetBlocklets
|
|
1670
1691
|
getLatestBlockletVersion(input: RequestLatestBlockletVersionInput): ResponseLatestBlockletVersion
|
package/lib/schema.graphqls
CHANGED
|
@@ -131,6 +131,11 @@ input RequestBlockletInput {
|
|
|
131
131
|
attachRuntimeInfo: Boolean
|
|
132
132
|
}
|
|
133
133
|
|
|
134
|
+
input RequestBlockletBundleInput {
|
|
135
|
+
did: String
|
|
136
|
+
name: String
|
|
137
|
+
}
|
|
138
|
+
|
|
134
139
|
input RequestBlockletDiffInput {
|
|
135
140
|
did: String
|
|
136
141
|
hashFiles: [HashFileInput!]
|
|
@@ -331,6 +336,7 @@ input RequestInstallComponentInput {
|
|
|
331
336
|
title: String
|
|
332
337
|
configs: [ConfigEntryInput!]
|
|
333
338
|
downloadTokenList: [DownloadTokenInput!]
|
|
339
|
+
skipNavigation: Boolean
|
|
334
340
|
}
|
|
335
341
|
|
|
336
342
|
input RequestInstallFromVcInput {
|
|
@@ -485,6 +491,7 @@ input RequestUsersInput {
|
|
|
485
491
|
query: UserQueryInput
|
|
486
492
|
sort: UserSortInput
|
|
487
493
|
paging: PagingInput
|
|
494
|
+
dids: [String!]
|
|
488
495
|
}
|
|
489
496
|
|
|
490
497
|
input RequestVersionedBlockletInput {
|
|
@@ -662,6 +669,12 @@ type BlockletCapabilities {
|
|
|
662
669
|
component: Boolean
|
|
663
670
|
}
|
|
664
671
|
|
|
672
|
+
type BlockletController {
|
|
673
|
+
id: String
|
|
674
|
+
vcId: String
|
|
675
|
+
expireDate: Uint32
|
|
676
|
+
}
|
|
677
|
+
|
|
665
678
|
type BlockletDiff {
|
|
666
679
|
hasBlocklet: Boolean
|
|
667
680
|
version: String
|
|
@@ -825,6 +838,7 @@ type BlockletState {
|
|
|
825
838
|
settings: BlockletSettings
|
|
826
839
|
appDid: String
|
|
827
840
|
site: RoutingSite
|
|
841
|
+
controller: BlockletController
|
|
828
842
|
}
|
|
829
843
|
|
|
830
844
|
type BlockletStateInterface {
|
|
@@ -1143,6 +1157,14 @@ type ResponseBlockletDiff {
|
|
|
1143
1157
|
blockletDiff: BlockletDiff
|
|
1144
1158
|
}
|
|
1145
1159
|
|
|
1160
|
+
type ResponseBlockletInfo {
|
|
1161
|
+
code: StatusCode
|
|
1162
|
+
blockletDid: String
|
|
1163
|
+
isExternal: Boolean
|
|
1164
|
+
isInstalled: Boolean
|
|
1165
|
+
isRunning: Boolean
|
|
1166
|
+
}
|
|
1167
|
+
|
|
1146
1168
|
type ResponseBlockletMeta {
|
|
1147
1169
|
code: StatusCode
|
|
1148
1170
|
meta: Any
|
|
@@ -1152,8 +1174,6 @@ type ResponseBlockletMetaFromUrl {
|
|
|
1152
1174
|
code: StatusCode
|
|
1153
1175
|
meta: BlockletMeta
|
|
1154
1176
|
isFree: Boolean
|
|
1155
|
-
isInstalled: Boolean
|
|
1156
|
-
isRunning: Boolean
|
|
1157
1177
|
inStore: Boolean
|
|
1158
1178
|
registryUrl: String
|
|
1159
1179
|
}
|
|
@@ -1667,6 +1687,7 @@ type Mutation {
|
|
|
1667
1687
|
type Query {
|
|
1668
1688
|
getBlocklet(input: RequestBlockletInput): ResponseBlocklet
|
|
1669
1689
|
getBlockletMetaFromUrl(input: RequestBlockletMetaFromUrlInput): ResponseBlockletMetaFromUrl
|
|
1690
|
+
getBlockletByBundle(input: RequestBlockletBundleInput): ResponseBlockletInfo
|
|
1670
1691
|
getBlockletDiff(input: RequestBlockletDiffInput): ResponseBlockletDiff
|
|
1671
1692
|
getBlocklets(input: RequestGetBlockletsInput): ResponseGetBlocklets
|
|
1672
1693
|
getLatestBlockletVersion(input: RequestLatestBlockletVersionInput): ResponseLatestBlockletVersion
|
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.32",
|
|
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": "8502244aeda5926b3433c1dd9142e63233e3c23c",
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"@wangshijun/ts-protoc-gen": "^0.16.2"
|
|
19
19
|
}
|