mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-16 13:40:24 +02:00
Add query key to custom query options
This commit is contained in:
@@ -39,6 +39,7 @@ export type QueryOptions = {
|
|||||||
onError?: (err: any) => void;
|
onError?: (err: any) => void;
|
||||||
onSettled?: any;
|
onSettled?: any;
|
||||||
onSuccess?: any;
|
onSuccess?: any;
|
||||||
|
queryKey?: UseQueryOptions['queryKey'];
|
||||||
refetchInterval?: number;
|
refetchInterval?: number;
|
||||||
refetchIntervalInBackground?: UseQueryOptions['refetchIntervalInBackground'];
|
refetchIntervalInBackground?: UseQueryOptions['refetchIntervalInBackground'];
|
||||||
refetchOnWindowFocus?: boolean;
|
refetchOnWindowFocus?: boolean;
|
||||||
|
|||||||
Reference in New Issue
Block a user