feat: badges

- render badges in cards
- render mentioned badges in chat
- render host badge awards in chat
- render accepted badges next to username
This commit is contained in:
2023-07-31 20:42:43 +02:00
parent 1baecf41f2
commit 7a030c9e53
14 changed files with 291 additions and 42 deletions

View File

@ -20,3 +20,11 @@ export interface EmojiPack {
author: string;
emojis: EmojiTag[];
}
export interface Badge {
name: string;
thumb: string;
image: string;
awardees: Set<string>;
accepted: Set<string>;
}