tRPC router
venueAsks
Asking venues through WeDance — the venue twin of the artist link. The organizer asks one or more venues for an event (what they need, how many guests); each venue gets a personal link (/confirm/<token>, the same page as artists) and answers: can host it, another date, or no — with its terms. The organizer compares the answers and books one; the others' links then say it was booked elsewhere. A venue whose page someone runs here also gets the ask under "Needs you" on its Business home (no notification is sent).
Procedures (4)
Input
{
eventId: string // uuid
venue: string // len 1..200
request: {
guests?: number /* int */ | null
needs?: string[] // items 0..20, default []
note?: string // len 0..1000, default ""
}
}Input
{
eventId: string // uuid
}Input
{
eventId: string // uuid
venue: string // len 1..200
}Input
{
eventId: string // uuid
}Source: server/trpc/routers/venueAsks.ts