Skip to content

FormioUpdate

@tsed/formio

Usage

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

See /packages/third-parties/formio/src/types/domain/FormioUpdate.ts.

Overview

ts
interface FormioUpdate {
    db: Db;
    version: string;
    initialize(cb: (err: unknown, db: any) => void): Promise<Formio>;
    sanityCheck(req: Request, res: Response, next: NextFunction): void;
}

db

ts
db: Db;

version

ts
version: string;

initialize

ts
initialize(cb: (err: unknown, db: any) => void): Promise<Formio>;

sanityCheck

ts
sanityCheck(req: Request, res: Response, next: NextFunction): void;

Released under the MIT License.