Adds sport-agnostic match data infrastructure: - matchStatusEnum + season_matches + match_sub_games tables in schema - externalSeasonId column on sports_seasons for API linkage - Drizzle migration 0120_tidy_invaders.sql - season-match model (upsert w/ onConflictDoUpdate, queries by event/season/stage) - CS2 admin: Swiss rounds read-only section in cs2-setup + new manual swiss-matches route - 7 unit tests for model (upsert conflict, null stage/round for non-CS2 sports, bulk, sub-games) - Plan doc committed at docs/plans/match-sync-display.md for cross-session reference https://claude.ai/code/session_01WUUM7uWzFoSkGcZRhnEKG6
26 lines
840 B
TypeScript
26 lines
840 B
TypeScript
// Re-export all model functions and types
|
|
export * from "./user";
|
|
export * from "./league";
|
|
export * from "./season";
|
|
export * from "./team";
|
|
export * from "./commissioner";
|
|
export * from "./sport";
|
|
export * from "./sports-season";
|
|
export * from "./season-participant";
|
|
export * from "./season-template";
|
|
export * from "./season-template-sport";
|
|
export * from "./season-sport";
|
|
export * from "./participant-result";
|
|
export * from "./draft-slot";
|
|
export * from "./draft-pick";
|
|
export * from "./draft-queue";
|
|
export * from "./draft-timer";
|
|
export * from "./draft-utils";
|
|
export * from "./watchlist";
|
|
export * from "./audit-log";
|
|
export * from "./tournament";
|
|
export * from "./participant";
|
|
export * from "./tournament-result";
|
|
export * from "./canonical-surface-elo";
|
|
export * from "./canonical-golf-skills";
|
|
export * from "./season-match";
|