Exact source used by this build. SHA-256: 3518113d499e1841e4f81dbe0616aad94f0b9fe6153bd389aef149c0bf73944c.

1 import oddsJson from "../../../data/weather/odds.json";
2 import visualsJson from "../../../data/weather/visuals.json";
3 import { WeatherOddsSchema, WeatherVisualsSchema } from "./schema";
4 import type { ContentDomain } from "../types";
5 
6 export * from "./schema";
7 export const WEATHER_ODDS = WeatherOddsSchema.parse(oddsJson);
8 export const WEATHER_VISUALS = WeatherVisualsSchema.parse(visualsJson);
9 export const weatherDomain: ContentDomain = {
10   id: "weather", data: { odds: WEATHER_ODDS, visuals: WEATHER_VISUALS },
11   validate() { WeatherOddsSchema.parse(oddsJson); WeatherVisualsSchema.parse(visualsJson); },
12 };
13