Cotton code
13 lines · 838 B · TypeScriptRaw
/** * The kitchen kit as the repository ships it, read straight from * `crates/cotton-core/kits/kitchen`: Nancy's business runs these. */const tools = import.meta.glob("../../../crates/cotton-core/kits/kitchen/tools/*/manifest.json", { eager: true, import: "default" }) as Record<string, Record<string, unknown>>;const tables = import.meta.glob("../../../crates/cotton-core/kits/kitchen/tables/*.json", { eager: true, import: "default" }) as Record<string, Record<string, unknown>>;export const KITCHEN_TOOLS = Object.values(tools);export const KITCHEN_TABLES = Object.values(tables);export const NANCY_FLAVOUR = {  public_views: { kitchen: ["kitchen_dish", "veg", "kitchen_menu_day", "kitchen_review"], kitchen_plans: ["plans"], kitchen_cook: ["chef", "reviews"], kitchen_about: ["place", "hours", "photos", "catering"] },};