mirror of
https://github.com/CaramelFur/Picsur.git
synced 2025-11-13 23:35:39 +01:00
relocate special roles to api request
This commit is contained in:
6
backend/src/models/requests/authrequest.dto.ts
Normal file
6
backend/src/models/requests/authrequest.dto.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import { FastifyRequest } from 'fastify';
|
||||
import { EUserBackend } from '../entities/user.entity';
|
||||
|
||||
export default interface AuthFasityRequest extends FastifyRequest {
|
||||
user: EUserBackend;
|
||||
}
|
||||
Reference in New Issue
Block a user