Skip to content

Commit e5fbe6e

Browse files
refactor: Update the Job interface
1 parent 7927c8c commit e5fbe6e

1 file changed

Lines changed: 11 additions & 15 deletions

File tree

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,23 @@
11
export interface Job {
2-
palavra?: string | null;
2+
keyword?: string | null;
33
keywords?: string[] | null;
4-
titulo?: string | null;
5-
empresa?: string | null;
4+
title?: string | null;
5+
company?: string | null;
66
source?: string | null;
77
sources?: string[] | null;
8-
local?: string | null;
9-
link?: string | null;
10-
}
11-
12-
export interface JobFile {
13-
file: string;
8+
location?: string | null;
9+
url?: string | null;
1410
}
1511

1612
export interface JobsMeta {
17-
file: string;
18-
modifiedAt: string | number | null;
13+
hasNext: boolean;
14+
hasPrev: boolean;
15+
limit: number;
16+
page: number;
1917
total: number;
18+
totalPages: number;
2019
}
2120

22-
export interface JobsResponse {
21+
export interface JobsResponse extends JobsMeta {
2322
jobs: Job[];
24-
file: string;
25-
modifiedAt: string | number | null;
26-
total: number;
2723
}

0 commit comments

Comments
 (0)