Skip to content

Commit

Permalink
fix: ensures support for additional Facet types (beyond 'terms')
Browse files Browse the repository at this point in the history
  • Loading branch information
jbottigliero committed Nov 11, 2024
1 parent 1d0c1b3 commit 607cc7c
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions static.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
import _STATIC from "./static.json";
import _STATIC from "./static-andy-11-11.json" with { type: "json" };

Check failure on line 1 in static.ts

View workflow job for this annotation

GitHub Actions / lint + test

Cannot find module './static-andy-11-11.json' or its corresponding type declarations.
import { defaultsDeep, get as _get } from "lodash";
import { ThemeSettings } from "@/theme";

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.
*/
Expand Down Expand Up @@ -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[];
};
};
};
Expand Down

0 comments on commit 607cc7c

Please sign in to comment.