Interface
The Version object.
Subclasses: WidgetVersion
Properties
Property | Type | Notes |
---|---|---|
string | The description of the version. | |
(oldConfig: T, id: string) => T | Promise<T> | The upgrader function for this version. | |
string | The version number, which follows the semver version format. |
upgrader
Interface Propertyupgrader: (oldConfig: T, id: string) => T | Promise<T>
The upgrader function for this version.
Type declaration
function(oldConfig: T, id: string): T | Promise<T>
Parameters
Parameter | Type | Notes |
---|---|---|
old | 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 Propertyversion: string
The version number, which follows the semver version format.