diff --git a/packages/@ourworldindata/types/src/siteTypes/MultiDimDataPage.ts b/packages/@ourworldindata/types/src/siteTypes/MultiDimDataPage.ts index 5ddfb472c50..2f705772005 100644 --- a/packages/@ourworldindata/types/src/siteTypes/MultiDimDataPage.ts +++ b/packages/@ourworldindata/types/src/siteTypes/MultiDimDataPage.ts @@ -1,5 +1,6 @@ import { OwidEnrichedGdocBlock } from "../gdocTypes/ArchieMlComponents.js" import { PrimaryTopic } from "../gdocTypes/Datapage.js" +import { GrapherInterface } from "../grapherTypes/GrapherTypes.js" import { IndicatorTitleWithFragments } from "../OwidVariable.js" // Indicator ID, catalog path, or maybe an array of those @@ -64,14 +65,8 @@ export interface IndicatorsAfterPreProcessing { export interface View> { dimensions: MultiDimDimensionChoices indicators: IndicatorsType - config?: Config + config?: GrapherInterface } - -export interface Config { - title?: string - subtitle?: string -} - export type MultiDimDimensionChoices = Record // Keys: dimension slugs, values: choice slugs export type FaqEntryKeyedByGdocIdAndFragmentId = {