Add override for the event name in timetable

Add timetableName field to events that override which name is shown in
the timetable in order to allow using a custom condensed title in the
timetable for short events.
This commit is contained in:
Hornwitser 2025-09-12 19:23:34 +02:00
parent 732566a29c
commit 56791609f4
6 changed files with 38 additions and 3 deletions

View file

@ -89,6 +89,7 @@ export type ApiScheduleEventSlot = z.infer<typeof apiScheduleEventSlotSchema>;
export const apiScheduleEventSchema = defineApiEntity({
name: z.string(),
timetableName: z.optional(z.string()),
crew: z.optional(z.boolean()),
host: z.optional(z.string()),
cancelled: z.optional(z.boolean()),