feat: Add emoji and alot of other fixes

This commit is contained in:
2026-06-05 05:40:18 +02:00
parent ca069e2f61
commit 6865147e8f
72 changed files with 3885 additions and 413 deletions

View File

@@ -0,0 +1,36 @@
export interface CustomEmoji {
id: string;
name: string;
creatorUserId: string;
dataUrl: string;
hash: string;
mime: string;
size: number;
createdAt: number;
updatedAt: number;
savedByUser?: boolean;
}
export interface CustomEmojiSummaryItem {
id: string;
hash: string;
updatedAt: number;
}
export type CustomEmojiTransferManifest = Omit<CustomEmoji, 'dataUrl'>;
export type EmojiShortcutEntry = UnicodeEmojiShortcutEntry | CustomEmojiShortcutEntry;
export interface UnicodeEmojiShortcutEntry {
kind: 'unicode';
key: string;
emoji: string;
label: string;
}
export interface CustomEmojiShortcutEntry {
kind: 'custom';
key: string;
emoji: CustomEmoji;
label: string;
}