2018-08-30 06:50:03 +00:00
|
|
|
module.exports.watcher = {
|
2018-09-24 12:51:27 +00:00
|
|
|
submit: () => {
|
2018-10-08 11:09:30 +00:00
|
|
|
return {
|
|
|
|
then: callback => {
|
|
|
|
callback({data: {id: 1234}});
|
|
|
|
}
|
|
|
|
};
|
2018-09-24 12:51:27 +00:00
|
|
|
},
|
2018-08-30 06:50:03 +00:00
|
|
|
realSubmit: () => {
|
2018-10-08 11:09:30 +00:00
|
|
|
return {
|
|
|
|
then: callback => {
|
|
|
|
callback({data: {id: 1234}});
|
|
|
|
}
|
|
|
|
};
|
2018-08-30 06:50:03 +00:00
|
|
|
},
|
|
|
|
check: () => {},
|
|
|
|
notifySaved: () => {},
|
|
|
|
setDirty: () => {},
|
2018-09-19 13:05:07 +00:00
|
|
|
setPristine: () => {},
|
|
|
|
updateOriginalData: () => {}
|
2018-08-30 06:50:03 +00:00
|
|
|
};
|