Skip to content

Build your personal knowledge base with Trilium Notes

chore(server/utils): sort exports alphabetically

Panagiotis Papadopoulosdf1d47972023
diff --git a/src/services/utils.ts b/src/services/utils.ts
index aec55305d5..d7eef0fca6 100644
--- a/src/services/utils.ts
+++ b/src/services/utils.ts
@@ -302,39 +302,39 @@ export function getResourceDir() {
}
export default {
- randomSecureToken,
- randomString,
- md5,
- newEntityId,
- toBase64,
+ crash,
+ deferred,
+ envToBoolean,
+ escapeHtml,
+ escapeRegExp,
+ formatDownloadTitle,
fromBase64,
+ getContentDisposition,
+ getNoteTitle,
+ getResourceDir,
+ hash,
+ hashedBlobId,
hmac,
+ isDev,
isElectron,
- hash,
isEmptyOrWhitespace,
- sanitizeSqlIdentifier,
- escapeHtml,
- unescapeHtml,
- toObject,
- stripTags,
- escapeRegExp,
- crash,
- getContentDisposition,
+ isMac,
isStringNote,
+ isWindows,
+ md5,
+ newEntityId,
+ normalize,
quoteRegex,
- replaceAll,
- getNoteTitle,
+ randomSecureToken,
+ randomString,
+ removeDiacritic,
removeTextFileExtension,
- formatDownloadTitle,
+ replaceAll,
+ sanitizeSqlIdentifier,
+ stripTags,
timeLimit,
- deferred,
- removeDiacritic,
- normalize,
- hashedBlobId,
+ toBase64,
toMap,
- getResourceDir,
- isMac,
- isWindows,
- isDev,
- envToBoolean
+ toObject,
+ unescapeHtml
};