MCPcopy Create free account
hub / github.com/JunJD/alading / InterviewState

Interface InterviewState

src/stores/useInterviewStore.ts:5–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3import { InterviewType, Industry } from '@/types/interview';
4
5interface InterviewState {
6 type: InterviewType | null;
7 industry: Industry | null;
8 currentPhaseIndex: number;
9
10 // 操作
11 setType: (type: InterviewType) => void;
12 setIndustry: (industry: Industry) => void;
13 setPhaseIndex: (index: number) => void;
14 clearInterview: () => void;
15}
16
17export const useInterviewStore = create<InterviewState>()(
18 persist(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected