mirror of
https://github.com/TriliumNext/Notes.git
synced 2026-04-28 16:29:11 -05:00
server-esm: Change some more export object to export default object
This commit is contained in:
@@ -146,7 +146,7 @@ function validateAndPatch(target: any, source: any, allowedProperties: Validator
|
||||
}
|
||||
}
|
||||
|
||||
export = {
|
||||
export default {
|
||||
EtapiError,
|
||||
sendError,
|
||||
route,
|
||||
|
||||
@@ -64,7 +64,7 @@ function mapAttachmentToPojo(attachment: BAttachment) {
|
||||
};
|
||||
}
|
||||
|
||||
export = {
|
||||
export default {
|
||||
mapNoteToPojo,
|
||||
mapBranchToPojo,
|
||||
mapAttributeToPojo,
|
||||
|
||||
@@ -107,7 +107,7 @@ function isValidEntityId(obj: unknown) {
|
||||
}
|
||||
}
|
||||
|
||||
export = {
|
||||
export default {
|
||||
mandatory,
|
||||
notNull,
|
||||
isString,
|
||||
|
||||
Reference in New Issue
Block a user