add guild sql, move things around for req body
All checks were successful
Code quality checks / biome (push) Successful in 9s

This commit is contained in:
creations 2025-06-18 17:45:30 -04:00
parent 33a602cdd0
commit ca0410f7fb
Signed by: creations
GPG key ID: 8F553AA4320FC711
30 changed files with 332 additions and 183 deletions

View file

@ -5,13 +5,19 @@ type RouteDef = {
method: string | string[];
accepts: string | null | string[];
returns: string;
needsBody?: "multipart" | "json";
needsBody?:
| "multipart"
| "json"
| "urlencoded"
| "text"
| "raw"
| "buffer"
| "blob";
};
type RouteModule = {
handler: (
request: Request | ExtendedRequest,
requestBody: unknown,
server: Server,
) => Promise<Response> | Response;
routeDef: RouteDef;