Skip to content

FormioMongooseSchema

@tsed/formio

Usage

typescript
import { FormioMongooseSchema } from "@tsed/third-parties/formio/src/types/domain/FormioBaseModel";

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

Overview

ts
type FormioMongooseSchema<T> = Schema<Document<T>> & {
    machineName(document: MongooseDocument<T>, done: Function): void;
};

machineName

ts
machineName(document: MongooseDocument<T>, done: Function): void;

Released under the MIT License.