mobility-toolbox-js
Version:
Toolbox for JavaScript applications in the domains of mobility and logistics.
11 lines (10 loc) • 418 B
TypeScript
import type { RealtimeModesType } from '../../api/RealtimeAPI';
import type { RealtimeMode } from '../../types';
/**
* Get the websocket channel suffix, depending on the current mode.
* @param {String} mode Mode 'topographic' ou 'schematic'.
* @param {String[]} modes List of modes
* @private
*/
declare const getModeSuffix: (mode: RealtimeMode, modes: RealtimeModesType) => string;
export default getModeSuffix;