🚀 Add feature: Frontend app working stub

🚀 Add feature: Ruff linting
🚀 Add feature: Logging
This commit is contained in:
François Pelletier 2025-05-11 21:51:32 -04:00
parent 41299d4bf1
commit 0f1a07da49
12 changed files with 234 additions and 22 deletions

View file

@ -1,4 +1,4 @@
from typing import Dict
from typing import Dict, List
from pydantic import BaseModel
@ -7,6 +7,7 @@ class AnalysisRequest(BaseModel):
analysis_type: str
filters: Dict
class AnalysisResponse(BaseModel):
result: str
@ -41,8 +42,19 @@ class GenerateResponse(BaseModel):
class ImportRequest(BaseModel):
type: str
data: str
class ImportResponse(BaseModel):
status: str
class AvailableSource(BaseModel):
display_name: str
name: str
format: str
class AvailableSourcesResponse(BaseModel):
sources: List[AvailableSource]