reimplementation of frontend's api.addButtonToToolbar() to smoothen the upgrade

This commit is contained in:
zadam
2022-12-17 21:46:51 +01:00
parent 967919b400
commit 5af506e268
14 changed files with 382 additions and 161 deletions

View File

@@ -74,6 +74,10 @@ function resetLauncher(req) {
return specialNotesService.resetLauncher(req.params.noteId);
}
function createOrUpdateScriptLauncherFromApi(req) {
return specialNotesService.createOrUpdateScriptLauncherFromApi(req.body);
}
module.exports = {
getInboxNote,
getDayNote,
@@ -86,5 +90,6 @@ module.exports = {
createSearchNote,
saveSearchNote,
createLauncher,
resetLauncher
resetLauncher,
createOrUpdateScriptLauncherFromApi
};