initial site

This commit is contained in:
merrow committed 2026-10-11 22:24:54 +05:00
commit da5b259d06
167 files changed
+34157

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
// Первый витринный микс: имя и catalogId табаков состава (для e2e стоп-листа).
import { hookahMixes } from "../src/data/catalog";
import { FLAVORS } from "../src/data/flavors";
const first = hookahMixes[0];
const ids = first.items
.map((i) => {
const f = FLAVORS.find((x) => x.id === i.flavorId);
return f ? (f.catalogId ?? f.id) : null;
})
.filter((x): x is string => !!x);
console.log("FIRST_MIX=" + first.name);
console.log("ITEM_IDS=" + ids.join(","));