fix: use namespace zod import in house tracker types
All checks were successful
Test and deploy staging / staging (push) Successful in 2m46s
All checks were successful
Test and deploy staging / staging (push) Successful in 2m46s
`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 <noreply@anthropic.com>
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user