MCPcopy Index your code
hub / github.com/Starcounter-Jack/JSON-Patch / Validator

Interface Validator

module/core.d.ts:5–7  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3export declare const deepClone: typeof _deepClone;
4export declare type Operation = AddOperation<any> | RemoveOperation | ReplaceOperation<any> | MoveOperation | CopyOperation | TestOperation<any> | GetOperation<any>;
5export interface Validator<T> {
6 (operation: Operation, index: number, document: T, existingPathFragment: string): void;
7}
8export interface OperationResult<T> {
9 removed?: any;
10 test?: boolean;

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…