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