The communications platform that puts data protection first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Rocket.Chat/definition/IServerEvent.ts

14 lines
275 B

import { IUser } from './IUser';
export enum IServerEventType {
FAILED_LOGIN_ATTEMPT = 'failed-login-attempt',
LOGIN = 'login',
}
export interface IServerEvent {
_id: string;
t: IServerEventType;
ts: Date;
ip: string;
u?: Partial<Pick<IUser, '_id' | 'username'>>;
}