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
idviapaths.ts, fetched throughGET /library/:id/file?version=<id>.