From 96e9ae8dee2befdbeea274afa72b4ca165c917d3 Mon Sep 17 00:00:00 2001 From: Daven Quinn Date: Sun, 21 Jul 2024 00:49:22 -0500 Subject: [PATCH] Fixed bad paths to API types module --- packages/api-utils/src/measurements.ts | 2 +- packages/column-components/stories/base-section.ts | 6 +----- .../column-components/stories/measured-section.stories.ts | 2 +- packages/column-components/stories/stratigraphy.stories.ts | 2 +- packages/column-views/src/helpers.ts | 5 +---- packages/column-views/src/units/composite.ts | 2 +- packages/column-views/src/units/selection.ts | 2 +- 7 files changed, 7 insertions(+), 14 deletions(-) diff --git a/packages/api-utils/src/measurements.ts b/packages/api-utils/src/measurements.ts index 7bbf129a..6240ee12 100644 --- a/packages/api-utils/src/measurements.ts +++ b/packages/api-utils/src/measurements.ts @@ -3,7 +3,7 @@ import { MeasurementLong, ColumnSpec, StratUnit, -} from "/Users/Daven/Projects/Macrostrat/Software/web/deps/web-components/packages/api-types/src"; +} from "@macrostrat/api-types"; /* Reference measurements with relative heights to absolute age datum in column units. This produces data that can be plotted on column-based axes. */ diff --git a/packages/column-components/stories/base-section.ts b/packages/column-components/stories/base-section.ts index 2278b9d2..d44a8bc3 100644 --- a/packages/column-components/stories/base-section.ts +++ b/packages/column-components/stories/base-section.ts @@ -11,11 +11,7 @@ import { ColumnLayoutContext, } from "@macrostrat/column-components"; import { useContext } from "react"; -import { - BaseUnit, - ColumnSpec, - UnitLong, -} from "/Users/Daven/Projects/Macrostrat/Software/web/deps/web-components/packages/api-types/src"; +import { BaseUnit, ColumnSpec, UnitLong } from "@macrostrat/api-types"; import { IUnit } from "@macrostrat/column-views"; import { Timescale, diff --git a/packages/column-components/stories/measured-section.stories.ts b/packages/column-components/stories/measured-section.stories.ts index 87817065..5dfa69a1 100644 --- a/packages/column-components/stories/measured-section.stories.ts +++ b/packages/column-components/stories/measured-section.stories.ts @@ -1,6 +1,6 @@ import h from "@macrostrat/hyper"; import { ColumnDivision, ColumnSurface } from "@macrostrat/column-components"; -import { BaseUnit } from "/Users/Daven/Projects/Macrostrat/Software/web/deps/web-components/packages/api-types/src"; +import { BaseUnit } from "@macrostrat/api-types"; import { IUnit } from "@macrostrat/column-views"; import "./measured-section.sass"; import "../src/global-styles.scss"; diff --git a/packages/column-components/stories/stratigraphy.stories.ts b/packages/column-components/stories/stratigraphy.stories.ts index eb5c0a65..fc38959c 100644 --- a/packages/column-components/stories/stratigraphy.stories.ts +++ b/packages/column-components/stories/stratigraphy.stories.ts @@ -4,7 +4,7 @@ import { ColumnSurface, ParameterIntervals, } from "@macrostrat/column-components"; -import { BaseUnit } from "/Users/Daven/Projects/Macrostrat/Software/web/deps/web-components/packages/api-types/src"; +import { BaseUnit } from "@macrostrat/api-types"; import "./measured-section.sass"; import "../src/global-styles.scss"; import "../src/main.module.scss"; diff --git a/packages/column-views/src/helpers.ts b/packages/column-views/src/helpers.ts index 39a75ab8..37778408 100644 --- a/packages/column-views/src/helpers.ts +++ b/packages/column-views/src/helpers.ts @@ -1,7 +1,4 @@ -import { - BaseUnit, - UnitLong, -} from "/Users/Daven/Projects/Macrostrat/Software/web/deps/web-components/packages/api-types/src"; +import { BaseUnit, UnitLong } from "@macrostrat/api-types"; // Time resolution is 100 years const dt = 0.0001; diff --git a/packages/column-views/src/units/composite.ts b/packages/column-views/src/units/composite.ts index 19b6e68b..44161fd4 100644 --- a/packages/column-views/src/units/composite.ts +++ b/packages/column-views/src/units/composite.ts @@ -14,7 +14,7 @@ import { useCallback, memo, } from "react"; -import { BaseUnit } from "/Users/Daven/Projects/Macrostrat/Software/web/deps/web-components/packages/api-types/src"; +import { BaseUnit } from "@macrostrat/api-types"; import { LabeledUnit, UnitBoxes } from "./boxes"; import styles from "./composite.module.scss"; diff --git a/packages/column-views/src/units/selection.ts b/packages/column-views/src/units/selection.ts index 5297b948..9d707a07 100644 --- a/packages/column-views/src/units/selection.ts +++ b/packages/column-views/src/units/selection.ts @@ -1,4 +1,4 @@ -import { BaseUnit } from "/Users/Daven/Projects/Macrostrat/Software/web/deps/web-components/packages/api-types/src"; +import { BaseUnit } from "@macrostrat/api-types"; import h from "@macrostrat/hyper"; import { getQueryString, setQueryString } from "@macrostrat/ui-components"; import {