feat(server): added in service script to run a crud
This commit is contained in:
6
server/types/jwtToken.ts
Normal file
6
server/types/jwtToken.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import type {JwtPayload} from "jsonwebtoken";
|
||||
import type {User} from "./users.js";
|
||||
|
||||
export type CustomJwtPayload = JwtPayload & {
|
||||
user: User | undefined;
|
||||
};
|
||||
Reference in New Issue
Block a user