UNPKG

@tmlmobilidade/types

Version:
16 lines (15 loc) 834 B
import { z } from 'zod'; export declare const PlanAppStatusSchema: z.ZodDefault<z.ZodObject<{ last_hash: z.ZodDefault<z.ZodNullable<z.ZodString>>; status: z.ZodDefault<z.ZodEnum<["waiting", "processing", "complete", "error", "skipped"]>>; timestamp: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>>>; }, "strip", z.ZodTypeAny, { status: "waiting" | "processing" | "complete" | "error" | "skipped"; last_hash: string | null; timestamp: import("../_common/unix-timestamp.js").UnixTimestamp | null; }, { status?: "waiting" | "processing" | "complete" | "error" | "skipped" | undefined; last_hash?: string | null | undefined; timestamp?: number | null | undefined; }>>; export type PlanAppStatus = z.infer<typeof PlanAppStatusSchema>;