tRPC router
businessPosts
Business mode — an event's content plan (event_posts): the posts it's promoted with, each made with the flyer pipeline in the event's look (/business/events/<id>/flyer?post=<post>). Proposing a plan only lists the posts; nothing paints until the organizer clicks.
Procedures (8)
Input
{
eventId: string // uuid
}Input
{
id: string // uuid
language?: "en+de" | "en" | "de" | "es" | "ru" | "en+es" // default "en+de"
}Input
{
id: string // uuid
text: string // len 0..5000
}Input
{
eventId: string // uuid
language?: "en+de" | "en" | "de" | "es" | "ru" | "en+es" // default "en+de"
}Input
{
eventId: string // uuid
}Input
{
eventId: string // uuid
kind: "announcement" | "artist" | "lineup" | "programme" | "passes" | "countdown" | "last-call" | "thanks"
subject?: string | null
dueOn?: string | null
format?: "post" | "story" // default "post"
}Input
{
id: string // uuid
dueOn?: string | null
format?: "post" | "story"
status?: "planned" | "posted" | "dropped"
}Input
{
id: string // uuid
}