import { toJson } from "dxUtils/normalizers"; import { api, LightningElement } from "lwc"; export interface AgendaItem { body?: string; isInitiallyOpen?: boolean; leftDetail?: string; rightDetail?: string; title: string; } export default class Agenda extends LightningElement { @api header: string = "Agenda"; @api flourish?: string; @api flourishAlt?: string; @api get items() { return this._items; } set items(value: any) { this._items = toJson(value); } private _items: AgendaItem[] = []; }