From c6d21afa17775270bb8e65dd1b6df09023147f01 Mon Sep 17 00:00:00 2001 From: MohamedBassem Date: Sat, 24 May 2025 10:31:53 +0100 Subject: feat: Read the archive status from omnivore and pocket. Fixes #703 --- apps/web/lib/exportBookmarks.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/web/lib/exportBookmarks.ts') diff --git a/apps/web/lib/exportBookmarks.ts b/apps/web/lib/exportBookmarks.ts index 67b0b5da..5dc26e78 100644 --- a/apps/web/lib/exportBookmarks.ts +++ b/apps/web/lib/exportBookmarks.ts @@ -19,6 +19,7 @@ export const zExportBookmarkSchema = z.object({ ]) .nullable(), note: z.string().nullable(), + archived: z.boolean().optional().default(false), }); export const zExportSchema = z.object({ @@ -56,6 +57,7 @@ export function toExportFormat( tags: bookmark.tags.map((t) => t.name), content, note: bookmark.note ?? null, + archived: bookmark.archived, }; } -- cgit v1.2.3-70-g09d2