feat: enhance auction interactions and player statistics UI
This commit is contained in:
1 parent
6c582ba3cf
commit
be4de61bb7
115 files changed
+13292
-2871
No files matched your search
@@ -0,0 +1,24 @@
|
||||
/** Ephemeral reactions are broadcast only to the joined auction room. */
|
||||
export type AuctionReactionKind =
|
||||
| "thumbs-up"
|
||||
| "heart"
|
||||
| "clap"
|
||||
| "laugh"
|
||||
| "wow"
|
||||
| "sad"
|
||||
| "fire"
|
||||
| "celebrate";
|
||||
|
||||
export interface AuctionReactionEvent {
|
||||
id: string;
|
||||
kind: AuctionReactionKind;
|
||||
displayName: string;
|
||||
userId?: string;
|
||||
sentAt: number;
|
||||
}
|
||||
|
||||
export interface AuctionReactionReply {
|
||||
ok: boolean;
|
||||
reaction?: AuctionReactionEvent;
|
||||
code?: "NOT_JOINED" | "INVALID_REACTION" | "REACTION_RATE_LIMITED";
|
||||
}
|
||||
Reference in new issue
Block a user