MCPcopy Create free account
hub / github.com/GlobalTechInfo/MEGA-MDX / UnitDef

Interface UnitDef

plugins/units.ts:3–8  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import type { BotContext } from '../types.js';
2
3interface UnitDef {
4 factor: number; // multiply to get base unit
5 offset?: number; // for temperature
6 base: string;
7 name: string;
8}
9
10type UnitMap = Record<string, UnitDef>;
11

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected