@capgo/capacitor-printer 7.0.0

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/docs.json ADDED
@@ -0,0 +1,520 @@
1
+ {
2
+ "api": {
3
+ "name": "PrinterPlugin",
4
+ "slug": "printerplugin",
5
+ "docs": "",
6
+ "tags": [],
7
+ "methods": [
8
+ {
9
+ "name": "printBase64",
10
+ "signature": "(options: PrintBase64Options) => Promise<void>",
11
+ "parameters": [
12
+ {
13
+ "name": "options",
14
+ "docs": "- The base64 data and configuration for printing",
15
+ "type": "PrintBase64Options"
16
+ }
17
+ ],
18
+ "returns": "Promise<void>",
19
+ "tags": [
20
+ {
21
+ "name": "param",
22
+ "text": "options - The base64 data and configuration for printing"
23
+ },
24
+ {
25
+ "name": "returns",
26
+ "text": "Promise that resolves when print dialog is dismissed"
27
+ },
28
+ {
29
+ "name": "throws",
30
+ "text": "Error if base64 data is invalid or printing fails"
31
+ },
32
+ {
33
+ "name": "since",
34
+ "text": "7.0.0"
35
+ },
36
+ {
37
+ "name": "example",
38
+ "text": "```typescript\n// Print a base64 encoded PDF\nawait Printer.printBase64({\n name: 'Invoice #12345',\n data: 'JVBERi0xLjQKJeLjz9MKMyAwIG9iago8PC9UeXBlL...',\n mimeType: 'application/pdf',\n});\n\n// Print a base64 encoded image\nawait Printer.printBase64({\n name: 'Product Photo',\n data: '/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDA...',\n mimeType: 'image/jpeg',\n});\n```"
39
+ }
40
+ ],
41
+ "docs": "Presents the printing UI to print files encoded as base64 strings.\n\n**Platform Behavior:**\n- **iOS**: Uses UIPrintInteractionController with base64 decoded data\n- **Android**: Uses PrintManager with base64 decoded data\n- **Web**: Creates a blob from base64 data and opens print dialog\n\n**Performance Warning:**\nLarge files can lead to app crashes due to memory constraints when decoding base64.\nFor files larger than 5MB, it's recommended to use printFile() instead.",
42
+ "complexTypes": [
43
+ "PrintBase64Options"
44
+ ],
45
+ "slug": "printbase64"
46
+ },
47
+ {
48
+ "name": "printFile",
49
+ "signature": "(options: PrintFileOptions) => Promise<void>",
50
+ "parameters": [
51
+ {
52
+ "name": "options",
53
+ "docs": "- The file path and configuration for printing",
54
+ "type": "PrintFileOptions"
55
+ }
56
+ ],
57
+ "returns": "Promise<void>",
58
+ "tags": [
59
+ {
60
+ "name": "param",
61
+ "text": "options - The file path and configuration for printing"
62
+ },
63
+ {
64
+ "name": "returns",
65
+ "text": "Promise that resolves when print dialog is dismissed"
66
+ },
67
+ {
68
+ "name": "throws",
69
+ "text": "Error if file path is invalid, file not found, or unsupported file type"
70
+ },
71
+ {
72
+ "name": "since",
73
+ "text": "7.0.0"
74
+ },
75
+ {
76
+ "name": "example",
77
+ "text": "```typescript\n// iOS: Print from app documents directory\nawait Printer.printFile({\n name: 'Contract',\n path: 'file:///var/mobile/Containers/Data/Application/.../Documents/contract.pdf',\n});\n\n// Android: Print from content URI\nawait Printer.printFile({\n name: 'Receipt',\n path: 'content://com.android.providers.downloads.documents/document/123',\n mimeType: 'application/pdf',\n});\n\n// Android: Print from file path\nawait Printer.printFile({\n name: 'Photo',\n path: 'file:///storage/emulated/0/Download/photo.jpg',\n mimeType: 'image/jpeg',\n});\n```"
78
+ }
79
+ ],
80
+ "docs": "Presents the printing UI to print device files.\n\n**Platform Behavior:**\n- **iOS**: Uses UIPrintInteractionController with file URL. Supports file:// paths or paths relative to app's documents directory.\n- **Android**: Uses PrintManager with file path. Supports both content:// URIs and file:// paths.\n- **Web**: Reads file and opens print dialog\n\n**Supported File Types:**\n- PDF documents (application/pdf)\n- Images: JPEG, PNG, GIF, HEIC, HEIF",
81
+ "complexTypes": [
82
+ "PrintFileOptions"
83
+ ],
84
+ "slug": "printfile"
85
+ },
86
+ {
87
+ "name": "printHtml",
88
+ "signature": "(options: PrintHtmlOptions) => Promise<void>",
89
+ "parameters": [
90
+ {
91
+ "name": "options",
92
+ "docs": "- The HTML content and configuration for printing",
93
+ "type": "PrintHtmlOptions"
94
+ }
95
+ ],
96
+ "returns": "Promise<void>",
97
+ "tags": [
98
+ {
99
+ "name": "param",
100
+ "text": "options - The HTML content and configuration for printing"
101
+ },
102
+ {
103
+ "name": "returns",
104
+ "text": "Promise that resolves when print dialog is dismissed"
105
+ },
106
+ {
107
+ "name": "throws",
108
+ "text": "Error if HTML is invalid or printing fails"
109
+ },
110
+ {
111
+ "name": "since",
112
+ "text": "7.0.0"
113
+ },
114
+ {
115
+ "name": "example",
116
+ "text": "```typescript\n// Simple HTML document\nawait Printer.printHtml({\n name: 'Sales Report',\n html: '<html><body><h1>Q4 Sales Report</h1><p>Revenue: $125,000</p></body></html>',\n});\n\n// HTML with print-specific CSS\nawait Printer.printHtml({\n name: 'Styled Invoice',\n html: `\n <html>\n <head>\n <style>"
117
+ },
118
+ {
119
+ "name": "media",
120
+ "text": "print {\n body { font-size: 12pt; }\n .no-print { display: none; }\n h1 { page-break-before: always; }\n }\n </style>\n</head>\n<body>\n <h1>Invoice #12345</h1>\n <p>Amount due: $299.99</p>\n <button class=\"no-print\">Don't print this button</button>\n</body>\n</html>\n`,\n});\n```"
121
+ }
122
+ ],
123
+ "docs": "Presents the printing UI to print HTML documents.\n\n**Platform Behavior:**\n- **iOS**: Renders HTML in WKWebView, then prints using UIPrintInteractionController\n- **Android**: Renders HTML in WebView, then prints using PrintManager\n- **Web**: Creates iframe with HTML content and triggers print dialog\n\n**HTML Requirements:**\n- Should be a complete HTML document with proper structure\n- Can include inline CSS styles or style tags\n- External resources (images, stylesheets) should use absolute URLs\n- Print-specific CSS can be added using @media print rules\n\n**CSS Print Styling:**\nUse CSS media queries to customize print output:\n- Control page breaks: page-break-before, page-break-after, page-break-inside\n- Hide elements: display: none for no-print classes\n- Adjust font sizes and colors for print",
124
+ "complexTypes": [
125
+ "PrintHtmlOptions"
126
+ ],
127
+ "slug": "printhtml"
128
+ },
129
+ {
130
+ "name": "printPdf",
131
+ "signature": "(options: PrintPdfOptions) => Promise<void>",
132
+ "parameters": [
133
+ {
134
+ "name": "options",
135
+ "docs": "- The PDF file path and configuration for printing",
136
+ "type": "PrintPdfOptions"
137
+ }
138
+ ],
139
+ "returns": "Promise<void>",
140
+ "tags": [
141
+ {
142
+ "name": "param",
143
+ "text": "options - The PDF file path and configuration for printing"
144
+ },
145
+ {
146
+ "name": "returns",
147
+ "text": "Promise that resolves when print dialog is dismissed"
148
+ },
149
+ {
150
+ "name": "throws",
151
+ "text": "Error if PDF path is invalid, file not found, or not a valid PDF"
152
+ },
153
+ {
154
+ "name": "since",
155
+ "text": "7.0.0"
156
+ },
157
+ {
158
+ "name": "example",
159
+ "text": "```typescript\n// Print PDF from app storage\nawait Printer.printPdf({\n name: 'Annual Report 2024',\n path: 'file:///var/mobile/Containers/Data/Application/.../Documents/report.pdf',\n});\n\n// Print PDF from Android downloads\nawait Printer.printPdf({\n name: 'Downloaded Document',\n path: 'content://com.android.providers.downloads.documents/document/123',\n});\n```"
160
+ }
161
+ ],
162
+ "docs": "Presents the printing UI to print PDF documents.\n\n**Platform Behavior:**\n- **iOS**: Uses UIPrintInteractionController with PDF file URL\n- **Android**: Uses PrintManager with PdfDocument\n- **Web**: Creates object URL and opens print dialog\n\n**File Path Requirements:**\n- **iOS**: Must be file:// path or relative to app's documents directory\n- **Android**: Supports content:// URIs (from downloads, media store) or file:// paths\n- **Web**: Must be accessible file path",
163
+ "complexTypes": [
164
+ "PrintPdfOptions"
165
+ ],
166
+ "slug": "printpdf"
167
+ },
168
+ {
169
+ "name": "printWebView",
170
+ "signature": "(options?: PrintOptions | undefined) => Promise<void>",
171
+ "parameters": [
172
+ {
173
+ "name": "options",
174
+ "docs": "- Optional configuration for printing (name only)",
175
+ "type": "PrintOptions | undefined"
176
+ }
177
+ ],
178
+ "returns": "Promise<void>",
179
+ "tags": [
180
+ {
181
+ "name": "param",
182
+ "text": "options - Optional configuration for printing (name only)"
183
+ },
184
+ {
185
+ "name": "returns",
186
+ "text": "Promise that resolves when print dialog is dismissed"
187
+ },
188
+ {
189
+ "name": "throws",
190
+ "text": "Error if web view is not available or printing fails"
191
+ },
192
+ {
193
+ "name": "since",
194
+ "text": "7.0.0"
195
+ },
196
+ {
197
+ "name": "example",
198
+ "text": "```typescript\n// Print current web view with default name\nawait Printer.printWebView();\n\n// Print with custom job name\nawait Printer.printWebView({\n name: 'Dashboard Screenshot',\n});\n\n// Use with print-specific CSS in your HTML\n// Add this to your app's CSS:\n//"
199
+ },
200
+ {
201
+ "name": "media",
202
+ "text": "print {\n// .no-print { display: none; }\n// body { font-size: 12pt; }\n// }\nawait Printer.printWebView({\nname: 'User Profile',\n});\n```"
203
+ }
204
+ ],
205
+ "docs": "Presents the printing UI to print web view content.\n\nPrints the current content displayed in your app's web view.\n\n**Platform Behavior:**\n- **iOS**: Uses UIPrintInteractionController with WKWebView's view printable\n- **Android**: Uses WebView.createPrintDocumentAdapter() with PrintManager\n- **Web**: Triggers window.print() for current page\n\n**Print Styling:**\nSupports CSS print media queries for customization. The web view's current\nstyles will be applied, including any @media print rules.\n\n**Use Cases:**\n- Print the current app screen/page\n- Print web-based reports or dashboards\n- Print user-generated content displayed in web view",
206
+ "complexTypes": [
207
+ "PrintOptions"
208
+ ],
209
+ "slug": "printwebview"
210
+ },
211
+ {
212
+ "name": "getPluginVersion",
213
+ "signature": "() => Promise<{ version: string; }>",
214
+ "parameters": [],
215
+ "returns": "Promise<{ version: string; }>",
216
+ "tags": [
217
+ {
218
+ "name": "returns",
219
+ "text": "Promise that resolves with the plugin version string"
220
+ },
221
+ {
222
+ "name": "throws",
223
+ "text": "Error if getting the version fails"
224
+ },
225
+ {
226
+ "name": "since",
227
+ "text": "7.0.0"
228
+ },
229
+ {
230
+ "name": "example",
231
+ "text": "```typescript\nconst { version } = await Printer.getPluginVersion();\nconsole.log('Printer plugin version:', version);\n// Output: \"7.0.0\"\n```"
232
+ }
233
+ ],
234
+ "docs": "Get the native Capacitor plugin version.\n\nReturns the hardcoded plugin version from native code (iOS/Android) or\npackage version (Web). This is useful for debugging and ensuring plugin\ncompatibility.",
235
+ "complexTypes": [],
236
+ "slug": "getpluginversion"
237
+ }
238
+ ],
239
+ "properties": []
240
+ },
241
+ "interfaces": [
242
+ {
243
+ "name": "PrintBase64Options",
244
+ "slug": "printbase64options",
245
+ "docs": "Options for printing base64 encoded data.",
246
+ "tags": [
247
+ {
248
+ "text": "7.0.0",
249
+ "name": "since"
250
+ }
251
+ ],
252
+ "methods": [],
253
+ "properties": [
254
+ {
255
+ "name": "data",
256
+ "tags": [
257
+ {
258
+ "text": "7.0.0",
259
+ "name": "since"
260
+ },
261
+ {
262
+ "text": "'JVBERi0xLjQKJeLjz9MKMyAwIG9iago8PC9UeXBlL...'",
263
+ "name": "example"
264
+ }
265
+ ],
266
+ "docs": "Valid base64 encoded string representing the file content.\n\nThe base64 string should NOT include the data URL prefix (e.g., \"data:application/pdf;base64,\").\nOnly provide the raw base64 encoded content.\n\n**Performance Considerations:**\n- Base64 encoding increases data size by approximately 33%\n- Large files (>5MB) may cause memory issues when decoding\n- Consider using printFile() for large documents\n\n**Platform Notes:**\n- **iOS**: Decoded to NSData and passed to UIPrintInteractionController\n- **Android**: Decoded to byte array and written to temporary file\n- **Web**: Converted to Blob for printing",
267
+ "complexTypes": [],
268
+ "type": "string"
269
+ },
270
+ {
271
+ "name": "mimeType",
272
+ "tags": [
273
+ {
274
+ "text": "7.0.0",
275
+ "name": "since"
276
+ },
277
+ {
278
+ "text": "'application/pdf'",
279
+ "name": "example"
280
+ },
281
+ {
282
+ "text": "'image/jpeg'",
283
+ "name": "example"
284
+ }
285
+ ],
286
+ "docs": "MIME type of the base64 encoded data.\n\n**Supported types:**\n- `application/pdf` - PDF documents\n- `image/jpeg` - JPEG images\n- `image/png` - PNG images\n- `image/gif` - GIF images (iOS/Android only)\n- `image/heic` - HEIC images (iOS only)\n- `image/heif` - HEIF images (iOS only)\n\n**Platform Support:**\n- All platforms support PDF, JPEG, and PNG\n- GIF support varies by platform\n- HEIC/HEIF are iOS-specific formats",
287
+ "complexTypes": [],
288
+ "type": "string"
289
+ }
290
+ ]
291
+ },
292
+ {
293
+ "name": "PrintFileOptions",
294
+ "slug": "printfileoptions",
295
+ "docs": "Options for printing files from device storage.",
296
+ "tags": [
297
+ {
298
+ "text": "7.0.0",
299
+ "name": "since"
300
+ }
301
+ ],
302
+ "methods": [],
303
+ "properties": [
304
+ {
305
+ "name": "path",
306
+ "tags": [
307
+ {
308
+ "text": "7.0.0",
309
+ "name": "since"
310
+ },
311
+ {
312
+ "text": "ios Supports file:// paths and relative paths",
313
+ "name": "platform"
314
+ },
315
+ {
316
+ "text": "android Supports content:// URIs and file:// paths",
317
+ "name": "platform"
318
+ },
319
+ {
320
+ "text": "'content://com.android.providers.downloads.documents/document/123'",
321
+ "name": "example"
322
+ },
323
+ {
324
+ "text": "'file:///var/mobile/Containers/Data/Application/.../Documents/document.pdf'",
325
+ "name": "example"
326
+ },
327
+ {
328
+ "text": "'file:///storage/emulated/0/Download/receipt.pdf'",
329
+ "name": "example"
330
+ }
331
+ ],
332
+ "docs": "Path to the file to print.\n\n**iOS Path Formats:**\n- `file://` URL: Full file URL path\n- Relative path: Path relative to app's documents directory\n- Must be within app's accessible directories (documents, temporary, cache)\n\n**Android Path Formats:**\n- `content://` URI: Content provider URI (recommended for external files)\n- `file://` path: Direct file system path\n- Must have read permission for the file\n\n**Common Use Cases:**\n- App documents: Files saved in app's document directory\n- Downloads: Files from system downloads folder (use content:// on Android)\n- Temporary files: Files in app's temporary/cache directory\n- Shared storage: Files from external storage (Android, requires permissions)",
333
+ "complexTypes": [],
334
+ "type": "string"
335
+ },
336
+ {
337
+ "name": "mimeType",
338
+ "tags": [
339
+ {
340
+ "text": "7.0.0",
341
+ "name": "since"
342
+ },
343
+ {
344
+ "text": "Undefined (auto-detected from file extension)",
345
+ "name": "default"
346
+ },
347
+ {
348
+ "text": "android Used for content:// URIs and file type detection",
349
+ "name": "platform"
350
+ },
351
+ {
352
+ "text": "ios Ignored (auto-detected)",
353
+ "name": "platform"
354
+ },
355
+ {
356
+ "text": "'application/pdf'",
357
+ "name": "example"
358
+ },
359
+ {
360
+ "text": "'image/jpeg'",
361
+ "name": "example"
362
+ }
363
+ ],
364
+ "docs": "MIME type of the file.\n\n**Platform Behavior:**\n- **Android**: REQUIRED for content:// URIs. Helps the system determine how to handle the file.\n Optional for file:// paths (auto-detected from extension).\n- **iOS**: Ignored. File type is auto-detected from file extension.\n- **Web**: Optional. Auto-detected if not provided.\n\n**Common MIME Types:**\n- `application/pdf` - PDF documents\n- `image/jpeg` - JPEG images\n- `image/png` - PNG images\n- `image/gif` - GIF images",
365
+ "complexTypes": [],
366
+ "type": "string | undefined"
367
+ }
368
+ ]
369
+ },
370
+ {
371
+ "name": "PrintHtmlOptions",
372
+ "slug": "printhtmloptions",
373
+ "docs": "Options for printing HTML content.",
374
+ "tags": [
375
+ {
376
+ "text": "7.0.0",
377
+ "name": "since"
378
+ }
379
+ ],
380
+ "methods": [],
381
+ "properties": [
382
+ {
383
+ "name": "html",
384
+ "tags": [
385
+ {
386
+ "text": "7.0.0",
387
+ "name": "since"
388
+ },
389
+ {
390
+ "text": "'<html><body><h1>Hello World</h1><p>This is a test document.</p></body></html>'",
391
+ "name": "example"
392
+ },
393
+ {
394
+ "text": "```typescript\nconst htmlWithStyles = `\n <html>\n <head>\n <meta charset=\"UTF-8\">\n <style>",
395
+ "name": "example"
396
+ },
397
+ {
398
+ "text": "print {\n body { font-family: Arial, sans-serif; font-size: 12pt; }\n .no-print { display: none; }\n h1 { color: #333; page-break-before: always; }\n }\n</style>\n</head>\n<body>\n<h1>Invoice #12345</h1>\n<p>Amount: $299.99</p>\n</body>\n</html>\n`;\n```",
399
+ "name": "media"
400
+ }
401
+ ],
402
+ "docs": "HTML content to print.\n\n**Content Requirements:**\n- Should be a complete HTML document with `<html>`, `<head>`, and `<body>` tags\n- Can include inline CSS styles or `<style>` tags\n- External resources (images, fonts) should use absolute URLs\n- JavaScript is not executed during print rendering\n\n**Print Optimization Tips:**\n- Use `@media print` CSS rules for print-specific styling\n- Control page breaks with `page-break-before`, `page-break-after`, `page-break-inside`\n- Hide UI elements using `.no-print { display: none; }` class\n- Adjust font sizes for readability (12pt is standard for print)\n- Use print-friendly colors (avoid dark backgrounds)\n\n**Platform Rendering:**\n- **iOS**: Rendered in WKWebView before printing\n- **Android**: Rendered in WebView before printing\n- **Web**: Rendered in hidden iframe before printing\n\n**Character Encoding:**\n- UTF-8 is recommended and default\n- Include charset in HTML: `<meta charset=\"UTF-8\">`",
403
+ "complexTypes": [],
404
+ "type": "string"
405
+ }
406
+ ]
407
+ },
408
+ {
409
+ "name": "PrintPdfOptions",
410
+ "slug": "printpdfoptions",
411
+ "docs": "Options for printing PDF documents.",
412
+ "tags": [
413
+ {
414
+ "text": "7.0.0",
415
+ "name": "since"
416
+ }
417
+ ],
418
+ "methods": [],
419
+ "properties": [
420
+ {
421
+ "name": "path",
422
+ "tags": [
423
+ {
424
+ "text": "7.0.0",
425
+ "name": "since"
426
+ },
427
+ {
428
+ "text": "ios Supports file:// paths and relative paths",
429
+ "name": "platform"
430
+ },
431
+ {
432
+ "text": "android Supports content:// URIs and file:// paths",
433
+ "name": "platform"
434
+ },
435
+ {
436
+ "text": "web Supports accessible file paths",
437
+ "name": "platform"
438
+ },
439
+ {
440
+ "text": "'content://com.android.providers.downloads.documents/document/123'",
441
+ "name": "example"
442
+ },
443
+ {
444
+ "text": "'file:///var/mobile/Containers/Data/Application/.../Documents/document.pdf'",
445
+ "name": "example"
446
+ },
447
+ {
448
+ "text": "'file:///storage/emulated/0/Download/report.pdf'",
449
+ "name": "example"
450
+ },
451
+ {
452
+ "text": "'Documents/invoice-2024.pdf'",
453
+ "name": "example"
454
+ }
455
+ ],
456
+ "docs": "Path to the PDF document.\n\n**iOS Path Formats:**\n- `file://` URL: Full file URL path to PDF document\n- Relative path: Path relative to app's documents directory\n- Must be within app's accessible directories (documents, temporary, cache)\n- PDF must be valid and not password-protected\n\n**Android Path Formats:**\n- `content://` URI: Content provider URI (recommended for external PDFs)\n- `file://` path: Direct file system path to PDF\n- Must have read permission for the file\n- Supports both single-page and multi-page PDFs\n\n**Web Path Formats:**\n- Relative or absolute path accessible from web context\n- Must be a valid PDF file\n\n**Validation:**\n- File must exist at the specified path\n- File must be a valid PDF (checked by magic number/header)\n- File must be readable by the app\n\n**Common Sources:**\n- App documents: PDFs saved in app's document directory\n- Downloads: PDFs from system downloads (use content:// on Android)\n- Generated PDFs: Temporary PDFs created by the app\n- Network downloads: PDFs downloaded and saved locally",
457
+ "complexTypes": [],
458
+ "type": "string"
459
+ }
460
+ ]
461
+ },
462
+ {
463
+ "name": "PrintOptions",
464
+ "slug": "printoptions",
465
+ "docs": "Base options for all print operations.",
466
+ "tags": [
467
+ {
468
+ "text": "7.0.0",
469
+ "name": "since"
470
+ }
471
+ ],
472
+ "methods": [],
473
+ "properties": [
474
+ {
475
+ "name": "name",
476
+ "tags": [
477
+ {
478
+ "text": "7.0.0",
479
+ "name": "since"
480
+ },
481
+ {
482
+ "text": "'Document'",
483
+ "name": "default"
484
+ },
485
+ {
486
+ "text": "ios Shown in print preview and activity view",
487
+ "name": "platform"
488
+ },
489
+ {
490
+ "text": "android Shown in print queue and notifications",
491
+ "name": "platform"
492
+ },
493
+ {
494
+ "text": "web Used as document title in print dialog",
495
+ "name": "platform"
496
+ },
497
+ {
498
+ "text": "'Invoice #12345'",
499
+ "name": "example"
500
+ },
501
+ {
502
+ "text": "'Annual Report 2024'",
503
+ "name": "example"
504
+ },
505
+ {
506
+ "text": "'Receipt - Order #789'",
507
+ "name": "example"
508
+ }
509
+ ],
510
+ "docs": "Name of the print job.\n\n**Usage:**\n- Displayed in the system print queue\n- Shown in print history/logs\n- May appear in printer status displays\n- Used as default filename for \"Save as PDF\" option\n\n**Platform Behavior:**\n- **iOS**: Shown in print preview header and activity view\n- **Android**: Displayed in print job notification and print queue\n- **Web**: Used as document title in print dialog\n\n**Best Practices:**\n- Use descriptive names (e.g., \"Invoice #12345\", \"Q4 Report\")\n- Keep under 50 characters for better display\n- Avoid special characters that may cause issues in filenames\n- Include relevant identifiers (order numbers, dates, etc.)\n\n**Examples:**\n- \"Invoice #12345\"\n- \"Sales Report - 2024 Q4\"\n- \"Customer Receipt - John Doe\"\n- \"Product Photo - SKU-ABC123\"",
511
+ "complexTypes": [],
512
+ "type": "string | undefined"
513
+ }
514
+ ]
515
+ }
516
+ ],
517
+ "enums": [],
518
+ "typeAliases": [],
519
+ "pluginConfigs": []
520
+ }