added rearrange-pages endpoint
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
|
||||
import { arrangePages, ArrangePagesParamsType } from './functions/arrangePages'
|
||||
import { extractPages, ExtractPagesParamsType } from "./functions/extractPages";
|
||||
import { impose, ImposeParamsBaseType, ImposeParamsType } from "./functions/impose";
|
||||
import { mergePDFs, MergeParamsType } from './functions/mergePDFs';
|
||||
@@ -6,7 +7,6 @@ import { removeBlankPages, RemoveBlankPagesParamsType } from "./functions/remove
|
||||
import { rotatePages, RotateParamsType } from './functions/rotatePages';
|
||||
import { scaleContent, ScaleContentParamsType} from './functions/scaleContent';
|
||||
import { scalePage, ScalePageParamsType } from './functions/scalePage';
|
||||
import { sortPagesWithPreset, SortPagesWithPresetParamsType } from './functions/sortPagesWithPreset'
|
||||
import { splitPagesByPreset, SplitPageByPresetParamsType } from './functions/splitPagesByPreset';
|
||||
import { splitPdfByIndex, SplitPdfByIndexParamsType } from './functions/splitPdfByIndex';
|
||||
import { updateMetadata, UpdateMetadataParams } from "./functions/updateMetadata";
|
||||
@@ -17,6 +17,7 @@ import { Override } from '../declarations/TypeScriptUtils'
|
||||
// Import injected libraries here!
|
||||
|
||||
const toExport = {
|
||||
arrangePages,
|
||||
extractPages,
|
||||
impose,
|
||||
mergePDFs,
|
||||
@@ -24,7 +25,6 @@ const toExport = {
|
||||
rotatePages,
|
||||
scaleContent,
|
||||
scalePage,
|
||||
sortPagesWithPreset,
|
||||
splitPagesByPreset,
|
||||
splitPdfByIndex,
|
||||
updateMetadata,
|
||||
@@ -32,6 +32,7 @@ const toExport = {
|
||||
export default toExport;
|
||||
|
||||
export type OperationsParametersBaseType = {
|
||||
arrangePages: ArrangePagesParamsType
|
||||
extractPages: ExtractPagesParamsType;
|
||||
impose: ImposeParamsBaseType;
|
||||
mergePDFs: MergeParamsType;
|
||||
@@ -39,7 +40,6 @@ export type OperationsParametersBaseType = {
|
||||
rotatePages: RotateParamsType;
|
||||
scaleContent: ScaleContentParamsType;
|
||||
scalePage: ScalePageParamsType;
|
||||
sortPagesWithPreset: SortPagesWithPresetParamsType;
|
||||
splitPagesByPreset: SplitPageByPresetParamsType;
|
||||
splitPdfByIndex: SplitPdfByIndexParamsType;
|
||||
updateMetadata: UpdateMetadataParams;
|
||||
|
||||
Reference in New Issue
Block a user