AlterTemplateImportSteps
@tsed/formio
Usage
typescript
import { AlterTemplateImportSteps } from "@tsed/formio";
See /packages/third-parties/formio/src/types/components/AlterTemplateImportSteps.ts.
Overview
ts
class AlterTemplateImportSteps implements AlterHook {
protected database: FormioDatabase;
transform(queue: any[], install: Function, template: Partial<FormioTemplate>): any;
protected importSubmissions(template: Partial<FormioTemplate>, done: any): Promise<void>;
protected importSubmission(submission: Partial<FormioSubmission>, mapper: FormioMapper): Promise<any>;
}
protected database
ts
protected database: FormioDatabase;
transform
ts
transform(queue: any[], install: Function, template: Partial<FormioTemplate>): any;
protected importSubmissions
ts
protected importSubmissions(template: Partial<FormioTemplate>, done: any): Promise<void>;
protected importSubmission
ts
protected importSubmission(submission: Partial<FormioSubmission>, mapper: FormioMapper): Promise<any>;