Package-level declarations
Types
Link copied to clipboard
Diagnostic ZIP writer with a second redaction boundary and atomic publication.
Link copied to clipboard
data class EvidenceBundleAttachment(val path: String, val sizeBytes: Long, val redactionApplicability: RedactionApplicability?, val open: suspend () -> ByteArray?)
One file inside an evidence bundle's attachments/ tree (a screenshot PNG or a captured request/ response body).
Link copied to clipboard
data class EvidenceBundleContent(val reportMarkdown: String, val reportJson: String, val networkHar: String, val postmanCollection: String, val sessionJson: String, val itemCount: Int, val attachments: List<EvidenceBundleAttachment> = emptyList())
Everything EventExportWriter needs to assemble an ExportScope.Evidence bundle. The caller (the /api/v1/evidence-owning route) resolves flagged items, the report draft, live network transactions for HAR/Postman, and session/device metadata, then renders the human- and machine-readable report text itself -- this type is a plain content carrier, not a builder, so EventExportWriter stays free of any evidence-domain knowledge beyond "zip these named files and manifest them".
Link copied to clipboard
data class ExportRequest(val sessionId: String, val events: List<StoredEvent>, val destination: File, val maxBytes: Long = DEFAULT_EXPORT_LIMIT_BYTES)
Link copied to clipboard
Link copied to clipboard