From 25e37055f623e034de6b23acaf1eb98a356d2348 Mon Sep 17 00:00:00 2001 From: Monchee Date: Sat, 22 Aug 2026 20:44:26 +1000 Subject: [PATCH] fix: drop unused compact helpers from dreamOnlyProtocols Tranche 3's prune left the s()/c() record builders without callers; --max-warnings 0 lint correctly failed CI. The four remaining stub records use neither helper, and the type imports shrink accordingly. --- src/shared/data/dreamOnlyProtocols.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/shared/data/dreamOnlyProtocols.ts b/src/shared/data/dreamOnlyProtocols.ts index e719b23..f7f9ac7 100644 --- a/src/shared/data/dreamOnlyProtocols.ts +++ b/src/shared/data/dreamOnlyProtocols.ts @@ -1,8 +1,4 @@ -import type { DrugProtocol, IDTStep, ChallengeStep } from "@features/testing/types"; - -// Compact helpers for readability -const s = (ratio: string, concentration: string): IDTStep => ({ ratio, concentration }); -const c = (step: number, dose: string, volume: string, cumulative: string): ChallengeStep => ({ step, dose, volume, cumulative }); +import type { DrugProtocol } from "@features/testing/types"; /** * Hand-maintained DREAM protocol records for drugs not yet authored in SCRATCH.