UNPKG

@hhgtech/hhg-components

Version:
88 lines (87 loc) 2.84 kB
import { LOCALE, LocaleType } from "../types"; export declare const basePath: string; export declare const SSO_URL: string; export declare const USER_GEOLOCATION_COORDINATES_COOKIE = "userGeoLocationCoordinates"; export type CategoriesLayout = 'short' | 'long'; export type LogoType = 'hellobacsi' | 'hellosehat' | 'hellohealth' | 'hellotogether' | 'hellocare' | 'logomark' | 'hellodoctor' | 'hellokrupet' | 'helloswasthya' | 'hellosayarwon' | 'helloyishi' | 'hellokhunmor' | 'hellodoktor' | 'marryBaby' | 'hellojiankang'; export declare const LOCALE_SPECS: { [key: string]: { [key: string]: string; }; }; export declare const STATIC_PAGES: { [key in LocaleType]: { [key: string]: string | null; }; }; export declare const UP_BASEPATH = "user"; export declare const TOGETHER_LOCALES: string[]; export declare const ECOM_LOCALES: string[]; export declare const DATA_PRIVACY_LOCALES: string[]; export declare const CARE_LOCALES: string[]; export declare const CARE_BOOKING_LOCALES: string[]; export declare const VIDEO_LOCALES: string[]; export declare const FAVICONS: { [key: string]: ({ type: 'link'; rel: string; href: string; sizes?: string; } | { type: 'meta'; name: string; content: string; })[]; }; export declare enum QUERY_HEALTH_TOOL { bmi = "mi", gender = "gndr", age = "ge", slug = "slug", resultId = "resultId", bmr = "mr", height = "gt", weight = "wght", source = "surc", type = "tp", startDate = "sd", additional = "tnl", week = "wk", twins = "twn", weightBefore = "wb", yourself = "yrslf", intensity = "sy", rate = "rt", method = "mthd", day = "dy", pwg = "pwg", cycle = "le", period = "prd", access_token = "tkn", name = "nm", id = "id", activityLevel = "actl", status = "status", birthday = "brd" } export declare const ISO_FORMAT: { [key in LOCALE]: { dateFormat: string; separator: ',' | '.'; }; }; export * from "./site"; export * from "./domainLocales"; export * from "./riskScreener"; export * from "./isProduction"; export declare const BEARER_TOKEN_COOKIE = "hhg_user_token"; export declare const BEARER_REFRESH_TOKEN_COOKIE = "hhg_user_refresh_token"; export declare const DATE_FNS_LOCALE: { [key in LOCALE | string]?: Locale; }; export declare const CDN_ADDRESS = "https://cdn.hellohealthgroup.com/countries"; export declare const GA_TOKEN_COOKIE = "_ga"; export declare const API_DATE_FORMAT = "YYYY-MM-DD"; export declare const DATE_FNS_DATE_FORMAT = "dd-MM-yyyy"; export declare const ZINDEX_SSO = 9999999; export declare const VIDEO_DETAIL_TEMP_STORAGE = "video_item_detail";