@abtnode/schema 1.6.14 → 1.6.18
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 +33 -1
- package/lib/schema.graphqls +33 -1
- package/package.json +2 -2
package/lib/index.js
CHANGED
|
@@ -116,6 +116,7 @@ input PermissionInput {
|
|
|
116
116
|
input RequestAddDomainAliasInput {
|
|
117
117
|
id: String
|
|
118
118
|
domainAlias: String
|
|
119
|
+
force: Boolean
|
|
119
120
|
}
|
|
120
121
|
|
|
121
122
|
input RequestAddLetsEcryptCertInput {
|
|
@@ -149,6 +150,7 @@ input RequestBlockletInput {
|
|
|
149
150
|
input RequestBlockletDiffInput {
|
|
150
151
|
did: String
|
|
151
152
|
hashFiles: [HashFileInput!]
|
|
153
|
+
rootDid: String
|
|
152
154
|
}
|
|
153
155
|
|
|
154
156
|
input RequestBlockletMetaFromUrlInput {
|
|
@@ -222,6 +224,11 @@ input RequestDeleteBlockletInput {
|
|
|
222
224
|
keepData: Boolean
|
|
223
225
|
}
|
|
224
226
|
|
|
227
|
+
input RequestDeleteComponentInput {
|
|
228
|
+
did: String
|
|
229
|
+
rootDid: String
|
|
230
|
+
}
|
|
231
|
+
|
|
225
232
|
input RequestDeleteDomainAliasInput {
|
|
226
233
|
id: String
|
|
227
234
|
domainAlias: String
|
|
@@ -307,6 +314,16 @@ input RequestHasPermissionInput {
|
|
|
307
314
|
permission: String
|
|
308
315
|
}
|
|
309
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
|
+
|
|
310
327
|
input RequestInstallFromVcInput {
|
|
311
328
|
challenge: String
|
|
312
329
|
vcPresentation: Any
|
|
@@ -433,6 +450,8 @@ input RequestVersionedBlockletInput {
|
|
|
433
450
|
file: Upload
|
|
434
451
|
diffVersion: String
|
|
435
452
|
deleteSet: [String!]
|
|
453
|
+
title: String
|
|
454
|
+
description: String
|
|
436
455
|
}
|
|
437
456
|
|
|
438
457
|
input RequsetCreateInvitationInput {
|
|
@@ -578,7 +597,7 @@ type BlockletMeta {
|
|
|
578
597
|
nftFactory: String
|
|
579
598
|
lastPublishedAt: String
|
|
580
599
|
capabilities: BlockletCapabilities
|
|
581
|
-
|
|
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
|
|
@@ -946,6 +973,8 @@ type ResponseBlockletMeta {
|
|
|
946
973
|
type ResponseBlockletMetaFromUrl {
|
|
947
974
|
code: StatusCode
|
|
948
975
|
meta: BlockletMeta
|
|
976
|
+
isFree: Boolean
|
|
977
|
+
isInstalled: Boolean
|
|
949
978
|
}
|
|
950
979
|
|
|
951
980
|
type ResponseCheckChildBlockletsForUpdates {
|
|
@@ -1287,6 +1316,7 @@ enum BlockletSource {
|
|
|
1287
1316
|
local
|
|
1288
1317
|
upload
|
|
1289
1318
|
url
|
|
1319
|
+
custom
|
|
1290
1320
|
}
|
|
1291
1321
|
|
|
1292
1322
|
enum BlockletStatus {
|
|
@@ -1332,11 +1362,13 @@ scalar Upload
|
|
|
1332
1362
|
type Mutation {
|
|
1333
1363
|
installBlocklet(input: RequestVersionedBlockletInput): ResponseBlocklet
|
|
1334
1364
|
installBlockletFromVc(input: RequestInstallFromVcInput): ResponseInstallFromVc
|
|
1365
|
+
installComponent(input: RequestInstallComponentInput): ResponseBlocklet
|
|
1335
1366
|
startBlocklet(input: RequestBlockletInput): ResponseBlocklet
|
|
1336
1367
|
stopBlocklet(input: RequestBlockletInput): ResponseBlocklet
|
|
1337
1368
|
reloadBlocklet(input: RequestBlockletInput): ResponseBlocklet
|
|
1338
1369
|
restartBlocklet(input: RequestBlockletInput): ResponseBlocklet
|
|
1339
1370
|
deleteBlocklet(input: RequestDeleteBlockletInput): ResponseBlocklet
|
|
1371
|
+
deleteComponent(input: RequestDeleteComponentInput): ResponseBlocklet
|
|
1340
1372
|
cancelDownloadBlocklet(input: RequestBlockletInput): ResponseBlocklet
|
|
1341
1373
|
upgradeBlocklet(input: RequestUpgradeBlockletInput): ResponseBlocklet
|
|
1342
1374
|
configBlocklet(input: RequestConfigBlockletInput): ResponseConfigBlocklet
|
package/lib/schema.graphqls
CHANGED
|
@@ -116,6 +116,7 @@ input PermissionInput {
|
|
|
116
116
|
input RequestAddDomainAliasInput {
|
|
117
117
|
id: String
|
|
118
118
|
domainAlias: String
|
|
119
|
+
force: Boolean
|
|
119
120
|
}
|
|
120
121
|
|
|
121
122
|
input RequestAddLetsEcryptCertInput {
|
|
@@ -149,6 +150,7 @@ input RequestBlockletInput {
|
|
|
149
150
|
input RequestBlockletDiffInput {
|
|
150
151
|
did: String
|
|
151
152
|
hashFiles: [HashFileInput!]
|
|
153
|
+
rootDid: String
|
|
152
154
|
}
|
|
153
155
|
|
|
154
156
|
input RequestBlockletMetaFromUrlInput {
|
|
@@ -222,6 +224,11 @@ input RequestDeleteBlockletInput {
|
|
|
222
224
|
keepData: Boolean
|
|
223
225
|
}
|
|
224
226
|
|
|
227
|
+
input RequestDeleteComponentInput {
|
|
228
|
+
did: String
|
|
229
|
+
rootDid: String
|
|
230
|
+
}
|
|
231
|
+
|
|
225
232
|
input RequestDeleteDomainAliasInput {
|
|
226
233
|
id: String
|
|
227
234
|
domainAlias: String
|
|
@@ -307,6 +314,16 @@ input RequestHasPermissionInput {
|
|
|
307
314
|
permission: String
|
|
308
315
|
}
|
|
309
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
|
+
|
|
310
327
|
input RequestInstallFromVcInput {
|
|
311
328
|
challenge: String
|
|
312
329
|
vcPresentation: Any
|
|
@@ -433,6 +450,8 @@ input RequestVersionedBlockletInput {
|
|
|
433
450
|
file: Upload
|
|
434
451
|
diffVersion: String
|
|
435
452
|
deleteSet: [String!]
|
|
453
|
+
title: String
|
|
454
|
+
description: String
|
|
436
455
|
}
|
|
437
456
|
|
|
438
457
|
input RequsetCreateInvitationInput {
|
|
@@ -578,7 +597,7 @@ type BlockletMeta {
|
|
|
578
597
|
nftFactory: String
|
|
579
598
|
lastPublishedAt: String
|
|
580
599
|
capabilities: BlockletCapabilities
|
|
581
|
-
|
|
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
|
|
@@ -946,6 +973,8 @@ type ResponseBlockletMeta {
|
|
|
946
973
|
type ResponseBlockletMetaFromUrl {
|
|
947
974
|
code: StatusCode
|
|
948
975
|
meta: BlockletMeta
|
|
976
|
+
isFree: Boolean
|
|
977
|
+
isInstalled: Boolean
|
|
949
978
|
}
|
|
950
979
|
|
|
951
980
|
type ResponseCheckChildBlockletsForUpdates {
|
|
@@ -1287,6 +1316,7 @@ enum BlockletSource {
|
|
|
1287
1316
|
local
|
|
1288
1317
|
upload
|
|
1289
1318
|
url
|
|
1319
|
+
custom
|
|
1290
1320
|
}
|
|
1291
1321
|
|
|
1292
1322
|
enum BlockletStatus {
|
|
@@ -1334,11 +1364,13 @@ enum Upload {
|
|
|
1334
1364
|
type Mutation {
|
|
1335
1365
|
installBlocklet(input: RequestVersionedBlockletInput): ResponseBlocklet
|
|
1336
1366
|
installBlockletFromVc(input: RequestInstallFromVcInput): ResponseInstallFromVc
|
|
1367
|
+
installComponent(input: RequestInstallComponentInput): ResponseBlocklet
|
|
1337
1368
|
startBlocklet(input: RequestBlockletInput): ResponseBlocklet
|
|
1338
1369
|
stopBlocklet(input: RequestBlockletInput): ResponseBlocklet
|
|
1339
1370
|
reloadBlocklet(input: RequestBlockletInput): ResponseBlocklet
|
|
1340
1371
|
restartBlocklet(input: RequestBlockletInput): ResponseBlocklet
|
|
1341
1372
|
deleteBlocklet(input: RequestDeleteBlockletInput): ResponseBlocklet
|
|
1373
|
+
deleteComponent(input: RequestDeleteComponentInput): ResponseBlocklet
|
|
1342
1374
|
cancelDownloadBlocklet(input: RequestBlockletInput): ResponseBlocklet
|
|
1343
1375
|
upgradeBlocklet(input: RequestUpgradeBlockletInput): ResponseBlocklet
|
|
1344
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.
|
|
6
|
+
"version": "1.6.18",
|
|
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": "
|
|
16
|
+
"gitHead": "2f02f166869d8ebedc0466068f6ed90ab3e07b87"
|
|
17
17
|
}
|