apps/meteor/app/integrations/server/lib/ScriptEngine.ts
File ScriptEngine.ts
has 332 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
import type {
IUser,
IRoom,
IMessage,
IOutgoingIntegration,
Function executeOutgoingScript
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected async executeOutgoingScript(
integration: IOutgoingIntegration,
method: keyof IScriptClass,
params: Record<string, any>,
historyId: IIntegrationHistory['_id'],
Function executeIncomingScript
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected async executeIncomingScript(
integration: IIncomingIntegration,
method: keyof IScriptClass,
params: Record<string, any>,
): Promise<any> {