some more bs

This commit is contained in:
2026-04-21 11:50:04 +01:00
parent 74a01bd9e6
commit 6c60013295
11 changed files with 177 additions and 58 deletions

View File

@@ -1,9 +1,22 @@
use crate::query;
pub(crate) mod repo;
pub(crate) mod user;
#[derive(Clone)]
pub struct QueryContext {
pub(crate) http: reqwest::Client,
pub(crate) auth: Option<Auth>,
}
impl query::Context for QueryContext {}
#[derive(Clone)]
pub(crate) struct Auth {
pub(crate) access_token: String,
pub(crate) refresh_token: String,
}
pub enum Error {
Unauthenticated,
}
impl query::Context for QueryContext {}