@abtnode/types 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/rpc_pb.d.ts +15 -2
- package/lib/type_pb.d.ts +9 -1
- package/package.json +3 -3
package/lib/rpc_pb.d.ts
CHANGED
@@ -14,6 +14,10 @@ export type TBooleanResponse = {
|
|
14
14
|
export type TRequestBlocklet = {
|
15
15
|
did: string,
|
16
16
|
}
|
17
|
+
export type TRequestComponents = {
|
18
|
+
did: string,
|
19
|
+
componentDids: string[],
|
20
|
+
}
|
17
21
|
export type TRequestBlockletDetail = {
|
18
22
|
did: string,
|
19
23
|
attachRuntimeInfo: boolean,
|
@@ -52,7 +56,7 @@ export type TResponseBlockletDiff = {
|
|
52
56
|
blockletDiff?: type_pb.TBlockletDiff,
|
53
57
|
}
|
54
58
|
export type TRequestGetBlocklets = {
|
55
|
-
|
59
|
+
useCache: boolean,
|
56
60
|
query?: type_pb.TBlockletQuery,
|
57
61
|
}
|
58
62
|
export type TResponseGetBlocklets = {
|
@@ -654,7 +658,7 @@ export type TRequestAddBlockletSpaceGateway = {
|
|
654
658
|
}
|
655
659
|
export type TRequestDeleteBlockletSpaceGateway = {
|
656
660
|
did: string,
|
657
|
-
|
661
|
+
spacegatewaydid: string,
|
658
662
|
}
|
659
663
|
export type TRequestUpdateBlockletSpaceGateway = {
|
660
664
|
did: string,
|
@@ -672,3 +676,12 @@ export type TResponseGetBlockletBackups = {
|
|
672
676
|
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
673
677
|
backups: type_pb.TBackup[],
|
674
678
|
}
|
679
|
+
export type TRequestGetLauncherSession = {
|
680
|
+
launcherSessionId: string,
|
681
|
+
launcherUrl: string,
|
682
|
+
}
|
683
|
+
export type TResponseGetLauncherSession = {
|
684
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
685
|
+
error: string,
|
686
|
+
launcherSession?: Record<string, any>,
|
687
|
+
}
|
package/lib/type_pb.d.ts
CHANGED
@@ -201,6 +201,10 @@ export type TBlockletExposeService = {
|
|
201
201
|
port: number,
|
202
202
|
upstreamPort: number,
|
203
203
|
}
|
204
|
+
export type TBlockletControllerStatus = {
|
205
|
+
value: number,
|
206
|
+
reason: string,
|
207
|
+
}
|
204
208
|
export type TBlockletController = {
|
205
209
|
id: string,
|
206
210
|
nftId: string,
|
@@ -208,6 +212,10 @@ export type TBlockletController = {
|
|
208
212
|
chainHost: string,
|
209
213
|
expireDate: number,
|
210
214
|
consumedAt: string,
|
215
|
+
launcherUrl: string,
|
216
|
+
launcherSessionId: string,
|
217
|
+
ownerDid: string,
|
218
|
+
status?: TBlockletControllerStatus,
|
211
219
|
}
|
212
220
|
export type TBlockletMigrateRecord = {
|
213
221
|
appSk: string,
|
@@ -580,7 +588,6 @@ export type TUserSort = {
|
|
580
588
|
lastLoginAt: number,
|
581
589
|
}
|
582
590
|
export type TBlockletQuery = {
|
583
|
-
controller?: TBlockletController,
|
584
591
|
}
|
585
592
|
export type TRole = {
|
586
593
|
name: string,
|
@@ -724,6 +731,7 @@ export type TSpaceGateway = {
|
|
724
731
|
url: string,
|
725
732
|
pb_protected: string,
|
726
733
|
endpoint: string,
|
734
|
+
did: string,
|
727
735
|
}
|
728
736
|
export type TBackup = {
|
729
737
|
appPid: string,
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@abtnode/types",
|
3
|
-
"version": "1.16.11-beta-
|
3
|
+
"version": "1.16.11-beta-f74663ac",
|
4
4
|
"description": "Typescript definitions generated from protobuf",
|
5
5
|
"keywords": [
|
6
6
|
"abtnode",
|
@@ -11,7 +11,7 @@
|
|
11
11
|
},
|
12
12
|
"resolutions": {},
|
13
13
|
"devDependencies": {
|
14
|
-
"@arcblock/eslint-config-ts": "0.2.
|
14
|
+
"@arcblock/eslint-config-ts": "0.2.4",
|
15
15
|
"@types/jest": "^28.1.8",
|
16
16
|
"@types/node": "^17.0.45",
|
17
17
|
"eslint": "^8.25.0",
|
@@ -36,5 +36,5 @@
|
|
36
36
|
"bugs": {
|
37
37
|
"url": "https://github.com/ArcBlock/abt-node/issues"
|
38
38
|
},
|
39
|
-
"gitHead": "
|
39
|
+
"gitHead": "c59bc852f73b9e216af9d806b9c9e24b2e37ae27"
|
40
40
|
}
|