@abtnode/schema 1.16.11-beta-069c3537 → 1.16.11-beta-f74663ac
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 -19
- package/lib/schema.graphqls +33 -19
- package/package.json +2 -2
package/lib/index.js
CHANGED
|
@@ -15,19 +15,6 @@ scalar Uint32
|
|
|
15
15
|
|
|
16
16
|
scalar Uint64
|
|
17
17
|
|
|
18
|
-
input BlockletControllerInput {
|
|
19
|
-
id: String
|
|
20
|
-
nftId: String
|
|
21
|
-
nftOwner: String
|
|
22
|
-
chainHost: String
|
|
23
|
-
expireDate: Uint32
|
|
24
|
-
consumedAt: String
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
input BlockletQueryInput {
|
|
28
|
-
controller: BlockletControllerInput
|
|
29
|
-
}
|
|
30
|
-
|
|
31
18
|
input BlockletStoreInput {
|
|
32
19
|
name: String
|
|
33
20
|
description: String
|
|
@@ -209,6 +196,11 @@ input RequestCheckDomainsInput {
|
|
|
209
196
|
did: String
|
|
210
197
|
}
|
|
211
198
|
|
|
199
|
+
input RequestComponentsInput {
|
|
200
|
+
did: String
|
|
201
|
+
componentDids: [String!]
|
|
202
|
+
}
|
|
203
|
+
|
|
212
204
|
input RequestConfigBlockletInput {
|
|
213
205
|
did: [String!]
|
|
214
206
|
configs: [ConfigEntryInput!]
|
|
@@ -304,7 +296,7 @@ input RequestDeleteBlockletInput {
|
|
|
304
296
|
|
|
305
297
|
input RequestDeleteBlockletSpaceGatewayInput {
|
|
306
298
|
did: String
|
|
307
|
-
|
|
299
|
+
spaceGatewayDid: String
|
|
308
300
|
}
|
|
309
301
|
|
|
310
302
|
input RequestDeleteComponentInput {
|
|
@@ -383,7 +375,11 @@ input RequestGetBlockletBackupsInput {
|
|
|
383
375
|
|
|
384
376
|
input RequestGetBlockletsInput {
|
|
385
377
|
useCache: Boolean
|
|
386
|
-
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
input RequestGetLauncherSessionInput {
|
|
381
|
+
launcherSessionId: String
|
|
382
|
+
launcherUrl: String
|
|
387
383
|
}
|
|
388
384
|
|
|
389
385
|
input RequestGetNotificationsInput {
|
|
@@ -667,6 +663,7 @@ input SpaceGatewayInput {
|
|
|
667
663
|
url: String
|
|
668
664
|
protected: String
|
|
669
665
|
endpoint: String
|
|
666
|
+
did: String
|
|
670
667
|
}
|
|
671
668
|
|
|
672
669
|
input TeamInput {
|
|
@@ -821,6 +818,15 @@ type BlockletController {
|
|
|
821
818
|
chainHost: String
|
|
822
819
|
expireDate: Uint32
|
|
823
820
|
consumedAt: String
|
|
821
|
+
launcherUrl: String
|
|
822
|
+
launcherSessionId: String
|
|
823
|
+
ownerDid: String
|
|
824
|
+
status: BlockletControllerStatus
|
|
825
|
+
}
|
|
826
|
+
|
|
827
|
+
type BlockletControllerStatus {
|
|
828
|
+
value: Uint32
|
|
829
|
+
reason: String
|
|
824
830
|
}
|
|
825
831
|
|
|
826
832
|
type BlockletDiff {
|
|
@@ -1482,6 +1488,12 @@ type ResponseGetInvitations {
|
|
|
1482
1488
|
invitations: [InviteInfo!]
|
|
1483
1489
|
}
|
|
1484
1490
|
|
|
1491
|
+
type ResponseGetLauncherSession {
|
|
1492
|
+
code: StatusCode
|
|
1493
|
+
error: String
|
|
1494
|
+
launcherSession: Any
|
|
1495
|
+
}
|
|
1496
|
+
|
|
1485
1497
|
type ResponseGetNodeEnv {
|
|
1486
1498
|
code: StatusCode
|
|
1487
1499
|
info: NodeEnvInfo
|
|
@@ -1713,6 +1725,7 @@ type SpaceGateway {
|
|
|
1713
1725
|
url: String
|
|
1714
1726
|
protected: String
|
|
1715
1727
|
endpoint: String
|
|
1728
|
+
did: String
|
|
1716
1729
|
}
|
|
1717
1730
|
|
|
1718
1731
|
type TrustedFactory {
|
|
@@ -1867,10 +1880,10 @@ scalar Upload
|
|
|
1867
1880
|
type Mutation {
|
|
1868
1881
|
installBlocklet(input: RequestVersionedBlockletInput): ResponseBlocklet
|
|
1869
1882
|
installComponent(input: RequestInstallComponentInput): ResponseBlocklet
|
|
1870
|
-
startBlocklet(input:
|
|
1871
|
-
stopBlocklet(input:
|
|
1872
|
-
reloadBlocklet(input:
|
|
1873
|
-
restartBlocklet(input:
|
|
1883
|
+
startBlocklet(input: RequestComponentsInput): ResponseBlocklet
|
|
1884
|
+
stopBlocklet(input: RequestComponentsInput): ResponseBlocklet
|
|
1885
|
+
reloadBlocklet(input: RequestComponentsInput): ResponseBlocklet
|
|
1886
|
+
restartBlocklet(input: RequestComponentsInput): ResponseBlocklet
|
|
1874
1887
|
deleteBlocklet(input: RequestDeleteBlockletInput): ResponseBlocklet
|
|
1875
1888
|
deleteComponent(input: RequestDeleteComponentInput): ResponseBlocklet
|
|
1876
1889
|
cancelDownloadBlocklet(input: RequestBlockletInput): ResponseBlocklet
|
|
@@ -1987,4 +2000,5 @@ type Query {
|
|
|
1987
2000
|
getPermissionsByRole(input: RequestTeamRoleInput): ResponsePermissions
|
|
1988
2001
|
getPassportIssuances(input: RequestGetPassportIssuancesInput): ResponseGetPassportIssuances
|
|
1989
2002
|
getAuditLogs(input: RequestGetAuditLogsInput): ResponseGetAuditLogs
|
|
2003
|
+
getLauncherSession(input: RequestGetLauncherSessionInput): ResponseGetLauncherSession
|
|
1990
2004
|
}`;
|
package/lib/schema.graphqls
CHANGED
|
@@ -15,19 +15,6 @@ scalar Uint32
|
|
|
15
15
|
|
|
16
16
|
scalar Uint64
|
|
17
17
|
|
|
18
|
-
input BlockletControllerInput {
|
|
19
|
-
id: String
|
|
20
|
-
nftId: String
|
|
21
|
-
nftOwner: String
|
|
22
|
-
chainHost: String
|
|
23
|
-
expireDate: Uint32
|
|
24
|
-
consumedAt: String
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
input BlockletQueryInput {
|
|
28
|
-
controller: BlockletControllerInput
|
|
29
|
-
}
|
|
30
|
-
|
|
31
18
|
input BlockletStoreInput {
|
|
32
19
|
name: String
|
|
33
20
|
description: String
|
|
@@ -209,6 +196,11 @@ input RequestCheckDomainsInput {
|
|
|
209
196
|
did: String
|
|
210
197
|
}
|
|
211
198
|
|
|
199
|
+
input RequestComponentsInput {
|
|
200
|
+
did: String
|
|
201
|
+
componentDids: [String!]
|
|
202
|
+
}
|
|
203
|
+
|
|
212
204
|
input RequestConfigBlockletInput {
|
|
213
205
|
did: [String!]
|
|
214
206
|
configs: [ConfigEntryInput!]
|
|
@@ -304,7 +296,7 @@ input RequestDeleteBlockletInput {
|
|
|
304
296
|
|
|
305
297
|
input RequestDeleteBlockletSpaceGatewayInput {
|
|
306
298
|
did: String
|
|
307
|
-
|
|
299
|
+
spaceGatewayDid: String
|
|
308
300
|
}
|
|
309
301
|
|
|
310
302
|
input RequestDeleteComponentInput {
|
|
@@ -383,7 +375,11 @@ input RequestGetBlockletBackupsInput {
|
|
|
383
375
|
|
|
384
376
|
input RequestGetBlockletsInput {
|
|
385
377
|
useCache: Boolean
|
|
386
|
-
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
input RequestGetLauncherSessionInput {
|
|
381
|
+
launcherSessionId: String
|
|
382
|
+
launcherUrl: String
|
|
387
383
|
}
|
|
388
384
|
|
|
389
385
|
input RequestGetNotificationsInput {
|
|
@@ -667,6 +663,7 @@ input SpaceGatewayInput {
|
|
|
667
663
|
url: String
|
|
668
664
|
protected: String
|
|
669
665
|
endpoint: String
|
|
666
|
+
did: String
|
|
670
667
|
}
|
|
671
668
|
|
|
672
669
|
input TeamInput {
|
|
@@ -821,6 +818,15 @@ type BlockletController {
|
|
|
821
818
|
chainHost: String
|
|
822
819
|
expireDate: Uint32
|
|
823
820
|
consumedAt: String
|
|
821
|
+
launcherUrl: String
|
|
822
|
+
launcherSessionId: String
|
|
823
|
+
ownerDid: String
|
|
824
|
+
status: BlockletControllerStatus
|
|
825
|
+
}
|
|
826
|
+
|
|
827
|
+
type BlockletControllerStatus {
|
|
828
|
+
value: Uint32
|
|
829
|
+
reason: String
|
|
824
830
|
}
|
|
825
831
|
|
|
826
832
|
type BlockletDiff {
|
|
@@ -1482,6 +1488,12 @@ type ResponseGetInvitations {
|
|
|
1482
1488
|
invitations: [InviteInfo!]
|
|
1483
1489
|
}
|
|
1484
1490
|
|
|
1491
|
+
type ResponseGetLauncherSession {
|
|
1492
|
+
code: StatusCode
|
|
1493
|
+
error: String
|
|
1494
|
+
launcherSession: Any
|
|
1495
|
+
}
|
|
1496
|
+
|
|
1485
1497
|
type ResponseGetNodeEnv {
|
|
1486
1498
|
code: StatusCode
|
|
1487
1499
|
info: NodeEnvInfo
|
|
@@ -1713,6 +1725,7 @@ type SpaceGateway {
|
|
|
1713
1725
|
url: String
|
|
1714
1726
|
protected: String
|
|
1715
1727
|
endpoint: String
|
|
1728
|
+
did: String
|
|
1716
1729
|
}
|
|
1717
1730
|
|
|
1718
1731
|
type TrustedFactory {
|
|
@@ -1869,10 +1882,10 @@ enum Upload {
|
|
|
1869
1882
|
type Mutation {
|
|
1870
1883
|
installBlocklet(input: RequestVersionedBlockletInput): ResponseBlocklet
|
|
1871
1884
|
installComponent(input: RequestInstallComponentInput): ResponseBlocklet
|
|
1872
|
-
startBlocklet(input:
|
|
1873
|
-
stopBlocklet(input:
|
|
1874
|
-
reloadBlocklet(input:
|
|
1875
|
-
restartBlocklet(input:
|
|
1885
|
+
startBlocklet(input: RequestComponentsInput): ResponseBlocklet
|
|
1886
|
+
stopBlocklet(input: RequestComponentsInput): ResponseBlocklet
|
|
1887
|
+
reloadBlocklet(input: RequestComponentsInput): ResponseBlocklet
|
|
1888
|
+
restartBlocklet(input: RequestComponentsInput): ResponseBlocklet
|
|
1876
1889
|
deleteBlocklet(input: RequestDeleteBlockletInput): ResponseBlocklet
|
|
1877
1890
|
deleteComponent(input: RequestDeleteComponentInput): ResponseBlocklet
|
|
1878
1891
|
cancelDownloadBlocklet(input: RequestBlockletInput): ResponseBlocklet
|
|
@@ -1989,5 +2002,6 @@ type Query {
|
|
|
1989
2002
|
getPermissionsByRole(input: RequestTeamRoleInput): ResponsePermissions
|
|
1990
2003
|
getPassportIssuances(input: RequestGetPassportIssuancesInput): ResponseGetPassportIssuances
|
|
1991
2004
|
getAuditLogs(input: RequestGetAuditLogsInput): ResponseGetAuditLogs
|
|
2005
|
+
getLauncherSession(input: RequestGetLauncherSessionInput): ResponseGetLauncherSession
|
|
1992
2006
|
}
|
|
1993
2007
|
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.16.11-beta-
|
|
6
|
+
"version": "1.16.11-beta-f74663ac",
|
|
7
7
|
"description": "",
|
|
8
8
|
"main": "lib/index.js",
|
|
9
9
|
"files": [
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"keywords": [],
|
|
14
14
|
"author": "wangshijun <wangshijun2010@gmail.com> (http://github.com/wangshijun)",
|
|
15
15
|
"license": "Apache-2.0",
|
|
16
|
-
"gitHead": "
|
|
16
|
+
"gitHead": "c59bc852f73b9e216af9d806b9c9e24b2e37ae27",
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"@wangshijun/ts-protoc-gen": "^0.16.2"
|
|
19
19
|
}
|