@tmlmobilidade/types
Version:
34 lines (33 loc) • 1.83 kB
TypeScript
import { z } from 'zod';
export declare const GtfsTMLFeedInfoSchema: z.ZodObject<{
default_lang: z.ZodOptional<z.ZodNullable<z.ZodString>>;
feed_contact_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
feed_contact_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
feed_end_date: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, import("@tmlmobilidade/go-types-shared").OperationalDate, string>>>;
feed_lang: z.ZodString;
feed_publisher_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
feed_publisher_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
feed_start_date: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, import("@tmlmobilidade/go-types-shared").OperationalDate, string>>>;
feed_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
}, "strip", z.ZodTypeAny, {
feed_lang: string;
feed_end_date?: import("@tmlmobilidade/go-types-shared").OperationalDate | null | undefined;
feed_start_date?: import("@tmlmobilidade/go-types-shared").OperationalDate | null | undefined;
default_lang?: string | null | undefined;
feed_contact_email?: string | null | undefined;
feed_contact_url?: string | null | undefined;
feed_publisher_name?: string | null | undefined;
feed_publisher_url?: string | null | undefined;
feed_version?: string | null | undefined;
}, {
feed_lang: string;
feed_end_date?: string | null | undefined;
feed_start_date?: string | null | undefined;
default_lang?: string | null | undefined;
feed_contact_email?: string | null | undefined;
feed_contact_url?: string | null | undefined;
feed_publisher_name?: string | null | undefined;
feed_publisher_url?: string | null | undefined;
feed_version?: string | null | undefined;
}>;
export type GtfsTMLFeedInfo = z.infer<typeof GtfsTMLFeedInfoSchema>;