A property value for a chat's message list, typed so that TypeScript
accepts a Markdown document inside each row. PropData is the JSON a
property takes plus documents and images at any depth; the player turns
each object into a Slint struct by its field names.
const messages: PropData = [
{ id: "m1", role: "user", body: await plugin.ui.markdown("Hi") },
];
JSON whose values may also be Markdown documents and images, at any depth: the part of PropValue that nests.