From 037c921f46247f5f12b87b0b5a926f9e851e66cd Mon Sep 17 00:00:00 2001 From: Reinaldo Neto Date: Tue, 21 Dec 2021 00:59:55 -0300 Subject: [PATCH] minor tweak in IThreads --- app/definitions/IThread.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/definitions/IThread.ts b/app/definitions/IThread.ts index 14359441b..e7ec321a6 100644 --- a/app/definitions/IThread.ts +++ b/app/definitions/IThread.ts @@ -11,11 +11,11 @@ export interface IThread { msg: string; t: RoomType; rid: string; - _updated_at: Date; + _updatedAt: Date; ts: Date; u: { _id: string; username: string; name: string }; alias: any; - parse_urls: any; + parseUrls: any; groupable: boolean; avatar: string; emoji: any; @@ -24,20 +24,20 @@ export interface IThread { status: number; pinned: boolean; starred: boolean; - edited_by: { username: string }; + editedBy: { username: string }; reactions: IReaction[]; role: string; drid: string; dcount: number; dlm: number; tmid: string; - tcount: 2; + tcount: number; tlm: Date; replies: string[]; mentions: IMention[]; channels: []; unread: boolean; - auto_translate: boolean; + autoTranslate: boolean; translations: any; e2e: any; }