spartaxx.businessmodels 1.0.106 → 1.0.108
Sign up to get free protection for your applications and to get access to all the features.
- package/Common/CommonModel.js +2 -0
- package/Common/CommonModel.ts +15 -0
- package/Common/PuppeteerOptions.ts +4 -3
- package/package.json +1 -1
@@ -0,0 +1,15 @@
|
|
1
|
+
import { ExcelExport } from "./ExcelExport";
|
2
|
+
import { FileGenConfig } from "./FileGenConfig";
|
3
|
+
import { GeneratePdfServiceParams } from "./GeneratePdfServiceParams";
|
4
|
+
import { PdfExport } from "./PdfExport";
|
5
|
+
import { PuppeteerOptions } from "./PuppeteerOptions";
|
6
|
+
import { PuppeteerOptionsMargin } from "./PuppeteerOptions";
|
7
|
+
import { RabbitMQQueueInfo } from "./RabbitMQQueueInfo";
|
8
|
+
import { TemplateCategory } from "./TemplateCategory";
|
9
|
+
import { TemplateName } from "./TemplateName";
|
10
|
+
import { TemplateType } from "./TemplateType";
|
11
|
+
|
12
|
+
export {
|
13
|
+
ExcelExport, FileGenConfig, GeneratePdfServiceParams, PdfExport, PuppeteerOptionsMargin, PuppeteerOptions,
|
14
|
+
RabbitMQQueueInfo, TemplateCategory, TemplateName, TemplateType
|
15
|
+
};
|
@@ -1,14 +1,15 @@
|
|
1
1
|
export interface PuppeteerOptions {
|
2
|
-
Format?: string;
|
3
|
-
Landscape?: boolean;
|
2
|
+
Format?: string;
|
4
3
|
Width?: string;
|
5
4
|
Height?: string;
|
5
|
+
Landscape?: boolean;
|
6
6
|
PuppeteerOptionsMargin?: PuppeteerOptionsMargin;
|
7
7
|
PrintBackground?: boolean;
|
8
|
+
DisplayHeaderFooter?:boolean;
|
8
9
|
HeaderTemplate?: string;
|
9
10
|
FooterTemplate?: string;
|
10
11
|
PageRanges?: string;
|
11
|
-
|
12
|
+
PreferCSSPageSize?: boolean;
|
12
13
|
}
|
13
14
|
|
14
15
|
export interface PuppeteerOptionsMargin {
|