use crate::{
dto::topology::{AppRegistryResponse, SubnetRegistryResponse},
workflow::topology::registry::query::{AppRegistryQuery, SubnetRegistryQuery},
};
pub struct AppRegistryApi;
impl AppRegistryApi {
#[must_use]
pub fn registry() -> AppRegistryResponse {
AppRegistryQuery::registry()
}
}
pub struct SubnetRegistryApi;
impl SubnetRegistryApi {
#[must_use]
pub fn registry() -> SubnetRegistryResponse {
SubnetRegistryQuery::registry()
}
}