mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 13:39:01 +01:00 
			
		
		
		
	server-ts: Convert becca.js
This commit is contained in:
		
							parent
							
								
									3a7d0d1f13
								
							
						
					
					
						commit
						85af0a24ee
					
				@ -1,8 +1,6 @@
 | 
			
		||||
"use strict";
 | 
			
		||||
 | 
			
		||||
const sql = require('../services/sql');
 | 
			
		||||
const NoteSet = require('../services/search/note_set.js');
 | 
			
		||||
const NotFoundError = require('../errors/not_found_error.js');
 | 
			
		||||
import sql = require('../services/sql');
 | 
			
		||||
import NoteSet = require('../services/search/note_set');
 | 
			
		||||
import NotFoundError = require('../errors/not_found_error');
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Becca is a backend cache of all notes, branches, and attributes.
 | 
			
		||||
@ -277,6 +275,4 @@ class Becca {
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
const becca = new Becca();
 | 
			
		||||
 | 
			
		||||
module.exports = becca;
 | 
			
		||||
export = Becca;
 | 
			
		||||
							
								
								
									
										7
									
								
								src/becca/becca.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								src/becca/becca.ts
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,7 @@
 | 
			
		||||
"use strict";
 | 
			
		||||
 | 
			
		||||
import Becca = require("./becca-interface");
 | 
			
		||||
 | 
			
		||||
const becca = new Becca();
 | 
			
		||||
 | 
			
		||||
export = becca;
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user