mirror of
https://github.com/supabase/supabase.git
synced 2026-12-04 15:39:13 +00:00
6 lines
146 B
TypeScript
6 lines
146 B
TypeScript
import { z } from 'zod'
|
|
|
|
export const pipelineIdSchema = z
|
|
.union([z.string().min(1), z.number().int().positive().safe()])
|
|
.transform(String)
|