TeaWeb/shared/js/update/Updater.ts

15 lines
421 B
TypeScript
Raw Normal View History

import {ChangeLog} from "../update/ChangeLog";
export interface Updater {
getChangeLog() : ChangeLog;
2020-08-23 09:16:13 +00:00
getChangeList(oldVersion: string) : ChangeLog;
/**
* @returns `undefined` if `updateUsedVersion()` never has been called.
*/
getLastUsedVersion() : string | undefined;
getCurrentVersion() : string;
/* update the last used version to the current version */
updateUsedVersion();
}