fix zod imports in bun test build
Some checks failed
Test and deploy staging / staging (push) Failing after 1m39s

This commit is contained in:
2026-09-23 04:47:27 +00:00
parent 1d0b96e7bc
commit eca43c82d0
4 changed files with 4 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
import { z } from 'zod'; import * as z from 'zod';
const profileSchema = z.object({ const profileSchema = z.object({
id: z.number().int().positive(), id: z.number().int().positive(),
username: z.string().min(1), username: z.string().min(1),

View File

@@ -1,4 +1,4 @@
import { z } from 'zod'; import * as z from 'zod';
export const createArticleSchema = z.object({ export const createArticleSchema = z.object({
title: z.string().min(1).max(256) title: z.string().min(1).max(256)

View File

@@ -1,4 +1,4 @@
import { z } from 'zod'; import * as z from 'zod';
// ── Register new animal (+ first sighting) ──────────────────────────────────── // ── Register new animal (+ first sighting) ────────────────────────────────────

View File

@@ -1,6 +1,6 @@
import { json, error } from '@sveltejs/kit'; import { json, error } from '@sveltejs/kit';
import type { RequestHandler } from './$types'; import type { RequestHandler } from './$types';
import { z } from 'zod'; import * as z from 'zod';
const schema = z.object({ imageUrl: z.string().url() }); const schema = z.object({ imageUrl: z.string().url() });