UNPKG

alepha

Version:

Easy-to-use modern TypeScript framework for building many kind of applications.

11 lines (8 loc) 334 B
import { type Static, z } from "alepha"; export const jobExecutionQuerySchema = z.object({ status: z .enum(["pending", "running", "scheduled", "ok", "error", "cancelled"]) .optional(), limit: z.integer().min(1).max(200).default(20).optional(), }); export type JobExecutionQuery = Static<typeof jobExecutionQuerySchema>;