30 lines
739 B
TypeScript
30 lines
739 B
TypeScript
export interface DecodedUWPField {
|
|
code: string;
|
|
value: number;
|
|
description: string;
|
|
}
|
|
export interface DecodedUWP {
|
|
raw: string;
|
|
starport: {
|
|
code: string;
|
|
description: string;
|
|
};
|
|
size: DecodedUWPField & {
|
|
diameter_km: string;
|
|
};
|
|
atmosphere: DecodedUWPField;
|
|
hydrographics: DecodedUWPField & {
|
|
percent: string;
|
|
};
|
|
population: DecodedUWPField & {
|
|
estimate: string;
|
|
};
|
|
government: DecodedUWPField;
|
|
law_level: DecodedUWPField;
|
|
tech_level: DecodedUWPField & {
|
|
era: string;
|
|
};
|
|
}
|
|
export declare function eHexValue(char: string): number;
|
|
export declare function parseUWP(uwp: string): DecodedUWP;
|
|
//# sourceMappingURL=uwp.d.ts.map
|