ee
This commit is contained in:
parent
d22f4d7578
commit
96a12939c8
@ -1,37 +1,43 @@
|
|||||||
export type Tag = {
|
export type Tag = {
|
||||||
label: string;
|
label: string;
|
||||||
color: string;
|
color: string;
|
||||||
id_code: string;
|
id_code: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type ExerciceShort = {
|
export type ExerciceShort = {
|
||||||
id_code: string;
|
id_code: string;
|
||||||
name: string;
|
name: string;
|
||||||
consigne: string;
|
consigne: string;
|
||||||
pdfSupport: boolean;
|
pdfSupport: boolean;
|
||||||
csvSupport: boolean;
|
csvSupport: boolean;
|
||||||
webSupport: boolean;
|
webSupport: boolean;
|
||||||
tags: Array<Tag>;
|
tags: Array<Tag>;
|
||||||
|
|
||||||
examples: { type: string; data: Array<{ calcul: string }> };
|
examples: { type: string; data: Array<{ calcul: string }> };
|
||||||
};
|
};
|
||||||
|
|
||||||
export type Author = {
|
export type Author = {
|
||||||
username: string
|
username: string;
|
||||||
}
|
};
|
||||||
|
|
||||||
export type Exercice = {
|
type supports = {
|
||||||
id_code: string;
|
pdf: boolean;
|
||||||
name: string;
|
csv: boolean;
|
||||||
consigne: string;
|
web: boolean;
|
||||||
pdfSupport: boolean;
|
};
|
||||||
csvSupport: boolean;
|
export type Exercice = {
|
||||||
webSupport: boolean;
|
id_code: string;
|
||||||
tags: Array<Tag>;
|
name: string;
|
||||||
is_author: boolean;
|
consigne: string;
|
||||||
examples: { type: string; data: Array<{ calcul: string }> };
|
supports: supports;
|
||||||
private: boolean,
|
tags: Array<Tag>;
|
||||||
exo_source_name: string
|
is_author: boolean;
|
||||||
author: Author,
|
examples: {
|
||||||
origin: {id_code: string} | null
|
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