@abtnode/types 1.16.23-beta-f85576a6 → 1.16.23-beta-ce222a8b

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/type_pb.d.ts CHANGED
@@ -91,7 +91,8 @@ export type TNodeHistoryItem = {
91
91
  }
92
92
  export type TChildConfig = {
93
93
  name: string,
94
- mountpoint: string,
94
+ mountPoint: string,
95
+ required: boolean,
95
96
  }
96
97
  export type TBlockletMeta = {
97
98
  did: string,
@@ -138,6 +139,18 @@ export type TSimpleBlockletMeta = {
138
139
  bundleDid: string,
139
140
  bundleName: string,
140
141
  }
142
+ export type TOptionalDependencies = {
143
+ parentDid: string,
144
+ parentName: string,
145
+ parentTitle: string,
146
+ mountPoint: string,
147
+ required: boolean,
148
+ }
149
+ export type TOptionalComponentState = {
150
+ logoUrl: string,
151
+ dependencies: TOptionalDependencies[],
152
+ meta?: TBlockletMeta,
153
+ }
141
154
  export type TBlockletRepository = {
142
155
  type: string,
143
156
  url: string,
@@ -252,6 +265,7 @@ export type TBlockletState = {
252
265
  mode: string,
253
266
  ports?: Record<string, any>,
254
267
  children: TComponentState[],
268
+ optionalComponents: TOptionalComponentState[],
255
269
  trustedPassports: TTrustedPassport[],
256
270
  trustedFactories: TTrustedFactory[],
257
271
  enablePassportIssuance: boolean,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abtnode/types",
3
- "version": "1.16.23-beta-f85576a6",
3
+ "version": "1.16.23-beta-ce222a8b",
4
4
  "description": "Typescript definitions generated from protobuf",
5
5
  "keywords": [
6
6
  "abtnode",
@@ -12,7 +12,7 @@
12
12
  "resolutions": {},
13
13
  "devDependencies": {
14
14
  "@arcblock/eslint-config-ts": "0.2.4",
15
- "@types/jest": "^28.1.8",
15
+ "@types/jest": "^29.5.11",
16
16
  "@types/node": "^17.0.45",
17
17
  "eslint": "^8.25.0",
18
18
  "typescript": "^5.0.4"
@@ -36,5 +36,5 @@
36
36
  "bugs": {
37
37
  "url": "https://github.com/ArcBlock/abt-node/issues"
38
38
  },
39
- "gitHead": "bac83a74944b4cef3ccb386277023caf0e1d5cd4"
39
+ "gitHead": "12e2bb15e23b349041139ae79691312067975812"
40
40
  }