use crate::*;
#[derive(Clone, Copy, Data, New)]
pub struct UseEuvNativeBridge {
#[get(type(copy))]
pub available: Signal<bool>,
#[get(type(copy))]
pub loading: Signal<bool>,
#[get(type(copy))]
pub permissions: Signal<String>,
}
#[derive(Clone, Copy, Data, New)]
pub struct UseCacheUpdate {
#[get(type(copy))]
pub doc_status: Signal<bool>,
#[get(type(copy))]
pub version: Signal<String>,
#[get(type(copy))]
pub updating: Signal<bool>,
}
#[derive(Clone, Data, Default, Deserialize, New)]
pub struct DocsStatus {
#[get(type(copy))]
pub doc_status: bool,
pub version: String,
}
#[derive(Clone, Debug, Default)]
pub struct BridgeConfig {
pub global_key: &'static str,
pub core_key: &'static str,
pub invoke_key: &'static str,
}