@kayahr/ed-journal
Version:
Typescript library to read/watch the player journal of Frontier's game Elite Dangerous
24 lines (23 loc) • 697 B
TypeScript
import type { JournalEvent } from "../../JournalEvent.ts";
import type { ID } from "../types/ID.ts";
/** TODO Revalidate? Some mismatches between Log and API doc */
export interface StoredModules extends JournalEvent<"StoredModules"> {
Items: Array<{
BuyPrice: number;
EngineerModifications?: string;
Hot: boolean;
InTransit?: boolean;
Level?: number;
MarketID?: ID;
Name: string;
Name_Localised?: string;
Quality?: number;
StarSystem?: string;
StorageSlot: number;
TransferCost?: number;
TransferTime?: number;
}>;
MarketID: ID;
StarSystem: string;
StationName: string;
}