Repository navigation
Expand file tree
/
Copy pathindex.ts
More file actions
100 lines (88 loc) · 2.47 KB
/
Copy pathindex.ts
File metadata and controls
100 lines (88 loc) · 2.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
// Configuration exports
// For variant-specific builds, set VITE_VARIANT environment variable
// VITE_VARIANT=tech → startups.worldmonitor.app (tech-focused)
// VITE_VARIANT=full → worldmonitor.app (geopolitical)
export const SITE_VARIANT = import.meta.env.VITE_VARIANT || 'full';
// Shared base configuration (always included)
export {
API_URLS,
REFRESH_INTERVALS,
MONITOR_COLORS,
STORAGE_KEYS,
} from './variants/base';
// Market data (shared)
export { SECTORS, COMMODITIES, MARKET_SYMBOLS, CRYPTO_MAP } from './markets';
// Geo data (shared base)
export { UNDERSEA_CABLES, COUNTRY_LABELS, MAP_URLS } from './geo';
// AI Datacenters (shared)
export { AI_DATA_CENTERS } from './ai-datacenters';
// Feeds configuration (shared functions, variant-specific data)
export {
SOURCE_TIERS,
getSourceTier,
SOURCE_TYPES,
getSourceType,
getSourcePropagandaRisk,
ALERT_KEYWORDS,
type SourceRiskProfile,
type SourceType,
} from './feeds';
// Panel configuration - imported from panels.ts
export {
DEFAULT_PANELS,
DEFAULT_MAP_LAYERS,
MOBILE_DEFAULT_MAP_LAYERS,
} from './panels';
// ============================================
// VARIANT-SPECIFIC EXPORTS
// Only import what's needed for each variant
// ============================================
// Full variant (geopolitical) - only included in full builds
// These are large data files that should be tree-shaken in tech builds
export {
FEEDS,
INTEL_SOURCES,
} from './feeds';
export {
INTEL_HOTSPOTS,
CONFLICT_ZONES,
MILITARY_BASES,
NUCLEAR_FACILITIES,
APT_GROUPS,
STRATEGIC_WATERWAYS,
ECONOMIC_CENTERS,
SANCTIONED_COUNTRIES,
SPACEPORTS,
CRITICAL_MINERALS,
} from './geo';
export { GAMMA_IRRADIATORS } from './irradiators';
export { PIPELINES, PIPELINE_COLORS } from './pipelines';
export { PORTS } from './ports';
export { MONITORED_AIRPORTS, FAA_AIRPORTS } from './airports';
export {
ENTITY_REGISTRY,
getEntityById,
type EntityType,
type EntityEntry,
} from './entities';
// Tech variant - these are included in tech builds
export { TECH_COMPANIES } from './tech-companies';
export { AI_RESEARCH_LABS } from './ai-research-labs';
export { STARTUP_ECOSYSTEMS } from './startup-ecosystems';
export {
AI_REGULATIONS,
REGULATORY_ACTIONS,
COUNTRY_REGULATION_PROFILES,
getUpcomingDeadlines,
getRecentActions,
} from './ai-regulations';
export {
STARTUP_HUBS,
ACCELERATORS,
TECH_HQS,
CLOUD_REGIONS,
type StartupHub,
type Accelerator,
type TechHQ,
type CloudRegion,
} from './tech-geo';