feat: 初始化天选公司 MVP
- 首页、信息录入页、结果页完整流程 - 命理分析规则引擎(五行计算) - 公司类型与岗位方向匹配 - 响应式东方命理风格 UI Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
47
src/types/index.ts
Normal file
47
src/types/index.ts
Normal file
@@ -0,0 +1,47 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user