Files
dataroom/lib/types/document-preview.ts

23 lines
493 B
TypeScript

export interface DocumentPreviewData {
documentId: string;
documentName: string;
documentType: string;
fileType: string;
isVertical: boolean;
numPages: number;
pages?: {
file: string;
pageNumber: string;
embeddedLinks: string[];
pageLinks: {
href: string;
coords: string;
isInternal?: boolean;
targetPage?: number;
}[];
metadata: { width: number; height: number; scaleFactor: number };
}[];
file?: string;
sheetData?: any;
}