@mohasinac/appkit 4.48.1 → 4.49.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,22 @@
1
+ /**
2
+ * GENERATED by scripts/gen-catalogue-listings.mjs — do not edit by hand.
3
+ *
4
+ * One product listing per taxonomy leaf: 752 parts + 220 complete
5
+ * models = 972 rows. This is what makes `products` reproducible from
6
+ * committed data alone — see the generator's own header for the incident that
7
+ * made that matter (968 live documents with no committed source).
8
+ *
9
+ * Deterministic: price/stock/condition/authenticity/image are derived from an
10
+ * FNV-1a hash of each listing's own id, never `Math.random()` (Root Cause #25)
11
+ * — so a re-run of the generator, and a re-run of `appkit-seed load`, both
12
+ * reproduce the SAME 968 documents rather than minting duplicates.
13
+ *
14
+ * 752 of 752 part listings carry `partGlossaryId`, resolved through
15
+ * `PART_CATEGORY_TO_GLOSSARY_ID` (the pairing `gen-category-parts.mjs` already
16
+ * computes, emitted rather than re-derived). 195 of 220 model listings
17
+ * reuse the real wiki cover photo their category page already shows; the rest
18
+ * fall back to a deterministic coloured tile from `public/images/seed-tiles/`.
19
+ */
20
+ import type { ProductDocument } from "../features/products/schemas/firestore";
21
+ export declare const productsCatalogueSeedData: Partial<ProductDocument>[];
22
+ export declare const CATALOGUE_LISTING_COUNT = 972;