* doing some work for enumerating how the accounts work together * fixing up build scripts and removing extra things * making JavaScript as_tag use the struct field names * making shared.js a module, removing wasmloader.js * don't compress compressed things
18 lines
400 B
Rust
18 lines
400 B
Rust
#![allow(clippy::disallowed_types)] // because `Routable` uses a hashmap
|
|
use serde::{Deserialize, Serialize};
|
|
use yew_router::Routable;
|
|
|
|
#[derive(Routable, PartialEq, Eq, Clone, Debug, Serialize, Deserialize)]
|
|
pub enum LoginRoute {
|
|
#[at("/ui/login")]
|
|
Login,
|
|
#[at("/ui/reauth")]
|
|
Reauth,
|
|
|
|
#[at("/ui/oauth2")]
|
|
Oauth2,
|
|
|
|
#[not_found]
|
|
#[at("/ui/login/404")]
|
|
NotFound,
|
|
}
|