Skip to content

FormioInstaller

@tsed/formio

Usage

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

See /packages/third-parties/formio/src/types/services/FormioInstaller.ts.

Overview

ts
class FormioInstaller extends FormioDatabase {
    protected logger: Logger;
    install(template: FormioTemplate, root: any): Promise<void>;
    createRootUser<User = unknown>(user: {
        email: string;
        password: string;
    }, template: FormioTemplate): Promise<FormioSubmission<User>>;
}

protected logger

ts
protected logger: Logger;

install

ts
install(template: FormioTemplate, root: any): Promise<void>;

createRootUser

ts
createRootUser<User = unknown>(user: {
     email: string;
     password: string;
 }, template: FormioTemplate): Promise<FormioSubmission<User>>;

Released under the MIT License.