GenerAI / worldmonitor /shared /bootstrap-tier-keys.d.ts
amogaddy's picture
Integra World Monitor (AGPL-3.0, self-hosted) nello Space: pagina, menu, e arricchimento notizie per la AI (part 6)
fa9c65f verified
Raw
History Blame Contribute Delete
609 Bytes
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>;
};