mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-27 19:19:21 +03:00
parent
5a5c6af2c6
commit
5ece4cc0ec
47 changed files with 1333 additions and 539 deletions
26
dev/Models/OpenPgpKeyModel.js
Normal file
26
dev/Models/OpenPgpKeyModel.js
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
/* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */
|
||||
|
||||
/**
|
||||
* @param {string} iIndex
|
||||
* @param {string} sID
|
||||
* @param {string} sUserID
|
||||
* @param {boolean} bIsPrivate
|
||||
* @param {string} sArmor
|
||||
* @constructor
|
||||
*/
|
||||
function OpenPgpKeyModel(iIndex, sID, sUserID, bIsPrivate, sArmor)
|
||||
{
|
||||
this.index = iIndex;
|
||||
this.id = sID;
|
||||
this.user = sUserID;
|
||||
this.armor = sArmor;
|
||||
this.isPrivate = !!bIsPrivate;
|
||||
|
||||
this.deleteAccess = ko.observable(false);
|
||||
}
|
||||
|
||||
OpenPgpKeyModel.prototype.index = 0;
|
||||
OpenPgpKeyModel.prototype.id = '';
|
||||
OpenPgpKeyModel.prototype.user = '';
|
||||
OpenPgpKeyModel.prototype.armor = '';
|
||||
OpenPgpKeyModel.prototype.isPrivate = false;
|
||||
Loading…
Add table
Add a link
Reference in a new issue