From 95fdb6b064173cda675b9dabcef6b92e2a558677 Mon Sep 17 00:00:00 2001 From: ITOH <72305210+itohatweb@users.noreply.github.com> Date: Sat, 1 May 2021 23:37:19 +0200 Subject: [PATCH] idk --- src/types/messages/thread_member.ts | 10 ---------- src/types/messages/thread_metadata.ts | 12 ------------ 2 files changed, 22 deletions(-) delete mode 100644 src/types/messages/thread_member.ts delete mode 100644 src/types/messages/thread_metadata.ts diff --git a/src/types/messages/thread_member.ts b/src/types/messages/thread_member.ts deleted file mode 100644 index 2b3d1b54a..000000000 --- a/src/types/messages/thread_member.ts +++ /dev/null @@ -1,10 +0,0 @@ -export interface ThreadMember { - /** The id of the thread */ - id: string; - /** The id of the user */ - userId: string; - /** The time the current user last joined the thread */ - joinTimestamp: string; - /** Any user-thread settings, currently only used for notifications */ - flags: number; -} diff --git a/src/types/messages/thread_metadata.ts b/src/types/messages/thread_metadata.ts deleted file mode 100644 index ce8f40e56..000000000 --- a/src/types/messages/thread_metadata.ts +++ /dev/null @@ -1,12 +0,0 @@ -export interface ThreadMetadata { - /** Whether the thread is archived */ - archived: boolean; - /** Id of the user that last archived or unarchived the thread */ - archiverId?: string; - /** Duration in minutes to automatically archive the thread after recent activity */ - autoArchiveDuration: 60 | 1440 | 4320 | 10080; - /** Timestamp when the thread's archive status was last changed, used for calculating recent activity */ - archiveTimestamp: string; - /** When a thread is locked, only users with `MANAGE_THREADS` can unarchive it */ - locked?: boolean; -}