mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-03 20:06:08 +01:00 
			
		
		
		
	server-ts: Fix build errors
This commit is contained in:
		@@ -96,7 +96,7 @@ function ignoreEntityChangeIds() {
 | 
			
		||||
    namespace.set('ignoreEntityChangeIds', true);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
module.exports = {
 | 
			
		||||
export = {
 | 
			
		||||
    init,
 | 
			
		||||
    wrap,
 | 
			
		||||
    get,
 | 
			
		||||
 
 | 
			
		||||
@@ -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,
 | 
			
		||||
 
 | 
			
		||||
@@ -117,7 +117,7 @@ function formatDate() {
 | 
			
		||||
    return `${pad(todaysMidnight.getFullYear())}-${pad(todaysMidnight.getMonth() + 1)}-${pad(todaysMidnight.getDate())}`;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
module.exports = {
 | 
			
		||||
export = {
 | 
			
		||||
    info,
 | 
			
		||||
    error,
 | 
			
		||||
    request
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user