pub fn encode_installed_entry(entry: &InstalledPath) -> StringExpand description
What: One created entry as its JSON object, with the incumbent’s key order. Why: The install log and the journal share this spelling, so both wrappers read either.
In TS you’d write (pseudocode):
JSON.stringify({ device, inode, relativePath, selected })