Skip to content
tRPC router

booking

Booking requests — connector model (WeDance holds no money). An organizer requests a date for a bookable space; the venue responds off-platform for now. Public so organizers can request without an account (email required); the caller's dancerId is captured when signed in. Terms must be accepted.

Procedures (6)

booking.request

mutationpublicserver/trpc/routers/booking.ts:139
Input
{
  spaceId: string  // uuid
  ticketUrl?: string | ""
  email: string  // email
  name?: string  // len 0..160
  title?: string  // len 0..160
  eventType?: string  // len 0..40
  styles?: string[]
  artists?: string[]
  organizerHandle?: string  // len 0..160
  eventDate?: string
  startTime?: string  // /^\d{2}:\d{2}$/
  endTime?: string  // /^\d{2}:\d{2}$/
  headcount?: number /* int */  // -∞..100000, > 0
  message?: string  // len 0..2000
  termsAccepted: boolean
}

Source: server/trpc/routers/booking.ts