@abtnode/schema 1.6.16 → 1.6.20

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