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

Method saveState

src/utils/interviewStateManager.ts:25–38  ·  view source on GitHub ↗
(config: InterviewConfig)

Source from the content-addressed store, hash-verified

23 }
24
25 saveState(config: InterviewConfig) {
26 const state: StoredInterviewState = {
27 type: config.type.id,
28 industry: config.industry?.id || '',
29 resume: config.resume,
30 timestamp: Date.now()
31 };
32
33 try {
34 localStorage.setItem(STORAGE_KEY, JSON.stringify(state));
35 } catch (error) {
36 console.error('Failed to save interview state:', error);
37 }
38 }
39
40 loadState(): StoredInterviewState | null {
41 try {

Callers 1

updateResumeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected