22 lines
460 B
JavaScript
22 lines
460 B
JavaScript
module.exports.watcher = {
|
|
submit: () => {
|
|
return {
|
|
then: callback => {
|
|
callback({data: {id: 1234}});
|
|
}
|
|
};
|
|
},
|
|
realSubmit: () => {
|
|
return {
|
|
then: callback => {
|
|
callback({data: {id: 1234}});
|
|
}
|
|
};
|
|
},
|
|
check: () => {},
|
|
notifySaved: () => {},
|
|
setDirty: () => {},
|
|
setPristine: () => {},
|
|
updateOriginalData: () => {}
|
|
};
|