Version

Interface

The Version object.

Subclasses: WidgetVersion

Properties

PropertyTypeNotes
string

The description of the version.

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

The upgrader function for this version.

string

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
    oldConfig
    T

    The config of the old version.

    id
    string

    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.