MCPcopy Index your code
hub / github.com/express-validator/express-validator / FieldInstance

Interface FieldInstance

src/base.ts:64–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62export type StandardSanitizer = (input: string, ...options: any[]) => any;
63
64export interface FieldInstance {
65 path: string;
66 originalPath: string;
67 pathValues: readonly (string | string[])[];
68 location: Location;
69 value: any;
70}
71
72// pathValues is omitted as it doesn't make sense when a globstar is involved:
73// With known fields `**.foo` and request `{ obj: { foo: 1, bar: 2 } }`,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…