// Path: Frontend/src/components/assignment/shared/assignment-types.ts

export type AssignmentPageData = {
	id: number;
	title: string;
	topic: string;
	status: "NOT_STARTED" | "IN_PROGRESS" | "SUBMITTED";
	statusLabel: string;
	dueLabel: string;
	studentName: string;
	classroomName: string;
	tutorName: string;
	headline: string;
	description: string;
	primaryAction: string;
	primaryHref: string;
	stats: Array<{ label: string; value: string }>;
	coachCard: {
		title: string;
		description: string;
		items: string[];
	};
	assignmentAiFeedback?: string;
	assignmentTeacherFeedback?: string;
	questions: Array<{
		id: number;
		order: number;
		prompt: string;
		topic: string;
		subTopic: string | null;
		difficulty: string | null;
		marks: number | null;
		statusLabel: string;
		statusTone: "success" | "warning" | "muted";
		responseLabel: string;
		responseValue: string;
		feedback: string;
		solveModeLabel?: string;
		workingSteps?: string;
		initialAnswer?: string;
		initialSolveMode?: "just_answer" | "step_by_step" | "solve_together" | "handwritten";
		showAnswerKey: boolean;
		correctAnswer: string | null;
		isCorrect?: boolean | null;
	}>;
};
