ohif-viewer/Packages/ohif-hanging-protocols/both/collections.js
Evren Ozkan 77182d1916 Make the persistence method of hanging protocols configurable
- Implement ProtocolStore interface to allow persisting hanging protocols using different strategies
- Implement and set default strategy to persist hanging protocols in the MongoDB collection “HangingProtocols” in the application server
2017-01-04 17:49:31 -05:00

15 lines
300 B
JavaScript

HangingProtocols = new Meteor.Collection('hangingprotocols');
HangingProtocols._debugName = 'HangingProtocols';
HangingProtocols.allow({
insert: function() {
return true;
},
update: function() {
return true;
},
remove: function() {
return true;
}
});