Represents a raw template for a lineup.

0.4.0

interface PresetRaw {
    name: string;
    description?: string;
    header?: {
        subtitle: string;
        title: string;
    };
    sections?: PresetSections[];
}

Hierarchy (view full)

Properties

name: string

The name of the lineup.

This is the unique identifier for the lineup. Also used as the display name for the lineup.

Maximum length is defined in Lineup Configuration.

description?: string

The description of the lineup.

TODO: Use in the app.

header?: {
    subtitle: string;
    title: string;
}

The header of the lineup.

TODO: Extract to a separate type.

sections?: PresetSections[]

The parts of the lineup.

Each section can have a name and a list of roles.