UNPKG

@tsed/formio

Version:
19 lines (18 loc) 1.02 kB
import { InjectorService, Provider } from "@tsed/di"; import { PlatformParams } from "@tsed/platform-params"; import { PlatformResponseFilter } from "@tsed/platform-response-filter"; import { AlterHook } from "../domain/AlterHook.js"; import { SetActionItemMessage } from "../domain/FormioAction.js"; import { FormioActions } from "../domain/FormioActionsIndex.js"; import { FormioService } from "../services/FormioService.js"; export declare class AlterActions implements AlterHook { protected injector: InjectorService; protected formio: FormioService; protected params: PlatformParams; protected responseFilter: PlatformResponseFilter; transform(actions: FormioActions): FormioActions; protected getActions(): Provider<any>[]; protected createHandler(provider: Provider, propertyKey: string | symbol): (action: any, handler: string, method: string, req: any, res: any, next: any, setActionItemMessage: SetActionItemMessage) => Promise<void>; private onRequest; private flush; }