@milaboratories/pl-model-middle-layer 1.34.1 → 1.34.3

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.
@@ -6,7 +6,7 @@ export type BlockStateInternal<Args = unknown, Outputs extends BlockOutputsBase
6
6
  export type BlockStateInternalV3<Outputs extends BlockOutputsBase = BlockOutputsBase, Href extends `/${string}` = `/${string}`> = {
7
7
  /** Raw block storage - UI derives data using sdk/model */
8
8
  readonly blockStorage: unknown;
9
- /** Storage debug view (JSON string) for block debug panel. */
9
+ /** @deprecated No longer filled by the middle layer. Read `blockStorage` instead. */
10
10
  readonly storageDebugView?: StringifiedJson<StorageDebugView>;
11
11
  /** Outputs rendered with block config */
12
12
  outputs?: Outputs;
@@ -141,11 +141,10 @@ export type BlockStateOverview = {
141
141
  /** Current navigation state of the block */
142
142
  navigationState: NavigationState;
143
143
  /**
144
- * Storage debug view as JSON string (e.g., '{"dataVersion": "v1"}').
145
- * Used by developer tools to display block state info.
146
- * Undefined when block-pack is not yet materialized or for non-V2 blocks.
144
+ * @deprecated No longer filled by the middle layer, because building it ran the block model for
145
+ * every block on each overview update. Read `blockStorage` from the block state instead.
147
146
  */
148
- storageDebugView: StringifiedJson<StorageDebugView> | undefined;
147
+ storageDebugView?: StringifiedJson<StorageDebugView>;
149
148
  };
150
149
  //#endregion
151
150
  //# sourceMappingURL=project_overview.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"project_overview.d.ts","names":[],"sources":["../src/project_overview.ts"],"mappings":";;;;;;;;YAeY;;YAGA;;EAEV,MAAM;;EAGN,SAAS;;EAGT,cAAc;;;;;;;;EASd,eAAe;;EAGf,QAAQ;;;YAIE;;EAEV;;EAGA;;;;;;;EAQA;;;;;EAMA;;;;;EAMA;;;;;EAMA;;EAGA,eAAe;;;;;EAMf;;;;;;;EAQA;;;;;EAMA;;;;;EAMA;;;;;EAMA;;EAGA,mBAAmB;;;;;EAMnB;;;;;EAMA;;;;;EAMA,UAAU;;;;;EAMV;;;;;EAMA;;;;;EAMA;;;;;EAMA,cAAc;;;;;;;EAQd;;EAGA,kBAAkB;;;;;EAMlB,kBAAkB;;EAGlB,UAAU;;EAGV,mBAAmB;;EAGnB,iBAAiB;;;;;;EAOjB,kBAAkB,gBAAgB"}
1
+ {"version":3,"file":"project_overview.d.ts","names":[],"sources":["../src/project_overview.ts"],"mappings":";;;;;;;;YAeY;;YAGA;;EAEV,MAAM;;EAGN,SAAS;;EAGT,cAAc;;;;;;;;EASd,eAAe;;EAGf,QAAQ;;;YAIE;;EAEV;;EAGA;;;;;;;EAQA;;;;;EAMA;;;;;EAMA;;;;;EAMA;;EAGA,eAAe;;;;;EAMf;;;;;;;EAQA;;;;;EAMA;;;;;EAMA;;;;;EAMA;;EAGA,mBAAmB;;;;;EAMnB;;;;;EAMA;;;;;EAMA,UAAU;;;;;EAMV;;;;;EAMA;;;;;EAMA;;;;;EAMA,cAAc;;;;;;;EAQd;;EAGA,kBAAkB;;;;;EAMlB,kBAAkB;;EAGlB,UAAU;;EAGV,mBAAmB;;EAGnB,iBAAiB;;;;;EAMjB,mBAAmB,gBAAgB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@milaboratories/pl-model-middle-layer",
3
- "version": "1.34.1",
3
+ "version": "1.34.3",
4
4
  "description": "Common model between middle layer and non-block UI code",
5
5
  "files": [
6
6
  "./dist/**/*",
@@ -21,15 +21,15 @@
21
21
  "utility-types": "^3.11.0",
22
22
  "zod": "~3.25.76",
23
23
  "@milaboratories/helpers": "1.14.5",
24
- "@milaboratories/pl-model-common": "1.52.0"
24
+ "@milaboratories/pl-model-common": "1.53.0"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@types/node": "~24.5.2",
28
28
  "@vitest/coverage-istanbul": "^4.1.3",
29
29
  "typescript": "7.0.2",
30
30
  "vitest": "^4.1.3",
31
- "@milaboratories/ts-configs": "1.4.0",
32
31
  "@milaboratories/ts-builder": "1.7.2",
32
+ "@milaboratories/ts-configs": "1.4.0",
33
33
  "@milaboratories/build-configs": "2.0.2"
34
34
  },
35
35
  "scripts": {
@@ -24,7 +24,7 @@ export type BlockStateInternalV3<
24
24
  /** Raw block storage - UI derives data using sdk/model */
25
25
  readonly blockStorage: unknown;
26
26
 
27
- /** Storage debug view (JSON string) for block debug panel. */
27
+ /** @deprecated No longer filled by the middle layer. Read `blockStorage` instead. */
28
28
  readonly storageDebugView?: StringifiedJson<StorageDebugView>;
29
29
 
30
30
  /** Outputs rendered with block config */
@@ -180,9 +180,8 @@ export type BlockStateOverview = {
180
180
  navigationState: NavigationState;
181
181
 
182
182
  /**
183
- * Storage debug view as JSON string (e.g., '{"dataVersion": "v1"}').
184
- * Used by developer tools to display block state info.
185
- * Undefined when block-pack is not yet materialized or for non-V2 blocks.
183
+ * @deprecated No longer filled by the middle layer, because building it ran the block model for
184
+ * every block on each overview update. Read `blockStorage` from the block state instead.
186
185
  */
187
- storageDebugView: StringifiedJson<StorageDebugView> | undefined;
186
+ storageDebugView?: StringifiedJson<StorageDebugView>;
188
187
  };