tRPC router
profile
Public dancer profiles + self-service editing.
Procedures (3)
Input
{
username: string // len 1..200
}Tables
Input
{
username: string // len 1..∞
}Tables
Input
{
name?: string // len 1..∞
city?: string
danceStyles?: string[]
danceLevels?: Record<string, "Beginner" | "Intermediate" | "Advanced">
role?: "lead" | "follow" | "both"
photo?: string | ""
bio?: string | ""
instagram?: string | ""
youtube?: string | ""
website?: string | ""
profilePublic?: boolean
}Tables
Source: server/trpc/routers/profile.ts