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

    Variable libraryBookSchemaConst

    libraryBookSchema: ZodObject<
        {
            author: ZodNullable<ZodString>;
            convertedFrom: ZodNullable<ZodString>;
            convertedTo: ZodNullable<ZodString>;
            convertError: ZodNullable<ZodString>;
            convertStatus: ZodEnum<["none", "running", "ready", "poor", "failed"]>;
            coverVersion: ZodDefault<ZodNullable<ZodNumber>>;
            createdAt: ZodString;
            durationSeconds: ZodNullable<ZodNumber>;
            format: ZodEnum<["pdf", "epub", "mp3", "mp4", "webm"]>;
            hasCover: ZodBoolean;
            id: ZodString;
            kind: ZodEnum<["book", "audio", "video"]>;
            lastOpenedAt: ZodNullable<ZodString>;
            lastReadAt: ZodNullable<ZodString>;
            locator: ZodNullable<ZodString>;
            progress: ZodNumber;
            series: ZodNullable<ZodString>;
            seriesIndex: ZodNullable<ZodNumber>;
            sizeBytes: ZodNumber;
            source: ZodDefault<ZodEnum<["upload", "gutenberg", "latex"]>>;
            sourceId: ZodNullable<ZodString>;
            subjects: ZodArray<ZodString, "many">;
            title: ZodString;
        },
        "strip",
        ZodTypeAny,
        {
            author: string
            | null;
            convertedFrom: string | null;
            convertedTo: string | null;
            convertError: string | null;
            convertStatus: "none" | "running" | "ready" | "poor" | "failed";
            coverVersion: number | null;
            createdAt: string;
            durationSeconds: number | null;
            format: "pdf" | "epub" | "mp3" | "mp4" | "webm";
            hasCover: boolean;
            id: string;
            kind: "book" | "audio" | "video";
            lastOpenedAt: string | null;
            lastReadAt: string | null;
            locator: string | null;
            progress: number;
            series: string | null;
            seriesIndex: number | null;
            sizeBytes: number;
            source: "upload" | "gutenberg" | "latex";
            sourceId: string | null;
            subjects: string[];
            title: string;
        },
        {
            author: string
            | null;
            convertedFrom: string | null;
            convertedTo: string | null;
            convertError: string | null;
            convertStatus: "none" | "running" | "ready" | "poor" | "failed";
            coverVersion?: number | null;
            createdAt: string;
            durationSeconds: number | null;
            format: "pdf" | "epub" | "mp3" | "mp4" | "webm";
            hasCover: boolean;
            id: string;
            kind: "book" | "audio" | "video";
            lastOpenedAt: string | null;
            lastReadAt: string | null;
            locator: string | null;
            progress: number;
            series: string | null;
            seriesIndex: number | null;
            sizeBytes: number;
            source?: "upload" | "gutenberg" | "latex";
            sourceId: string | null;
            subjects: string[];
            title: string;
        },
    > = ...

    A book as seen by the client (no server-side paths).