import { EnumPaperType } from "@/common/enum";

export type TransferType = 'redirectTo' | 'reLaunch' | 'switchTab' | 'navigateTo' | 'navigateBack';

/**
 * 知识点练习结果
 */
export interface PracticeResultPageOptions {
  examineeId: number;
  name: string;
  directed: boolean;
}

/**
 * 查看试卷分析
 * 
 */
export interface ExamAnalysisPageOptions {
  paperType: EnumPaperType;
  name: string;
  questionId?: number;
  readonly?: boolean;
  simulationInfo?: {
    examineeId: number;
  };
  practiceInfo?: {
    name: string;
    relateId: number;
    directed: boolean; // 知识点 id
    examineeId?: number;
  };
}

/**
 * 查看模拟考试分析
 */
export interface SimulationAnalysisPageOptions {
  examineeId: number;
}