Drop unimported re-exports from the remaining barrels

Same shape as the derived and MCP barrels: the line in the barrel had no
importer because the consumer imports the concrete module. Affected:
cycle (15), coach tools (9), record-settings (8), links (4), data-list,
workout-detail and analytics/score (1 each).

analytics/score also carried CompositeValue on an explicit export line
above an export * of the same module, so the name stays exported either
way.

Definitions are untouched.
This commit is contained in:
Marc-André Bombeck committed 2026-08-23 19:11:12 +02:00
1 parent c00904068b
commit 244a939d05
7 files changed
+8 -58

No files matched your search

-1
View File
@@ -16,5 +16,4 @@ export {
selectAllState,
selectedIdsOnPage,
selectedCountOnPage,
type SelectAllState,
} from "./selection";
@@ -11,7 +11,4 @@ export { WorkoutDetailZones } from "./zones";
export { WorkoutDetailRoute } from "./route-map";
export { WorkoutDetailSplits } from "./splits";
export { WorkoutDetailDayContext } from "./day-context";
export {
WorkoutInsightCard,
type WorkoutActivityInsightData,
} from "./insight-slot";
export { WorkoutInsightCard } from "./insight-slot";
+3 -19
View File
@@ -6,28 +6,12 @@
* figures, and a bounded loop that executes them. The legacy snapshot path
* stays alive as the no-tools fallback (per-provider `supportsTools`).
*/
export {
COACH_TOOL_DEFS,
COACH_TOOL_NAMES,
isCoachToolName,
type CoachToolName,
} from "./definitions";
export {
executeCoachTool,
type CoachToolResult,
type CoachToolTrace,
} from "./executor";
export { COACH_TOOL_DEFS } from "./definitions";
export type { CoachToolTrace } from "./executor";
export {
buildCoachDataInventory,
renderDataInventory,
renderFocusHint,
type CoachDataInventory,
type InventoryEntry,
} from "./inventory";
export { buildToolModeAddendum } from "./system-addendum";
export {
runCoachToolLoop,
MAX_ROUNDS,
HARD_CAP,
type CoachToolLoopResult,
} from "./loop";
export { runCoachToolLoop, MAX_ROUNDS } from "./loop";
+1 -2
View File
@@ -11,7 +11,6 @@ import {
SCORE_PILLAR_DOMAINS,
SCORE_PILLAR_IDS,
SCORE_VERSION,
type CompositeValue,
type HealthScoreReport,
type PillarInputs,
type ScorePillarId,
@@ -95,5 +94,5 @@ export function computeHealthScore(
};
}
export type { CompositeValue, HealthScoreReport };
export type { HealthScoreReport };
export * from "./types";
+1 -17
View File
@@ -10,25 +10,9 @@ export * from "./types";
export * from "./day-math";
export {
predictCycle,
estimateCycleLength,
estimatePeriodLength,
observedPeriodLength,
detectTempShift,
detectMucusPeak,
confirmSymptothermal,
detectTemperatureTrend,
detectLhSurgeOvulation,
median,
mad,
resolveLuteal,
clampLuteal,
} from "./prediction";
export { phaseForDay, phaseSeries, type PhaseCycle } from "./phase";
export {
resolveCycleVerdict,
type CycleVerdict,
type CycleVerdictState,
type CyclePhaseSpan,
type CycleProfileLengths,
type VerdictCalendarDay,
} from "./verdict";
export { phaseForDay, type PhaseCycle } from "./phase";
-4
View File
@@ -41,9 +41,5 @@ export {
listTargets,
listTargetsBySource,
listDistinctTargets,
type LinkSourceKind,
type LinkTargetKind,
type LinkRequest,
type LinkResult,
type LinkedTarget,
} from "@/lib/links/link-service";
+2 -11
View File
@@ -1,17 +1,9 @@
export {
assertRecordSettingsAccess,
resolveGuardianRecordSettingsAccess,
type RecordSettingsAccess,
} from "./access";
export { toRecordSettingsDto, type RecordSettingsDto } from "./dto";
export { resolveGuardianRecordSettingsAccess } from "./access";
export { toRecordSettingsDto } from "./dto";
export { resolveManagedIntegrationState } from "./integrations";
export {
classifySettingsDestination,
isGuardianSettingsWriteAllowed,
isManageDelegateSettingsDestination,
SETTINGS_DESTINATION_INVENTORY,
type SettingsDestinationClassification,
type SettingsDestinationKind,
} from "./classification";
export {
isManagedRecordSettingsFamily,
@@ -22,6 +14,5 @@ export {
parseManagedRecordSettingsPatch,
safeParseManagedRecordSettingsPatch,
type ManagedRecordSettingsFamily,
type ManagedRecordSettingsPatch,
} from "./configuration";
export { assertRecordSettingsResponseForRecord } from "./response";