This commit is contained in:
Kilton937342 2022-10-13 18:10:13 +02:00
parent d22f4d7578
commit 96a12939c8

View File

@ -17,21 +17,27 @@ export type ExerciceShort = {
};
export type Author = {
username: string
}
username: string;
};
type supports = {
pdf: boolean;
csv: boolean;
web: boolean;
};
export type Exercice = {
id_code: string;
name: string;
consigne: string;
pdfSupport: boolean;
csvSupport: boolean;
webSupport: boolean;
supports: supports;
tags: Array<Tag>;
is_author: boolean;
examples: { type: string; data: Array<{ calcul: string }> };
private: boolean,
exo_source_name: string
author: Author,
origin: {id_code: string} | null
examples: {
type: string;
data: Array<{ calcul: string; correction: string }>;
};
private: boolean;
exo_source_name: string;
author: Author;
origin: { id_code: string } | null;
};