forked from noahthesensei/applications
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.d.ts
47 lines (46 loc) · 1.06 KB
/
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
type Outbound = {
id: string;
userId: string;
query: string;
job: string;
nearBrooklyn: boolean;
company: string;
createdAt: Date | null;
} & {
candidates: (InferSelectModel<typeof candidates> & {
workedInPosition: boolean;
workedAtRelevant: boolean;
similarity: number;
weight: number;
matched: boolean;
relevantSkills: string[];
notRelevantSkills: string[];
})[];
matches: (InferSelectModel<typeof candidates> & {
workedInPosition: boolean;
workedAtRelevant: boolean;
similarity: number;
weight: number;
matched: boolean;
relevantSkills: string[];
notRelevantSkills: string[];
})[];
};
type Candidate = {
linkedinData: any;
livesNearBrooklyn: boolean | null;
workedInBigTech: boolean | null;
url: string;
id: string;
summary: string | null;
createdAt: Date | null;
miniSummary: string | null;
relevantSkills: string[];
notRelevantSkills: string[];
} & {
workedInPosition?: boolean;
workedAtRelevant?: boolean;
similarity?: number;
weight?: number;
matched?: boolean;
};