use crate::server::AppState; use crate::server::XrpcErrorResponse; use axum::{Json, extract::State}; use jacquard_api::app_bsky::feed::get_feed_generators::{ GetFeedGeneratorsOutput, GetFeedGeneratorsRequest, }; use jacquard_axum::ExtractXrpc; use jacquard_axum::service_auth::ExtractOptionalServiceAuth; //app.bsky.feed.getFeedGenerators pub async fn app_bsky_feed_get_feed_generators( State(_): State, ExtractOptionalServiceAuth(_auth): ExtractOptionalServiceAuth, ExtractXrpc(_): ExtractXrpc, ) -> Result>, XrpcErrorResponse> { let feeds = Vec::new(); Ok(Json(GetFeedGeneratorsOutput { feeds: feeds, extra_data: None, })) }