jobiqo-cl
Version:
[](https://circleci.com/gh/jobiqo/jobiqo-cl)
31 lines (30 loc) • 566 B
TypeScript
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[];
}