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

    Variable catalogBookSchemaConst

    catalogBookSchema: ZodObject<
        {
            authors: ZodArray<ZodString, "many">;
            coverUrl: ZodNullable<ZodString>;
            downloadCount: ZodNumber;
            epubAvailable: ZodBoolean;
            id: ZodNumber;
            languages: ZodArray<ZodString, "many">;
            subjects: ZodArray<ZodString, "many">;
            title: ZodString;
        },
        "strip",
        ZodTypeAny,
        {
            authors: string[];
            coverUrl: string
            | null;
            downloadCount: number;
            epubAvailable: boolean;
            id: number;
            languages: string[];
            subjects: string[];
            title: string;
        },
        {
            authors: string[];
            coverUrl: string
            | null;
            downloadCount: number;
            epubAvailable: boolean;
            id: number;
            languages: string[];
            subjects: string[];
            title: string;
        },
    > = ...

    One catalog result, mapped from a Gutendex book. id is the Project Gutenberg id (used as the import handle). coverUrl hotlinks the Gutendex image/jpeg cover (null → the UI shows a typographic fallback tile). epubAvailable is false when the edition has no application/epub+zip format, so the UI can hide/disable the import action.