diff --git a/src/app/answerOption.ts b/src/app/answerOption.ts new file mode 100644 index 0000000000000000000000000000000000000000..ce6c6e0ab1c83b395ce581e14b862594ada7816d --- /dev/null +++ b/src/app/answerOption.ts @@ -0,0 +1,4 @@ +export class AnswerOption { + label: string; + points: string; +} diff --git a/src/app/choiceContent.ts b/src/app/choiceContent.ts new file mode 100644 index 0000000000000000000000000000000000000000..aa29c7f7afe8aeaf3f1244a40acc4628ce9ef919 --- /dev/null +++ b/src/app/choiceContent.ts @@ -0,0 +1,7 @@ +import { AnswerOption } from './answerOption'; + +export class ChoiceContent { + options: AnswerOption[]; + correctOtionIndexes: number[]; + multiple: boolean; +} diff --git a/src/app/choiseAnswer.ts b/src/app/choiseAnswer.ts new file mode 100644 index 0000000000000000000000000000000000000000..7ca2c72285a057b21ce90be3de8519e4f0cb35e3 --- /dev/null +++ b/src/app/choiseAnswer.ts @@ -0,0 +1,7 @@ +export class ChoiceAnswer { + id: string; + revision: string; + contentId: string; + round: number; + selectedChoiceIndexes: number[]; +} diff --git a/src/app/content.ts b/src/app/content.ts index 063558aa473ed36f3f649be63e6d3cb628a51737..efaeddd839bf2e6f9e58be424cc571802fcffe02 100644 --- a/src/app/content.ts +++ b/src/app/content.ts @@ -6,7 +6,6 @@ enum Format { TEXT, GRID } - export class Content { id: string; revision: string; diff --git a/src/app/textAnswer.ts b/src/app/textAnswer.ts new file mode 100644 index 0000000000000000000000000000000000000000..a4232a41a593e2e32c04d2e9972ff17bafb69e84 --- /dev/null +++ b/src/app/textAnswer.ts @@ -0,0 +1,10 @@ +export class TextAnswer { + id: string; + revision: string; + contendId: string; + round: number; + subject: string; + body: string; + read: string; + creationTimestamp: Date; +}