[resumes][feat] update default roles

pull/506/head
Keane Chan 3 years ago
parent 0f1853cd20
commit 8e03937075
No known key found for this signature in database
GPG Key ID: 32718398E1E9F87C

@ -1,5 +1,6 @@
import type { TypeaheadOption } from '@tih/ui'; import type { TypeaheadOption } from '@tih/ui';
import type { JobTitleType } from '~/components/shared/JobTitles';
import { JobTitleLabels } from '~/components/shared/JobTitles'; import { JobTitleLabels } from '~/components/shared/JobTitles';
export type FilterId = 'experience' | 'location' | 'role'; export type FilterId = 'experience' | 'location' | 'role';
@ -44,22 +45,14 @@ export const SORT_OPTIONS: Array<FilterOption<SortOrder>> = [
{ label: 'Most Comments', value: 'mostComments' }, { label: 'Most Comments', value: 'mostComments' },
]; ];
export const ROLES: Array<TypeaheadOption> = [ const INITIAL_ROLES_VALUES: Array<JobTitleType> = [
{ 'software-engineer',
id: 'software-engineer', 'back-end-engineer',
label: 'Software Engineer', 'front-end-engineer',
value: 'software-engineer', 'full-stack-engineer',
}, 'ios-engineer',
{ 'android-engineer',
id: 'back-end-engineer', 'data-engineer',
label: 'Back End Engineer',
value: 'back-end-engineer',
},
{
id: 'front-end-engineer',
label: 'Front End Engineer',
value: 'front-end-engineer',
},
]; ];
export const EXPERIENCES: Array<TypeaheadOption> = [ export const EXPERIENCES: Array<TypeaheadOption> = [

Loading…
Cancel
Save