Skip to content

Version

Interface

The Version object.

Subclasses: WidgetVersion

Properties

PropertyTypeNotes
descriptionstring

The description of the version.

upgrader(oldConfigT, idstring) => T | Promise<T>

The upgrader function for this version.

versionstring

The version number, which follows the semver version format.

description

Interface Property
description: string

The description of the version.

upgrader

Interface Property
upgrader: (oldConfigT, idstring) => T | Promise<T>

The upgrader function for this version.

Type declaration
    function(oldConfigT, idstring): T | Promise<T>
    Parameters
    ParameterTypeNotes
    oldConfigT

    The config of the old version.

    idstring

    This ID can be a widgetId, an actionConfig ID, or the "app", depending on where the config is from.

    Returns 
    T | Promise<T>

version

Interface Property
version: string

The version number, which follows the semver version format.

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