diff options
Diffstat (limited to 'ui/src/lib.rs')
| -rw-r--r-- | ui/src/lib.rs | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/ui/src/lib.rs b/ui/src/lib.rs index 72109d4..3b04b40 100644 --- a/ui/src/lib.rs +++ b/ui/src/lib.rs @@ -5,18 +5,15 @@ */ mod components; pub(crate) mod format; -pub(crate) mod locale; mod scaffold; +pub use jellyui_client_scripts::*; +pub use jellyui_client_style::*; + use crate::{components::View, scaffold::Scaffold}; -use jellycommon::{ - jellyobject::{Object, Tag}, - *, -}; +use jellycommon::{jellyobject::Object, *}; use serde::{Deserialize, Serialize}; -pub type FlashM = Option<(String, String)>; - #[rustfmt::skip] #[derive(Debug, Deserialize, Serialize, Default)] pub struct Config { @@ -27,7 +24,7 @@ pub struct Config { pub struct RenderInfo<'a> { pub user: Option<Object<'a>>, - pub lang: Tag, + pub lang: &'a str, pub status_message: Option<&'a str>, pub config: &'a Config, } |