Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

321 B
Raw Blame
import type { WeightUnit } from './code-lists.generated'
import type { UnitSystem } from './enums.generated'

/** The weight units each system offers, the usual one first. */
export const UNIT_SYSTEM_WEIGHT_UNITS: Readonly<Record<UnitSystem, readonly WeightUnit[]>> = {
  metric: ['kg', 'g'],
  imperial: ['lb', 'oz'],
}