relocate special roles to api request

This commit is contained in:
rubikscraft
2022-03-24 19:56:26 +01:00
parent 25b85c00e0
commit 95c8f630f1
33 changed files with 284 additions and 156 deletions

View File

@@ -0,0 +1,6 @@
import { FastifyRequest } from 'fastify';
import { EUserBackend } from '../entities/user.entity';
export default interface AuthFasityRequest extends FastifyRequest {
user: EUserBackend;
}