okami.mom/strata

git clone https://git.nkp.pet/okami.mom/strata

Niko1221Merge f-142c-small into f-142407ea8192

main
158 B2 linesraw
1export type Stock = {sku:string;units:number};
2export function buildStock(stock:Stock[]):Map<string,number>{return new Map(stock.map(s=>[s.sku,s.units]));}