mirror of
https://github.com/yangshun/tech-interview-handbook.git
synced 2025-07-28 20:52:00 +08:00
[offers][fix] Align the range of Junior, Mid, and Senior SWE in the backend with the frontend
This commit is contained in:
@ -17,11 +17,11 @@ const yoeCategoryMap: Record<number, string> = {
|
||||
|
||||
const getYoeRange = (yoeCategory: number) => {
|
||||
return yoeCategoryMap[yoeCategory] === 'Fresh Grad'
|
||||
? { maxYoe: 3, minYoe: 0 }
|
||||
? { maxYoe: 2, minYoe: 0 }
|
||||
: yoeCategoryMap[yoeCategory] === 'Mid'
|
||||
? { maxYoe: 7, minYoe: 4 }
|
||||
? { maxYoe: 5, minYoe: 3 }
|
||||
: yoeCategoryMap[yoeCategory] === 'Senior'
|
||||
? { maxYoe: 100, minYoe: 8 }
|
||||
? { maxYoe: 100, minYoe: 6 }
|
||||
: null; // Internship
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user