(unorderedObj: T)
| 193 | } |
| 194 | |
| 195 | function withOrderedKeys<T extends {[key: string]: any}>(unorderedObj: T): T { |
| 196 | const orderedObj = {} as {[key: string]: any}; |
| 197 | Object.keys(unorderedObj) |
| 198 | .sort() |
| 199 | .forEach((key) => (orderedObj[key] = unorderedObj[key])); |
| 200 | return orderedObj as T; |
| 201 | } |
| 202 | |
| 203 | function buildCacheQueryOptions( |
| 204 | inOptions?: Pick<CacheQueryOptions, 'ignoreSearch'>, |