Spaces:
Running
Running
| // Registration form options - centralized constants for multi-step registration | |
| import type { TeachingGrade, Position, TeachingExperience, KnownStrategy } from '@/lib/types/models'; | |
| export interface Option<T extends string> { | |
| value: T; | |
| label: string; | |
| } | |
| export const TEACHING_GRADES: Option<TeachingGrade>[] = [ | |
| { value: 'kindergarten', label: '幼兒園' }, | |
| { value: 'elementary', label: '國小' }, | |
| { value: 'junior_high', label: '國中' }, | |
| { value: 'senior_high', label: '高中職' }, | |
| { value: 'other', label: '其他' }, | |
| ]; | |
| export const POSITIONS: Option<Position>[] = [ | |
| { value: 'homeroom', label: '班級導師' }, | |
| { value: 'subject', label: '科任教師' }, | |
| { value: 'administrative', label: '行政教師(組長、主任)' }, | |
| { value: 'none', label: '無任職' }, | |
| { value: 'other', label: '其他' }, | |
| ]; | |
| export const TEACHING_EXPERIENCE: Option<TeachingExperience>[] = [ | |
| { value: 'none', label: '無經驗' }, | |
| { value: 'less_than_1', label: '1年以下' }, | |
| { value: '1_to_2', label: '1-2年' }, | |
| { value: '2_to_5', label: '2-5年' }, | |
| { value: 'more_than_5', label: '5年以上' }, | |
| { value: 'other', label: '其他' }, | |
| ]; | |
| export const KNOWN_STRATEGIES: Option<KnownStrategy>[] = [ | |
| { value: 'satir', label: '薩提爾' }, | |
| { value: 'nvc', label: '非暴力溝通' }, | |
| { value: 'orid', label: 'ORID' }, | |
| { value: 'sbior', label: 'SBIOR' }, | |
| { value: 'unknown', label: '不了解以上策略' }, | |
| { value: 'other', label: '其他' }, | |
| ]; | |
| export const CONFIDENCE_LEVELS = [1, 2, 3, 4, 5, 6, 7] as const; | |