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

    Variable catalogSearchResponseSchemaConst

    catalogSearchResponseSchema: ZodObject<
        {
            count: ZodNumber;
            nextPage: ZodNullable<ZodNumber>;
            results: ZodArray<
                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;
                    },
                >,
                "many",
            >;
        },
        "strip",
        ZodTypeAny,
        {
            count: number;
            nextPage: number
            | null;
            results: {
                authors: string[];
                coverUrl: string | null;
                downloadCount: number;
                epubAvailable: boolean;
                id: number;
                languages: string[];
                subjects: string[];
                title: string;
            }[];
        },
        {
            count: number;
            nextPage: number
            | null;
            results: {
                authors: string[];
                coverUrl: string | null;
                downloadCount: number;
                epubAvailable: boolean;
                id: number;
                languages: string[];
                subjects: string[];
                title: string;
            }[];
        },
    > = ...

    GET /catalog/gutenberg response. count is the upstream total match count; nextPage is the 1-based page to request for "More" (null when the current page is the last one) — the proxy derives it from Gutendex's next URL so the client never touches Gutendex directly.