Skip to content

Interface

The Version object.

Subclasses: WidgetVersion

Properties

PropertyTypeNotes
descriptionstring

The description of the version.

versionstring

The version number, which follows the semver version format.

description

Interface Property
description: string

The description of the version.

version

Interface Property
version: string

The version number, which follows the semver version format.

Methods

MethodReturnsNotes
upgrader(oldConfig, id)T | Promise<T>

The upgrader function for this version.

upgrader

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

The upgrader function for this version.

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>

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