created OperatorConstraints and impelemented it in impose

This commit is contained in:
Saud Fatayerji
2023-11-19 17:22:17 +03:00
parent a7545b017f
commit 7df48d43d6
7 changed files with 142 additions and 56 deletions

View File

@@ -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");