Skip to content

Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.

fix: missing type

Marc Seitzdb92dd11d5a3
diff --git a/components/view/document-view.tsx b/components/view/document-view.tsx
index 0ac2647f..eae2c057 100644
--- a/components/view/document-view.tsx
+++ b/components/view/document-view.tsx
@@ -30,7 +30,13 @@ export type DEFAULT_DOCUMENT_VIEW_TYPE = {
viewId?: string;
file?: string | null;
pages?:
- | { file: string; pageNumber: string; embeddedLinks: string[] }[]
+ | {
+ file: string;
+ pageNumber: string;
+ embeddedLinks: string[];
+ pageLinks: { href: string; coords: string }[];
+ metadata: { width: number; height: number; scaleFactor: number };
+ }[]
| null;
sheetData?: SheetData[] | null;
fileType?: string;