@abtnode/schema 1.8.31 → 1.8.33

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 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!]
@@ -486,6 +491,7 @@ input RequestUsersInput {
486
491
  query: UserQueryInput
487
492
  sort: UserSortInput
488
493
  paging: PagingInput
494
+ dids: [String!]
489
495
  }
490
496
 
491
497
  input RequestVersionedBlockletInput {
@@ -663,6 +669,12 @@ type BlockletCapabilities {
663
669
  component: Boolean
664
670
  }
665
671
 
672
+ type BlockletController {
673
+ id: String
674
+ vcId: String
675
+ expireDate: Uint32
676
+ }
677
+
666
678
  type BlockletDiff {
667
679
  hasBlocklet: Boolean
668
680
  version: String
@@ -826,6 +838,7 @@ type BlockletState {
826
838
  settings: BlockletSettings
827
839
  appDid: String
828
840
  site: RoutingSite
841
+ controller: BlockletController
829
842
  }
830
843
 
831
844
  type BlockletStateInterface {
@@ -1144,6 +1157,14 @@ type ResponseBlockletDiff {
1144
1157
  blockletDiff: BlockletDiff
1145
1158
  }
1146
1159
 
1160
+ type ResponseBlockletInfo {
1161
+ code: StatusCode
1162
+ blockletDid: String
1163
+ isExternal: Boolean
1164
+ isInstalled: Boolean
1165
+ isRunning: Boolean
1166
+ }
1167
+
1147
1168
  type ResponseBlockletMeta {
1148
1169
  code: StatusCode
1149
1170
  meta: Any
@@ -1153,8 +1174,6 @@ type ResponseBlockletMetaFromUrl {
1153
1174
  code: StatusCode
1154
1175
  meta: BlockletMeta
1155
1176
  isFree: Boolean
1156
- isInstalled: Boolean
1157
- isRunning: Boolean
1158
1177
  inStore: Boolean
1159
1178
  registryUrl: String
1160
1179
  }
@@ -1666,6 +1685,7 @@ type Mutation {
1666
1685
  type Query {
1667
1686
  getBlocklet(input: RequestBlockletInput): ResponseBlocklet
1668
1687
  getBlockletMetaFromUrl(input: RequestBlockletMetaFromUrlInput): ResponseBlockletMetaFromUrl
1688
+ getBlockletByBundle(input: RequestBlockletBundleInput): ResponseBlockletInfo
1669
1689
  getBlockletDiff(input: RequestBlockletDiffInput): ResponseBlockletDiff
1670
1690
  getBlocklets(input: RequestGetBlockletsInput): ResponseGetBlocklets
1671
1691
  getLatestBlockletVersion(input: RequestLatestBlockletVersionInput): ResponseLatestBlockletVersion
@@ -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!]
@@ -486,6 +491,7 @@ input RequestUsersInput {
486
491
  query: UserQueryInput
487
492
  sort: UserSortInput
488
493
  paging: PagingInput
494
+ dids: [String!]
489
495
  }
490
496
 
491
497
  input RequestVersionedBlockletInput {
@@ -663,6 +669,12 @@ type BlockletCapabilities {
663
669
  component: Boolean
664
670
  }
665
671
 
672
+ type BlockletController {
673
+ id: String
674
+ vcId: String
675
+ expireDate: Uint32
676
+ }
677
+
666
678
  type BlockletDiff {
667
679
  hasBlocklet: Boolean
668
680
  version: String
@@ -826,6 +838,7 @@ type BlockletState {
826
838
  settings: BlockletSettings
827
839
  appDid: String
828
840
  site: RoutingSite
841
+ controller: BlockletController
829
842
  }
830
843
 
831
844
  type BlockletStateInterface {
@@ -1144,6 +1157,14 @@ type ResponseBlockletDiff {
1144
1157
  blockletDiff: BlockletDiff
1145
1158
  }
1146
1159
 
1160
+ type ResponseBlockletInfo {
1161
+ code: StatusCode
1162
+ blockletDid: String
1163
+ isExternal: Boolean
1164
+ isInstalled: Boolean
1165
+ isRunning: Boolean
1166
+ }
1167
+
1147
1168
  type ResponseBlockletMeta {
1148
1169
  code: StatusCode
1149
1170
  meta: Any
@@ -1153,8 +1174,6 @@ type ResponseBlockletMetaFromUrl {
1153
1174
  code: StatusCode
1154
1175
  meta: BlockletMeta
1155
1176
  isFree: Boolean
1156
- isInstalled: Boolean
1157
- isRunning: Boolean
1158
1177
  inStore: Boolean
1159
1178
  registryUrl: String
1160
1179
  }
@@ -1668,6 +1687,7 @@ type Mutation {
1668
1687
  type Query {
1669
1688
  getBlocklet(input: RequestBlockletInput): ResponseBlocklet
1670
1689
  getBlockletMetaFromUrl(input: RequestBlockletMetaFromUrlInput): ResponseBlockletMetaFromUrl
1690
+ getBlockletByBundle(input: RequestBlockletBundleInput): ResponseBlockletInfo
1671
1691
  getBlockletDiff(input: RequestBlockletDiffInput): ResponseBlockletDiff
1672
1692
  getBlocklets(input: RequestGetBlockletsInput): ResponseGetBlocklets
1673
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.31",
6
+ "version": "1.8.33",
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": "f3cc8becdca1b8c5e645eb8cf751fa780cf09cfe",
16
+ "gitHead": "bb8223a5dd84536f2843391c59c0a8ac4398c6f2",
17
17
  "devDependencies": {
18
18
  "@wangshijun/ts-protoc-gen": "^0.16.2"
19
19
  }