aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/lib/attachments.tsx
diff options
context:
space:
mode:
authorMohamed Bassem <me@mbassem.com>2025-07-06 21:50:23 +0000
committerMohamed Bassem <me@mbassem.com>2025-07-06 22:04:56 +0000
commitdee3a4d44ddb1999e7dec383889246e87f202d92 (patch)
tree1984234f17eed886bc834543e1505ddbfb43228f /apps/web/lib/attachments.tsx
parent362be3008aa8b036c4c448a86e459044af8784c2 (diff)
downloadkarakeep-dee3a4d44ddb1999e7dec383889246e87f202d92.tar.zst
feat: Store large html content in the asset db
Diffstat (limited to 'apps/web/lib/attachments.tsx')
-rw-r--r--apps/web/lib/attachments.tsx10
1 files changed, 9 insertions, 1 deletions
diff --git a/apps/web/lib/attachments.tsx b/apps/web/lib/attachments.tsx
index 62848d33..ce34b295 100644
--- a/apps/web/lib/attachments.tsx
+++ b/apps/web/lib/attachments.tsx
@@ -1,4 +1,11 @@
-import { Archive, Camera, Image, Paperclip, Video } from "lucide-react";
+import {
+ Archive,
+ Camera,
+ FileCode,
+ Image,
+ Paperclip,
+ Video,
+} from "lucide-react";
import { ZAssetType } from "@karakeep/shared/types/bookmarks";
@@ -10,5 +17,6 @@ export const ASSET_TYPE_TO_ICON: Record<ZAssetType, React.ReactNode> = {
bannerImage: <Image className="size-4" />,
video: <Video className="size-4" />,
bookmarkAsset: <Paperclip className="size-4" />,
+ linkHtmlContent: <FileCode className="size-4" />,
unknown: <Paperclip className="size-4" />,
};