fix: question service + refactor loID
This commit is contained in:
parent
dbc1da741c
commit
bd75ab8af9
16 changed files with 86 additions and 81 deletions
|
@ -1,15 +1,15 @@
|
|||
import { LearningObjectIdentifier } from './learning-content';
|
||||
import { LearningObjectIdentifierDTO } from './learning-content';
|
||||
import { StudentDTO } from './student';
|
||||
|
||||
export interface QuestionDTO {
|
||||
learningObjectIdentifier: LearningObjectIdentifier;
|
||||
learningObjectIdentifier: LearningObjectIdentifierDTO;
|
||||
sequenceNumber?: number;
|
||||
author: StudentDTO;
|
||||
author: StudentDTO | string;
|
||||
timestamp?: string;
|
||||
content: string;
|
||||
}
|
||||
|
||||
export interface QuestionId {
|
||||
learningObjectIdentifier: LearningObjectIdentifier;
|
||||
learningObjectIdentifier: LearningObjectIdentifierDTO;
|
||||
sequenceNumber: number;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue