moderator-toolbox-nxg-for-reddit / util/infra/version
util/infra/version¶
Functions¶
getLastVersion()¶
getLastVersion():
Promise<number>
Defined in: extension/data/util/infra/version.ts:54
Returns a promise for the lastVersion setting value (the version number the user last ran).
The result is cached after the first call.
Returns¶
Promise<number>
Variables¶
toolboxVersion¶
consttoolboxVersion:string
Defined in: extension/data/util/infra/version.ts:25
Compact version string carrying every potentially useful build detail.
Examples¶
'7.4.2.0 stable a1b2c3d'
'7.5.0.2 beta e4f5a6b'
'0.0.0.0 dev local'
toolboxVersionName¶
consttoolboxVersionName:string
Defined in: extension/data/util/infra/version.ts:34
versionNumber¶
constversionNumber:number
Defined in: extension/data/util/infra/version.ts:45
Numeric representation of major/minor/patch as a single integer for version comparison against stored lastVersion values.
Example¶
60113