generated from emmanuelubachi/nextjs-starter
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.d.ts
48 lines (40 loc) · 922 Bytes
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
import { BADGE_CRITERIA } from "@/constants";
export interface SidebarLink {
imgURL: string;
route: string;
label: string;
}
export interface Job {
id?: string;
employer_name?: string;
employer_logo?: string | undefined;
employer_website?: string;
job_employment_type?: string;
job_title?: string;
job_description?: string;
job_apply_link?: string;
job_city?: string;
job_state?: string;
job_country?: string;
}
export interface Country {
name: {
common: string;
};
}
export interface ParamsProps {
params: { id: string };
}
export interface SearchParamsProps {
searchParams: { [key: string]: string | undefined };
}
export interface URLProps {
params: { id: string };
searchParams: { [key: string]: string | undefined };
}
export interface BadgeCounts {
GOLD: number;
SILVER: number;
BRONZE: number;
}
export type BadgeCriteriaType = keyof typeof BADGE_CRITERIA;