/home2/dakshskx/test.dakshadesign.com/node_modules/express-validator/lib
NameSizeModeActions
chain/-0755rm
context-items/-0755rm
middlewares/-0755rm
base.d.ts56210644editdlrm
base.js3000644editdlrm
context-builder.d.ts5660644editdlrm
context-builder.js10480644editdlrm
context.d.ts18630644editdlrm
context.js39520644editdlrm
express-validator.d.ts78320644editdlrm
express-validator.js59280644editdlrm
field-selection.d.ts10340644editdlrm
field-selection.js76210644editdlrm
index.d.ts6770644editdlrm
index.js11330644editdlrm
matched-data.d.ts9230644editdlrm
matched-data.js18440644editdlrm
options.d.ts136300644editdlrm
options.js770644editdlrm
utils.d.ts6880644editdlrm
utils.js18370644editdlrm
validation-result.d.ts22380644editdlrm
validation-result.js25310644editdlrm
Edit: /home2/dakshskx/test.dakshadesign.com/node_modules/express-validator/lib/matched-data.d.ts (923B)
import { Location, Request } from './base'; export declare type MatchedDataOptions = { /** * Whether the value returned by `matchedData()` should include data deemed optional. * @default false */ includeOptionals: boolean; /** * An array of locations in the request to extract the data from. */ locations: Location[]; /** * Whether the value returned by `matchedData()` should include only values that have passed * validation. * @default true */ onlyValidData: boolean; }; /** * Extracts data validated or sanitized from the request, and builds an object with them. * * @param req the express request object * @param options * @returns an object of data that's been validated or sanitized in the passed request */ export declare function matchedData>(req: Request, options?: Partial): T;