this repo has no description
lustre frontent oat-ui gleam
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

๐Ÿ’ก Fix session type documentation

+6 -4
+6 -4
src/client/session.gleam
··· 3 3 import gleam/dynamic/decode 4 4 5 5 pub type Session { 6 - /// User is sucessfully authenticated 6 + /// ๏‹ƒ User is sucessfully authenticated and is allowed to 7 + /// access protected routes. 7 8 Authenticated(token.Token) 8 - /// User is waiting for the Server to validate their credentials 9 + /// ๏„ User is waiting for the Server to validate their credentials 10 + /// and will be redirected on success / failure. 9 11 Pending(on_success: route.Route, on_error: route.Route) 10 12 11 - /// User is not logged out 13 + /// ๏€‡ User is not authenticated and can only access public routes 12 14 Guest 13 15 } 14 16 ··· 28 30 } 29 31 30 32 "guest" -> decode.success(Guest) 31 - _ -> decode.failure(Guest, "session") 33 + _ -> decode.failure(Guest, "Session") 32 34 } 33 35 }