@pdfme/cli 6.1.1 → 6.1.2-dev.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +6 -28
- package/dist/index.js.map +1 -1
- package/dist/utils.d.ts +2 -2
- package/package.json +1 -1
package/dist/utils.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { detectPaperSize } from '@pdfme/common';
|
|
2
|
+
export { detectPaperSize };
|
|
1
3
|
export interface UnifiedJob {
|
|
2
4
|
template: Record<string, unknown>;
|
|
3
5
|
inputs: Record<string, unknown>[];
|
|
@@ -30,7 +32,6 @@ export declare function resolveBasePdf(template: Record<string, unknown>, basePd
|
|
|
30
32
|
export declare function getImageOutputPaths(pdfOutputPath: string, pageCount: number, imageFormat: string): string[];
|
|
31
33
|
export declare function writeOutput(filePath: string, data: Uint8Array | ArrayBuffer): void;
|
|
32
34
|
export declare function readPdfFile(filePath: string): Uint8Array;
|
|
33
|
-
export declare function detectPaperSize(width: number, height: number): string | null;
|
|
34
35
|
export declare function parsePageRange(rangeStr: string, totalPages: number): number[];
|
|
35
36
|
export declare function readJsonFromStdin(): Promise<unknown>;
|
|
36
37
|
export declare function ensureSafeDefaultOutputPath(options: {
|
|
@@ -50,4 +51,3 @@ export declare function getSafeDefaultOutputPathIssue(options: {
|
|
|
50
51
|
force?: boolean;
|
|
51
52
|
}): string | undefined;
|
|
52
53
|
export declare function inspectWriteTarget(filePath: string): WriteTargetInspection;
|
|
53
|
-
export {};
|