@tmlmobilidade/types
Version:
16 lines (15 loc) • 838 B
TypeScript
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("@tmlmobilidade/go-types-shared").UnixTimestamp, number>>>;
}, "strip", z.ZodTypeAny, {
status: "error" | "waiting" | "processing" | "complete" | "skipped";
last_hash: string | null;
timestamp: import("@tmlmobilidade/go-types-shared").UnixTimestamp | null;
}, {
status?: "error" | "waiting" | "processing" | "complete" | "skipped" | undefined;
last_hash?: string | null | undefined;
timestamp?: number | null | undefined;
}>>;
export type PlanAppStatus = z.infer<typeof PlanAppStatusSchema>;