Skip to content

LibraryPanelBuilder🔗

Constructor🔗

new LibraryPanelBuilder()

Methods🔗

build🔗

Builds the object.

build()

description🔗

Panel description

description(description: string)

folderUid🔗

Folder UID

folderUid(folderUid: string)

meta🔗

Object storage metadata

meta(meta: cog.Builder<librarypanel.LibraryElementDTOMeta>)

model🔗

TODO: should be the same panel schema defined in dashboard

Typescript: Omit;

model(model: cog.Builder<librarypanel.PanelModel>)

name🔗

Panel name (also saved in the model)

name(name: string)

schemaVersion🔗

Dashboard version when this was saved (zero if unknown)

schemaVersion(schemaVersion: number)

type🔗

The panel type (from inside the model)

type(type: string)

uid🔗

Library element UID

uid(uid: string)

version🔗

panel version, incremented each time the dashboard is updated.

version(version: number)

See also🔗