UNPKG

@rocket.chat/apps-engine

Version:

The engine code for the Rocket.Chat Apps which manages, runs, translates, coordinates and all of that.

15 lines (14 loc) 541 B
import type { IHttp, IModify, IPersistence, IRead } from '../accessors'; import { AppMethod } from '../metadata'; import type { IUserContext } from './IUserContext'; /** * Event interface that allows an app to * register as a handler of the `IPostUserUpdated` * event * * This event is triggered *after* the * user has been saved to the database. */ export interface IPostUserUpdated { [AppMethod.EXECUTE_POST_USER_CREATED](context: IUserContext, read: IRead, http: IHttp, persis: IPersistence, modify: IModify): Promise<void>; }