Add pre-commit config

This commit is contained in:
2023-09-24 22:57:57 +02:00
parent 7b68f443b8
commit 31ff4c1116
25 changed files with 485 additions and 844 deletions

View File

@@ -2,7 +2,10 @@ use serde::Serialize;
use crate::prisma::{author, book};
use super::{sequence::Sequence, utils::{get_available_types, get_translators, get_sequences}};
use super::{
sequence::Sequence,
utils::{get_available_types, get_sequences, get_translators},
};
#[derive(Serialize)]
pub struct Author {
@@ -34,7 +37,6 @@ impl From<author::Data> for Author {
}
}
#[derive(Serialize)]
pub struct AuthorBook {
pub id: i32,