mirror of https://github.com/moparisthebest/mail
23 lines
354 B
JavaScript
23 lines
354 B
JavaScript
define(['backbone', 'js/app-config'], function(Backbone, app) {
|
|
'use strict';
|
|
|
|
app.model.PrivateKey = Backbone.Model.extend({
|
|
|
|
defaults: {
|
|
_id: null,
|
|
userId: null,
|
|
encryptedKey: null,
|
|
iv: null
|
|
},
|
|
|
|
initialize: function() {}
|
|
|
|
});
|
|
|
|
app.model.PrivateKeyCollection = Backbone.Collection.extend({
|
|
|
|
model: app.model.PrivateKey
|
|
|
|
});
|
|
|
|
}); |