Add password prompt functionality and tests while uploading encrypted PDF
This commit is contained in:
@@ -54,3 +54,4 @@ export * from './page-preview-type.ts';
|
||||
export * from './add-page-labels-type.ts';
|
||||
export * from './pdf-to-tiff-type.ts';
|
||||
export * from './pdf-to-cbz-type.ts';
|
||||
export * from './password-prompt-type.ts';
|
||||
|
||||
7
src/js/types/password-prompt-type.ts
Normal file
7
src/js/types/password-prompt-type.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import type { PDFDocumentProxy } from 'pdfjs-dist';
|
||||
|
||||
export interface LoadedPdf {
|
||||
pdf: PDFDocumentProxy;
|
||||
bytes: ArrayBuffer;
|
||||
file: File;
|
||||
}
|
||||
Reference in New Issue
Block a user