use forge::prelude::*;
#[forge::query(auth = "none")]
pub async fn count(ctx: &QueryContext) -> Result<i64> {
Ok(0)
}
#[forge::query(auth = "none")]
pub async fn echo_string(ctx: &QueryContext, value: String) -> Result<String> {
Ok(value)
}
#[forge::query(auth = "none")]
pub async fn first_name(ctx: &QueryContext, id: i32) -> Result<Option<String>> {
Ok(None)
}
#[forge::query(auth = "none")]
pub async fn list_ids(ctx: &QueryContext) -> Result<Vec<i32>> {
Ok(vec![])
}
#[forge::query(auth = "none")]
pub async fn list_optional_strings(ctx: &QueryContext) -> Result<Vec<Option<String>>> {
Ok(vec![])
}
#[forge::mutation(auth = "none")]
pub async fn set_flag(ctx: &MutationContext, flag: bool) -> Result<bool> {
Ok(flag)
}
#[forge::mutation(auth = "none")]
pub async fn weighted_sum(ctx: &MutationContext, weights: Vec<f64>) -> Result<f64> {
Ok(0.0)
}