mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-09 08:17:53 +08:00
30 lines
663 B
JavaScript
30 lines
663 B
JavaScript
|
|
||
|
(function () {
|
||
|
|
||
|
'use strict';
|
||
|
|
||
|
var
|
||
|
ko = require('ko')
|
||
|
;
|
||
|
|
||
|
/**
|
||
|
* @constructor
|
||
|
*/
|
||
|
function CoreAdminStore()
|
||
|
{
|
||
|
this.coreReal = ko.observable(true);
|
||
|
this.coreChannel = ko.observable('stable');
|
||
|
this.coreType = ko.observable('stable');
|
||
|
this.coreUpdatable = ko.observable(true);
|
||
|
this.coreAccess = ko.observable(true);
|
||
|
this.coreChecking = ko.observable(false).extend({'throttle': 100});
|
||
|
this.coreUpdating = ko.observable(false).extend({'throttle': 100});
|
||
|
this.coreRemoteVersion = ko.observable('');
|
||
|
this.coreRemoteRelease = ko.observable('');
|
||
|
this.coreVersionCompare = ko.observable(-2);
|
||
|
}
|
||
|
|
||
|
module.exports = new CoreAdminStore();
|
||
|
|
||
|
}());
|