@abtnode/schema 1.4.11 → 1.5.0

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
@@ -138,6 +138,7 @@ input RequestAddRoutingSiteInput {
138
138
  input RequestBlockletInput {
139
139
  did: String
140
140
  registryUrl: String
141
+ attachRuntimeInfo: Boolean
141
142
  }
142
143
 
143
144
  input RequestBlockletDiffInput {
@@ -145,6 +146,10 @@ input RequestBlockletDiffInput {
145
146
  hashFiles: [HashFileInput!]
146
147
  }
147
148
 
149
+ input RequestBlockletMetaFromUrlInput {
150
+ url: String
151
+ }
152
+
148
153
  input RequestChangeBlockletRegistryInput {
149
154
  url: String
150
155
  }
@@ -286,8 +291,9 @@ input RequestGrantRoleInput {
286
291
  grantName: String
287
292
  }
288
293
 
289
- input RequestInstallFromUrlInput {
290
- url: String
294
+ input RequestInstallFromVcInput {
295
+ challenge: String
296
+ vcPresentation: Any
291
297
  }
292
298
 
293
299
  input RequestLatestBlockletVersionInput {
@@ -409,7 +415,7 @@ input RequestUpgradeBlockletInput {
409
415
 
410
416
  input RequestVersionedBlockletInput {
411
417
  did: String
412
- installId: String
418
+ url: String
413
419
  file: Upload
414
420
  diffVersion: String
415
421
  deleteSet: [String!]
@@ -597,12 +603,6 @@ type BlockletMetaService {
597
603
  config: Any
598
604
  }
599
605
 
600
- type BlockletPreInstallInfo {
601
- installId: String
602
- meta: BlockletMeta
603
- existingMeta: BlockletMeta
604
- }
605
-
606
606
  type BlockletPreUpdateInfo {
607
607
  updateId: String
608
608
  updateList: [BlockletMeta!]
@@ -903,9 +903,9 @@ type ResponseBlockletDiff {
903
903
  blockletDiff: BlockletDiff
904
904
  }
905
905
 
906
- type ResponseBlockletMeta {
906
+ type ResponseBlockletMetaFromUrl {
907
907
  code: StatusCode
908
- meta: Any
908
+ meta: BlockletMeta
909
909
  }
910
910
 
911
911
  type ResponseCheckChildBlockletsForUpdates {
@@ -1025,9 +1025,9 @@ type ResponseGetSnapshotSites {
1025
1025
  sites: [RoutingSite!]
1026
1026
  }
1027
1027
 
1028
- type ResponseInstallFromUrl {
1028
+ type ResponseInstallFromVc {
1029
1029
  code: StatusCode
1030
- preInstallInfo: BlockletPreInstallInfo
1030
+ blocklet: BlockletState
1031
1031
  }
1032
1032
 
1033
1033
  type ResponseLatestBlockletVersion {
@@ -1290,7 +1290,7 @@ scalar Upload
1290
1290
 
1291
1291
  type Mutation {
1292
1292
  installBlocklet(input: RequestVersionedBlockletInput): ResponseBlocklet
1293
- installBlockletFromUrl(input: RequestInstallFromUrlInput): ResponseInstallFromUrl
1293
+ installBlockletFromVc(input: RequestInstallFromVcInput): ResponseInstallFromVc
1294
1294
  startBlocklet(input: RequestBlockletInput): ResponseBlocklet
1295
1295
  stopBlocklet(input: RequestBlockletInput): ResponseBlocklet
1296
1296
  reloadBlocklet(input: RequestBlockletInput): ResponseBlocklet
@@ -1354,6 +1354,7 @@ type Mutation {
1354
1354
 
1355
1355
  type Query {
1356
1356
  getBlocklet(input: RequestBlockletInput): ResponseBlocklet
1357
+ getBlockletMetaFromUrl(input: RequestBlockletMetaFromUrlInput): ResponseBlockletMetaFromUrl
1357
1358
  getBlockletDiff(input: RequestBlockletDiffInput): ResponseBlockletDiff
1358
1359
  getBlocklets: ResponseGetBlocklets
1359
1360
  getLatestBlockletVersion(input: RequestLatestBlockletVersionInput): ResponseLatestBlockletVersion
@@ -1361,7 +1362,6 @@ type Query {
1361
1362
  getNodeEnv: ResponseGetNodeEnv
1362
1363
  checkNodeVersion: ResponseCheckNodeVersion
1363
1364
  listBlocklets(input: RequestListBlockletsInput): ResponseListBlocklets
1364
- getBlockletMeta(input: RequestBlockletInput): ResponseBlockletMeta
1365
1365
  getNotifications(input: RequestGetNotificationsInput): ResponseGetNotifications
1366
1366
  getRoutingSites(input: RequestGetRoutingSitesInput): ResponseGetRoutingSites
1367
1367
  getRoutingSnapshots(input: RequestGetRoutingSnapshotsInput): ResponseGetRoutingSnapshots
@@ -138,6 +138,7 @@ input RequestAddRoutingSiteInput {
138
138
  input RequestBlockletInput {
139
139
  did: String
140
140
  registryUrl: String
141
+ attachRuntimeInfo: Boolean
141
142
  }
142
143
 
143
144
  input RequestBlockletDiffInput {
@@ -145,6 +146,10 @@ input RequestBlockletDiffInput {
145
146
  hashFiles: [HashFileInput!]
146
147
  }
147
148
 
149
+ input RequestBlockletMetaFromUrlInput {
150
+ url: String
151
+ }
152
+
148
153
  input RequestChangeBlockletRegistryInput {
149
154
  url: String
150
155
  }
@@ -286,8 +291,9 @@ input RequestGrantRoleInput {
286
291
  grantName: String
287
292
  }
288
293
 
289
- input RequestInstallFromUrlInput {
290
- url: String
294
+ input RequestInstallFromVcInput {
295
+ challenge: String
296
+ vcPresentation: Any
291
297
  }
292
298
 
293
299
  input RequestLatestBlockletVersionInput {
@@ -409,7 +415,7 @@ input RequestUpgradeBlockletInput {
409
415
 
410
416
  input RequestVersionedBlockletInput {
411
417
  did: String
412
- installId: String
418
+ url: String
413
419
  file: Upload
414
420
  diffVersion: String
415
421
  deleteSet: [String!]
@@ -597,12 +603,6 @@ type BlockletMetaService {
597
603
  config: Any
598
604
  }
599
605
 
600
- type BlockletPreInstallInfo {
601
- installId: String
602
- meta: BlockletMeta
603
- existingMeta: BlockletMeta
604
- }
605
-
606
606
  type BlockletPreUpdateInfo {
607
607
  updateId: String
608
608
  updateList: [BlockletMeta!]
@@ -903,9 +903,9 @@ type ResponseBlockletDiff {
903
903
  blockletDiff: BlockletDiff
904
904
  }
905
905
 
906
- type ResponseBlockletMeta {
906
+ type ResponseBlockletMetaFromUrl {
907
907
  code: StatusCode
908
- meta: Any
908
+ meta: BlockletMeta
909
909
  }
910
910
 
911
911
  type ResponseCheckChildBlockletsForUpdates {
@@ -1025,9 +1025,9 @@ type ResponseGetSnapshotSites {
1025
1025
  sites: [RoutingSite!]
1026
1026
  }
1027
1027
 
1028
- type ResponseInstallFromUrl {
1028
+ type ResponseInstallFromVc {
1029
1029
  code: StatusCode
1030
- preInstallInfo: BlockletPreInstallInfo
1030
+ blocklet: BlockletState
1031
1031
  }
1032
1032
 
1033
1033
  type ResponseLatestBlockletVersion {
@@ -1292,7 +1292,7 @@ enum Upload {
1292
1292
 
1293
1293
  type Mutation {
1294
1294
  installBlocklet(input: RequestVersionedBlockletInput): ResponseBlocklet
1295
- installBlockletFromUrl(input: RequestInstallFromUrlInput): ResponseInstallFromUrl
1295
+ installBlockletFromVc(input: RequestInstallFromVcInput): ResponseInstallFromVc
1296
1296
  startBlocklet(input: RequestBlockletInput): ResponseBlocklet
1297
1297
  stopBlocklet(input: RequestBlockletInput): ResponseBlocklet
1298
1298
  reloadBlocklet(input: RequestBlockletInput): ResponseBlocklet
@@ -1356,6 +1356,7 @@ type Mutation {
1356
1356
 
1357
1357
  type Query {
1358
1358
  getBlocklet(input: RequestBlockletInput): ResponseBlocklet
1359
+ getBlockletMetaFromUrl(input: RequestBlockletMetaFromUrlInput): ResponseBlockletMetaFromUrl
1359
1360
  getBlockletDiff(input: RequestBlockletDiffInput): ResponseBlockletDiff
1360
1361
  getBlocklets: ResponseGetBlocklets
1361
1362
  getLatestBlockletVersion(input: RequestLatestBlockletVersionInput): ResponseLatestBlockletVersion
@@ -1363,7 +1364,6 @@ type Query {
1363
1364
  getNodeEnv: ResponseGetNodeEnv
1364
1365
  checkNodeVersion: ResponseCheckNodeVersion
1365
1366
  listBlocklets(input: RequestListBlockletsInput): ResponseListBlocklets
1366
- getBlockletMeta(input: RequestBlockletInput): ResponseBlockletMeta
1367
1367
  getNotifications(input: RequestGetNotificationsInput): ResponseGetNotifications
1368
1368
  getRoutingSites(input: RequestGetRoutingSitesInput): ResponseGetRoutingSites
1369
1369
  getRoutingSnapshots(input: RequestGetRoutingSnapshotsInput): ResponseGetRoutingSnapshots
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.4.11",
6
+ "version": "1.5.0",
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": "bc792eb664a3c387f96df361dff22b283d28fc8a"
16
+ "gitHead": "bc78f2a10de0ccc7ae23b6b6f259c05606bad8f5"
17
17
  }