import { PermissionObject } from "./permissionTypes"; export type JWTData = { [key: string]: string | number | PermissionObject; }; export type JWTToken = { userId: number; mail: string; username: string; firstname: string; lastname: string; permissions: PermissionObject; } & JWTData; export type JWTRefresh = { userId: number; } & JWTData;