- CatalogSearchOverlay: replace handleAddStub with real openAddToCollection/openAddToThread routing based on catalogSearchMode - ConfirmDialog + __root.tsx: swap t() for Trans component on deleteItemMessage, deleteCandidateMessage, pickWinnerMessage — fixes <bold> rendering as literal text - Biome format pass: fix 23 lint/format errors across scripts, services, tests - Planning: mark all UAT and verification gaps resolved for phases 07, 11, 16, 20, 21, 22, 24, 32, 34; close debug sessions Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
21 lines
826 B
TypeScript
21 lines
826 B
TypeScript
/**
|
|
* Canonical category values for globalItems.category.
|
|
* These are the only valid values the ingestion agent should use.
|
|
*/
|
|
export const CATEGORIES = [
|
|
"bags", // bikepacking bags, dry bags, stuff sacks
|
|
"shelters", // tents, bivys, tarps, hammocks
|
|
"sleep", // sleeping bags, quilts, pads, pillows
|
|
"cooking", // stoves, cookware, mugs, utensils
|
|
"lighting", // headlamps, bike lights, lanterns
|
|
"water", // filters, bottles, bladders
|
|
"electronics", // power banks, solar panels, GPS, bike computers
|
|
"tools", // multi-tools, pumps, repair kits, locks
|
|
"clothing", // jackets, base layers, gloves, shoes
|
|
"navigation", // GPS devices, maps, compasses
|
|
"bikes", // complete bikes
|
|
"components", // drivetrain, brakes, wheels, handlebars, saddles, stems
|
|
] as const;
|
|
|
|
export type Category = (typeof CATEGORIES)[number];
|