@platforma-open/milaboratories.top-antibodies 4.0.1 → 4.1.0

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/index.js CHANGED
@@ -10935,6 +10935,11 @@ const defaultSelectionPlotState = () => ({
10935
10935
  template: "selection",
10936
10936
  currentTab: null
10937
10937
  });
10938
+ /**
10939
+ * Sentinel column id of the block's former built-in "In Vivo Score" ranking
10940
+ * option.
10941
+ */
10942
+ const REMOVED_IN_VIVO_SCORE_COLUMN_ID = "pl7.app/vdj/inVivoScore";
10938
10943
  const blockDataModel = new DataModelBuilder().from("Ver_2026_02_25").upgradeLegacy(({ args, uiState }) => ({
10939
10944
  defaultBlockLabel: args.defaultBlockLabel,
10940
10945
  customBlockLabel: args.customBlockLabel,
@@ -10975,6 +10980,14 @@ const blockDataModel = new DataModelBuilder().from("Ver_2026_02_25").upgradeLega
10975
10980
  ...rest,
10976
10981
  input: inputAnchor !== void 0 ? createDatasetSelection(createPrimaryRef(inputAnchor)) : void 0
10977
10982
  };
10983
+ }).migrate("Ver_2026_07_28", (prev) => {
10984
+ const rankingOrder = prev.rankingOrder.filter((rank) => rank.value?.column !== REMOVED_IN_VIVO_SCORE_COLUMN_ID);
10985
+ if (rankingOrder.length === prev.rankingOrder.length) return { ...prev };
10986
+ return {
10987
+ ...prev,
10988
+ rankingOrder,
10989
+ inVivoScoreRemovedNotice: true
10990
+ };
10978
10991
  }).init(() => ({
10979
10992
  defaultBlockLabel: getDefaultBlockLabel({}),
10980
10993
  customBlockLabel: "",
@@ -11008,7 +11021,8 @@ const blockDataModel = new DataModelBuilder().from("Ver_2026_02_25").upgradeLega
11008
11021
  alignmentModel: {},
11009
11022
  filtersInitializedForAnchor: void 0,
11010
11023
  rankingsInitializedForAnchor: void 0,
11011
- preset: void 0
11024
+ preset: void 0,
11025
+ inVivoScoreRemovedNotice: void 0
11012
11026
  }));
11013
11027
  //#endregion
11014
11028
  //#region ../node_modules/.pnpm/@milaboratories+strings@0.1.2/node_modules/@milaboratories/strings/strings.json