Skip to content
Snippets Groups Projects
Commit f3277db7 authored by David Noah Donges's avatar David Noah Donges
Browse files

Merge branch '17-content-creation-datenhaltung' into 'master'

Resolve "content creation - Datenhaltung"

Closes #17

See merge request swtp-block-ws17/arsnova-angular-frontend!29
parents a27383c6 aed32859
No related merge requests found
export class AnswerOption {
label: string;
points: string;
}
export class ChoiceAnswer {
id: string;
revision: string;
contentId: string;
round: number;
selectedChoiceIndexes: number[];
}
import { AnswerOption } from './answer-option';
export class ChoiceContent {
options: AnswerOption[];
correctOtionIndexes: number[];
multiple: boolean;
}
enum Format {
CHOICE,
BINARY,
SCALE,
NUMBER,
TEXT,
GRID
}
export class Content {
id: string;
revision: string;
roomId: string;
subject: string;
body: string;
round: number;
format: Format;
formatAttributes: Map<string, string>;
}
export class TestAnswer {
id: string;
revision: string;
contendId: string;
round: number;
subject: string;
body: string;
read: string;
creationTimestamp: Date;
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment