web: add per-message unread control and display
This commit is contained in:
@@ -20,6 +20,14 @@ pub struct FrontPageQuery;
|
||||
)]
|
||||
pub struct ShowThreadQuery;
|
||||
|
||||
#[derive(GraphQLQuery)]
|
||||
#[graphql(
|
||||
schema_path = "graphql/schema.json",
|
||||
query_path = "graphql/mark_read.graphql",
|
||||
response_derives = "Debug"
|
||||
)]
|
||||
pub struct MarkReadMutation;
|
||||
|
||||
pub async fn send_graphql<Body, Resp>(body: Body) -> Result<graphql_client::Response<Resp>, Error>
|
||||
where
|
||||
Body: Serialize,
|
||||
|
||||
Reference in New Issue
Block a user