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

    Variable documentVersionSchemaConst

    documentVersionSchema: ZodObject<
        {
            id: ZodString;
            publishedAt: ZodString;
            sizeBytes: ZodNumber;
            versionNo: ZodNumber;
        },
        "strip",
        ZodTypeAny,
        { id: string; publishedAt: string; sizeBytes: number; versionNo: number },
        { id: string; publishedAt: string; sizeBytes: number; versionNo: number },
    > = ...

    One publish of a project (decision 8). Versions accumulate on the library book the project publishes to; this is the version-picker row, not the project itself. No path fields (D39) — the PDF and the project zip are derived from id via paths.ts, fetched through GET /library/:id/file?version=<id>.