use super::*;
#[event]
#[derive(Data, Debug)]
pub struct ShowcasePulseEvent {
pub(crate) source: String,
#[get(type(copy))]
pub(crate) seq: u32,
}
#[store]
#[derive(Data, Debug, Default, PartialEq)]
pub struct ShowcaseGlobalBanner {
#[get(type(copy))]
pub(crate) pulses: u32,
pub(crate) last_source: String,
}
#[derive(Clone, Getter)]
pub struct ShowcasePage {
#[get(type(copy))]
pub(crate) route: &'static str,
pub(crate) state: ShowcaseState,
#[get(type(copy))]
pub(crate) tokens: ThemeTokens,
}
#[derive(Clone, Copy, Getter)]
pub struct ShowcaseRouteSpec {
#[get(type(copy))]
pub(crate) path: &'static str,
#[get(type(copy))]
pub(crate) label: &'static str,
#[get(type(copy))]
pub(crate) title: &'static str,
#[get(type(copy))]
pub(crate) section: &'static str,
#[get(type(copy))]
pub(crate) tag: &'static str,
#[get(type(copy))]
pub(crate) summary: &'static str,
#[get(type(copy))]
pub(crate) mount: fn(&ShowcaseState, ThemeTokens) -> NodeId,
}