Closed camdendotlol closed 2 months ago
audiovisual_files
EventForm
type Event = { audiovisual_files: { label: string; file_url: string; duration: number; }[] // ... }
type Event = { audiovisual_files: { [key: string]: { label: string; file_url: string; duration: number } } // ... }
Summary
audiovisual_files
array in event objects to an object with UUIDs as keys (see below)EventForm
and a couple other places to work with the new structureExample
Old format
New format