WIP: Cleans up ManualDClient and adds some more document strings.
Some checks failed
CI / Linux Tests (push) Failing after 7m3s

This commit is contained in:
2026-01-29 22:56:39 -05:00
parent 9b618d55fa
commit 4f3cc2c7ea
14 changed files with 86 additions and 96 deletions

View File

@@ -103,7 +103,7 @@ extension TrunkSize.Create {
.init(
projectID: projectID,
type: type,
height: height?.rawValue,
height: height,
name: name
)
}
@@ -270,7 +270,7 @@ final class TrunkModel: Model, @unchecked Sendable {
projectID: $project.id,
type: .init(rawValue: type)!,
rooms: rooms,
height: height.map { .init(rawValue: $0) },
height: height,
name: name
)
@@ -283,7 +283,7 @@ final class TrunkModel: Model, @unchecked Sendable {
if let type = updates.type, type.rawValue != self.type {
self.type = type.rawValue
}
if let height = updates.height?.rawValue, height != self.height {
if let height = updates.height, height != self.height {
self.height = height
}
if let name = updates.name, name != self.name {