@tmlmobilidade/types
Version:
19 lines (18 loc) • 557 B
TypeScript
import { z } from 'zod';
export declare const StopFlagSchema: z.ZodObject<{
agency_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
is_harmonized: z.ZodDefault<z.ZodBoolean>;
short_name: z.ZodString;
stop_id: z.ZodString;
}, "strip", z.ZodTypeAny, {
short_name: string;
agency_ids: string[];
is_harmonized: boolean;
stop_id: string;
}, {
short_name: string;
stop_id: string;
agency_ids?: string[] | undefined;
is_harmonized?: boolean | undefined;
}>;
export type StopFlag = z.infer<typeof StopFlagSchema>;