import * as plugins from '../loint-reception.plugins.js';
import { type IUser, type IRole } from '../data/index.js';

export interface IReq_InternalAuthorization
  extends plugins.typedRequestInterfaces.implementsTR<
    plugins.typedRequestInterfaces.ITypedRequest,
    IReq_InternalAuthorization
  > {
  method: '';
  request: {
    accountData: IUser;
    jwt: string;
  };
  response: {
    accountData: IUser;
    jwt: string;
    relevantRoles: IRole[];
  };
}
