server-esm: Change export object to export default object

This commit is contained in:
Elian Doran
2024-07-18 21:42:44 +03:00
parent 2750df04a3
commit 55eecb0f61
48 changed files with 48 additions and 48 deletions

View File

@@ -6,6 +6,6 @@ function getAppInfo() {
return appInfo;
}
export = {
export default {
getAppInfo
};

View File

@@ -75,6 +75,6 @@ function getRecentNotes(activeNoteId: string) {
});
}
export = {
export default {
getAutocomplete
};

View File

@@ -17,6 +17,6 @@ function getBackendLog() {
}
}
export = {
export default {
getBackendLog
};

View File

@@ -55,6 +55,6 @@ function exportBranch(req: Request, res: Response) {
}
}
export = {
export default {
exportBranch
};

View File

@@ -35,6 +35,6 @@ function getFontCss(req: Request, res: Response) {
res.send(style);
}
export = {
export default {
getFontCss
};

View File

@@ -111,6 +111,6 @@ function getRecentChanges(req: Request) {
return recentChanges;
}
export = {
export default {
getRecentChanges
};

View File

@@ -19,6 +19,6 @@ function addRecentNote(req: Request) {
}
}
export = {
export default {
addRecentNote
};

View File

@@ -76,6 +76,6 @@ function getRelationMap(req: Request) {
return resp;
}
export = {
export default {
getRelationMap
};

View File

@@ -13,6 +13,6 @@ async function getSimilarNotes(req: Request) {
return await similarityService.findSimilarNotes(noteId);
}
export = {
export default {
getSimilarNotes
};