@rocket.chat/apps-engine
Version:
The engine code for the Rocket.Chat Apps which manages, runs, translates, coordinates and all of that.
19 lines (18 loc) • 353 B
TypeScript
import type { IUser } from './IUser';
/**
* The context of execution for the following events:
* - IPostUserCreated
* - IPostUserDeleted
*/
export interface IUserContext {
/**
* The user that was affected by
* update
*/
user: IUser;
/**
* The user that performed the
* updates
*/
performedBy?: IUser;
}