From d3ea89759104e6c14b00443526f2c2a0a13aeb97 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 22 Dec 2017 12:10:40 +0100 Subject: Begin unit tests --- shared/models/videos/video-comment.model.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'shared') diff --git a/shared/models/videos/video-comment.model.ts b/shared/models/videos/video-comment.model.ts index bdeb30d28..69884782f 100644 --- a/shared/models/videos/video-comment.model.ts +++ b/shared/models/videos/video-comment.model.ts @@ -7,11 +7,14 @@ export interface VideoComment { videoId: number createdAt: Date | string updatedAt: Date | string + account: { + name: string + } } -export interface VideoCommentThread { +export interface VideoCommentThreadTree { comment: VideoComment - children: VideoCommentThread[] + children: VideoCommentThreadTree[] } export interface VideoCommentCreate { -- cgit v1.2.3