Atrium — shared contracts and the typesetting engine
    Preparing search index...

    Variable trackSchemaConst

    trackSchema: ZodObject<
        {
            album: ZodNullable<ZodString>;
            artist: ZodNullable<ZodString>;
            durationSeconds: ZodNullable<ZodNumber>;
            id: ZodString;
            title: ZodString;
            trackNumber: ZodNullable<ZodNumber>;
        },
        "strip",
        ZodTypeAny,
        {
            album: string
            | null;
            artist: string | null;
            durationSeconds: number | null;
            id: string;
            title: string;
            trackNumber: number | null;
        },
        {
            album: string
            | null;
            artist: string | null;
            durationSeconds: number | null;
            id: string;
            title: string;
            trackNumber: number | null;
        },
    > = ...

    A library item of kind audio, as the Jukebox plays it. The bot builds /library/:id/file and /library/:id/cover from id. Artist, album and track number are the library's author, series and series_index.