UNPKG

qe-fe-automation

Version:
34 lines (30 loc) 1.12 kB
export const Timeouts = { MAX_TIMEOUT_120_SEC: { timeout: 120000 }, MEDIUM_TIMEOUT_60_SEC: { timeout: 60000 }, MEDIUM_TIMEOUT_30_SEC: { timeout: 30000 }, MEDIUM_TIMEOUT_20_SEC: { timeout: 20000 }, MEDIUM_TIMEOUT_10_SEC: { timeout: 10000 }, SHORT_TIMEOUT_5_SEC: { timeout: 5000 }, SHORT_TIMEOUT_3_SEC: { timeout: 3000 }, SHORT_TIMEOUT_2_SEC: { timeout: 2000 }, SHORT_TIMEOUT_1_SEC: { timeout: 1000 } }; export const InputDelays = { INPUT_DELAY_100_MILLIS: { delay: 100 } }; export type TripTileType = 'Personal' | 'Business'; export type verticalType = 'flight' | 'hotel' | 'car' | 'train' | 'Flüge' | 'blackCar'; export type MakeRequiredSomeFields<T, K extends keyof T> = Pick<T, K> & Partial<Omit<T, K>>; export type bookingVerticalType = | 'Flight' | 'Hotel' | 'Rental car' | 'Train' | 'Black car'; export const guidRegex = '[0-9a-fA-F\\-]+'; export const dateFormatPattern = /^\d{4}\d{2}\d{2}$/; export const timeFormatPattern = /^\d{6}$/; export const currencyType = ['$', '€', '£']; export const InvoiceCorrectionURL = '/app/superadmin/commerce-internal-tools/invoice-tool/';