From f94e3dc8ac76ce3860589acc7be0076daf762097 Mon Sep 17 00:00:00 2001 From: Stan Runge Date: Sun, 18 Oct 2026 22:20:22 +0000 Subject: [PATCH] fix: use namespace zod import in house tracker types `import { z } from 'zod'` is undefined when vitest runs under Bun (as in the Docker build), matching the earlier fix in eca43c8. Co-Authored-By: Claude Opus 5.5 --- src/lib/house-tracker/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/house-tracker/types.ts b/src/lib/house-tracker/types.ts index f50be15..410aed4 100644 --- a/src/lib/house-tracker/types.ts +++ b/src/lib/house-tracker/types.ts @@ -1,7 +1,7 @@ // Shared between the home worker (scripts/house-worker.ts), the ingest API and // the page. Keep this file free of `#lib` / `$app/env` imports: the worker runs it // directly with bun, outside SvelteKit. -import { z } from 'zod'; +import * as z from 'zod'; export const offers = ['rent', 'buy'] as const; export type Offer = (typeof offers)[number];