@vestra-player/sdk - v1.11.3
    Preparing search index...

    Type Alias PropData

    PropData:
        | null
        | boolean
        | number
        | string
        | MarkdownRef
        | ImageRef
        | Text
        | TextList
        | PropData[]
        | { [key: string]: PropData }

    JSON whose values may also be Markdown documents and images, at any depth: the part of PropValue that nests.

    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") },
    ];

    1.5.4