- Implement TNEF extraction and recursive parsing in new `tnef_reader.go` and associated tests. - Create tests for TNEF extraction scenarios in `tnef_diag_test.go`, `tnef_diag7_test.go`, and `tnef_diag8_test.go`.
41 lines
695 B
TypeScript
41 lines
695 B
TypeScript
/**
|
|
* Mail utilities barrel export
|
|
*/
|
|
|
|
// Constants
|
|
export {
|
|
IFRAME_UTIL_HTML,
|
|
IFRAME_UTIL_HTML_DARK,
|
|
IFRAME_UTIL_HTML_LIGHT,
|
|
EMAIL_EXTENSIONS,
|
|
CONTENT_TYPES,
|
|
PEC_FILES,
|
|
} from './constants';
|
|
|
|
// Data utilities
|
|
export {
|
|
arrayBufferToBase64,
|
|
createDataUrl,
|
|
looksLikeBase64,
|
|
tryDecodeBase64,
|
|
} from './data-utils';
|
|
|
|
// Attachment handlers
|
|
export {
|
|
openPDFAttachment,
|
|
openImageAttachment,
|
|
openEMLAttachment,
|
|
type AttachmentHandlerResult,
|
|
} from './attachment-handlers';
|
|
|
|
// Email loader
|
|
export {
|
|
getEmailFileType,
|
|
isEmailFile,
|
|
loadEmailFromPath,
|
|
loadEmailFromPathLegacy,
|
|
openAndLoadEmail,
|
|
processEmailBody,
|
|
type LoadEmailResult,
|
|
} from './email-loader';
|