14 Commits

Author SHA1 Message Date
c3ca8f5761 feat: add status method to Response interface and implement in Flummpress class 2025-03-19 17:59:54 +01:00
c6da7a4dd5 Typescript 🖕 2025-03-19 13:57:32 +01:00
b72ed99fb8 validate that routes are an array before merging with another Router instance 2025-03-17 10:37:28 +01:00
308301cb2c refactor router methods to use rest parameters for handler functions 2025-03-17 09:34:41 +01:00
3e7851aae2 object -> array 2025-03-17 09:22:02 +01:00
566a1b671c refactor router to use array for route storage and improve route handling 2025-03-17 07:09:03 +01:00
ce9f313220 refactor router to improve route registration and handler management 2025-03-17 06:46:53 +01:00
0419994ae6 refactor types and improve handler processing 2025-03-16 18:42:17 +01:00
3aa7673d5d refactor request handling to replace parsedUrl with url for consistency and improve type definitions 2025-03-15 23:32:54 +01:00
edd50ef9b1 clean up imports in index.ts and router.ts, improve types in router.ts and types.d.ts 2025-03-15 22:00:18 +01:00
57f8c5d18c Optimiere Middleware-Verarbeitung in Flummpress und Router, verbessere Typen für Middleware 2025-03-15 21:28:13 +01:00
9acd8f405b Refaktoriere Anfrage- und Antworttypen in separate Datei, verbessere die Typen für Middleware und RouteCallback 2025-03-15 18:31:33 +01:00
2f6f833549 Aktualisiere Importe auf Node.js-Module und passe .gitignore an 2025-03-15 16:26:59 +01:00
8554cdb396 Dateien nach "src" hochladen 2025-03-15 13:26:20 +00:00