@abtnode/types 1.16.21-beta-7b40ffb4 → 1.16.21-beta-420f105a
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 +703 -691
- package/lib/type_pb.d.ts +15 -5
- package/package.json +2 -2
package/lib/type_pb.d.ts
CHANGED
@@ -126,7 +126,7 @@ export type TBlockletMeta = {
|
|
126
126
|
bundleDid: string,
|
127
127
|
bundleName: string,
|
128
128
|
navigation: Record<string, any>[],
|
129
|
-
|
129
|
+
resource?: TBlockletResource,
|
130
130
|
}
|
131
131
|
export type TSimpleBlockletMeta = {
|
132
132
|
did: string,
|
@@ -143,10 +143,8 @@ export type TBlockletRepository = {
|
|
143
143
|
}
|
144
144
|
export type TBlockletCapabilities = {
|
145
145
|
clusterMode: boolean,
|
146
|
-
component: boolean,
|
147
146
|
navigation: boolean,
|
148
147
|
didSpace: string,
|
149
|
-
resourceExportApi: string,
|
150
148
|
}
|
151
149
|
export type TBlockletPayment = {
|
152
150
|
price: TBlockletPaymentPrice[],
|
@@ -254,7 +252,6 @@ export type TBlockletState = {
|
|
254
252
|
trustedPassports: TTrustedPassport[],
|
255
253
|
trustedFactories: TTrustedFactory[],
|
256
254
|
enablePassportIssuance: boolean,
|
257
|
-
dynamic: boolean,
|
258
255
|
mountPoint: string,
|
259
256
|
settings?: TBlockletSettings,
|
260
257
|
appDid: string,
|
@@ -298,7 +295,6 @@ export type TComponentState = {
|
|
298
295
|
mode: string,
|
299
296
|
ports?: Record<string, any>,
|
300
297
|
children: TComponentState[],
|
301
|
-
dynamic: boolean,
|
302
298
|
mountPoint: string,
|
303
299
|
dependents: TDependent[],
|
304
300
|
}
|
@@ -889,3 +885,17 @@ export type TRelease = {
|
|
889
885
|
createdAt: string,
|
890
886
|
updatedAt: string,
|
891
887
|
}
|
888
|
+
export type TBlockletResource = {
|
889
|
+
exportApi: string,
|
890
|
+
types: TBlockletResourceType[],
|
891
|
+
bundles: TBlockletResourceBundle[],
|
892
|
+
}
|
893
|
+
export type TBlockletResourceType = {
|
894
|
+
type: string,
|
895
|
+
description: string,
|
896
|
+
}
|
897
|
+
export type TBlockletResourceBundle = {
|
898
|
+
did: string,
|
899
|
+
type: string,
|
900
|
+
pb_public: boolean,
|
901
|
+
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@abtnode/types",
|
3
|
-
"version": "1.16.21-beta-
|
3
|
+
"version": "1.16.21-beta-420f105a",
|
4
4
|
"description": "Typescript definitions generated from protobuf",
|
5
5
|
"keywords": [
|
6
6
|
"abtnode",
|
@@ -36,5 +36,5 @@
|
|
36
36
|
"bugs": {
|
37
37
|
"url": "https://github.com/ArcBlock/abt-node/issues"
|
38
38
|
},
|
39
|
-
"gitHead": "
|
39
|
+
"gitHead": "f38219e9051563984543127087d6d88fc8b1be98"
|
40
40
|
}
|