@pdfme/generator 3.1.5-dev.4 → 3.1.5-dev.7
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/cjs/src/generate.js +1 -1
- package/dist/cjs/src/generate.js.map +1 -1
- package/dist/cjs/src/helper.js.map +1 -1
- package/dist/esm/src/generate.js +1 -1
- package/dist/esm/src/generate.js.map +1 -1
- package/dist/esm/src/helper.js.map +1 -1
- package/dist/types/__tests__/assets/templates/index.d.ts +42 -0
- package/dist/types/src/helper.d.ts +1 -1
- package/package.json +1 -1
- package/src/generate.ts +1 -1
- package/src/helper.ts +1 -1
package/dist/cjs/src/generate.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"generate.js","sourceRoot":"","sources":["../../../src/generate.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uDAAyC;AAEzC,0CAAmD;AACnD,2CAA8E;AAE9E,MAAM,QAAQ,GAAG,KAAK,EAAE,KAAoB,EAAE,EAAE;IAC9C,IAAA,2BAAkB,EAAC,KAAK,CAAC,CAAC;IAC1B,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,GAAG,EAAE,EAAE,OAAO,EAAE,WAAW,GAAG,EAAE,EAAE,GAAG,KAAK,CAAC;IAE5E,MAAM,EAAE,MAAM,EAAE,aAAa,EAAE,aAAa,EAAE,SAAS,EAAE,GAAG,MAAM,IAAA,yBAAa,EAAC;QAC9E,QAAQ;QACR,WAAW;KACZ,CAAC,CAAC;IAEH,MAAM,MAAM,GAAG,IAAI,GAAG,EAAE,CAAC;IAEzB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,EAAE;QACzC,MAAM,QAAQ,GAAG,MAAM,CAAC,CAAC,CAAC,CAAC;QAC3B,MAAM,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,C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AAC,WAAW,CAAC,QAAQ,CAAC,CAAC;IAC7B,MAAM,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;IAC3B,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;AACzB,CAAC,CAAC"}
|
@@ -2,6 +2,7 @@ export declare const label: {
|
|
2
2
|
宛名8面: {
|
3
3
|
schemas: Record<string, import("zod").objectOutputType<{
|
4
4
|
type: import("zod").ZodString;
|
5
|
+
readOnly: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
5
6
|
position: import("zod").ZodObject<{
|
6
7
|
x: import("zod").ZodNumber;
|
7
8
|
y: import("zod").ZodNumber;
|
@@ -24,6 +25,7 @@ export declare const label: {
|
|
24
25
|
シンプルラベル24面: {
|
25
26
|
schemas: Record<string, import("zod").objectOutputType<{
|
26
27
|
type: import("zod").ZodString;
|
28
|
+
readOnly: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
27
29
|
position: import("zod").ZodObject<{
|
28
30
|
x: import("zod").ZodNumber;
|
29
31
|
y: import("zod").ZodNumber;
|
@@ -46,6 +48,7 @@ export declare const label: {
|
|
46
48
|
フレームラベル24面: {
|
47
49
|
schemas: Record<string, import("zod").objectOutputType<{
|
48
50
|
type: import("zod").ZodString;
|
51
|
+
readOnly: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
49
52
|
position: import("zod").ZodObject<{
|
50
53
|
x: import("zod").ZodNumber;
|
51
54
|
y: import("zod").ZodNumber;
|
@@ -68,6 +71,7 @@ export declare const label: {
|
|
68
71
|
ストライプラベル24面: {
|
69
72
|
schemas: Record<string, import("zod").objectOutputType<{
|
70
73
|
type: import("zod").ZodString;
|
74
|
+
readOnly: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
71
75
|
position: import("zod").ZodObject<{
|
72
76
|
x: import("zod").ZodNumber;
|
73
77
|
y: import("zod").ZodNumber;
|
@@ -90,6 +94,7 @@ export declare const label: {
|
|
90
94
|
装飾なしラベル24面: {
|
91
95
|
schemas: Record<string, import("zod").objectOutputType<{
|
92
96
|
type: import("zod").ZodString;
|
97
|
+
readOnly: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
93
98
|
position: import("zod").ZodObject<{
|
94
99
|
x: import("zod").ZodNumber;
|
95
100
|
y: import("zod").ZodNumber;
|
@@ -112,6 +117,7 @@ export declare const label: {
|
|
112
117
|
装飾なしラベル24面中央揃え: {
|
113
118
|
schemas: Record<string, import("zod").objectOutputType<{
|
114
119
|
type: import("zod").ZodString;
|
120
|
+
readOnly: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
115
121
|
position: import("zod").ZodObject<{
|
116
122
|
x: import("zod").ZodNumber;
|
117
123
|
y: import("zod").ZodNumber;
|
@@ -134,6 +140,7 @@ export declare const label: {
|
|
134
140
|
郵便はがき横書き: {
|
135
141
|
schemas: Record<string, import("zod").objectOutputType<{
|
136
142
|
type: import("zod").ZodString;
|
143
|
+
readOnly: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
137
144
|
position: import("zod").ZodObject<{
|
138
145
|
x: import("zod").ZodNumber;
|
139
146
|
y: import("zod").ZodNumber;
|
@@ -156,6 +163,7 @@ export declare const label: {
|
|
156
163
|
レターパック: {
|
157
164
|
schemas: Record<string, import("zod").objectOutputType<{
|
158
165
|
type: import("zod").ZodString;
|
166
|
+
readOnly: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
159
167
|
position: import("zod").ZodObject<{
|
160
168
|
x: import("zod").ZodNumber;
|
161
169
|
y: import("zod").ZodNumber;
|
@@ -178,6 +186,7 @@ export declare const label: {
|
|
178
186
|
レターパックライト: {
|
179
187
|
schemas: Record<string, import("zod").objectOutputType<{
|
180
188
|
type: import("zod").ZodString;
|
189
|
+
readOnly: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
181
190
|
position: import("zod").ZodObject<{
|
182
191
|
x: import("zod").ZodNumber;
|
183
192
|
y: import("zod").ZodNumber;
|
@@ -200,6 +209,7 @@ export declare const label: {
|
|
200
209
|
レターパックプラス: {
|
201
210
|
schemas: Record<string, import("zod").objectOutputType<{
|
202
211
|
type: import("zod").ZodString;
|
212
|
+
readOnly: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
203
213
|
position: import("zod").ZodObject<{
|
204
214
|
x: import("zod").ZodNumber;
|
205
215
|
y: import("zod").ZodNumber;
|
@@ -222,6 +232,7 @@ export declare const label: {
|
|
222
232
|
スマートレター: {
|
223
233
|
schemas: Record<string, import("zod").objectOutputType<{
|
224
234
|
type: import("zod").ZodString;
|
235
|
+
readOnly: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
225
236
|
position: import("zod").ZodObject<{
|
226
237
|
x: import("zod").ZodNumber;
|
227
238
|
y: import("zod").ZodNumber;
|
@@ -244,6 +255,7 @@ export declare const label: {
|
|
244
255
|
ゆうパケット: {
|
245
256
|
schemas: Record<string, import("zod").objectOutputType<{
|
246
257
|
type: import("zod").ZodString;
|
258
|
+
readOnly: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
247
259
|
position: import("zod").ZodObject<{
|
248
260
|
x: import("zod").ZodNumber;
|
249
261
|
y: import("zod").ZodNumber;
|
@@ -266,6 +278,7 @@ export declare const label: {
|
|
266
278
|
Aone72312宛名: {
|
267
279
|
schemas: Record<string, import("zod").objectOutputType<{
|
268
280
|
type: import("zod").ZodString;
|
281
|
+
readOnly: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
269
282
|
position: import("zod").ZodObject<{
|
270
283
|
x: import("zod").ZodNumber;
|
271
284
|
y: import("zod").ZodNumber;
|
@@ -288,6 +301,7 @@ export declare const label: {
|
|
288
301
|
名刺サイズの名札: {
|
289
302
|
schemas: Record<string, import("zod").objectOutputType<{
|
290
303
|
type: import("zod").ZodString;
|
304
|
+
readOnly: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
291
305
|
position: import("zod").ZodObject<{
|
292
306
|
x: import("zod").ZodNumber;
|
293
307
|
y: import("zod").ZodNumber;
|
@@ -310,6 +324,7 @@ export declare const label: {
|
|
310
324
|
connpass名札: {
|
311
325
|
schemas: Record<string, import("zod").objectOutputType<{
|
312
326
|
type: import("zod").ZodString;
|
327
|
+
readOnly: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
313
328
|
position: import("zod").ZodObject<{
|
314
329
|
x: import("zod").ZodNumber;
|
315
330
|
y: import("zod").ZodNumber;
|
@@ -334,6 +349,7 @@ export declare const envelope: {
|
|
334
349
|
長形3号封筒: {
|
335
350
|
schemas: Record<string, import("zod").objectOutputType<{
|
336
351
|
type: import("zod").ZodString;
|
352
|
+
readOnly: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
337
353
|
position: import("zod").ZodObject<{
|
338
354
|
x: import("zod").ZodNumber;
|
339
355
|
y: import("zod").ZodNumber;
|
@@ -356,6 +372,7 @@ export declare const envelope: {
|
|
356
372
|
洋長3号封筒: {
|
357
373
|
schemas: Record<string, import("zod").objectOutputType<{
|
358
374
|
type: import("zod").ZodString;
|
375
|
+
readOnly: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
359
376
|
position: import("zod").ZodObject<{
|
360
377
|
x: import("zod").ZodNumber;
|
361
378
|
y: import("zod").ZodNumber;
|
@@ -378,6 +395,7 @@ export declare const envelope: {
|
|
378
395
|
角形2号封筒: {
|
379
396
|
schemas: Record<string, import("zod").objectOutputType<{
|
380
397
|
type: import("zod").ZodString;
|
398
|
+
readOnly: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
381
399
|
position: import("zod").ZodObject<{
|
382
400
|
x: import("zod").ZodNumber;
|
383
401
|
y: import("zod").ZodNumber;
|
@@ -402,6 +420,7 @@ export declare const barcode: {
|
|
402
420
|
Aone31555QRコード: {
|
403
421
|
schemas: Record<string, import("zod").objectOutputType<{
|
404
422
|
type: import("zod").ZodString;
|
423
|
+
readOnly: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
405
424
|
position: import("zod").ZodObject<{
|
406
425
|
x: import("zod").ZodNumber;
|
407
426
|
y: import("zod").ZodNumber;
|
@@ -424,6 +443,7 @@ export declare const barcode: {
|
|
424
443
|
Aone31553QRコード: {
|
425
444
|
schemas: Record<string, import("zod").objectOutputType<{
|
426
445
|
type: import("zod").ZodString;
|
446
|
+
readOnly: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
427
447
|
position: import("zod").ZodObject<{
|
428
448
|
x: import("zod").ZodNumber;
|
429
449
|
y: import("zod").ZodNumber;
|
@@ -446,6 +466,7 @@ export declare const barcode: {
|
|
446
466
|
Aone72230JANコード短縮: {
|
447
467
|
schemas: Record<string, import("zod").objectOutputType<{
|
448
468
|
type: import("zod").ZodString;
|
469
|
+
readOnly: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
449
470
|
position: import("zod").ZodObject<{
|
450
471
|
x: import("zod").ZodNumber;
|
451
472
|
y: import("zod").ZodNumber;
|
@@ -468,6 +489,7 @@ export declare const barcode: {
|
|
468
489
|
Aone72230JANコード標準: {
|
469
490
|
schemas: Record<string, import("zod").objectOutputType<{
|
470
491
|
type: import("zod").ZodString;
|
492
|
+
readOnly: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
471
493
|
position: import("zod").ZodObject<{
|
472
494
|
x: import("zod").ZodNumber;
|
473
495
|
y: import("zod").ZodNumber;
|
@@ -490,6 +512,7 @@ export declare const barcode: {
|
|
490
512
|
barcodes: {
|
491
513
|
schemas: Record<string, import("zod").objectOutputType<{
|
492
514
|
type: import("zod").ZodString;
|
515
|
+
readOnly: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
493
516
|
position: import("zod").ZodObject<{
|
494
517
|
x: import("zod").ZodNumber;
|
495
518
|
y: import("zod").ZodNumber;
|
@@ -514,6 +537,7 @@ export declare const business: {
|
|
514
537
|
領収書: {
|
515
538
|
schemas: Record<string, import("zod").objectOutputType<{
|
516
539
|
type: import("zod").ZodString;
|
540
|
+
readOnly: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
517
541
|
position: import("zod").ZodObject<{
|
518
542
|
x: import("zod").ZodNumber;
|
519
543
|
y: import("zod").ZodNumber;
|
@@ -536,6 +560,7 @@ export declare const business: {
|
|
536
560
|
領収書x4: {
|
537
561
|
schemas: Record<string, import("zod").objectOutputType<{
|
538
562
|
type: import("zod").ZodString;
|
563
|
+
readOnly: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
539
564
|
position: import("zod").ZodObject<{
|
540
565
|
x: import("zod").ZodNumber;
|
541
566
|
y: import("zod").ZodNumber;
|
@@ -558,6 +583,7 @@ export declare const business: {
|
|
558
583
|
表彰状: {
|
559
584
|
schemas: Record<string, import("zod").objectOutputType<{
|
560
585
|
type: import("zod").ZodString;
|
586
|
+
readOnly: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
561
587
|
position: import("zod").ZodObject<{
|
562
588
|
x: import("zod").ZodNumber;
|
563
589
|
y: import("zod").ZodNumber;
|
@@ -580,6 +606,7 @@ export declare const business: {
|
|
580
606
|
見積書: {
|
581
607
|
schemas: Record<string, import("zod").objectOutputType<{
|
582
608
|
type: import("zod").ZodString;
|
609
|
+
readOnly: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
583
610
|
position: import("zod").ZodObject<{
|
584
611
|
x: import("zod").ZodNumber;
|
585
612
|
y: import("zod").ZodNumber;
|
@@ -602,6 +629,7 @@ export declare const business: {
|
|
602
629
|
請求書: {
|
603
630
|
schemas: Record<string, import("zod").objectOutputType<{
|
604
631
|
type: import("zod").ZodString;
|
632
|
+
readOnly: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
605
633
|
position: import("zod").ZodObject<{
|
606
634
|
x: import("zod").ZodNumber;
|
607
635
|
y: import("zod").ZodNumber;
|
@@ -624,6 +652,7 @@ export declare const business: {
|
|
624
652
|
納品書: {
|
625
653
|
schemas: Record<string, import("zod").objectOutputType<{
|
626
654
|
type: import("zod").ZodString;
|
655
|
+
readOnly: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
627
656
|
position: import("zod").ZodObject<{
|
628
657
|
x: import("zod").ZodNumber;
|
629
658
|
y: import("zod").ZodNumber;
|
@@ -646,6 +675,7 @@ export declare const business: {
|
|
646
675
|
書類送付状: {
|
647
676
|
schemas: Record<string, import("zod").objectOutputType<{
|
648
677
|
type: import("zod").ZodString;
|
678
|
+
readOnly: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
649
679
|
position: import("zod").ZodObject<{
|
650
680
|
x: import("zod").ZodNumber;
|
651
681
|
y: import("zod").ZodNumber;
|
@@ -668,6 +698,7 @@ export declare const business: {
|
|
668
698
|
履歴書: {
|
669
699
|
schemas: Record<string, import("zod").objectOutputType<{
|
670
700
|
type: import("zod").ZodString;
|
701
|
+
readOnly: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
671
702
|
position: import("zod").ZodObject<{
|
672
703
|
x: import("zod").ZodNumber;
|
673
704
|
y: import("zod").ZodNumber;
|
@@ -690,6 +721,7 @@ export declare const business: {
|
|
690
721
|
労働条件通知書: {
|
691
722
|
schemas: Record<string, import("zod").objectOutputType<{
|
692
723
|
type: import("zod").ZodString;
|
724
|
+
readOnly: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
693
725
|
position: import("zod").ZodObject<{
|
694
726
|
x: import("zod").ZodNumber;
|
695
727
|
y: import("zod").ZodNumber;
|
@@ -714,6 +746,7 @@ export declare const textType: {
|
|
714
746
|
dynamicFontSizeHorizontal: {
|
715
747
|
schemas: Record<string, import("zod").objectOutputType<{
|
716
748
|
type: import("zod").ZodString;
|
749
|
+
readOnly: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
717
750
|
position: import("zod").ZodObject<{
|
718
751
|
x: import("zod").ZodNumber;
|
719
752
|
y: import("zod").ZodNumber;
|
@@ -736,6 +769,7 @@ export declare const textType: {
|
|
736
769
|
dynamicFontSizeVertical: {
|
737
770
|
schemas: Record<string, import("zod").objectOutputType<{
|
738
771
|
type: import("zod").ZodString;
|
772
|
+
readOnly: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
739
773
|
position: import("zod").ZodObject<{
|
740
774
|
x: import("zod").ZodNumber;
|
741
775
|
y: import("zod").ZodNumber;
|
@@ -758,6 +792,7 @@ export declare const textType: {
|
|
758
792
|
verticalAlignmentTop: {
|
759
793
|
schemas: Record<string, import("zod").objectOutputType<{
|
760
794
|
type: import("zod").ZodString;
|
795
|
+
readOnly: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
761
796
|
position: import("zod").ZodObject<{
|
762
797
|
x: import("zod").ZodNumber;
|
763
798
|
y: import("zod").ZodNumber;
|
@@ -780,6 +815,7 @@ export declare const textType: {
|
|
780
815
|
verticalAlignmentMiddle: {
|
781
816
|
schemas: Record<string, import("zod").objectOutputType<{
|
782
817
|
type: import("zod").ZodString;
|
818
|
+
readOnly: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
783
819
|
position: import("zod").ZodObject<{
|
784
820
|
x: import("zod").ZodNumber;
|
785
821
|
y: import("zod").ZodNumber;
|
@@ -802,6 +838,7 @@ export declare const textType: {
|
|
802
838
|
verticalAlignmentBottom: {
|
803
839
|
schemas: Record<string, import("zod").objectOutputType<{
|
804
840
|
type: import("zod").ZodString;
|
841
|
+
readOnly: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
805
842
|
position: import("zod").ZodObject<{
|
806
843
|
x: import("zod").ZodNumber;
|
807
844
|
y: import("zod").ZodNumber;
|
@@ -826,6 +863,7 @@ export declare const other: {
|
|
826
863
|
test: {
|
827
864
|
schemas: Record<string, import("zod").objectOutputType<{
|
828
865
|
type: import("zod").ZodString;
|
866
|
+
readOnly: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
829
867
|
position: import("zod").ZodObject<{
|
830
868
|
x: import("zod").ZodNumber;
|
831
869
|
y: import("zod").ZodNumber;
|
@@ -848,6 +886,7 @@ export declare const other: {
|
|
848
886
|
z97mmx210mm: {
|
849
887
|
schemas: Record<string, import("zod").objectOutputType<{
|
850
888
|
type: import("zod").ZodString;
|
889
|
+
readOnly: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
851
890
|
position: import("zod").ZodObject<{
|
852
891
|
x: import("zod").ZodNumber;
|
853
892
|
y: import("zod").ZodNumber;
|
@@ -870,6 +909,7 @@ export declare const other: {
|
|
870
909
|
canvasPdf: {
|
871
910
|
schemas: Record<string, import("zod").objectOutputType<{
|
872
911
|
type: import("zod").ZodString;
|
912
|
+
readOnly: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
873
913
|
position: import("zod").ZodObject<{
|
874
914
|
x: import("zod").ZodNumber;
|
875
915
|
y: import("zod").ZodNumber;
|
@@ -892,6 +932,7 @@ export declare const other: {
|
|
892
932
|
background: {
|
893
933
|
schemas: Record<string, import("zod").objectOutputType<{
|
894
934
|
type: import("zod").ZodString;
|
935
|
+
readOnly: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
895
936
|
position: import("zod").ZodObject<{
|
896
937
|
x: import("zod").ZodNumber;
|
897
938
|
y: import("zod").ZodNumber;
|
@@ -914,6 +955,7 @@ export declare const other: {
|
|
914
955
|
rotation: {
|
915
956
|
schemas: Record<string, import("zod").objectOutputType<{
|
916
957
|
type: import("zod").ZodString;
|
958
|
+
readOnly: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
917
959
|
position: import("zod").ZodObject<{
|
918
960
|
x: import("zod").ZodNumber;
|
919
961
|
y: import("zod").ZodNumber;
|
@@ -23,7 +23,7 @@ export declare const preprocessing: (arg: {
|
|
23
23
|
pdfDoc: pdfLib.PDFDocument;
|
24
24
|
embeddedPages: pdfLib.PDFEmbeddedPage[];
|
25
25
|
embedPdfBoxes: EmbedPdfBox[];
|
26
|
-
renderObj: Record<string, (arg: PDFRenderProps<Schema>) => Promise<void
|
26
|
+
renderObj: Record<string, (arg: PDFRenderProps<Schema>) => Promise<void> | void>;
|
27
27
|
}>;
|
28
28
|
export declare const postProcessing: (props: {
|
29
29
|
pdfDoc: pdfLib.PDFDocument;
|
package/package.json
CHANGED
package/src/generate.ts
CHANGED
package/src/helper.ts
CHANGED
@@ -82,7 +82,7 @@ export const preprocessing = async (arg: { template: Template; userPlugins: Plug
|
|
82
82
|
Check this document: https://pdfme.com/docs/custom-schemas`);
|
83
83
|
}
|
84
84
|
return { ...acc, [type]: render.pdf };
|
85
|
-
}, {} as Record<string, (arg: PDFRenderProps<Schema>) => Promise<void
|
85
|
+
}, {} as Record<string, (arg: PDFRenderProps<Schema>) => Promise<void> | void>);
|
86
86
|
|
87
87
|
return { pdfDoc, embeddedPages, embedPdfBoxes, renderObj };
|
88
88
|
};
|