feat: add listed field to note for public listing visibility

Notes with listed=false are filtered out from all GET /notes queries.
The field defaults to true so existing and new notes without it remain visible.
Migration handles existing databases with ALTER TABLE ADD COLUMN.
This commit is contained in:
Julien Calixte
2026-02-25 23:03:00 +01:00
parent 62f981dd93
commit f39f62f1c7
4 changed files with 24 additions and 7 deletions

View File

@@ -46,6 +46,10 @@
"type": "string",
"description": "Display theme for the note.",
"knownValues": ["light", "dark"]
},
"listed": {
"type": "boolean",
"description": "Whether the note appears in public listings. Defaults to true."
}
}
}