2f0e1b7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import { Role } from "@common/enums/role.enum"; export type IJwtLoginPayload = { id: string; email: string; name: string; } & ( | { role: Role; type: "admin"; } | { type: "user"; } );