1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
import type { EventInput } from "~/lib/db.server"; export interface VenueMeta { id: string; name: string; url: string; area: string; capacity?: number; } export interface Scraper { venue: VenueMeta; /** Fetch events from the venue's website. Returns event inputs ready for upsert. */ scrape(): Promise<EventInput[]>; }