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
