TypeScript client for accessing TLE Community.

Type a sat empire's bodies as `planets` in the status block master

Empire::get_status (lib/Lacuna/DB/Result/Empire.pm in the server) builds each entry of `empire.bodies.babies` as { id, sitter_expiry, alliance_id? } and pushes the empire's bodies onto `planets`. There is no `bodies` key on a baby, and `has_new_messages` is commented out there, so it is never sent. A live status block for a sat empire confirms the shape: "babies": { "<name>": { "sitter_expiry": "24 11 2026 06:56:10 +0000", "alliance_id": 1, "planets": [ { ... } ] } } The app follows this type, so it reads `baby.bodies`, gets undefined and renders every sat empire's section in the planet list with no planets.


+2 -2
1 changed file