@embedpdf/models 1.0.24 → 1.0.26

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/pdf.d.ts CHANGED
@@ -87,6 +87,14 @@ export interface PdfMetadataObject {
87
87
  * modification date of the document
88
88
  */
89
89
  modificationDate: Date | null;
90
+ /**
91
+ * trapped status of the document
92
+ */
93
+ trapped: PdfTrappedStatus | null;
94
+ /**
95
+ * Non-predefined Info dictionary entries.
96
+ */
97
+ custom?: Record<string, string | null>;
90
98
  }
91
99
  /**
92
100
  * Unicode **soft-hyphen** marker (`U+00AD`).
@@ -174,6 +182,29 @@ export declare enum PdfZoomMode {
174
182
  */
175
183
  FitRectangle = 5
176
184
  }
185
+ /**
186
+ * Trapped status of the document.
187
+ *
188
+ * @public
189
+ */
190
+ export declare enum PdfTrappedStatus {
191
+ /**
192
+ * No /Trapped key
193
+ */
194
+ NotSet = 0,
195
+ /**
196
+ * Explicitly /Trapped /True
197
+ */
198
+ True = 1,
199
+ /**
200
+ * Explicitly /Trapped /False
201
+ */
202
+ False = 2,
203
+ /**
204
+ * Explicitly /Trapped /Unknown or invalid
205
+ */
206
+ Unknown = 3
207
+ }
177
208
  /**
178
209
  * 12 default fonts for PDF
179
210
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@embedpdf/models",
3
- "version": "1.0.24",
3
+ "version": "1.0.26",
4
4
  "private": false,
5
5
  "description": "Shared type definitions, data models, and utility helpers (geometry, tasks, logging, PDF primitives) that underpin every package in the EmbedPDF ecosystem.",
6
6
  "type": "module",