#[macro_export]
macro_rules! canic_emit_nonroot_sync_topology_endpoints {
() => {
#[$crate::canic_update(internal, requires(caller::is_parent()))]
async fn canic_sync_state(
snapshot: ::canic::dto::cascade::StateSnapshotInput,
) -> Result<(), ::canic::Error> {
$crate::__internal::core::api::cascade::CascadeApi::sync_state(snapshot).await
}
#[$crate::canic_update(internal, requires(caller::is_parent()))]
async fn canic_sync_topology(
snapshot: ::canic::dto::cascade::TopologySnapshotInput,
) -> Result<(), ::canic::Error> {
$crate::__internal::core::api::cascade::CascadeApi::sync_topology(snapshot).await
}
};
}
#[macro_export]
macro_rules! canic_emit_nonroot_auth_attestation_endpoints {
() => {};
}