feat: open graph embed image generation

This commit is contained in:
2026-03-26 17:13:42 -04:00
parent 6047d48da2
commit 9486840f05
10 changed files with 1618 additions and 19 deletions
@@ -0,0 +1,20 @@
export type PasteEmbedMetadataItem = {
icon:
| 'size'
| 'views'
| 'created'
| 'expires'
| 'syntax'
| 'visibility-0'
| 'visibility-1'
| 'visibility-2';
value: string;
};
export type PasteEmbedProps = {
title: string;
uploader: string;
metadata: PasteEmbedMetadataItem[];
previewLines: string[];
isEncrypted: boolean;
};