mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-12-29 11:01:34 +08:00
0da681f074
Renamed all deleteAccess to askDelete
21 lines
416 B
JavaScript
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
|
|
});
|
|
}
|
|
|
|
}
|