UNPKG

@expofp/floorplan

Version:

Interactive floor plan library for expos and events

18 lines • 812 B
export type Brand = 'ExpoFP' | 'LocoMaven'; /** * Apex domain → brand: every event is `<expo>.<apex>` (aws-code README), and * the domain is what decides the brand. Not taken from the manifest's * `locomaven` flag (aws-code `manifest-json`) — the lambda derives that from * the same domain, and the placeholder title is written before any request * settles, so only the hostname is known at both moments. */ declare const BRAND_BY_APEX: { readonly 'expofp.com': 'ExpoFP'; readonly 'locomaven.com': 'LocoMaven'; }; export declare const OWN_APEX_DOMAINS: (keyof typeof BRAND_BY_APEX)[]; /** Pure so it's testable without stubbing `window.location`. */ export declare function computeBrand(hostname: string): Brand; export declare const brand: Brand; export {}; //# sourceMappingURL=brand.d.ts.map