Cleanup, Updated Docs

This commit is contained in:
Felix Kaspar
2024-10-04 19:34:26 +02:00
parent 74079512d0
commit b7c70c83b4
16 changed files with 113 additions and 151 deletions

View File

@@ -1,4 +1,3 @@
import { PdfFile } from "../../wrappers/PdfFile";
import { PDFPageProxy } from "pdfjs-dist/types/src/display/api";
import { Image, ImageKind } from "image-js";

View File

@@ -1,4 +1,3 @@
import jsQR from "jsqr";
import { PdfFile } from "../../wrappers/PdfFile";

View File

@@ -1,4 +1,3 @@
import { PDFPageProxy } from "pdfjs-dist/types/src/display/api";
import * as PDFJS from "pdfjs-dist";

View File

@@ -1,4 +1,3 @@
import { PdfFile, RepresentationType } from "../../wrappers/PdfFile";
import { PDFDocument } from "pdf-lib";

View File

@@ -1,4 +1,3 @@
/**
* @param pages A list of page indexes, or the number of total pages in the document (which will be converted into a list of page indexes).
* @returns A reversed list of page indexes.

View File

@@ -1,4 +1,3 @@
/**
* @param selection An array of page indexes already selected.
* @param pageCount The number of pages of the pdfDocument.

View File

@@ -1,4 +1,3 @@
import { PdfFile } from "../../wrappers/PdfFile";
export async function sortPdfArray(

View File

@@ -1,4 +1,3 @@
import { PdfFile } from "../../wrappers/PdfFile";
import { getPages } from "./getPagesByIndex";

View File

@@ -3,7 +3,6 @@ import { Action } from "../../declarations/Action";
import Joi from "@stirling-tools/joi";
import { MaterialSymbolProps } from "react-material-symbols";
export interface ValidationResult {
valid: boolean,
reason?: string