export enum eUserType {
  USER,
  TENANT,
  ADMIN,
}

export type TokenUserType = eUserType.ADMIN | eUserType.TENANT | eUserType.USER;

export type JwtAccessTokenPayload = {
  id: number;
  roleId: number;
  tokenId: string;
  type: TokenUserType;
};

export type JwtRefreshTokenPayload = {
  id: number;
  tokenId: string;
  type: TokenUserType;
};
