better shared api calls

This commit is contained in:
rubikscraft
2022-02-25 12:22:00 +01:00
parent 825b2856bb
commit 626e228991
37 changed files with 407 additions and 131 deletions

View File

@@ -1,5 +1,5 @@
import { FastifyRequest } from 'fastify';
import { User } from '../../../collections/userdb/user.dto';
import { User } from 'imagur-shared/dist/dto/user.dto';
export default interface AuthFasityRequest extends FastifyRequest {
user: User;