Application Load

IAppLoadCommonUnit

The physical TypeScript declaration from the Nuxt starter, with linked types and field comments.

IAppLoadCommonUnit

Measurement unit, conversion value and localized names.

interfaces/orionplace/appBase/appLoadCommon/IAppLoadCommonUnit.ts
TypeScript
export interface IAppLoadCommonUnit {
	// measurement unit identifier
	id: number;
	// system measurement unit symbol
	unit: string;
	// conversion factor relative to the base unit
	value: number | string;
	// localized data keyed by locale code
	locales: Record<string, IAppLoadCommonUnitLocale>;
}