eduproj/materialdb/page.ts

21 lines
365 B
TypeScript
Raw Normal View History

2021-08-28 18:03:38 +00:00
export class Page {
public title: string;
public type: string;
public summary?: string;
2021-08-28 20:08:35 +00:00
public content: string;
2021-08-28 18:03:38 +00:00
public exercises?: Exercise[];
};
export class Exercise {
2021-08-28 20:08:35 +00:00
public name: string;
2021-08-28 18:03:38 +00:00
public description: string;
2021-08-29 06:24:18 +00:00
public graders?: Grader[];
2021-08-28 18:03:38 +00:00
};
export class Grader {
public language: string;
public style: string;
public props: any;
};