feat(server): added in service script to run a crud

This commit is contained in:
2025-03-03 12:28:55 -06:00
parent f3b92e94e3
commit 8e5903cbf3
22 changed files with 361 additions and 131 deletions

6
server/types/jwtToken.ts Normal file
View File

@@ -0,0 +1,6 @@
import type {JwtPayload} from "jsonwebtoken";
import type {User} from "./users.js";
export type CustomJwtPayload = JwtPayload & {
user: User | undefined;
};