feat: Initial csv parsing for uploading rooms for a project. Need to style the upload form.
All checks were successful
CI / Linux Tests (push) Successful in 5m41s
All checks were successful
CI / Linux Tests (push) Successful in 5m41s
This commit is contained in:
@@ -14,9 +14,11 @@ struct TrunkSizeTests {
|
||||
@Dependency(\.database) var database
|
||||
|
||||
let room = try await database.rooms.create(
|
||||
project.id,
|
||||
.init(
|
||||
projectID: project.id, name: "Test", heatingLoad: 12345, coolingTotal: 12345,
|
||||
coolingSensible: nil, registerCount: 5)
|
||||
name: "Test", heatingLoad: 12345, coolingTotal: 12345,
|
||||
coolingSensible: nil, registerCount: 5
|
||||
)
|
||||
)
|
||||
|
||||
let trunk = try await database.trunkSizes.create(
|
||||
|
||||
Reference in New Issue
Block a user