Merge branch 'chore/knip-dead-exports' into release/v1.37.27

This commit is contained in:
Marc-André Bombeck committed 2026-08-23 19:38:45 +02:00
commit 31991924f0
32 files changed
+282 -571

No files matched your search

-6
View File
@@ -15,14 +15,8 @@ import {
getTrendSentiment,
sentimentColorClass,
type TrendDirectionSentiment,
type TrendSentimentDirection,
} from "@/lib/insights/trend-sentiment";
// v1.9.0 — the metric-aware sentiment mapping moved to a shared module so the
// range-delta caption paints the same colour for the same signal. Re-exported
// here so existing `@/components/charts/trend-card` importers keep the type.
export type { TrendDirectionSentiment, TrendSentimentDirection };
interface SecondaryMetric {
/** Sub-value latest reading (e.g. diastolic when latest is systolic). */
latest: number | null;
-1
View File
@@ -16,5 +16,4 @@ export {
selectAllState,
selectedIdsOnPage,
selectedCountOnPage,
type SelectAllState,
} from "./selection";
@@ -13,7 +13,6 @@ import { toast } from "sonner";
import type {
CoachConversationAttachmentDTO,
CoachConversationDetailDTO,
CoachConversationDTO,
CoachConversationsPage,
CoachProvenance,
CoachScope,
@@ -1118,7 +1117,6 @@ export function useSendCoachMessage(opts: UseSendCoachMessageOptions = {}) {
// `@/lib/ai/coach/types` directly.
export type {
CoachConversationAttachmentDTO,
CoachConversationDTO,
CoachConversationDetailDTO,
CoachProvenance,
CoachSuggestion,
@@ -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";
@@ -44,10 +44,7 @@
*/
import { encodeCadence } from "@/components/medications/scheduling/cadence-picker";
import {
dateToIsoString,
isoStringToDate,
} from "@/components/medications/scheduling/course-window-row";
import { dateToIsoString } from "@/components/medications/scheduling/course-window-row";
import {
type CadenceKind,
type CadenceSubControls,
@@ -1277,4 +1274,4 @@ function subControlsFromRrule(rrule: string): CadenceSubControls {
// Re-exports — convenience for the dialog and tests
// ────────────────────────────────────────────────────────────────────
export { dateToIsoString, isoStringToDate };
export { dateToIsoString };