fix zod imports in bun test build
Some checks failed
Test and deploy staging / staging (push) Failing after 1m39s
Some checks failed
Test and deploy staging / staging (push) Failing after 1m39s
This commit is contained in:
@@ -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),
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { z } from 'zod';
|
import * as z from 'zod';
|
||||||
|
|
||||||
// ── Register new animal (+ first sighting) ────────────────────────────────────
|
// ── Register new animal (+ first sighting) ────────────────────────────────────
|
||||||
|
|
||||||
|
|||||||
@@ -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() });
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user