initial site
This commit is contained in:
commit
da5b259d06
167 files changed
+34157
No files matched your search
@@ -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(","));
|
||||
Reference in new issue
Block a user