tRPC router
businessEvents
Business mode — events a profile runs, and the /business home inbox.
Procedures (18)
Input
{
profile?: string
}Input
{
id: string // uuid
}Input
{
id: string // uuid
}Input
{
name: string // len 1..160
type: "Party" | "Workshop" | "Course" | "Festival" | "Weekender" | "Congress" | "Concert" | "Show"
date: string // /^\d{4}-\d{2}-\d{2}$/
startTime: string // /^\d{2}:\d{2}$/
endTime?: string | null
endDate?: string | null
city?: string | null
venueUsername?: string | null
venueName?: string | null
venueAddress?: string | null
artists?: string[] // items 0..40, default []
styles?: string[] // items 0..20, default []
description?: string // len 0..8000, default ""
cover?: string | null
ticketUrl?: string | null
price?: string // len 0..400, default ""
published?: boolean // default false
agenda?: {
time: string // len 0..20
what: string // len 0..160
}[] // items 0..20, default []
flyerOptions?: {
showAgenda?: boolean
photos?: Record<string, string | null>
names?: Record<string, string>
} // default {}
festival?: {
logo?: string | ""
accentColor?: string | ""
socialLinks?: {
platform: string // len 0..20
url: string // uri
}[] // items 0..10, default []
practicalInfo?: string[] // items 0..30, default []
passes?: {
name: string // len 1..80
price: number // 0..100000
days?: string[] // items 0..14, default []
description?: string // len 0..300
soldOut?: boolean
workshopCount?: number /* int */ // 0..100
includesParty?: boolean
}[] // items 0..30, default []
sessions?: {
id: string // len 1..60
date: string // /^\d{4}-\d{2}-\d{2}$/
time: string // /^\d{2}:\d{2}$/
duration: number /* int */ // 5..1440
type: "workshop" | "party"
title: string // len 1..160
artist?: string // len 0..200, default ""
with?: string[] // items 0..6
style?: string // len 0..40, default ""
level?: "Beginner" | "Intermediate" | "Advanced" // default "Beginner"
room?: string // len 0..60
venue?: string // len 0..200
description?: string // len 0..1000
}[] // items 0..300, default []
videos?: Record<string, string> // default {}
} | null
hostUsername: string // len 1..∞
}Input
{
name: string // len 1..160
type: "Party" | "Workshop" | "Course" | "Festival" | "Weekender" | "Congress" | "Concert" | "Show"
date: string // /^\d{4}-\d{2}-\d{2}$/
startTime: string // /^\d{2}:\d{2}$/
endTime?: string | null
endDate?: string | null
city?: string | null
venueUsername?: string | null
venueName?: string | null
venueAddress?: string | null
artists?: string[] // items 0..40, default []
styles?: string[] // items 0..20, default []
description?: string // len 0..8000, default ""
cover?: string | null
ticketUrl?: string | null
price?: string // len 0..400, default ""
published?: boolean // default false
agenda?: {
time: string // len 0..20
what: string // len 0..160
}[] // items 0..20, default []
flyerOptions?: {
showAgenda?: boolean
photos?: Record<string, string | null>
names?: Record<string, string>
} // default {}
festival?: {
logo?: string | ""
accentColor?: string | ""
socialLinks?: {
platform: string // len 0..20
url: string // uri
}[] // items 0..10, default []
practicalInfo?: string[] // items 0..30, default []
passes?: {
name: string // len 1..80
price: number // 0..100000
days?: string[] // items 0..14, default []
description?: string // len 0..300
soldOut?: boolean
workshopCount?: number /* int */ // 0..100
includesParty?: boolean
}[] // items 0..30, default []
sessions?: {
id: string // len 1..60
date: string // /^\d{4}-\d{2}-\d{2}$/
time: string // /^\d{2}:\d{2}$/
duration: number /* int */ // 5..1440
type: "workshop" | "party"
title: string // len 1..160
artist?: string // len 0..200, default ""
with?: string[] // items 0..6
style?: string // len 0..40, default ""
level?: "Beginner" | "Intermediate" | "Advanced" // default "Beginner"
room?: string // len 0..60
venue?: string // len 0..200
description?: string // len 0..1000
}[] // items 0..300, default []
videos?: Record<string, string> // default {}
} | null
id: string // uuid
hostUsername?: string // len 1..∞
}Input
{
id: string // uuid
weeks: number /* int */ // 1..12
}Input
{
name: string // len 1..160
type: "Party" | "Workshop" | "Course" | "Festival" | "Weekender" | "Congress" | "Concert" | "Show"
date: string // /^\d{4}-\d{2}-\d{2}$/
startTime: string // /^\d{2}:\d{2}$/
endTime?: string | null
endDate?: string | null
city?: string | null
venueUsername?: string | null
venueName?: string | null
venueAddress?: string | null
artists?: string[] // items 0..40, default []
styles?: string[] // items 0..20, default []
description?: string // len 0..8000, default ""
cover?: string | null
ticketUrl?: string | null
price?: string // len 0..400, default ""
published?: boolean // default false
agenda?: {
time: string // len 0..20
what: string // len 0..160
}[] // items 0..20, default []
flyerOptions?: {
showAgenda?: boolean
photos?: Record<string, string | null>
names?: Record<string, string>
} // default {}
hostUsername: string // len 1..∞
every: "week" | "2weeks" | "month"
until?: string | null
count?: number /* int */ | null
skip?: string[] // items 0..52, default []
monthWeek?: 1 | 2 | 3 | 4 | -1 | null
}Input
{
name: string // len 1..160
type: "Party" | "Workshop" | "Course" | "Festival" | "Weekender" | "Congress" | "Concert" | "Show"
date: string // /^\d{4}-\d{2}-\d{2}$/
startTime: string // /^\d{2}:\d{2}$/
endTime?: string | null
endDate?: string | null
city?: string | null
venueUsername?: string | null
venueName?: string | null
venueAddress?: string | null
artists?: string[] // items 0..40, default []
styles?: string[] // items 0..20, default []
description?: string // len 0..8000, default ""
cover?: string | null
ticketUrl?: string | null
price?: string // len 0..400, default ""
published?: boolean // default false
agenda?: {
time: string // len 0..20
what: string // len 0..160
}[] // items 0..20, default []
flyerOptions?: {
showAgenda?: boolean
photos?: Record<string, string | null>
names?: Record<string, string>
} // default {}
hostUsername: string // len 1..∞
every: "week" | "2weeks" | "month"
until?: string | null
count?: number /* int */ | null
skip?: string[] // items 0..52, default []
monthWeek?: 1 | 2 | 3 | 4 | -1 | null
}Input
{
seriesId: string // len 1..80
}Input
{
seriesId: string // len 1..80
published?: boolean // default true
}Input
{
id: string // uuid
csv?: boolean // default false
}Input
{
id: string // uuid
}Input
{
id: string // uuid
series?: boolean
}Input
{
handles: string[] // items 0..40
}Tables
Input
{
q: string // len 2..80
type?: "artist" | "venue" | "organizer"
}Tables
Input
{
instagram: string // len 2..300
type: "artist" | "venue" | "organizer"
name?: string // len 0..120
}Tables