@tmlmobilidade/types
Version:
31 lines (30 loc) • 1.19 kB
TypeScript
import { z } from 'zod';
export declare const GtfsTMLAgencySchema: z.ZodObject<{
agency_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
agency_fare_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
agency_id: z.ZodString;
agency_lang: z.ZodOptional<z.ZodNullable<z.ZodString>>;
agency_name: z.ZodString;
agency_phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
agency_timezone: z.ZodString;
agency_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
}, "strip", z.ZodTypeAny, {
agency_id: string;
agency_name: string;
agency_timezone: string;
agency_email?: string | null | undefined;
agency_fare_url?: string | null | undefined;
agency_lang?: string | null | undefined;
agency_phone?: string | null | undefined;
agency_url?: string | null | undefined;
}, {
agency_id: string;
agency_name: string;
agency_timezone: string;
agency_email?: string | null | undefined;
agency_fare_url?: string | null | undefined;
agency_lang?: string | null | undefined;
agency_phone?: string | null | undefined;
agency_url?: string | null | undefined;
}>;
export type GtfsTMLAgency = z.infer<typeof GtfsTMLAgencySchema>;