blob: b90560fa2fa90ac87fa148eacbc1c1d19b09c7b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
import { CommonThing } from 'common.ts';
export type Chart = {
waypointSymbol: string;
submittedBy: string;
submittedOn: Date;
};
export type System = {
symbol: string;
sectorSymbol: string;
type: string;
x: number;
y: number;
waypoints: Array<Waypoint>;
};
export type Waypoint = {
chart: Chart;
factions: Array<{symbol: string;}>;
isUnderConstruction: boolean;
modifiers: Array<CommonThing>;
orbitals: Array<{symbol: string;}>;
orbits: string;
symbol: string;
traits: Array<CommonThing>;
type: string;
x: number;
y: number;
};
|