25 lines
450 B
JavaScript
25 lines
450 B
JavaScript
module.exports.crudModel = {
|
|
data: [],
|
|
filter: {},
|
|
order: {},
|
|
|
|
insert: () => {
|
|
return new Promise(accept => {
|
|
accept();
|
|
});
|
|
},
|
|
remove: () => {
|
|
return new Promise(accept => {
|
|
accept();
|
|
});
|
|
},
|
|
save: () => {
|
|
return new Promise(accept => {
|
|
accept();
|
|
});
|
|
},
|
|
refresh: () => {},
|
|
addFilter: () => {},
|
|
applyFilter: () => {}
|
|
};
|