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, New)]
pub struct UpdateResult {
#[get(type(copy))]
pub doc_status: bool,
pub version: String,
#[get(type(copy))]
pub updating: bool,
}
#[derive(Clone, Data, Debug, Default, New)]
pub struct BridgeConfig {
#[get(type(copy))]
pub global_key: &'static str,
#[get(type(copy))]
pub core_key: &'static str,
#[get(type(copy))]
pub invoke_key: &'static str,
}