fix(search): make closed DM search work correctly (#37)

This commit is contained in:
hampus-fluxer
2026-01-06 01:32:00 +01:00
committed by GitHub
parent ea0a2d8aae
commit cbe914cf6f
10 changed files with 127 additions and 1 deletions

View File

@@ -592,3 +592,12 @@ export const USERS_PENDING_DELETION_COLUMNS = [
'user_id',
'deletion_reason_code',
] as const satisfies ReadonlyArray<keyof UsersPendingDeletionRow>;
export interface UserDmHistoryRow {
user_id: UserID;
channel_id: ChannelID;
}
export const USER_DM_HISTORY_COLUMNS = ['user_id', 'channel_id'] as const satisfies ReadonlyArray<
keyof UserDmHistoryRow
>;