Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Mensam.Client.UI.Desks
Documentation
newtype NewDeskInfo Source #
Constructors
MkNewDeskInfo | |
Fields |
data NewReservationInfo Source #
Constructors
MkNewReservationInfo | |
data ScreenDesksState Source #
Constructors
screenStateDesksNewDeskForm :: Lens' ScreenDesksState (Maybe (Form NewDeskInfo ClientEvent ClientName)) Source #
screenStateDesksCreateReservation :: Lens' ScreenDesksState (Maybe (Form NewReservationInfo ClientEvent ClientName)) Source #
desksDraw :: ScreenDesksState -> [Widget ClientName] Source #
desksHandleEvent :: BrickEvent ClientName ClientEvent -> ApplicationT (EventM ClientName ScreenDesksState) () Source #
prettyReservations :: TimeZone -> Day -> [Reservation] -> Text Source #