From 96b25ea3b85e7c899a7f311fadcda91a90aaced4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tom=20K=C3=A4sler?= <tom.kaesler@mni.thm.de>
Date: Wed, 8 Aug 2018 15:48:20 +0200
Subject: [PATCH] add content groups

---
 src/app/models/content.ts | 3 +++
 src/app/models/room.ts    | 1 +
 2 files changed, 4 insertions(+)

diff --git a/src/app/models/content.ts b/src/app/models/content.ts
index c4a4cf5a3..eab9e95f0 100644
--- a/src/app/models/content.ts
+++ b/src/app/models/content.ts
@@ -7,6 +7,7 @@ export class Content {
   subject: string;
   body: string;
   round: number;
+  groups: [string];
   format: ContentType;
   formatAttributes: Map<string, string>;
 
@@ -16,6 +17,7 @@ export class Content {
               subject: string,
               body: string,
               round: number,
+              groups: [string],
               format: ContentType,
               formatAttributes: Map<string, string>) {
     this.contentId = contentId;
@@ -24,6 +26,7 @@ export class Content {
     this.subject = subject;
     this.body = body;
     this.round = round;
+    this.groups = groups;
     this.format = format;
     this.formatAttributes = formatAttributes;
   }
diff --git a/src/app/models/room.ts b/src/app/models/room.ts
index c26bda393..ab5859c46 100644
--- a/src/app/models/room.ts
+++ b/src/app/models/room.ts
@@ -6,4 +6,5 @@ export class Room {
   name: string;
   description: string;
   closed: boolean;
+  contentGroups: {[key: string]: [string]};
 }
-- 
GitLab