@swaggerexpert/jsonpath 3.2.4 → 3.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/types/index.d.ts +24 -0
package/package.json
CHANGED
package/types/index.d.ts
CHANGED
|
@@ -230,6 +230,30 @@ export interface TestOptions {
|
|
|
230
230
|
readonly normalized?: boolean;
|
|
231
231
|
}
|
|
232
232
|
|
|
233
|
+
/**
|
|
234
|
+
* Compiling
|
|
235
|
+
*/
|
|
236
|
+
export function compile(selectors: (string | number)[]): string;
|
|
237
|
+
|
|
238
|
+
/**
|
|
239
|
+
* Errors
|
|
240
|
+
*/
|
|
241
|
+
export declare class JSONPathError extends Error {
|
|
242
|
+
constructor(message?: string, options?: JSONPathErrorOptions);
|
|
243
|
+
cause?: Error;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
export interface JSONPathErrorOptions {
|
|
247
|
+
cause?: Error;
|
|
248
|
+
[key: string]: unknown;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
export declare class JSONPathCompileError extends JSONPathError {
|
|
252
|
+
selectors?: (string | number)[];
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
export declare class JSONPathParseError extends JSONPathError {}
|
|
256
|
+
|
|
233
257
|
/**
|
|
234
258
|
* Grammar
|
|
235
259
|
*/
|