mirror of
https://github.com/xfarrow/blink
synced 2025-06-27 09:03:02 +02:00
Change endpoint from persons to people
This commit is contained in:
12
backend/apis/nodejs/node_modules/express-validator/lib/utils.d.ts
generated
vendored
Normal file
12
backend/apis/nodejs/node_modules/express-validator/lib/utils.d.ts
generated
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
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[]>;
|
Reference in New Issue
Block a user