1 |
pub mod handlers;
|
2 |
pub mod value;
|
3 |
|
4 |
use giterated_models::{instance::Instance, repository::Repository, user::User};
|
5 |
use giterated_plugin_sys::{PluginStackBuilder, ValueSettingExt};
|
6 |
use handlers::{repository_info, user_get_repositories};
|
7 |
use sqlx::PgPool;
|
8 |
use value::{user_get_bio, user_get_display_name, user_set_bio, user_set_display_name};
|
9 |
|
10 |
|
11 |
#[derive(Debug, Clone)]
|
12 |
#[allow(unused)]
|
13 |
pub struct DatabaseBackend {
|
14 |
pub(self) our_instance: Instance,
|
15 |
pub(self) pool: PgPool,
|
16 |
}
|
17 |
|