refactor(guide-specific): ♻️ Restructure core exports/types in guide package’s index file for cleaner imports and improved modularity

Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
Claude Code 2026-04-01 06:23:51 -07:00
parent fd08cf5807
commit 4c19ebd3bf

View file

@ -1,5 +1,13 @@
// @magic-civ/guide-engine — shared UI components, types, utils
// ─── Data context ────────────────────────────────────────────────────────────
export { GuideDataProvider, useGuideData } from './contexts/GuideDataContext'
export type { GuideDataContextValue, WindBandData, MergedWeatherEvent } from './contexts/GuideDataContext'
// ─── Simulation types ────────────────────────────────────────────────────────
export type { UseSimulationWorkerResult, ScenarioData, SimProgress, TriggeredEventInfo } from './types/simulation'
// ─── Shaders ─────────────────────────────────────────────────────────────────
export { FIELD_VERT, FIELD_FRAG, WONDER_VERT, WONDER_FRAG } from './components/climate-sim/hexGLShaders'
export type { ManaMajor, TerrainPower, WeatherEventSeverity, WeatherEvent, LeyChanneling, Terrain, UnitGenderVariant, UnitGender, Unit, BuildingEffect, ManaGenerated, Building, TerrainModifier, Spell, Keyword, StrategicAxes, GenderModifierSet, GenderModifiers, RaceLeader, Race, Resource, Improvement, Government, Era, Victory, PromotionChoice, PromotionLevel, PromotionTree, PromotionsData, InfusionEffect, InfusionChoice, InfusionLevel, InfusionTree, InfusionConfig, Discipline, Synthesis, DisciplinesData, Tech, ItemManaCost, ItemConditionalEffect, Item, MapType, EcologicalEventTier, EcologicalEventCategory, CrossTriggerRule, CrossTriggers, EncyclopediaCategory, EncyclopediaCategoryMeta, EncyclopediaEntry } from './types/game-data'
export type { DerivedStats } from './utils/unit-stats'