gtfs-sqljs
    Preparing search index...

    Interface TripScheduleFilters

    interface TripScheduleFilters {
        date: string;
        directionId?: number;
        displayMode?: "departure" | "arrival";
        now?: number;
        routeId?: string | string[];
        timezone?: string;
        tripId?: string | string[];
    }
    Index

    Properties

    date: string

    Service date in YYYYMMDD format. Used to select trips (with routeId) and to compute epochs.

    directionId?: number
    displayMode?: "departure" | "arrival"

    Which event display_epoch prefers. 'departure' (default): departure everywhere, arrival at the last stop. 'arrival': arrival everywhere, departure at the first stop.

    now?: number

    Reference "current time" in unix seconds for realtime staleness. Defaults to the system clock.

    routeId?: string | string[]
    timezone?: string

    Override the timezone used for epoch computation (defaults to the trip's agency_timezone).

    tripId?: string | string[]