Nomad changes
All checks were successful
Deploy fil (kreuzberg) / deploy (push) Successful in 49s

This commit is contained in:
Henrik Jess Nielsen
2026-06-01 23:40:55 +02:00
parent 72b1a0a6ed
commit b4c07d3693
5723 changed files with 1130655 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
import RustBridge
// MARK: - Property-access ergonomics for e2e tests
//
// This file provides computed-property aliases for methods on swift-bridge-generated types,
// allowing callers to write `result.mimeType` rather than `result.mimeType()`.
// These extensions are especially useful in e2e test assertions where the alef
// fixture generator emits property-access syntax.
//
// Although these are primarily for test convenience, they are part of the public API
// and can be used in production code for more ergonomic access to extraction results.
extension RustBridge.ServerConfigRef {
/// Computed-property alias for `listen_addr()` method.
public var listen_addr: String {
self.listen_addr().toString()
}
}
// ServerConfigRefMut and ServerConfig inherit the extensions automatically