server-ts: Fix build errors

This commit is contained in:
Elian Doran 2024-02-16 21:22:13 +02:00
parent ff2e05fe83
commit 28735fa16a
No known key found for this signature in database
3 changed files with 3 additions and 3 deletions

View File

@ -96,7 +96,7 @@ function ignoreEntityChangeIds() {
namespace.set('ignoreEntityChangeIds', true);
}
module.exports = {
export = {
init,
wrap,
get,

View File

@ -68,7 +68,7 @@ const LOG_DIR = process.env.TRILIUM_LOG_DIR || `${DIR_SEP}log`;
const ANONYMIZED_DB_DIR = process.env.TRILIUM_ANONYMIZED_DB_DIR || `${DIR_SEP}anonymized-db`;
const CONFIG_INI_PATH = process.env.TRILIUM_CONFIG_INI_PATH || `${DIR_SEP}config.ini`;
module.exports = {
export = {
TRILIUM_DATA_DIR,
DOCUMENT_PATH,
BACKUP_DIR,

View File

@ -117,7 +117,7 @@ function formatDate() {
return `${pad(todaysMidnight.getFullYear())}-${pad(todaysMidnight.getMonth() + 1)}-${pad(todaysMidnight.getDate())}`;
}
module.exports = {
export = {
info,
error,
request