Files
tripwithbonus/frontend/app/constants/index.ts
2025-05-23 11:48:45 +03:00

22 lines
672 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import { CargoType, TransportType } from '../types'
export const routes = 12845
export const cargo_types: CargoType[] = ['letter', 'package', 'passenger', 'parcel', 'cargo']
export const cargo_type_translations: Record<CargoType, string> = {
letter: 'Письмо или Документы',
package: 'Посылка (до 30кг)',
passenger: 'Попутчик',
parcel: 'Бандероль (до 5кг)',
cargo: 'Груз (свыше 30 кг)',
}
export const transport_types: TransportType[] = ['road', 'avia', 'both']
export const transport_translations: Record<TransportType, string> = {
road: 'Авто',
avia: 'Авиа',
both: 'Любой',
}