Event layout page update.

This commit is contained in:
2026-01-11 15:21:17 -06:00
parent e0af183086
commit e50b2f31d3
13 changed files with 1460 additions and 183 deletions

View File

@ -42,6 +42,8 @@ export interface SpreadGridBet {
status: string;
team: string;
can_take: boolean;
created_at?: string;
matched_at?: string | null;
}
export type SpreadGrid = {
@ -51,3 +53,17 @@ export type SpreadGrid = {
export interface SportEventWithBets extends SportEvent {
spread_grid: SpreadGrid;
}
export interface EventComment {
id: number;
event_id: number;
user_id: number;
username: string;
content: string;
created_at: string;
}
export interface EventCommentsResponse {
comments: EventComment[];
total: number;
}