Refactor: Integrate backend API and normalize data
This commit integrates the backend API for fetching and updating report data. It also includes a normalization function to handle data consistency between the API and local storage. Co-authored-by: anthonymuncher <anthonymuncher@gmail.com>
This commit is contained in:
6
backend/app/schemas/user_schema.py
Normal file
6
backend/app/schemas/user_schema.py
Normal file
@@ -0,0 +1,6 @@
|
||||
# app/schemas/user_schema.py
|
||||
from pydantic import BaseModel, EmailStr
|
||||
|
||||
class UserCreate(BaseModel):
|
||||
name: str
|
||||
email: EmailStr
|
||||
Reference in New Issue
Block a user