Back | Home
الـ Path الحالي: /home/picotech/domains/instantly.picotech.app/public_html/public/uploads/../uploads/../../../../instantly.picotech.app/homes/../../wa.picotech.app/public_html/node_modules/escape-html/.././object-assign/../@hapi/../inherits/../punycode/../lodash.clonedeep/../dotenv/../fresh/../.bin/../stream-shift/../express-validator/src
الملفات الموجودة في هذا الـ Path:
.
..
base.d.ts
base.js
chain
context-builder.d.ts
context-builder.js
context-items
context.d.ts
context.js
express-validator.d.ts
express-validator.js
field-selection.d.ts
field-selection.js
index.d.ts
index.js
matched-data.d.ts
matched-data.js
middlewares
options.d.ts
options.js
utils.d.ts
utils.js
validation-result.d.ts
validation-result.js

مشاهدة ملف: utils.d.ts

import { Request } from './base';
import { ContextRunningOptions, ResultWithContext, ValidationChainLike } from './chain';
export declare const bindAll: <T>(object: T) => { [K in keyof T]: T[K]; };
export declare function toString(value: any): string;
/**
 * Runs all validation chains, and returns their results.
 *
 * If one of them has a request-level bail set, the previous chains will be awaited on so that
 * results are not skewed, which can be slow.
 * If this same chain also contains errors, no further chains are run.
 */
export declare function runAllChains(req: Request, chains: readonly ValidationChainLike[], runOpts?: ContextRunningOptions): Promise<ResultWithContext[]>;