This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { QueryFunctionContext } from "@tanstack/react-query"; | |
import { Updater } from "@tanstack/query-core/build/types/packages/query-core/src/utils"; | |
import { axiosClient } from "../axios/axiosClient"; | |
import { queryClient } from "./queryClient"; | |
export class ApiQuery<Data extends object & { __OBJECT?: any }, Arg = void> { | |
static skipToken = "$_$_SKIP_$_$" as const; | |
readonly buildApiPathKey: (arg: Arg) => string; |