diff --git a/src/app/models/content.ts b/src/app/models/content.ts index c4a4cf5a39587e838befd65c14a43e4b080fbe06..eab9e95f0d1cc9664e4aaebb40e3dbf32746f221 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 c26bda393b5a51309da7b4504b36e2520553dc5a..ab5859c46c68beb8236bf4f32fad6fd72282ea9e 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]}; }