diff --git a/static.ts b/static.ts index f552274..44090b0 100644 --- a/static.ts +++ b/static.ts @@ -1,4 +1,4 @@ -import _STATIC from "./static.json"; +import _STATIC from "./static-andy-11-11.json" with { type: "json" }; import { defaultsDeep, get as _get } from "lodash"; import { ThemeSettings } from "@/theme"; @@ -6,6 +6,8 @@ import type { ResultListingComponentOptions } from "@/components/ResultListing"; import type { ResultComponentOptions } from "@/components/Result"; import { NavigationOptions } from "@/components/Navigation"; +import type { GFacet } from "@globus/sdk/services/search/service/query"; + /** * The base type for a `static.json` file. */ @@ -141,12 +143,7 @@ export type Data = { * The UUID of the Globus Search Index that will be used as the data source. */ index: string; - facets?: { - name?: string; - field_name: string; - type: string; - size: number; - }[]; + facets?: GFacet[]; }; }; };