feat: canonical taxonomy — categories and tags for ingestion
This commit is contained in:
20
scripts/taxonomy/categories.ts
Normal file
20
scripts/taxonomy/categories.ts
Normal file
@@ -0,0 +1,20 @@
|
||||
/**
|
||||
* 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];
|
||||
Reference in New Issue
Block a user