feat: best 匹配结果页展示 Top 3 候选排行,支持折叠查看备选餐厅
This commit is contained in:
@@ -17,12 +17,18 @@ export type SwipeDirection = "left" | "right";
|
||||
|
||||
export type MatchType = "unanimous" | "best" | "no_match" | null;
|
||||
|
||||
export interface RunnerUp {
|
||||
id: string;
|
||||
likes: number;
|
||||
}
|
||||
|
||||
export interface RoomStatus {
|
||||
roomId: string;
|
||||
userCount: number;
|
||||
match: string | null;
|
||||
matchType: MatchType;
|
||||
matchLikes: number;
|
||||
runnerUps: RunnerUp[];
|
||||
likeCounts: Record<string, number>;
|
||||
swipeCounts: Record<string, number>;
|
||||
restaurants: Restaurant[];
|
||||
|
||||
Reference in New Issue
Block a user