Fixed Joi v2
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
|
||||
import * as Joi from 'joi';
|
||||
import Joi from 'joi';
|
||||
import { PdfFileSchema } from '../wrappers/PdfFile';
|
||||
|
||||
export class RecordConstraint {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
|
||||
import * as Joi from 'joi';
|
||||
import Joi from 'joi';
|
||||
import { PDFPage } from 'pdf-lib';
|
||||
import { PdfFile, RepresentationType, PdfFileSchema } from '../wrappers/PdfFile';
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Operator } from "../functions";
|
||||
|
||||
// TODO: Import other Operators (could make this dynamic?)
|
||||
// TODO: Import other Operators (could make this dynamic)
|
||||
import { Impose } from "../functions/impose";
|
||||
export const Operators = {
|
||||
Impose: Impose
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
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 * as Joi from 'joi';
|
||||
import Joi from 'joi';
|
||||
|
||||
export enum RepresentationType {
|
||||
Uint8Array,
|
||||
|
||||
Reference in New Issue
Block a user