Commit Graph
41 Commits
Author SHA1 Message Date
Flummi d43bf30a08 test schmest 2025-03-24 14:38:12 +01:00
Flummi 277f5a313e test 2025-03-24 14:35:08 +01:00
Flummi 5c8a4c1edc feat: update json method in Response interface to accept any type 2025-03-20 11:56:11 +01:00
Flummi bc79a439cd feat: update json method in Response interface to accept JSON type 2025-03-20 11:54:00 +01:00
Flummi c3ca8f5761 feat: add status method to Response interface and implement in Flummpress class 2025-03-19 17:59:54 +01:00
Flummi c6da7a4dd5 Typescript 🖕 2025-03-19 13:57:32 +01:00
Flummi 440d9788a2 xd 2025-03-19 13:41:02 +01:00
Flummi c3bb51f533 feat: export Request and Handler types from index files 2025-03-19 13:36:39 +01:00
Flummi 75d066cf36 refactor: change access modifiers for properties in Template class to public 2025-03-19 13:10:36 +01:00
Flummi 9f5c0f4dea declare 2025-03-19 12:57:51 +01:00
Flummi b6757715e3 Revert "-.-"
This reverts commit 945832b6c2.
2025-03-19 12:57:19 +01:00
Flummi 945832b6c2 -.- 2025-03-19 12:42:10 +01:00
Flummi 953af4564b remove unused test file 2025-03-17 10:56:45 +01:00
Flummi 63bdc0d0ed html -> md 2025-03-17 10:47:11 +01:00
Flummi b72ed99fb8 validate that routes are an array before merging with another Router instance 2025-03-17 10:37:28 +01:00
Flummi c6f87538f6 idk xD 2025-03-17 10:07:09 +01:00
Flummi 308301cb2c refactor router methods to use rest parameters for handler functions 2025-03-17 09:34:41 +01:00
Flummi 3e7851aae2 object -> array 2025-03-17 09:22:02 +01:00
Flummi b694b14065 idk 2025-03-17 09:04:11 +01:00
Flummi 566a1b671c refactor router to use array for route storage and improve route handling 2025-03-17 07:09:03 +01:00
Flummi ce9f313220 refactor router to improve route registration and handler management 2025-03-17 06:46:53 +01:00
Flummi 0415507c48 blah 2025-03-16 18:44:02 +01:00
Flummi 567f100f0a add initial documentation files 2025-03-16 18:42:38 +01:00
Flummi 0419994ae6 refactor types and improve handler processing 2025-03-16 18:42:17 +01:00
Flummi 74f759eaef remove unused imports 2025-03-15 23:33:33 +01:00
Flummi 3aa7673d5d refactor request handling to replace parsedUrl with url for consistency and improve type definitions 2025-03-15 23:32:54 +01:00
Flummi 4514a37999 refactor request handling to improve type safety and streamline request parsing 2025-03-15 22:45:13 +01:00
Flummi dc8c150ce8 improve cookie handling by ensuring cookies are properly typed and refactor data event listener for consistency 2025-03-15 22:29:42 +01:00
Flummi 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
Flummi 57f8c5d18c Optimiere Middleware-Verarbeitung in Flummpress und Router, verbessere Typen für Middleware 2025-03-15 21:28:13 +01:00
Flummi 31230f272f Aktualisiere Paketname und Version in package.json, füge Beschreibung hinzu 2025-03-15 18:31:40 +01:00
Flummi 9acd8f405b Refaktoriere Anfrage- und Antworttypen in separate Datei, verbessere die Typen für Middleware und RouteCallback 2025-03-15 18:31:33 +01:00
Flummi f2cf3821f2 Erweitere die Flummpress-Klasse um Response- und Middleware-Typen, verbessere die Fehlerbehandlung und optimiere die Anfrageverarbeitung 2025-03-15 16:41:11 +01:00
Flummi 2f6f833549 Aktualisiere Importe auf Node.js-Module und passe .gitignore an 2025-03-15 16:26:59 +01:00
Flummi 8554cdb396 Dateien nach "src" hochladen 2025-03-15 13:26:20 +00:00
Flummi 776c610574 Dateien nach "/" hochladen 2025-03-15 13:25:46 +00:00
Flummi b392003f0b src/template.mjs gelöscht 2025-03-15 13:24:58 +00:00
Flummi ad1536ff2e src/router.mjs gelöscht 2025-03-15 13:24:55 +00:00
Flummi 930f232a93 src/index.mjs gelöscht 2025-03-15 13:24:52 +00:00
Flummi be538a887a README.md gelöscht 2025-03-15 13:24:46 +00:00
Flummi c5350a2c68 package.json gelöscht 2025-03-15 13:24:41 +00:00