Skip to content

VaultMD / NoteHit

Type Alias: NoteHit

NoteHit = object

Defined in: src/query/models/note-hit.ts:2

A single note returned by QueryApi.queryNotes.

Properties

frontmatter

frontmatter: Record<string, unknown>

Defined in: src/query/models/note-hit.ts:8

Full parsed frontmatter key-value map.


mtime_ms

mtime_ms: number

Defined in: src/query/models/note-hit.ts:15

Last-modified time in milliseconds since the epoch, as recorded in the index — the same value QueryOrder sorts by with field: 'mtime_ms'.


path

path: string

Defined in: src/query/models/note-hit.ts:4

Vault-relative path of the note.


size

size: number

Defined in: src/query/models/note-hit.ts:17

File size in bytes, as recorded in the index.


tags

tags: string[]

Defined in: src/query/models/note-hit.ts:10

Normalised tag tokens from frontmatter.


title

title: string

Defined in: src/query/models/note-hit.ts:6

Title derived from the title frontmatter field, or the filename stem.