forked from michael-spengler/dhbw-richie
-
Notifications
You must be signed in to change notification settings - Fork 0
/
interfaces.ts
45 lines (43 loc) · 920 Bytes
/
interfaces.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
export interface Lecture {
name: string;
semester: string;
source: string;
}
export interface User {
email: string;
username: string;
password: string;
// Rollen
}
export interface Question {
_id: string; // Kommt so von mongoDb
question: string;
answer: string;
lecture: Lecture;
review: boolean;
creationDate: Date; // Automatisch
reviewDate: Date; // Automatisch
updatedAt: Date; // Automatisch
creator: User;
modifier: User; // lastModifiedBy, ...
archived: boolean;
}
/**
* Create,Update Read UI Questions <-- Erst wenn review = true
* Review Liste
* Fragen Stellen Ansicht
* Auth-Screens --> Absprache mit Designteam
*
* Git-CrashCourse:
* git checkout -b feature/<nummer>
* git checkout -b fix/<nummer>
*
* git add .
* git commit -m "<message>"
*
* git push [-u origin <branch-name> nur beim ersten mal]
*
* Pull-Request erstellen
*
* https://typeorm.io
*/