feat: rework modules, items and fuel
This commit is contained in:
@@ -6,6 +6,12 @@ export interface StationActionProgressSnapshot {
|
||||
progress: number;
|
||||
}
|
||||
|
||||
export interface StationStorageUsageSnapshot {
|
||||
storageClass: string;
|
||||
used: number;
|
||||
capacity: number;
|
||||
}
|
||||
|
||||
export interface StationSnapshot {
|
||||
id: string;
|
||||
label: string;
|
||||
@@ -19,10 +25,6 @@ export interface StationSnapshot {
|
||||
dockedShips: number;
|
||||
dockedShipIds: string[];
|
||||
dockingPads: number;
|
||||
fuelStored: number;
|
||||
fuelCapacity: number;
|
||||
energyStored: number;
|
||||
energyCapacity: number;
|
||||
currentProcesses: StationActionProgressSnapshot[];
|
||||
inventory: InventoryEntry[];
|
||||
factionId: string;
|
||||
@@ -32,11 +34,12 @@ export interface StationSnapshot {
|
||||
populationCapacity: number;
|
||||
workforceRequired: number;
|
||||
workforceEffectiveRatio: number;
|
||||
storageUsage: StationStorageUsageSnapshot[];
|
||||
installedModules: string[];
|
||||
marketOrderIds: string[];
|
||||
}
|
||||
|
||||
export interface StationDelta extends StationSnapshot {}
|
||||
export interface StationDelta extends StationSnapshot { }
|
||||
|
||||
export interface ClaimSnapshot {
|
||||
id: string;
|
||||
@@ -50,7 +53,7 @@ export interface ClaimSnapshot {
|
||||
activatesAtUtc: string;
|
||||
}
|
||||
|
||||
export interface ClaimDelta extends ClaimSnapshot {}
|
||||
export interface ClaimDelta extends ClaimSnapshot { }
|
||||
|
||||
export interface ConstructionSiteSnapshot {
|
||||
id: string;
|
||||
@@ -72,4 +75,4 @@ export interface ConstructionSiteSnapshot {
|
||||
marketOrderIds: string[];
|
||||
}
|
||||
|
||||
export interface ConstructionSiteDelta extends ConstructionSiteSnapshot {}
|
||||
export interface ConstructionSiteDelta extends ConstructionSiteSnapshot { }
|
||||
|
||||
Reference in New Issue
Block a user