Function
generateQueryString
(query: RequestOptions['query'], params: ParsedQs)
Source from the content-addressed store, hash-verified
| 35 | } |
| 36 | |
| 37 | function generateQueryString(query: RequestOptions['query'], params: ParsedQs): string { |
| 38 | return qs.stringify( |
| 39 | { |
| 40 | ...(params || {}), |
| 41 | ...(query || {}), |
| 42 | }, |
| 43 | { |
| 44 | addQueryPrefix: true, |
| 45 | }, |
| 46 | ) |
| 47 | } |
| 48 | |
| 49 | export class NextRESTClient { |
| 50 | private _DELETE: ( |
Tested by
no test coverage detected
Used in the wild real call sites across dependent graphs
searching dependent graphs…