@abtnode/schema 1.6.16 → 1.6.17

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,6 +597,7 @@ type BlockletMeta {
579
597
  nftFactory: String
580
598
  lastPublishedAt: String
581
599
  capabilities: BlockletCapabilities
600
+ children: [ChildConfig!]
582
601
  }
583
602
 
584
603
  type BlockletMetaInterface {
@@ -671,6 +690,8 @@ type BlockletState {
671
690
  children: [BlockletState!]
672
691
  trustedPassports: [TrustedPassport!]
673
692
  enablePassportIssuance: Boolean
693
+ dynamic: Boolean
694
+ mountPoint: String
674
695
  }
675
696
 
676
697
  type BlockletStateInterface {
@@ -722,6 +743,12 @@ type CertificateMeta {
722
743
  validityPeriod: Int64
723
744
  }
724
745
 
746
+ type ChildConfig {
747
+ name: String
748
+ resolved: String
749
+ mountPoint: String
750
+ }
751
+
725
752
  type ConfigEntry {
726
753
  key: String
727
754
  value: String
@@ -1289,6 +1316,7 @@ enum BlockletSource {
1289
1316
  local
1290
1317
  upload
1291
1318
  url
1319
+ custom
1292
1320
  }
1293
1321
 
1294
1322
  enum BlockletStatus {
@@ -1334,11 +1362,13 @@ scalar Upload
1334
1362
  type Mutation {
1335
1363
  installBlocklet(input: RequestVersionedBlockletInput): ResponseBlocklet
1336
1364
  installBlockletFromVc(input: RequestInstallFromVcInput): ResponseInstallFromVc
1365
+ installComponent(input: RequestInstallComponentInput): ResponseBlocklet
1337
1366
  startBlocklet(input: RequestBlockletInput): ResponseBlocklet
1338
1367
  stopBlocklet(input: RequestBlockletInput): ResponseBlocklet
1339
1368
  reloadBlocklet(input: RequestBlockletInput): ResponseBlocklet
1340
1369
  restartBlocklet(input: RequestBlockletInput): ResponseBlocklet
1341
1370
  deleteBlocklet(input: RequestDeleteBlockletInput): ResponseBlocklet
1371
+ deleteComponent(input: RequestDeleteComponentInput): ResponseBlocklet
1342
1372
  cancelDownloadBlocklet(input: RequestBlockletInput): ResponseBlocklet
1343
1373
  upgradeBlocklet(input: RequestUpgradeBlockletInput): ResponseBlocklet
1344
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,6 +597,7 @@ type BlockletMeta {
579
597
  nftFactory: String
580
598
  lastPublishedAt: String
581
599
  capabilities: BlockletCapabilities
600
+ children: [ChildConfig!]
582
601
  }
583
602
 
584
603
  type BlockletMetaInterface {
@@ -671,6 +690,8 @@ type BlockletState {
671
690
  children: [BlockletState!]
672
691
  trustedPassports: [TrustedPassport!]
673
692
  enablePassportIssuance: Boolean
693
+ dynamic: Boolean
694
+ mountPoint: String
674
695
  }
675
696
 
676
697
  type BlockletStateInterface {
@@ -722,6 +743,12 @@ type CertificateMeta {
722
743
  validityPeriod: Int64
723
744
  }
724
745
 
746
+ type ChildConfig {
747
+ name: String
748
+ resolved: String
749
+ mountPoint: String
750
+ }
751
+
725
752
  type ConfigEntry {
726
753
  key: String
727
754
  value: String
@@ -1289,6 +1316,7 @@ enum BlockletSource {
1289
1316
  local
1290
1317
  upload
1291
1318
  url
1319
+ custom
1292
1320
  }
1293
1321
 
1294
1322
  enum BlockletStatus {
@@ -1336,11 +1364,13 @@ enum Upload {
1336
1364
  type Mutation {
1337
1365
  installBlocklet(input: RequestVersionedBlockletInput): ResponseBlocklet
1338
1366
  installBlockletFromVc(input: RequestInstallFromVcInput): ResponseInstallFromVc
1367
+ installComponent(input: RequestInstallComponentInput): ResponseBlocklet
1339
1368
  startBlocklet(input: RequestBlockletInput): ResponseBlocklet
1340
1369
  stopBlocklet(input: RequestBlockletInput): ResponseBlocklet
1341
1370
  reloadBlocklet(input: RequestBlockletInput): ResponseBlocklet
1342
1371
  restartBlocklet(input: RequestBlockletInput): ResponseBlocklet
1343
1372
  deleteBlocklet(input: RequestDeleteBlockletInput): ResponseBlocklet
1373
+ deleteComponent(input: RequestDeleteComponentInput): ResponseBlocklet
1344
1374
  cancelDownloadBlocklet(input: RequestBlockletInput): ResponseBlocklet
1345
1375
  upgradeBlocklet(input: RequestUpgradeBlockletInput): ResponseBlocklet
1346
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.16",
6
+ "version": "1.6.17",
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": "69b08db16aeb75ce23b0e6bb5b9fa396adba2d4b"
16
+ "gitHead": "d567a622a779eba43c95eaeb4633cb2b276bb7b9"
17
17
  }