@tmlmobilidade/types
Version:
11 lines (10 loc) • 524 B
TypeScript
import { z } from 'zod';
/**
* Represents the type of path for a GTFS route.
* This type is used to indicate whether the path is a base path, a partial path,
* or a variant path. It is used in the GTFS-TML (Transporte Metropolitano de Lisboa) standard
* to differentiate between different types of paths for a route.
*/
export declare const GtfsPathTypeValues: readonly ["1", "2", "3"];
export declare const GtfsPathTypeSchema: z.ZodEnum<["1", "2", "3"]>;
export type GtfsPathType = z.infer<typeof GtfsPathTypeSchema>;