Skip to content

AlterActions

@tsed/formio

Usage

typescript
import { AlterActions } from "@tsed/formio";

See /packages/third-parties/formio/src/types/components/AlterActions.ts.

Overview

ts
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>;
    
}

protected injector

ts
protected injector: InjectorService;

protected formio

ts
protected formio: FormioService;

protected params

ts
protected params: PlatformParams;

protected responseFilter

ts
protected responseFilter: PlatformResponseFilter;

transform

ts
transform(actions: FormioActions): FormioActions;

protected getActions

ts
protected getActions(): Provider<any>[];

protected createHandler

ts
protected createHandler(provider: Provider, propertyKey: string | symbol): (action: any, handler: string, method: string, req: any, res: any, next: any, setActionItemMessage: SetActionItemMessage) => Promise<void>;

Released under the MIT License.