8 lines
385 B
TypeScript
8 lines
385 B
TypeScript
// ISS-002 — what a side-panel hover highlights on the map (v0.15.0): a plane marker
|
|
// (+ its route leg if flying) or both endpoint airports of an open package. The shell
|
|
// owns this state and passes it to <Map>; panes report it via their onHover callback.
|
|
|
|
export type HoverTarget =
|
|
| { kind: 'plane'; id: string }
|
|
| { kind: 'package'; originIcao: string; destIcao: string };
|