mirror of
https://github.com/andy-stack/vaultkeeper-ai.git
synced 2026-07-22 06:42:03 +00:00
refactor: rename type interfaces to use I prefix convention Standardize naming by adding I prefix to all interface types across the codebase (StreamChunk → IStreamChunk, SearchMatch → ISearchMatch, etc.). Also rename conversationStore.ts to ConversationStore.ts for consistency.
18 lines
349 B
TypeScript
18 lines
349 B
TypeScript
import { TFile } from "obsidian";
|
|
|
|
/**
|
|
* Represents a single snippet of matched content from a file
|
|
*/
|
|
export interface ISearchSnippet {
|
|
text: string;
|
|
matchIndex: number;
|
|
matchLength: number;
|
|
}
|
|
|
|
/**
|
|
* Represents all matches found in a single file
|
|
*/
|
|
export interface ISearchMatch {
|
|
file: TFile;
|
|
snippets: ISearchSnippet[];
|
|
}
|