created OperatorConstraints and impelemented it in impose
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import * as PDFJS from 'pdfjs-dist';
|
||||
import type { PDFDocumentProxy as PDFJSDocument } from 'pdfjs-dist/types/src/display/api';
|
||||
import { PDFDocument as PDFLibDocument } from 'pdf-lib';
|
||||
|
||||
import Joi from 'joi';
|
||||
|
||||
export enum RepresentationType {
|
||||
@@ -136,4 +135,4 @@ export const PdfFileSchema = Joi.any().custom((value) => {
|
||||
throw new Error('value is not a PdfFile');
|
||||
}
|
||||
return value;
|
||||
}, "PdfFile validation");
|
||||
}, "PdfFile validation");
|
||||
|
||||
Reference in New Issue
Block a user