Route all user-facing Atom hotel defaults through resolveHotelName (settings then HOTEL_NAME env then brand constant). Exclude Playwright e2e from tsconfig until deps are installed. Co-authored-by: Cursor <[email protected]>
11 lines
260 B
TypeScript
11 lines
260 B
TypeScript
/**
|
|
* Single hardcoded fallback hotel brand.
|
|
* Override order at runtime:
|
|
* 1. website_settings.hotel_name
|
|
* 2. HOTEL_NAME env
|
|
* 3. this constant
|
|
*
|
|
* Safe for client components (no env / DB imports).
|
|
*/
|
|
export const FALLBACK_HOTEL_NAME = "Atom";
|