(key?: string)
| 6 | |
| 7 | /** @internal Builds the injection key `useQueryClient`/`VueQueryPlugin` use for a given `queryClientKey`. */ |
| 8 | export function getClientKey(key?: string) { |
| 9 | const suffix = key ? `:${key}` : '' |
| 10 | return `${VUE_QUERY_CLIENT}${suffix}` |
| 11 | } |
| 12 | |
| 13 | /** @internal Copies each property from `update` onto `state`, in place, for every key already on `state`. */ |
| 14 | export function updateState( |
no outgoing calls
no test coverage detected