1
0
mirror of https://github.com/moparisthebest/mail synced 2024-11-15 05:35:05 -05:00
mail/src/js/model/secretkey-model.js

25 lines
339 B
JavaScript
Raw Normal View History

(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) {}
});
}());