mirror of
https://github.com/moparisthebest/mail
synced 2024-11-15 05:35:05 -05:00
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) {}
|
||
|
|
||
|
});
|
||
|
|
||
|
}());
|