import { IAccontRole } from "./roles";

export const notificationTypes = {
  1: (extraInfo: { old_role: IAccontRole; new_role: IAccontRole }) =>
    `Your role was changed from ${extraInfo.old_role} to ${extraInfo.new_role}.`,
} as const;

export type INotificationType = keyof typeof notificationTypes;
