mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 18:36:30 +01:00 
			
		
		
		
	refactor(server): more unaccessible types
This commit is contained in:
		| @@ -36,7 +36,7 @@ interface DateLimits { | ||||
|     maxDate: string; | ||||
| } | ||||
|  | ||||
| interface SimilarNote { | ||||
| export interface SimilarNote { | ||||
|     score: number; | ||||
|     notePath: string[]; | ||||
|     noteId: string; | ||||
|   | ||||
| @@ -26,7 +26,7 @@ import type { | ||||
|  * | ||||
|  * Manages and provides access to all available agent tools. | ||||
|  */ | ||||
| class AgentToolsManager { | ||||
| export class AgentToolsManager { | ||||
|   private vectorSearchTool: VectorSearchTool | null = null; | ||||
|   private noteNavigatorTool: NoteNavigatorTool | null = null; | ||||
|   private queryDecompositionTool: QueryDecompositionTool | null = null; | ||||
|   | ||||
| @@ -16,14 +16,12 @@ import vectorStore from "./embeddings/index.js"; | ||||
| import providerManager from "./providers/providers.js"; | ||||
| import { ContextExtractor } from "./context/index.js"; | ||||
| import eventService from "../events.js"; | ||||
| import type { NoteEmbeddingContext } from "./embeddings/embeddings_interface.js"; | ||||
| import type { OptionDefinitions } from "@triliumnext/commons"; | ||||
| import sql from "../sql.js"; | ||||
| import sqlInit from "../sql_init.js"; | ||||
| import { CONTEXT_PROMPTS } from './constants/llm_prompt_constants.js'; | ||||
| import { SEARCH_CONSTANTS } from './constants/search_constants.js'; | ||||
|  | ||||
| class IndexService { | ||||
| export class IndexService { | ||||
|     private initialized = false; | ||||
|     private indexingInProgress = false; | ||||
|     private contextExtractor = new ContextExtractor(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user