HTTP Server

This commit is contained in:
Simon Cambier
2023-10-12 20:20:39 +02:00
parent e59f252cb4
commit 35d3eb04a9
4 changed files with 131 additions and 6 deletions

View File

@@ -6,6 +6,7 @@ import { refreshIndex } from '../notes-index'
type ResultNoteApi = {
score: number
vault: string
path: string
basename: string
foundWords: string[]
@@ -33,6 +34,7 @@ function mapResults(results: ResultNote[]): ResultNoteApi[] {
const res: ResultNoteApi = {
score,
vault: app.vault.getName(),
path,
basename,
foundWords,