From f7d19d1aedc7060e152aaaef949d545bfee58d3e Mon Sep 17 00:00:00 2001 From: Dessalines Date: Tue, 27 Sep 2022 15:32:53 -0400 Subject: [PATCH] Person post unread comments (#74) * Add unread post comments. * v0.17.0-rc.42 --- src/interfaces/views.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/interfaces/views.ts b/src/interfaces/views.ts index 1b03c54..b3646fe 100644 --- a/src/interfaces/views.ts +++ b/src/interfaces/views.ts @@ -109,6 +109,7 @@ export class PostView { @Transform(({ value }) => toUndefined(value), { toPlainOnly: true }) @Expose() my_vote: Option; + unread_comments: number; } export class PostReportView {