23 lines
498 B
TypeScript
23 lines
498 B
TypeScript
import { IconType } from "react-icons";
|
|
|
|
export interface GeneratedExercises {
|
|
exercises: Record<string, string>[];
|
|
sectionId: number;
|
|
module: string;
|
|
}
|
|
|
|
export interface GeneratorState {
|
|
loading: boolean;
|
|
sectionId: number;
|
|
}
|
|
|
|
|
|
export interface ExerciseGen {
|
|
label: string;
|
|
type: string;
|
|
icon: IconType;
|
|
sectionId?: number;
|
|
extra?: { param: string; value?: string | number | boolean; label?: string; tooltip?: string, type?: string}[];
|
|
module: string
|
|
}
|