fix: stop seeding title during property init

This commit is contained in:
lucaronin
2026-04-19 18:18:35 +02:00
parent 098dc421cb
commit b98d41212e
3 changed files with 34 additions and 3 deletions

View File

@@ -0,0 +1,13 @@
export type UpdateFrontmatter = (
path: string,
key: string,
value: string,
options?: { silent?: boolean },
) => Promise<void>
export async function initializeNoteProperties(
updateFrontmatter: UpdateFrontmatter,
path: string,
): Promise<void> {
await updateFrontmatter(path, 'type', 'Note', { silent: true })
}