Categories & Groups / Group
8 entries across 6 modules.
[name, currency] per country, keyed by ISO 3166-1 alpha-2 code. currency is the
ISO 4217 code of the country's primary currency (e.g. "EUR").
Fuzz-match scorer registry shared between SupplierBase.fuzzyFilter and the
Advanced drawer section's override selector. Keys are stored in
userSettings.fuzzScorerOverride; when present at search time they replace
each supplier's per-class fuzzScorer default.
distance is intentionally excluded — it's an edit distance (lower = more
similar), while all other scorers return 0–100 (higher = more similar), so
it doesn't plug into the same cutoff/filter flow.
HTTP status codes the extension compares against or documents. Use these instead of bare
numbers so a check like error.status === HttpStatus.FORBIDDEN explains itself.
Deliberately a short list of the codes that matter when talking to supplier sites, not the
full registry; add a member here when a new code is needed. It replaced the
http-status-codes package, whose ~60-entry enum was bundled for the sake of one constant.
Common HTTP status codes, named in UPPER_SNAKE_CASE after their reason phrases.
Every severity bucket a remote log sink can opt into, least to most severe.
Logger.info and Logger.log both map to 'log'.
Compact ISO 3166-1 alpha-2 country table: the English name and primary currency code for each country, and nothing else.
It replaces the runtime
country-list-jsdependency, which carries provinces, capitals, phone codes and more (~140 kB) for the two fields ChemPal reads. The library is kept as a dev dependency purely sosrc/constants/__tests__/countryData.test.tscan fail if this table ever drifts from it. Regenerate by re-running the extraction described there.