pub mod handlers; pub mod value; use giterated_models::{instance::Instance, repository::Repository, user::User}; use giterated_plugin_sys::{PluginStackBuilder, ValueSettingExt}; use handlers::{repository_info, user_get_repositories}; use sqlx::PgPool; use value::{user_get_bio, user_get_display_name, user_set_bio, user_set_display_name}; /// A backend implementation which attempts to resolve data from the instance's database. #[derive(Debug, Clone)] #[allow(unused)] pub struct DatabaseBackend { pub(self) our_instance: Instance, pub(self) pool: PgPool, }