books: import zod as a namespace so tests pass under the Bun runtime in CI
Some checks failed
Deploy production / deploy (push) Failing after 2m20s

The Docker build runs vitest via bun (no Node in oven/bun), where the named
`{ z }` import from zod 4 resolved to undefined; the rest of the repo already
uses `import * as z from 'zod'`.
This commit is contained in:
2026-10-24 01:47:10 +00:00
parent 763d7881fb
commit 1d4cfd58c5
2 changed files with 2 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
// Validation and maths for the reader's progress API (pure, unit tested).
import { z } from 'zod';
import * as z from 'zod';
export const progressPayload = z.object({
fileId: z.number().int().positive().nullish(),