Skip to content
tRPC router

plan

Batch count of plan items per event/festival. Returns a map of itemId → count. Used by city pages to populate attendee counts on event cards without N+1 queries.

Procedures (20)

plan.discoverSwipe

mutationprotectedserver/trpc/routers/plan.ts:622
Input
{
  targetKind: "dancer" | "event" | "festival"
  targetId: string  // len 1..200
  decision: "yes" | "skip"
  festivalSlug?: string  // len 1..200
}

Source: server/trpc/routers/plan.ts