snappymail/dev/Model/Account.js
the-djmaze 0da681f074 OpenPGP.js now stores keys in localStorage
Renamed all deleteAccess to askDelete
2022-01-27 23:07:34 +01:00

21 lines
416 B
JavaScript

import { AbstractModel } from 'Knoin/AbstractModel';
export class AccountModel extends AbstractModel {
/**
* @param {string} email
* @param {boolean=} canBeDelete = true
* @param {number=} count = 0
*/
constructor(email/*, count = 0*/, isAdditional = true) {
super();
this.email = email;
this.addObservables({
// count: count || 0,
askDelete: false,
isAdditional: isAdditional
});
}
}