mirror of https://github.com/moparisthebest/mail
25 lines
339 B
JavaScript
25 lines
339 B
JavaScript
|
(function() {
|
||
|
'use strict';
|
||
|
|
||
|
app.model.SecretKey = Backbone.Model.extend({
|
||
|
|
||
|
defaults: {
|
||
|
_id: null,
|
||
|
userId: null,
|
||
|
encryptedKey: null,
|
||
|
keyIV: null
|
||
|
},
|
||
|
|
||
|
initialize: function() {}
|
||
|
|
||
|
});
|
||
|
|
||
|
app.model.SecretKeyCollection = Backbone.Collection.extend({
|
||
|
|
||
|
model: app.model.SecretKey,
|
||
|
|
||
|
findByName: function(key) {}
|
||
|
|
||
|
});
|
||
|
|
||
|
}());
|