File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 11import { getResources } from '@/api'
22import { useQuery , UseQueryOptions } from '@tanstack/react-query'
3- import { TPostsArgs , TDataProvider } from '@/types'
3+ import { TDataProvider } from '@/types'
4+ import { TPostsArgs } from '@/types/wpRestApi'
45import { AxiosRequestConfig , AxiosResponse } from 'axios'
56
67export function useMany < Response = unknown , Config = unknown > ( options : {
Original file line number Diff line number Diff line change 11import { getResource } from '@/api'
22import { useQuery , UndefinedInitialDataOptions } from '@tanstack/react-query'
3- import { TPostArgs , TDataProvider } from '@/types'
3+ import { TDataProvider } from '@/types'
4+ import { TPostArgs } from '@/types/wpRestApi'
45import { AxiosRequestConfig , AxiosResponse } from 'axios'
56
67export function useOne < Response = unknown , Config = unknown > ( options : {
You can’t perform that action at this time.
0 commit comments