WidgetVersion

Interface

The version of a widget.

Inheritance: WidgetVersionVersion<WidgetUpgradeInfo>

Properties

Hide inherited properties
PropertyTypeNotes
description
inherited
string

The description of the version.

boolean

If a version needs to upgrade full info (widgetJson and outputDataSourceJsons), it should set "upgradeFullInfo" to true.

upgrader
inherited
(oldConfigWidgetUpgradeInfo, idstring) => WidgetUpgradeInfo | Promise<WidgetUpgradeInfo>

The upgrader function for this version.

version
inherited
string

The version number, which follows the semver version format.

description

inheritedinherited
Interface Property
description: string

The description of the version.

Inherited from Version.description

upgradeFullInfo

optional
Interface Property
upgradeFullInfo: boolean

If a version needs to upgrade full info (widgetJson and outputDataSourceJsons), it should set "upgradeFullInfo" to true.

upgrader

inheritedinherited
Interface Property
upgrader: (oldConfigWidgetUpgradeInfo, idstring) => WidgetUpgradeInfo | Promise<WidgetUpgradeInfo>

The upgrader function for this version.

Type declaration
Inherited from Version.upgrader

version

inheritedinherited
Interface Property
version: string

The version number, which follows the semver version format.

Inherited from Version.version

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.