24 lines
391 B
TypeScript
24 lines
391 B
TypeScript
export class Page {
|
|
public slug: string;
|
|
|
|
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;
|
|
};
|