feat(import/zip): backward compatibility

This commit is contained in:
Elian Doran 2025-07-06 22:33:19 +03:00
parent 68e258f23b
commit a58e5789bc
No known key found for this signature in database

View File

@ -663,6 +663,8 @@ function resolveNoteType(type: string | undefined): NoteType {
return "noteMap"; return "noteMap";
case "web-view": case "web-view":
return "webView"; return "webView";
case "geoMap":
return "book";
} }
if (type && (ALLOWED_NOTE_TYPES as readonly string[]).includes(type)) { if (type && (ALLOWED_NOTE_TYPES as readonly string[]).includes(type)) {