fix: Shared pkgs importeren
This commit is contained in:
parent
b6e07d28df
commit
9470a4ddf9
95 changed files with 160 additions and 142 deletions
22
common/src/interfaces/submission.ts
Normal file
22
common/src/interfaces/submission.ts
Normal file
|
@ -0,0 +1,22 @@
|
|||
import { GroupDTO } from './group';
|
||||
import { LearningObjectIdentifier } from './learning-content';
|
||||
import { StudentDTO } from './student';
|
||||
import { Language } from '../util/language';
|
||||
|
||||
export interface SubmissionDTO {
|
||||
learningObjectIdentifier: LearningObjectIdentifier;
|
||||
|
||||
submissionNumber?: number;
|
||||
submitter: StudentDTO;
|
||||
time?: Date;
|
||||
group?: GroupDTO;
|
||||
content: string;
|
||||
}
|
||||
|
||||
export interface SubmissionDTOId {
|
||||
learningObjectHruid: string;
|
||||
learningObjectLanguage: Language;
|
||||
learningObjectVersion: number;
|
||||
|
||||
submissionNumber?: number;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue