export const SALARY_ROLES = [ { key: 'ai-planning', title: '品牌创意策划' }, { key: 'photography', title: '摄影中心岗' }, { key: 'spatial-visual', title: '空间视觉岗' }, { key: 'management', title: '管理岗' }, { key: 'ai-technical', title: 'AI技术设计师岗' }, ] as const export type SalaryRole = typeof SALARY_ROLES[number]['key'] export function resolveSalaryRole(value: unknown): SalaryRole { return SALARY_ROLES.find((role) => role.key === value)?.key ?? SALARY_ROLES[0].key }