Generacion de estructura ddd para backend

feat: Refactor API structure by consolidating endpoints and removing deprecated files
This commit is contained in:
2025-06-16 22:22:41 +02:00
parent 43f6fb03fe
commit 9c638fc3e5
10 changed files with 16 additions and 14 deletions
@@ -0,0 +1,15 @@
from pydantic import BaseModel
from typing import List, Optional
class NotaInput(BaseModel):
titulo: str
texto: str = ""
tags: Optional[List[str]] = []
conexiones: Optional[List[str]] = []
resumen: Optional[str] = ""
class BibliotecaInput(BaseModel):
nombre_biblioteca: str
descripcion: str