export interface Job { title: string; url: string; status: 0 | 1; occupations: string[]; employmentType: string[]; nid: number; } export interface FacetValue { filter: number; name?: string; count: number; children?: FacetValue[]; } export interface Facet { title?: string; name: string; values: FacetValue[]; } export interface FacetTerms { terms: [{ id: string; name: string; }]; } export interface SearchAPISearch { result_count: number; documents: Job[]; facets: Facet[]; }