mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2025-06-22 23:45:02 +00:00
Fixed Joi v2
This commit is contained in:
parent
b9b7f0d5ea
commit
c45e6c43f2
@ -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,
|
||||
|
@ -1,5 +1,6 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"esModuleInterop": true,
|
||||
"baseUrl": "./src", /* Specify the base directory to resolve non-relative module names. */
|
||||
"paths": {
|
||||
"#pdfcpu": ["../../shared-operations/src/wasm/pdfcpu/pdfcpu-wrapper.server"],
|
||||
|
Loading…
x
Reference in New Issue
Block a user