FsHafas-JavaScript
    Preparing search index...

    Interface ProductType

    A ProductType relates to how a means of transport "works" in local context. Example: Even though S-Bahn and U-Bahn in Berlin are both trains, they have different operators, service patterns, stations and look different. Therefore, they are two distinct products subway and suburban.

    interface ProductType {
        bitmasks: number[];
        default: boolean;
        id: string;
        mode:
            | "train"
            | "bus"
            | "watercraft"
            | "taxi"
            | "gondola"
            | "aircraft"
            | "car"
            | "bicycle"
            | "walking";
        name: string;
        short: string;
    }
    Index

    Properties

    bitmasks: number[]
    default: boolean
    id: string
    mode:
        | "train"
        | "bus"
        | "watercraft"
        | "taxi"
        | "gondola"
        | "aircraft"
        | "car"
        | "bicycle"
        | "walking"
    name: string
    short: string