feat: expand auction emoji reactions to sixteen
This commit is contained in:
1 parent
9d7c888b0a
commit
e349684523
3 files changed
+26
-2
No files matched your search
@@ -114,6 +114,14 @@ const REACTION_KINDS: Record<AuctionReactionKind, true> = {
|
|||||||
sad: true,
|
sad: true,
|
||||||
fire: true,
|
fire: true,
|
||||||
celebrate: true,
|
celebrate: true,
|
||||||
|
eyes: true,
|
||||||
|
thinking: true,
|
||||||
|
'skull-crossbones': true,
|
||||||
|
poop: true,
|
||||||
|
pray: true,
|
||||||
|
'sweat-smile': true,
|
||||||
|
money: true,
|
||||||
|
trophy: true,
|
||||||
};
|
};
|
||||||
const BID_RATE_LIMIT_MAX_REQUESTS_PER_WINDOW = 8;
|
const BID_RATE_LIMIT_MAX_REQUESTS_PER_WINDOW = 8;
|
||||||
const BID_RATE_LIMIT_REJECTION_CODE = 'BID_RATE_LIMITED';
|
const BID_RATE_LIMIT_REJECTION_CODE = 'BID_RATE_LIMITED';
|
||||||
|
|||||||
@@ -16,10 +16,18 @@ export const AUCTION_REACTIONS: Record<
|
|||||||
sad: { emoji: "😢", label: "아쉬움" },
|
sad: { emoji: "😢", label: "아쉬움" },
|
||||||
fire: { emoji: "🔥", label: "불꽃" },
|
fire: { emoji: "🔥", label: "불꽃" },
|
||||||
celebrate: { emoji: "🎉", label: "축하" },
|
celebrate: { emoji: "🎉", label: "축하" },
|
||||||
|
eyes: { emoji: "👀", label: "관심" },
|
||||||
|
thinking: { emoji: "🤔", label: "고민" },
|
||||||
|
"skull-crossbones": { emoji: "☠️", label: "해골과 뼈" },
|
||||||
|
poop: { emoji: "💩", label: "똥" },
|
||||||
|
pray: { emoji: "🙏", label: "간절함" },
|
||||||
|
"sweat-smile": { emoji: "😅", label: "식은땀" },
|
||||||
|
money: { emoji: "💸", label: "플렉스" },
|
||||||
|
trophy: { emoji: "🏆", label: "우승각" },
|
||||||
};
|
};
|
||||||
|
|
||||||
export const REACTION_LIFETIME_MS = 3200;
|
export const REACTION_LIFETIME_MS = 3200;
|
||||||
export const MAX_VISIBLE_REACTIONS = 12;
|
export const MAX_VISIBLE_REACTIONS = 16;
|
||||||
export type ActiveAuctionReaction = AuctionReactionEvent & {
|
export type ActiveAuctionReaction = AuctionReactionEvent & {
|
||||||
receivedAt: number;
|
receivedAt: number;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -7,7 +7,15 @@ export type AuctionReactionKind =
|
|||||||
| "wow"
|
| "wow"
|
||||||
| "sad"
|
| "sad"
|
||||||
| "fire"
|
| "fire"
|
||||||
| "celebrate";
|
| "celebrate"
|
||||||
|
| "eyes"
|
||||||
|
| "thinking"
|
||||||
|
| "skull-crossbones"
|
||||||
|
| "poop"
|
||||||
|
| "pray"
|
||||||
|
| "sweat-smile"
|
||||||
|
| "money"
|
||||||
|
| "trophy";
|
||||||
|
|
||||||
export interface AuctionReactionEvent {
|
export interface AuctionReactionEvent {
|
||||||
id: string;
|
id: string;
|
||||||
|
|||||||
Reference in new issue
Block a user