salix/client/helpers/crudModelHelper.js

20 lines
366 B
JavaScript

module.exports.crudModel = {
data: [],
insert: () => {
return new Promise(accept => {
accept();
});
},
remove: () => {
return new Promise(accept => {
accept();
});
},
save: () => {
return new Promise(accept => {
accept();
});
},
refresh: () => {}
};