aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos/shared/video.model.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/videos/shared/video.model.ts')
-rw-r--r--client/src/app/videos/shared/video.model.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/client/src/app/videos/shared/video.model.ts b/client/src/app/videos/shared/video.model.ts
index 3c588c446..f135ca707 100644
--- a/client/src/app/videos/shared/video.model.ts
+++ b/client/src/app/videos/shared/video.model.ts
@@ -6,6 +6,7 @@ export class Video {
6 createdAt: Date; 6 createdAt: Date;
7 categoryLabel: string; 7 categoryLabel: string;
8 licenceLabel: string; 8 licenceLabel: string;
9 languageLabel: string;
9 description: string; 10 description: string;
10 duration: string; 11 duration: string;
11 id: string; 12 id: string;
@@ -38,6 +39,7 @@ export class Video {
38 createdAt: string, 39 createdAt: string,
39 categoryLabel: string, 40 categoryLabel: string,
40 licenceLabel: string, 41 licenceLabel: string,
42 languageLabel: string;
41 description: string, 43 description: string,
42 duration: number; 44 duration: number;
43 id: string, 45 id: string,
@@ -56,6 +58,7 @@ export class Video {
56 this.createdAt = new Date(hash.createdAt); 58 this.createdAt = new Date(hash.createdAt);
57 this.categoryLabel = hash.categoryLabel; 59 this.categoryLabel = hash.categoryLabel;
58 this.licenceLabel = hash.licenceLabel; 60 this.licenceLabel = hash.licenceLabel;
61 this.languageLabel = hash.languageLabel;
59 this.description = hash.description; 62 this.description = hash.description;
60 this.duration = Video.createDurationString(hash.duration); 63 this.duration = Video.createDurationString(hash.duration);
61 this.id = hash.id; 64 this.id = hash.id;