Something went wrong. Try again.
A local-first note taking app
Something went wrong. Try again.
123456789101112/** * The React Query key for one note's headings. * * Shared for the same reason as `treeQuery.ts`: every observer must hit one * cache entry, so repeatedly typing `#` against the same note reads the cache * instead of the disk. The *parsed* headings are cached rather than the file * body, so nothing re-parses and whole files are not held in memory. */export function headingsQueryKey(providerId: string, entryId: string) { return ['headings', providerId, entryId] as const;}