[resumes][feat] replace student roles with internship

pull/442/head
Keane Chan 3 years ago
parent b3df50b7a4
commit bc506b358c
No known key found for this signature in database
GPG Key ID: 32718398E1E9F87C

@ -96,6 +96,7 @@ export const resumesRouter = createRouter()
createdAt: r.createdAt, createdAt: r.createdAt,
experience: r.experience, experience: r.experience,
id: r.id, id: r.id,
isResolved: r.isResolved,
isStarredByUser: r.stars.length > 0, isStarredByUser: r.stars.length > 0,
location: r.location, location: r.location,
numComments: r._count.comments, numComments: r._count.comments,

@ -3,6 +3,7 @@ export type Resume = {
createdAt: Date; createdAt: Date;
experience: string; experience: string;
id: string; id: string;
isResolved: boolean;
isStarredByUser: boolean; isStarredByUser: boolean;
location: string; location: string;
numComments: number; numComments: number;

@ -14,12 +14,9 @@ export type RoleFilter =
export type ExperienceFilter = export type ExperienceFilter =
| 'Entry Level (0 - 2 years)' | 'Entry Level (0 - 2 years)'
| 'Freshman' | 'Internship'
| 'Junior'
| 'Mid Level (3 - 5 years)' | 'Mid Level (3 - 5 years)'
| 'Senior Level (5+ years)' | 'Senior Level (5+ years)';
| 'Senior'
| 'Sophomore';
export type LocationFilter = 'India' | 'Singapore' | 'United States'; export type LocationFilter = 'India' | 'Singapore' | 'United States';
@ -79,10 +76,7 @@ export const ROLES: Array<FilterOption<RoleFilter>> = [
]; ];
export const EXPERIENCES: Array<FilterOption<ExperienceFilter>> = [ export const EXPERIENCES: Array<FilterOption<ExperienceFilter>> = [
{ label: 'Freshman', value: 'Freshman' }, { label: 'Internship', value: 'Internship' },
{ label: 'Sophomore', value: 'Sophomore' },
{ label: 'Junior', value: 'Junior' },
{ label: 'Senior', value: 'Senior' },
{ {
label: 'Entry Level (0 - 2 years)', label: 'Entry Level (0 - 2 years)',
value: 'Entry Level (0 - 2 years)', value: 'Entry Level (0 - 2 years)',

Loading…
Cancel
Save