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

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

/**
 * 知识点练习结果
 */
export interface PracticeResultPageOptions {
  examineeId: number;
  name: string;
  directed: boolean;
  paperType: EnumPaperType;
  isVHS?: boolean; // 是否是对口升学
  questionType?: number; // 对口升学用来区分是知识点还是必刷题
}

/**
 * 查看试卷分析
 * 
 */
export interface ExamAnalysisPageOptions {
  paperType: EnumPaperType;
  // name: string;
  questionId?: number;
  readonly: boolean;
  // 模拟考试
  simulationInfo?: {
    examineeId: number;
    name: string;
  };
  // 知识点练习、教材同步练、组卷作业
  practiceInfo?: {
    name: string;
    relateId: number;
    directed: boolean; // 知识点 id
    examineeId?: number;
    questionType?: number; // 对口升学用来区分是知识点还是必刷题
  };
}

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