Written by tools/generate-supplier-meta.js (pnpm run generate) from the static
fields of the supplier classes, which remain the single source of truth. Change a
supplier's name, country, shipping scope or shipsTo on its class and regenerate;
src/suppliers/__tests__/supplierMeta.test.ts fails if this file drifts.
Its reason to exist is bundle size: the UI needs supplier metadata at mount, and
reading it off the classes would pull the whole supplier layer into the popup's
startup bundle. See src/constants/supplierMeta.ts for the accessors.
GENERATED FILE — DO NOT EDIT.
Written by
tools/generate-supplier-meta.js(pnpm run generate) from thestaticfields of the supplier classes, which remain the single source of truth. Change a supplier's name, country, shipping scope orshipsToon its class and regenerate;src/suppliers/__tests__/supplierMeta.test.tsfails if this file drifts.Its reason to exist is bundle size: the UI needs supplier metadata at mount, and reading it off the classes would pull the whole supplier layer into the popup's startup bundle. See
src/constants/supplierMeta.tsfor the accessors.Source