feat: add language support for better filtering

This commit is contained in:
Julien Calixte
2026-03-01 17:37:59 +01:00
parent 29e8a63cb3
commit 2b54c8dd00

View File

@@ -19,6 +19,63 @@
"description": "Markdown content. Local image paths are replaced with blob CIDs at publish time.", "description": "Markdown content. Local image paths are replaced with blob CIDs at publish time.",
"maxLength": 10000 "maxLength": 10000
}, },
"language": {
"type": "string",
"description": "Most used language in the note",
"maxLength": 10,
"knownValues": [
"afr",
"ara",
"aze",
"bel",
"ben",
"bul",
"cat",
"ces",
"ckb",
"cmn",
"dan",
"deu",
"ell",
"eng",
"est",
"eus",
"fin",
"fra",
"hau",
"heb",
"hin",
"hrv",
"hun",
"hye",
"ind",
"isl",
"ita",
"jpn",
"kat",
"kaz",
"kor",
"lit",
"mar",
"mkd",
"nld",
"nob",
"pes",
"pol",
"por",
"ron",
"run",
"rus",
"slk",
"spa",
"srp",
"swe",
"tgl",
"tur",
"ukr",
"vie"
]
},
"images": { "images": {
"type": "array", "type": "array",
"description": "Blob references for images embedded in the markdown content.", "description": "Blob references for images embedded in the markdown content.",