@vue-pdf-viewer/shared 1.4.0-beta.3 → 1.4.0-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/types.d.ts +4 -0
- package/dist/types.js +5 -0
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -207,6 +207,10 @@ export declare enum ImageType {
|
|
|
207
207
|
webp = "image/webp",
|
|
208
208
|
icon = "image/x-icon"
|
|
209
209
|
}
|
|
210
|
+
export declare enum ErrorCode {
|
|
211
|
+
UnsupportedFileType = "unsupported-file-type",
|
|
212
|
+
FileSizeExceeded = "file-size-exceeded"
|
|
213
|
+
}
|
|
210
214
|
export type VPVEvent = EventAnnotation | EventCore;
|
|
211
215
|
export interface AnnotationAttachment {
|
|
212
216
|
content: Uint8Array;
|
package/dist/types.js
CHANGED
|
@@ -10,3 +10,8 @@ export var ImageType;
|
|
|
10
10
|
ImageType["webp"] = "image/webp";
|
|
11
11
|
ImageType["icon"] = "image/x-icon";
|
|
12
12
|
})(ImageType || (ImageType = {}));
|
|
13
|
+
export var ErrorCode;
|
|
14
|
+
(function (ErrorCode) {
|
|
15
|
+
ErrorCode["UnsupportedFileType"] = "unsupported-file-type";
|
|
16
|
+
ErrorCode["FileSizeExceeded"] = "file-size-exceeded";
|
|
17
|
+
})(ErrorCode || (ErrorCode = {}));
|