@pdfme/common 5.3.13 → 5.3.14-dev.10
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/constants.js +18 -8
- package/dist/cjs/src/constants.js.map +1 -1
- package/dist/cjs/src/index.js +3 -1
- package/dist/cjs/src/index.js.map +1 -1
- package/dist/cjs/src/schema.js +4 -3
- package/dist/cjs/src/schema.js.map +1 -1
- package/dist/cjs/src/version.js +1 -1
- package/dist/esm/src/constants.js +17 -7
- package/dist/esm/src/constants.js.map +1 -1
- package/dist/esm/src/index.js +2 -2
- package/dist/esm/src/index.js.map +1 -1
- package/dist/esm/src/schema.js +2 -1
- package/dist/esm/src/schema.js.map +1 -1
- package/dist/esm/src/version.js +1 -1
- package/dist/node/src/constants.js +18 -8
- package/dist/node/src/constants.js.map +1 -1
- package/dist/node/src/index.js +3 -1
- package/dist/node/src/index.js.map +1 -1
- package/dist/node/src/schema.js +4 -3
- package/dist/node/src/schema.js.map +1 -1
- package/dist/node/src/version.js +1 -1
- package/dist/types/src/constants.d.ts +14 -1
- package/dist/types/src/index.d.ts +4 -4
- package/dist/types/src/schema.d.ts +4 -0
- package/dist/types/src/types.d.ts +2 -1
- package/dist/types/src/version.d.ts +1 -1
- package/package.json +1 -1
- package/src/constants.ts +21 -7
- package/src/index.ts +6 -0
- package/src/schema.ts +2 -1
- package/src/types.ts +2 -0
- package/src/version.ts +1 -1
package/src/schema.ts
CHANGED
@@ -66,6 +66,7 @@ export const Dict = z.object({
|
|
66
66
|
'schemas.text.fit': z.string(),
|
67
67
|
'schemas.text.dynamicFontSize': z.string(),
|
68
68
|
'schemas.text.format': z.string(),
|
69
|
+
'schemas.radius': z.string(),
|
69
70
|
|
70
71
|
'schemas.mvt.typingInstructions': z.string(),
|
71
72
|
'schemas.mvt.sampleField': z.string(),
|
@@ -125,7 +126,7 @@ export const BlankPdf = z.object({
|
|
125
126
|
staticSchema: z.array(Schema).optional(),
|
126
127
|
});
|
127
128
|
|
128
|
-
const CustomPdf = z.union([z.string(), ArrayBufferSchema, Uint8ArraySchema]);
|
129
|
+
export const CustomPdf = z.union([z.string(), ArrayBufferSchema, Uint8ArraySchema]);
|
129
130
|
|
130
131
|
export const BasePdf = z.union([CustomPdf, BlankPdf]);
|
131
132
|
|
package/src/types.ts
CHANGED
@@ -12,6 +12,7 @@ import {
|
|
12
12
|
SchemaForUI,
|
13
13
|
BasePdf,
|
14
14
|
BlankPdf,
|
15
|
+
CustomPdf,
|
15
16
|
CommonOptions,
|
16
17
|
Template,
|
17
18
|
GeneratorOptions,
|
@@ -173,6 +174,7 @@ export type Font = z.infer<typeof Font>;
|
|
173
174
|
export type ColorType = z.infer<typeof ColorType>;
|
174
175
|
export type BasePdf = z.infer<typeof BasePdf>;
|
175
176
|
export type BlankPdf = z.infer<typeof BlankPdf>;
|
177
|
+
export type CustomPdf = z.infer<typeof CustomPdf>;
|
176
178
|
export type Template = z.infer<typeof Template>;
|
177
179
|
export type CommonOptions = z.infer<typeof CommonOptions>;
|
178
180
|
export type GeneratorOptions = z.infer<typeof GeneratorOptions>;
|
package/src/version.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export const PDFME_VERSION = '5.3.
|
1
|
+
export const PDFME_VERSION = '5.3.14';
|