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:
parent
732566a29c
commit
56791609f4
6 changed files with 38 additions and 3 deletions
|
@ -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()),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue