subspace_dashboard/product.rs
1//! The current product's immutable configuration context, shared with boards.
2
3use std::sync::Arc;
4
5use gpui_kit::Global;
6use subspace_product::ProductContext;
7
8/// Set by the product shell before constructing dashboard entities. Boards use
9/// the same context for their additional configuration directories.
10#[derive(Clone)]
11pub struct CurrentProduct(pub Arc<ProductContext>);
12
13impl Global for CurrentProduct {}