2024-06-24 22:46:04 +02:00
|
|
|
// SPDX-FileCopyrightText: 2024 Simon Bruder <simon@sbruder.de>
|
|
|
|
//
|
|
|
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
|
|
|
|
pub mod api;
|
2024-07-03 14:19:58 +02:00
|
|
|
pub mod frontend;
|
2024-06-24 22:46:04 +02:00
|
|
|
pub mod manage;
|
|
|
|
pub mod models;
|
|
|
|
pub mod schema;
|
|
|
|
|
2024-07-07 14:55:05 +02:00
|
|
|
use diesel_async::pg::AsyncPgConnection;
|
|
|
|
use diesel_async::pooled_connection::deadpool::Pool;
|
2024-06-24 22:46:04 +02:00
|
|
|
|
2024-07-07 14:55:05 +02:00
|
|
|
type DbPool = Pool<AsyncPgConnection>;
|