Merge branch 'dev' into feat/discussions
This commit is contained in:
commit
edc52a559c
181 changed files with 7820 additions and 1515 deletions
|
@ -7,6 +7,7 @@ export interface AssignmentDTO {
|
|||
description: string;
|
||||
learningPath: string;
|
||||
language: string;
|
||||
deadline: Date;
|
||||
groups: GroupDTO[] | string[][];
|
||||
}
|
||||
|
||||
|
|
|
@ -25,8 +25,8 @@ export interface LearningObjectNode {
|
|||
language: Language;
|
||||
start_node?: boolean;
|
||||
transitions: Transition[];
|
||||
created_at: string;
|
||||
updatedAt: string;
|
||||
created_at?: string;
|
||||
updatedAt?: string;
|
||||
done?: boolean; // True if a submission exists for this node by the user for whom the learning path is customized.
|
||||
}
|
||||
|
||||
|
@ -79,6 +79,8 @@ export interface LearningObjectMetadata {
|
|||
target_ages: number[];
|
||||
content_type: string; // Markdown, image, etc.
|
||||
content_location?: string;
|
||||
copyright?: string;
|
||||
license?: string;
|
||||
skos_concepts?: string[];
|
||||
return_value?: ReturnValue;
|
||||
}
|
||||
|
|
|
@ -13,8 +13,8 @@ export interface QuestionDTO {
|
|||
|
||||
export interface QuestionData {
|
||||
author?: string;
|
||||
content: string;
|
||||
inGroup: GroupDTO;
|
||||
content: string;
|
||||
}
|
||||
|
||||
export interface QuestionId {
|
||||
|
|
4
common/src/util/account-types.ts
Normal file
4
common/src/util/account-types.ts
Normal file
|
@ -0,0 +1,4 @@
|
|||
export enum AccountType {
|
||||
Student = 'student',
|
||||
Teacher = 'teacher',
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue