"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.ValidationArrays = void 0;
const moment_timezone_1 = __importDefault(require("@golemio/core/dist/shared/moment-timezone"));
exports.ValidationArrays = {
    departureBoards: {
        departureMode: ["departures", "arrivals", "mixed"],
        order: ["real", "timetable"],
        filter: [
            "none",
            "routeOnce",
            "routeHeadingOnce",
            "routeOnceFill",
            "routeHeadingOnceFill",
            "routeHeadingOnceNoGap",
            "routeHeadingOnceNoGapFill",
        ],
        skip: ["untracked", "missing", "canceled", "atStop" /*, "onInfotext"*/],
    },
    // TODO replace moment.tz.names() with Intl.supportedValuesOf("timeZone") after migrating to Node 18
    preferredTimezone: [
        ...moment_timezone_1.default.tz.names(),
        ...moment_timezone_1.default.tz
            .names()
            // concats only those names that have character /
            .filter((name) => name.match(/\//g))
            // that is replaced with _
            .map((name) => name.replace(/\//g, "_")),
    ],
};
//# sourceMappingURL=validations.js.map