23 lines
367 B
TypeScript
23 lines
367 B
TypeScript
|
export class Page {
|
||
|
public title: string;
|
||
|
public type: string;
|
||
|
|
||
|
public summary?: string;
|
||
|
|
||
|
public content?: string;
|
||
|
|
||
|
public exercises?: Exercise[];
|
||
|
};
|
||
|
|
||
|
export class Exercise {
|
||
|
public slug: string;
|
||
|
public description: string;
|
||
|
public graders: Grader[];
|
||
|
};
|
||
|
|
||
|
export class Grader {
|
||
|
public language: string;
|
||
|
public style: string;
|
||
|
public props: any;
|
||
|
};
|