@abtnode/schema 1.6.15 → 1.6.19

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
@@ -150,6 +150,7 @@ input RequestBlockletInput {
150
150
  input RequestBlockletDiffInput {
151
151
  did: String
152
152
  hashFiles: [HashFileInput!]
153
+ rootDid: String
153
154
  }
154
155
 
155
156
  input RequestBlockletMetaFromUrlInput {
@@ -223,6 +224,11 @@ input RequestDeleteBlockletInput {
223
224
  keepData: Boolean
224
225
  }
225
226
 
227
+ input RequestDeleteComponentInput {
228
+ did: String
229
+ rootDid: String
230
+ }
231
+
226
232
  input RequestDeleteDomainAliasInput {
227
233
  id: String
228
234
  domainAlias: String
@@ -308,6 +314,16 @@ input RequestHasPermissionInput {
308
314
  permission: String
309
315
  }
310
316
 
317
+ input RequestInstallComponentInput {
318
+ rootDid: String
319
+ mountPoint: String
320
+ url: String
321
+ file: Upload
322
+ did: String
323
+ diffVersion: String
324
+ deleteSet: [String!]
325
+ }
326
+
311
327
  input RequestInstallFromVcInput {
312
328
  challenge: String
313
329
  vcPresentation: Any
@@ -434,6 +450,8 @@ input RequestVersionedBlockletInput {
434
450
  file: Upload
435
451
  diffVersion: String
436
452
  deleteSet: [String!]
453
+ title: String
454
+ description: String
437
455
  }
438
456
 
439
457
  input RequsetCreateInvitationInput {
@@ -579,7 +597,7 @@ type BlockletMeta {
579
597
  nftFactory: String
580
598
  lastPublishedAt: String
581
599
  capabilities: BlockletCapabilities
582
- isFree: Boolean
600
+ children: [ChildConfig!]
583
601
  }
584
602
 
585
603
  type BlockletMetaInterface {
@@ -672,6 +690,8 @@ type BlockletState {
672
690
  children: [BlockletState!]
673
691
  trustedPassports: [TrustedPassport!]
674
692
  enablePassportIssuance: Boolean
693
+ dynamic: Boolean
694
+ mountPoint: String
675
695
  }
676
696
 
677
697
  type BlockletStateInterface {
@@ -723,6 +743,12 @@ type CertificateMeta {
723
743
  validityPeriod: Int64
724
744
  }
725
745
 
746
+ type ChildConfig {
747
+ name: String
748
+ resolved: String
749
+ mountPoint: String
750
+ }
751
+
726
752
  type ConfigEntry {
727
753
  key: String
728
754
  value: String
@@ -947,6 +973,8 @@ type ResponseBlockletMeta {
947
973
  type ResponseBlockletMetaFromUrl {
948
974
  code: StatusCode
949
975
  meta: BlockletMeta
976
+ isFree: Boolean
977
+ isInstalled: Boolean
950
978
  }
951
979
 
952
980
  type ResponseCheckChildBlockletsForUpdates {
@@ -1288,6 +1316,7 @@ enum BlockletSource {
1288
1316
  local
1289
1317
  upload
1290
1318
  url
1319
+ custom
1291
1320
  }
1292
1321
 
1293
1322
  enum BlockletStatus {
@@ -1333,11 +1362,13 @@ scalar Upload
1333
1362
  type Mutation {
1334
1363
  installBlocklet(input: RequestVersionedBlockletInput): ResponseBlocklet
1335
1364
  installBlockletFromVc(input: RequestInstallFromVcInput): ResponseInstallFromVc
1365
+ installComponent(input: RequestInstallComponentInput): ResponseBlocklet
1336
1366
  startBlocklet(input: RequestBlockletInput): ResponseBlocklet
1337
1367
  stopBlocklet(input: RequestBlockletInput): ResponseBlocklet
1338
1368
  reloadBlocklet(input: RequestBlockletInput): ResponseBlocklet
1339
1369
  restartBlocklet(input: RequestBlockletInput): ResponseBlocklet
1340
1370
  deleteBlocklet(input: RequestDeleteBlockletInput): ResponseBlocklet
1371
+ deleteComponent(input: RequestDeleteComponentInput): ResponseBlocklet
1341
1372
  cancelDownloadBlocklet(input: RequestBlockletInput): ResponseBlocklet
1342
1373
  upgradeBlocklet(input: RequestUpgradeBlockletInput): ResponseBlocklet
1343
1374
  configBlocklet(input: RequestConfigBlockletInput): ResponseConfigBlocklet
@@ -150,6 +150,7 @@ input RequestBlockletInput {
150
150
  input RequestBlockletDiffInput {
151
151
  did: String
152
152
  hashFiles: [HashFileInput!]
153
+ rootDid: String
153
154
  }
154
155
 
155
156
  input RequestBlockletMetaFromUrlInput {
@@ -223,6 +224,11 @@ input RequestDeleteBlockletInput {
223
224
  keepData: Boolean
224
225
  }
225
226
 
227
+ input RequestDeleteComponentInput {
228
+ did: String
229
+ rootDid: String
230
+ }
231
+
226
232
  input RequestDeleteDomainAliasInput {
227
233
  id: String
228
234
  domainAlias: String
@@ -308,6 +314,16 @@ input RequestHasPermissionInput {
308
314
  permission: String
309
315
  }
310
316
 
317
+ input RequestInstallComponentInput {
318
+ rootDid: String
319
+ mountPoint: String
320
+ url: String
321
+ file: Upload
322
+ did: String
323
+ diffVersion: String
324
+ deleteSet: [String!]
325
+ }
326
+
311
327
  input RequestInstallFromVcInput {
312
328
  challenge: String
313
329
  vcPresentation: Any
@@ -434,6 +450,8 @@ input RequestVersionedBlockletInput {
434
450
  file: Upload
435
451
  diffVersion: String
436
452
  deleteSet: [String!]
453
+ title: String
454
+ description: String
437
455
  }
438
456
 
439
457
  input RequsetCreateInvitationInput {
@@ -579,7 +597,7 @@ type BlockletMeta {
579
597
  nftFactory: String
580
598
  lastPublishedAt: String
581
599
  capabilities: BlockletCapabilities
582
- isFree: Boolean
600
+ children: [ChildConfig!]
583
601
  }
584
602
 
585
603
  type BlockletMetaInterface {
@@ -672,6 +690,8 @@ type BlockletState {
672
690
  children: [BlockletState!]
673
691
  trustedPassports: [TrustedPassport!]
674
692
  enablePassportIssuance: Boolean
693
+ dynamic: Boolean
694
+ mountPoint: String
675
695
  }
676
696
 
677
697
  type BlockletStateInterface {
@@ -723,6 +743,12 @@ type CertificateMeta {
723
743
  validityPeriod: Int64
724
744
  }
725
745
 
746
+ type ChildConfig {
747
+ name: String
748
+ resolved: String
749
+ mountPoint: String
750
+ }
751
+
726
752
  type ConfigEntry {
727
753
  key: String
728
754
  value: String
@@ -947,6 +973,8 @@ type ResponseBlockletMeta {
947
973
  type ResponseBlockletMetaFromUrl {
948
974
  code: StatusCode
949
975
  meta: BlockletMeta
976
+ isFree: Boolean
977
+ isInstalled: Boolean
950
978
  }
951
979
 
952
980
  type ResponseCheckChildBlockletsForUpdates {
@@ -1288,6 +1316,7 @@ enum BlockletSource {
1288
1316
  local
1289
1317
  upload
1290
1318
  url
1319
+ custom
1291
1320
  }
1292
1321
 
1293
1322
  enum BlockletStatus {
@@ -1335,11 +1364,13 @@ enum Upload {
1335
1364
  type Mutation {
1336
1365
  installBlocklet(input: RequestVersionedBlockletInput): ResponseBlocklet
1337
1366
  installBlockletFromVc(input: RequestInstallFromVcInput): ResponseInstallFromVc
1367
+ installComponent(input: RequestInstallComponentInput): ResponseBlocklet
1338
1368
  startBlocklet(input: RequestBlockletInput): ResponseBlocklet
1339
1369
  stopBlocklet(input: RequestBlockletInput): ResponseBlocklet
1340
1370
  reloadBlocklet(input: RequestBlockletInput): ResponseBlocklet
1341
1371
  restartBlocklet(input: RequestBlockletInput): ResponseBlocklet
1342
1372
  deleteBlocklet(input: RequestDeleteBlockletInput): ResponseBlocklet
1373
+ deleteComponent(input: RequestDeleteComponentInput): ResponseBlocklet
1343
1374
  cancelDownloadBlocklet(input: RequestBlockletInput): ResponseBlocklet
1344
1375
  upgradeBlocklet(input: RequestUpgradeBlockletInput): ResponseBlocklet
1345
1376
  configBlocklet(input: RequestConfigBlockletInput): ResponseConfigBlocklet
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.6.15",
6
+ "version": "1.6.19",
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": "1b7b07da04387b1daa838b251a9388355009142d"
16
+ "gitHead": "42a1290f14fca261eccafb05561eecf8683ed66a"
17
17
  }