From 5485dd918d25b8db73a95faf587aa671d2f43581 Mon Sep 17 00:00:00 2001 From: shrouxm Date: Thu, 5 Oct 2023 18:33:56 -0700 Subject: [PATCH] fix: whoops actually export the utility fns --- src/soilId/soilIdSlice.ts | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/soilId/soilIdSlice.ts b/src/soilId/soilIdSlice.ts index 31ae4020..96b05308 100644 --- a/src/soilId/soilIdSlice.ts +++ b/src/soilId/soilIdSlice.ts @@ -57,11 +57,13 @@ export const collectionMethods = [ export type SoilPitMethod = (typeof soilPitMethods)[number]; export type CollectionMethod = (typeof collectionMethods)[number]; -const methodEnabled = (method: T): `${T}Enabled` => - `${method}Enabled`; +export const methodEnabled = ( + method: T, +): `${T}Enabled` => `${method}Enabled`; -const methodRequired = (method: T): `${T}Required` => - `${method}Required`; +export const methodRequired = ( + method: T, +): `${T}Required` => `${method}Required`; export { DepthInterval }; export type LabelledDepthInterval = {