Skip to content

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

580 B
Raw Blame
export interface DataroomIndexEntry {
  hierarchicalIndex: string | null | undefined;
  name: string;
  type: "File" | "Folder" | "Root Folder";
  path: string;
  size?: number;
  pages?: number;
  lastUpdated: Date;
  onlineUrl?: string;
  mimeType?: string;
  createdAt?: Date;
  version?: number;
}

export interface DataroomIndex {
  dataroomId: string;
  dataroomName: string;
  linkId: string;
  generatedAt: Date;
  entries: DataroomIndexEntry[];
  totalFiles: number;
  totalFolders: number;
  totalSize: number;
}

export type IndexFileFormat = "excel" | "csv" | "json";