We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
JSONQueryPipe
1 parent b30e614 commit 82333d7Copy full SHA for 82333d7
src/jsonquery.ts
@@ -31,5 +31,6 @@ export type {
31
JSONQueryParseOptions,
32
JSONQueryPrimitive,
33
JSONQueryProperty,
34
+ JSONQueryPipe,
35
JSONQueryStringifyOptions
36
} from './types'
src/types.ts
@@ -6,6 +6,7 @@ export type JSONQuery = JSONQueryFunction | JSONQueryObject | JSONQueryPrimitive
6
export type JSONProperty = string
7
export type JSONPath = JSONProperty[]
8
export type JSONQueryProperty = ['get', path?: string | JSONPath]
9
+export type JSONQueryPipe = ['pipe', ...JSONQuery[]]
10
11
export interface JSONQueryOptions {
12
functions?: FunctionBuildersMap
0 commit comments