@platforma-sdk/model 1.40.5 → 1.40.6

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/dist/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const PlatformaSDKVersion = "1.40.5";
1
+ export declare const PlatformaSDKVersion = "1.40.6";
2
2
  //# sourceMappingURL=version.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platforma-sdk/model",
3
- "version": "1.40.5",
3
+ "version": "1.40.6",
4
4
  "description": "Platforma.bio SDK / Block Model",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "./dist/index.js",
@@ -22,7 +22,7 @@
22
22
  "utility-types": "^3.11.0",
23
23
  "canonicalize": "~2.1.0",
24
24
  "zod": "~3.23.8",
25
- "@milaboratories/pl-model-common": "^1.16.4",
25
+ "@milaboratories/pl-model-common": "^1.16.5",
26
26
  "@milaboratories/pl-error-like": "^1.12.2"
27
27
  },
28
28
  "devDependencies": {
@@ -33,8 +33,8 @@
33
33
  "@jest/globals": "^29.7.0",
34
34
  "ts-jest": "^29.2.6",
35
35
  "@platforma-sdk/eslint-config": "1.0.3",
36
- "@milaboratories/helpers": "^1.6.18",
37
- "@milaboratories/build-configs": "1.0.4"
36
+ "@milaboratories/build-configs": "1.0.4",
37
+ "@milaboratories/helpers": "^1.6.18"
38
38
  },
39
39
  "scripts": {
40
40
  "type-check": "node ./scripts/save-package-version.cjs && tsc --noEmit --composite false",
@@ -35,6 +35,7 @@ import {
35
35
  PColumnCollection,
36
36
  TreeNodeAccessor,
37
37
  } from '../render';
38
+ import { isLinkerColumn } from './PFrameForGraphs';
38
39
 
39
40
  export type PlTableColumnId = {
40
41
  /** Original column spec */
@@ -673,7 +674,7 @@ export function createPlDataTableV2<A, U>(
673
674
  ops?: CreatePlDataTableOps,
674
675
  ): PlDataTableModel | undefined {
675
676
  if (inputColumns.length === 0) return undefined;
676
- const columns = inputColumns.filter((c) => !isColumnHidden(c.spec));
677
+ const columns = inputColumns.filter((c) => isLinkerColumn(c.spec) || !isColumnHidden(c.spec));
677
678
 
678
679
  const tableStateNormalized = upgradePlDataTableStateV2(tableState);
679
680
 
@@ -746,7 +747,7 @@ export function createPlDataTableV2<A, U>(
746
747
 
747
748
  // Preserve linker columns
748
749
  columns
749
- .filter((c) => c.spec.annotations?.['pl7.app/isLinkerColumn'] === 'true')
750
+ .filter((c) => isLinkerColumn(c.spec))
750
751
  .forEach((c) => hiddenColumns.delete(c.id));
751
752
 
752
753
  // Preserve core columns as they change the shape of join.