Skip to content

librarypanel

grafonnet.librarypanel

Index

Fields

fn withDescription

withDescription(value)

PARAMETERS:

  • value (string)

Panel description

fn withFolderUid

withFolderUid(value)

PARAMETERS:

  • value (string)

Folder UID

fn withMeta

withMeta(value)

PARAMETERS:

  • value (object)

fn withMetaMixin

withMetaMixin(value)

PARAMETERS:

  • value (object)

fn withModel

withModel(value)

PARAMETERS:

  • value (object)

TODO: should be the same panel schema defined in dashboard Typescript: Omit;

fn withModelMixin

withModelMixin(value)

PARAMETERS:

  • value (object)

TODO: should be the same panel schema defined in dashboard Typescript: Omit;

fn withName

withName(value)

PARAMETERS:

  • value (string)

Panel name (also saved in the model)

fn withSchemaVersion

withSchemaVersion(value)

PARAMETERS:

  • value (integer)

Dashboard version when this was saved (zero if unknown)

fn withType

withType(value)

PARAMETERS:

  • value (string)

The panel type (from inside the model)

fn withUid

withUid(value)

PARAMETERS:

  • value (string)

Library element UID

fn withVersion

withVersion(value)

PARAMETERS:

  • value (integer)

panel version, incremented each time the dashboard is updated.

obj meta

fn meta.withConnectedDashboards

meta.withConnectedDashboards(value)

PARAMETERS:

  • value (integer)

fn meta.withCreated

meta.withCreated(value)

PARAMETERS:

  • value (string)

fn meta.withCreatedBy

meta.withCreatedBy(value)

PARAMETERS:

  • value (object)

fn meta.withCreatedByMixin

meta.withCreatedByMixin(value)

PARAMETERS:

  • value (object)

fn meta.withFolderName

meta.withFolderName(value)

PARAMETERS:

  • value (string)

fn meta.withFolderUid

meta.withFolderUid(value)

PARAMETERS:

  • value (string)

fn meta.withUpdated

meta.withUpdated(value)

PARAMETERS:

  • value (string)

fn meta.withUpdatedBy

meta.withUpdatedBy(value)

PARAMETERS:

  • value (object)

fn meta.withUpdatedByMixin

meta.withUpdatedByMixin(value)

PARAMETERS:

  • value (object)

obj meta.createdBy

fn meta.createdBy.withAvatarUrl
meta.createdBy.withAvatarUrl(value)

PARAMETERS:

  • value (string)
fn meta.createdBy.withId
meta.createdBy.withId(value)

PARAMETERS:

  • value (integer)
fn meta.createdBy.withName
meta.createdBy.withName(value)

PARAMETERS:

  • value (string)

obj meta.updatedBy

fn meta.updatedBy.withAvatarUrl
meta.updatedBy.withAvatarUrl(value)

PARAMETERS:

  • value (string)
fn meta.updatedBy.withId
meta.updatedBy.withId(value)

PARAMETERS:

  • value (integer)
fn meta.updatedBy.withName
meta.updatedBy.withName(value)

PARAMETERS:

  • value (string)