UNPKG

@tmlmobilidade/types

Version:

This package provides shared Zod validation schemas and their corresponding TypeScript types for use across projects. All types are automatically inferred from the schemas to ensure full type safety and reduce maintenance overhead.

10 lines (9 loc) 522 B
import { z } from 'zod'; export declare const PROCESSING_STATUS_OPTIONS: readonly ["waiting", "processing", "complete", "error"]; export declare const ProcessingStatusSchema: z.ZodEnum<["waiting", "processing", "complete", "error"]>; /** * This type should be used to represent the processing status * of various operations. It can be used in APIs, database operations, * or any other context where a processing status needs to be communicated. */ export type ProcessingStatus = z.infer<typeof ProcessingStatusSchema>;