feat: expose CRUD, onboarding, pubsub via web

This commit is contained in:
2026-04-22 16:32:41 +02:00
parent 9807331da4
commit 9389c32244
33 changed files with 1536 additions and 7 deletions
+2
View File
@@ -9,6 +9,8 @@ defmodule Localiser.Domain.Rooms do
Repo.all(Room)
end
def any?, do: Repo.exists?(Room)
def list_rooms_for_floor(floor_id) do
Room
|> where([r], r.floor_id == ^floor_id)