File size: 609 Bytes
fa9c65f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
export type BootstrapTier = 'fast' | 'slow' | 'on-demand';

export const BOOTSTRAP_CACHE_KEYS: Readonly<Record<string, string> & {
  chinaMacro: string;
  chinaReleaseCalendar: string;
}>;
export const BOOTSTRAP_TIERS: Readonly<Record<string, BootstrapTier>>;
export const PUBLIC_WEATHER_BOOTSTRAP_KEY: 'weatherAlerts';

export function bootstrapTierKeyNames(
  tier: BootstrapTier,
  options?: { iranEventsEnabled?: boolean },
): string[];

export function resolveBootstrapRegistry(options?: { iranEventsEnabled?: boolean }): {
  cacheKeys: Record<string, string>;
  tiers: Record<string, BootstrapTier>;
};