Skip to content

FormioSchemas

@tsed/formio

Usage

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

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

Overview

ts
interface FormioSchemas {
    action: FormioActionMongooseSchema;
    actionItem: Schema<MongooseDocument<FormioActionItem>>;
    form: FormioMongooseSchema<FormioForm>;
    role: FormioMongooseSchema<FormioRole>;
    schema: Schema<MongooseDocument<FormioSchema>>;
    submission: Schema<MongooseDocument<FormioSubmission>>;
    token: Schema<MongooseDocument<FormioToken>>;
    [key: string]: Schema<MongooseDocument<any>>;
}

action

ts
action: FormioActionMongooseSchema;

actionItem

ts
actionItem: Schema<MongooseDocument<FormioActionItem>>;

form

ts
form: FormioMongooseSchema<FormioForm>;

role

ts
role: FormioMongooseSchema<FormioRole>;

schema

ts
schema: Schema<MongooseDocument<FormioSchema>>;

submission

ts
submission: Schema<MongooseDocument<FormioSubmission>>;

token

ts
token: Schema<MongooseDocument<FormioToken>>;

[key: string]

ts
[key: string]: Schema<MongooseDocument<any>>;

Released under the MIT License.