Files
tianxuan-company/src/types/index.ts

47 lines
1.1 KiB
TypeScript
Raw Normal View History

export interface UserInput {
birthDate: string; // YYYY-MM-DD
birthTime: string; // HH:mm
gender: 'male' | 'female';
birthPlace: string;
}
export interface FortuneProfile {
wuxing: 'wood' | 'fire' | 'earth' | 'metal' | 'water';
wuxingLabel: string;
personality: string[];
strengths: string[];
weaknesses: string[];
developmentRhythm: 'stable' | 'growth' | 'breakthrough' | 'accumulation';
}
export interface CompanyRecommendation {
type: string;
matchScore: number;
reasons: string[];
suitableFor: string[];
notSuitableFor: string[];
stageAdvice: string;
}
export interface JobRecommendation {
category: string;
matchScore: number;
reasons: string[];
suitableWorkStyle: string[];
notSuitableFor: string[];
}
export interface StageAdvice {
overall: string;
careerDirection: string;
jobChangeTiming: string;
platformPreference: string;
keyObservations: string[];
}
export interface FortuneResult {
profile: FortuneProfile;
companyRecommendations: CompanyRecommendation[];
jobRecommendations: JobRecommendation[];
stageAdvice: StageAdvice;
}