feat(react/ribbon): port similar notes

This commit is contained in:
Elian Doran
2025-08-22 19:27:58 +03:00
parent c5bb310613
commit cc05572a35
8 changed files with 85 additions and 131 deletions

View File

@@ -185,3 +185,11 @@ export interface SubtreeSizeResponse {
subTreeNoteCount: number;
subTreeSize: number;
}
export interface SimilarNote {
score: number;
notePath: string[];
noteId: string;
}
export type SimilarNoteResponse = (SimilarNote[] | undefined);