pub(crate) fn router_database<S>(state: S) -> ApiRouterwhere S: DatabaseApi + Clone + Send + Sync + 'static,