1 |
|
2 |
|
3 |
|
4 |
|
5 | export interface IJsonPatch {
|
6 | readonly op: "replace" | "add" | "remove";
|
7 | readonly path: string;
|
8 | readonly value?: any;
|
9 | }
|
10 | export interface IReversibleJsonPatch extends IJsonPatch {
|
11 | readonly oldValue: any;
|
12 | }
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 | export declare function escapeJsonPath(path: string): string;
|
19 |
|
20 |
|
21 |
|
22 | export declare function unescapeJsonPath(path: string): string;
|
23 |
|
24 |
|
25 |
|
26 |
|
27 |
|
28 |
|
29 | export declare function joinJsonPath(path: string[]): string;
|
30 |
|
31 |
|
32 |
|
33 |
|
34 |
|
35 |
|
36 | export declare function splitJsonPath(path: string): string[];
|