UNPKG

@rocket.chat/apps-engine

Version:

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

8 lines (7 loc) 375 B
import type { IUser, IUserCreationOptions } from '../../definition/users'; export interface IInternalUserBridge { create(data: Partial<IUser>, appId: string, options?: IUserCreationOptions): Promise<string>; getAppUser(appId?: string): Promise<IUser | undefined>; remove(user: IUser, appId: string): Promise<boolean>; getActiveUserCount(): Promise<number>; }