remove bff

This commit is contained in:
2022-10-03 22:08:25 +02:00
parent d88abefa9a
commit 8c51b68523
21 changed files with 105 additions and 138 deletions

1
como_domain/src/lib.rs Normal file
View File

@@ -0,0 +1 @@
pub mod users;

View File

View File

@@ -0,0 +1,12 @@
pub mod requests;
use serde::{Deserialize, Serialize};
use uuid::Uuid;
#[derive(Serialize, Deserialize, Debug)]
pub struct UserDto {
#[serde(skip_serializing, skip_deserializing)]
pub id: Uuid,
pub username: String,
pub email: String,
}

View File

@@ -0,0 +1,8 @@
use serde::{Deserialize, Serialize};
#[derive(Serialize, Deserialize)]
pub struct CreateUserDto {
pub username: String,
pub email: String,
pub password: String,
}

View File