Sonolus Wiki

ItemDetails

ItemDetails provides detailed information of an items, and is used by Sonolus app to populate item details view.

Syntax

type ItemDetails<T> = {
    item: T
    description: string
    sections: ItemSection<T>[]
}

Examples

{
    "item": {
        // ...
    },
    "description": "Description of the item",
    "sections": [
        // ...
    ]
}

Remarks

It is recommended to keep recommended short by showing only 5 entries.