ee
This commit is contained in:
parent
d22f4d7578
commit
96a12939c8
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user