refactor: extract pydantic schemas from routers into schemas/ directory (Task 3.2)

- Create schemas/ directory with 12 schema files covering all domains
- Extract 70+ Pydantic models from 11 router files
- Routers now import from src.schemas.{domain} instead of defining inline
- Zero inline BaseModel definitions remain in any router

Quality gates: py_compile all schemas (pass), py_compile all routers (pass)
Refs: repo-restructure Task 3.2
This commit is contained in:
Developer
2026-06-02 20:19:05 +00:00
parent fdd1d21bc7
commit 58a9728d5e
9 changed files with 162 additions and 85 deletions
+9 -9
View File
@@ -11,13 +11,13 @@ import "./styles/utilities.css";
import "./styles/syntax-highlight.css";
ReactDOM.createRoot(document.getElementById("root")!).render(
<React.StrictMode>
<BrowserRouter>
<AuthProvider>
<SessionsProvider>
<AppRouter />
</SessionsProvider>
</AuthProvider>
</BrowserRouter>
</React.StrictMode>
<React.StrictMode>
<BrowserRouter>
<AuthProvider>
<SessionsProvider>
<AppRouter />
</SessionsProvider>
</AuthProvider>
</BrowserRouter>
</React.StrictMode>,
);