From 0a3811c7a496942ba06473a4d1c7244b44af43d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Sat, 8 Aug 2026 10:28:47 +0200 Subject: [PATCH] Drop the vocabulary exports nothing consumes The six per-section type aliases and the inverse-orientation list had no consumer; the schemas read the key arrays directly and the workLoad orientation is stated where the rating fields are declared. --- src/lib/mood/context-vocabulary.ts | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/lib/mood/context-vocabulary.ts b/src/lib/mood/context-vocabulary.ts index ff961813f..58697ef17 100644 --- a/src/lib/mood/context-vocabulary.ts +++ b/src/lib/mood/context-vocabulary.ts @@ -57,7 +57,6 @@ export const WORK_STATUS_KEYS = [ "regular", "overtime", ] as const; -export type WorkStatus = (typeof WORK_STATUS_KEYS)[number]; /** * Who the day's contact was with. Multi-select: a day is rarely one circle. @@ -75,7 +74,6 @@ export const CONTACT_CIRCLE_KEYS = [ "professional", "other", ] as const; -export type ContactCircle = (typeof CONTACT_CIRCLE_KEYS)[number]; /** How the contact happened. */ export const CONTACT_FORM_KEYS = [ @@ -84,11 +82,9 @@ export const CONTACT_FORM_KEYS = [ "video", "written", ] as const; -export type ContactForm = (typeof CONTACT_FORM_KEYS)[number]; /** Roughly how long it lasted, in the coarse bands people actually recall. */ export const CONTACT_EXTENT_KEYS = ["brief", "medium", "extended"] as const; -export type ContactExtent = (typeof CONTACT_EXTENT_KEYS)[number]; /** What the free time was spent on. Multi-select. */ export const LEISURE_CATEGORY_KEYS = [ @@ -104,7 +100,6 @@ export const LEISURE_CATEGORY_KEYS = [ "relaxation", "other", ] as const; -export type LeisureCategory = (typeof LEISURE_CATEGORY_KEYS)[number]; /** * The kind of thing that happened. One per entry: a day with two notable @@ -122,7 +117,6 @@ export const EVENT_TYPE_KEYS = [ "change", "unexpected", ] as const; -export type EventType = (typeof EVENT_TYPE_KEYS)[number]; /** * Every 0-10 self-rating on the context row, in capture order. @@ -144,12 +138,6 @@ export const CONTEXT_RATING_FIELDS = [ "leisureJoy", "leisureRecovery", ] as const; -export type ContextRatingField = (typeof CONTEXT_RATING_FIELDS)[number]; - -/** The rating fields where a higher number is a heavier day, not a better one. */ -export const CONTEXT_INVERSE_RATING_FIELDS: readonly ContextRatingField[] = [ - "workLoad", -]; /** The four sections, in capture order. */ export const CONTEXT_SECTION_KEYS = [