TypeScript API / laikacms/sanitizer / SanitizeResult
Interface: SanitizeResult
Result of sanitization
Properties
data
ts
data: Uint8Array;The sanitized file data
fileType
ts
fileType: string;Detected file type (implementation-specific)
ignored
ts
ignored: boolean;Whether the file was passed through without modification (ignored)
strippedMetadata
ts
strippedMetadata: StrippedMetadataInfo;Metadata that was stripped (for logging/debugging)