Skip to content

Commit

Permalink
feat: Group API Clients by Path Structure
Browse files Browse the repository at this point in the history
  • Loading branch information
stijnvanhulle committed Dec 5, 2024
1 parent 5012135 commit 52fb48c
Show file tree
Hide file tree
Showing 70 changed files with 476 additions and 238 deletions.
12 changes: 12 additions & 0 deletions .changeset/dirty-doors-move.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
"@kubb/plugin-svelte-query": minor
"@kubb/plugin-react-query": minor
"@kubb/plugin-solid-query": minor
"@kubb/plugin-vue-query": minor
"@kubb/plugin-client": minor
"@kubb/plugin-faker": minor
"@kubb/plugin-msw": minor
"@kubb/plugin-swr": minor
---

Group API clients by path structure
15 changes: 14 additions & 1 deletion docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,20 @@ title: Changelog
# Changelog

## 3.1.0
- [`plugin-msw`](/plugins/plugin-msw): Support dynamic and customizable data in handlers
- [`plugin-react-query`](/plugins/plugin-react-query/): Group API clients by path structure
- [`plugin-svelte-query`](/plugins/plugin-svelte-query/): Group API clients by path structure
- [`plugin-vue-query`](/plugins/plugin-vue-query/): Group API clients by path structure
- [`plugin-solid-query`](/plugins/plugin-solid-query/): Group API clients by path structure
- [`plugin-msw`](/plugins/plugin-msw): Group API clients by path structure
```typescript
group: {
type: 'path',
name: ({ group }) => {
const firstSegment = group.split('/')[1];
return firstSegment;
}
}
```
```typescript
findPetsByStatusHandler((info) => {
const { params } = info
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { http } from 'msw'
import type { FindPetsByStatusQueryResponse } from '../../models/ts/petController/FindPetsByStatus.ts'
import { http } from 'msw'

export function findPetsByStatusHandler(data?: FindPetsByStatusQueryResponse | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Response)) {
return http.get('*/pet/findByStatus/:step_id', function handler(info) {
Expand Down
12 changes: 12 additions & 0 deletions examples/client/kubb.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,12 @@ export default defineConfig(() => {
pattern: 'store',
},
],
group: {
type: 'tag',
name({ group }) {
return `${group}Controller`
},
},
dataReturnType: 'full',
pathParamsType: 'object',
}),
Expand Down Expand Up @@ -111,6 +117,12 @@ export default defineConfig(() => {
pattern: 'store',
},
],
group: {
type: 'tag',
name({ group }) {
return `${group}Controller`
},
},
transformers: {
name(name, type) {
if (type === 'function') {
Expand Down
9 changes: 8 additions & 1 deletion examples/client/src/gen/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,5 +148,12 @@ export { addPetRequestStatusEnum } from './models/ts/AddPetRequest.js'
export { orderStatusEnum, orderHttpStatusEnum } from './models/ts/Order.js'
export { petStatusEnum } from './models/ts/Pet.js'
export { findPetsByStatusQueryParamsStatusEnum } from './models/ts/petController/FindPetsByStatus.js'
export { getInventoryController, placeOrderController, placeOrderPatchController, getOrderByIdController, deleteOrderController } from './tag.js'
export {
getInventoryController,
placeOrderController,
placeOrderPatchController,
getOrderByIdController,
deleteOrderController,
storeController,
} from './tag.js'
export { getInventory, placeOrder, placeOrderPatch, getOrderById, deleteOrder } from './tagObject.js'
4 changes: 4 additions & 0 deletions examples/client/src/gen/tag.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,7 @@ export async function deleteOrderController(orderId: DeleteOrderPathParams['orde
})
return res.data
}

export function storeController() {
return { getInventoryController, placeOrderController, placeOrderPatchController, getOrderByIdController, deleteOrderController }
}
3 changes: 3 additions & 0 deletions examples/react-query/kubb.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ export const config = {
output: {
path: './hooks',
},
group: {
type: 'path',
},
queryKey(props) {
const keys = QueryKey.getTransformer(props)
return ['"v5"', ...keys]
Expand Down
11 changes: 7 additions & 4 deletions examples/react-query/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
import { QueryClient, QueryClientProvider, useQueries } from '@tanstack/react-query'
import { ReactQueryDevtools } from '@tanstack/react-query-devtools'
import { useState } from 'react'
import { findPetsByStatusQueryOptionsHook, useFindPetsByStatusHook } from './gen/hooks/useFindPetsByStatusHook.ts'
import { useFindPetsByTagsInfiniteHook } from './gen/hooks/useFindPetsByTagsInfiniteHook.ts'
import { useUpdatePetWithFormHook } from './gen/hooks/useUpdatePetWithFormHook.ts'
import type { FindPetsByStatusQueryParamsStatusEnum } from './gen/models/FindPetsByStatus.ts'
import {
type FindPetsByStatusQueryParamsStatusEnum,
findPetsByStatusQueryOptionsHook,
useFindPetsByStatusHook,
useFindPetsByTagsInfiniteHook,
useUpdatePetWithFormHook,
} from './gen/index.ts'

const queryClient = new QueryClient()

Expand Down
120 changes: 60 additions & 60 deletions examples/react-query/src/gen/hooks/index.ts
Original file line number Diff line number Diff line change
@@ -1,68 +1,68 @@
export type { AddPetMutationKey } from './useAddPetHook.ts'
export type { CreateUserMutationKey } from './useCreateUserHook.ts'
export type { CreateUsersWithListInputMutationKey } from './useCreateUsersWithListInputHook.ts'
export type { DeleteOrderMutationKey } from './useDeleteOrderHook.ts'
export type { DeletePetMutationKey } from './useDeletePetHook.ts'
export type { DeleteUserMutationKey } from './useDeleteUserHook.ts'
export type { FindPetsByStatusQueryKey } from './useFindPetsByStatusHook.ts'
export type { FindPetsByStatusSuspenseQueryKey } from './useFindPetsByStatusSuspenseHook.ts'
export type { FindPetsByTagsQueryKey } from './useFindPetsByTagsHook.ts'
export type { FindPetsByTagsInfiniteQueryKey } from './useFindPetsByTagsInfiniteHook.ts'
export type { FindPetsByTagsSuspenseQueryKey } from './useFindPetsByTagsSuspenseHook.ts'
export type { GetInventoryQueryKey } from './useGetInventoryHook.ts'
export type { GetInventorySuspenseQueryKey } from './useGetInventorySuspenseHook.ts'
export type { GetOrderByIdQueryKey } from './useGetOrderByIdHook.ts'
export type { GetOrderByIdSuspenseQueryKey } from './useGetOrderByIdSuspenseHook.ts'
export type { GetPetByIdQueryKey } from './useGetPetByIdHook.ts'
export type { GetPetByIdSuspenseQueryKey } from './useGetPetByIdSuspenseHook.ts'
export type { GetUserByNameQueryKey } from './useGetUserByNameHook.ts'
export type { GetUserByNameSuspenseQueryKey } from './useGetUserByNameSuspenseHook.ts'
export type { LoginUserQueryKey } from './useLoginUserHook.ts'
export type { LoginUserSuspenseQueryKey } from './useLoginUserSuspenseHook.ts'
export type { LogoutUserQueryKey } from './useLogoutUserHook.ts'
export type { LogoutUserSuspenseQueryKey } from './useLogoutUserSuspenseHook.ts'
export type { PlaceOrderMutationKey } from './usePlaceOrderHook.ts'
export type { PlaceOrderPatchMutationKey } from './usePlaceOrderPatchHook.ts'
export type { UpdatePetMutationKey } from './useUpdatePetHook.ts'
export type { UpdatePetWithFormQueryKey } from './useUpdatePetWithFormHook.ts'
export type { UpdatePetWithFormSuspenseQueryKey } from './useUpdatePetWithFormSuspenseHook.ts'
export type { UpdateUserMutationKey } from './useUpdateUserHook.ts'
export type { UploadFileMutationKey } from './useUploadFileHook.ts'
export { addPetMutationKey, useAddPetHook } from './useAddPetHook.ts'
export { createUserMutationKey, useCreateUserHook } from './useCreateUserHook.ts'
export { createUsersWithListInputMutationKey, useCreateUsersWithListInputHook } from './useCreateUsersWithListInputHook.ts'
export { deleteOrderMutationKey, useDeleteOrderHook } from './useDeleteOrderHook.ts'
export { deletePetMutationKey, useDeletePetHook } from './useDeletePetHook.ts'
export { deleteUserMutationKey, useDeleteUserHook } from './useDeleteUserHook.ts'
export { findPetsByStatusQueryKey, findPetsByStatusQueryOptionsHook, useFindPetsByStatusHook } from './useFindPetsByStatusHook.ts'
export type { AddPetMutationKey } from './pet/useAddPetHook.ts'
export type { DeletePetMutationKey } from './pet/useDeletePetHook.ts'
export type { FindPetsByStatusQueryKey } from './pet/useFindPetsByStatusHook.ts'
export type { FindPetsByStatusSuspenseQueryKey } from './pet/useFindPetsByStatusSuspenseHook.ts'
export type { FindPetsByTagsQueryKey } from './pet/useFindPetsByTagsHook.ts'
export type { FindPetsByTagsInfiniteQueryKey } from './pet/useFindPetsByTagsInfiniteHook.ts'
export type { FindPetsByTagsSuspenseQueryKey } from './pet/useFindPetsByTagsSuspenseHook.ts'
export type { GetPetByIdQueryKey } from './pet/useGetPetByIdHook.ts'
export type { GetPetByIdSuspenseQueryKey } from './pet/useGetPetByIdSuspenseHook.ts'
export type { UpdatePetMutationKey } from './pet/useUpdatePetHook.ts'
export type { UpdatePetWithFormQueryKey } from './pet/useUpdatePetWithFormHook.ts'
export type { UpdatePetWithFormSuspenseQueryKey } from './pet/useUpdatePetWithFormSuspenseHook.ts'
export type { UploadFileMutationKey } from './pet/useUploadFileHook.ts'
export type { DeleteOrderMutationKey } from './store/useDeleteOrderHook.ts'
export type { GetInventoryQueryKey } from './store/useGetInventoryHook.ts'
export type { GetInventorySuspenseQueryKey } from './store/useGetInventorySuspenseHook.ts'
export type { GetOrderByIdQueryKey } from './store/useGetOrderByIdHook.ts'
export type { GetOrderByIdSuspenseQueryKey } from './store/useGetOrderByIdSuspenseHook.ts'
export type { PlaceOrderMutationKey } from './store/usePlaceOrderHook.ts'
export type { PlaceOrderPatchMutationKey } from './store/usePlaceOrderPatchHook.ts'
export type { CreateUserMutationKey } from './user/useCreateUserHook.ts'
export type { CreateUsersWithListInputMutationKey } from './user/useCreateUsersWithListInputHook.ts'
export type { DeleteUserMutationKey } from './user/useDeleteUserHook.ts'
export type { GetUserByNameQueryKey } from './user/useGetUserByNameHook.ts'
export type { GetUserByNameSuspenseQueryKey } from './user/useGetUserByNameSuspenseHook.ts'
export type { LoginUserQueryKey } from './user/useLoginUserHook.ts'
export type { LoginUserSuspenseQueryKey } from './user/useLoginUserSuspenseHook.ts'
export type { LogoutUserQueryKey } from './user/useLogoutUserHook.ts'
export type { LogoutUserSuspenseQueryKey } from './user/useLogoutUserSuspenseHook.ts'
export type { UpdateUserMutationKey } from './user/useUpdateUserHook.ts'
export { addPetMutationKey, useAddPetHook } from './pet/useAddPetHook.ts'
export { deletePetMutationKey, useDeletePetHook } from './pet/useDeletePetHook.ts'
export { findPetsByStatusQueryKey, findPetsByStatusQueryOptionsHook, useFindPetsByStatusHook } from './pet/useFindPetsByStatusHook.ts'
export {
findPetsByStatusSuspenseQueryKey,
findPetsByStatusSuspenseQueryOptionsHook,
useFindPetsByStatusSuspenseHook,
} from './useFindPetsByStatusSuspenseHook.ts'
export { findPetsByTagsQueryKey, findPetsByTagsQueryOptionsHook, useFindPetsByTagsHook } from './useFindPetsByTagsHook.ts'
export { findPetsByTagsInfiniteQueryKey, findPetsByTagsInfiniteQueryOptionsHook, useFindPetsByTagsInfiniteHook } from './useFindPetsByTagsInfiniteHook.ts'
export { findPetsByTagsSuspenseQueryKey, findPetsByTagsSuspenseQueryOptionsHook, useFindPetsByTagsSuspenseHook } from './useFindPetsByTagsSuspenseHook.ts'
export { getInventoryQueryKey, getInventoryQueryOptionsHook } from './useGetInventoryHook.ts'
export { getInventorySuspenseQueryKey, getInventorySuspenseQueryOptionsHook, useGetInventorySuspenseHook } from './useGetInventorySuspenseHook.ts'
export { getOrderByIdQueryKey, getOrderByIdQueryOptionsHook, useGetOrderByIdHook } from './useGetOrderByIdHook.ts'
export { getOrderByIdSuspenseQueryKey, getOrderByIdSuspenseQueryOptionsHook, useGetOrderByIdSuspenseHook } from './useGetOrderByIdSuspenseHook.ts'
export { getPetByIdQueryKey, getPetByIdQueryOptionsHook, useGetPetByIdHook } from './useGetPetByIdHook.ts'
export { getPetByIdSuspenseQueryKey, getPetByIdSuspenseQueryOptionsHook, useGetPetByIdSuspenseHook } from './useGetPetByIdSuspenseHook.ts'
export { getUserByNameQueryKey, getUserByNameQueryOptionsHook, useGetUserByNameHook } from './useGetUserByNameHook.ts'
export { getUserByNameSuspenseQueryKey, getUserByNameSuspenseQueryOptionsHook, useGetUserByNameSuspenseHook } from './useGetUserByNameSuspenseHook.ts'
export { loginUserQueryKey, loginUserQueryOptionsHook, useLoginUserHook } from './useLoginUserHook.ts'
export { loginUserSuspenseQueryKey, loginUserSuspenseQueryOptionsHook, useLoginUserSuspenseHook } from './useLoginUserSuspenseHook.ts'
export { logoutUserQueryKey, logoutUserQueryOptionsHook, useLogoutUserHook } from './useLogoutUserHook.ts'
export { logoutUserSuspenseQueryKey, logoutUserSuspenseQueryOptionsHook, useLogoutUserSuspenseHook } from './useLogoutUserSuspenseHook.ts'
export { placeOrderMutationKey, usePlaceOrderHook } from './usePlaceOrderHook.ts'
export { placeOrderPatchMutationKey, usePlaceOrderPatchHook } from './usePlaceOrderPatchHook.ts'
export { updatePetMutationKey, useUpdatePetHook } from './useUpdatePetHook.ts'
export { updatePetWithFormQueryKey, updatePetWithFormQueryOptionsHook, useUpdatePetWithFormHook } from './useUpdatePetWithFormHook.ts'
} from './pet/useFindPetsByStatusSuspenseHook.ts'
export { findPetsByTagsQueryKey, findPetsByTagsQueryOptionsHook, useFindPetsByTagsHook } from './pet/useFindPetsByTagsHook.ts'
export { findPetsByTagsInfiniteQueryKey, findPetsByTagsInfiniteQueryOptionsHook, useFindPetsByTagsInfiniteHook } from './pet/useFindPetsByTagsInfiniteHook.ts'
export { findPetsByTagsSuspenseQueryKey, findPetsByTagsSuspenseQueryOptionsHook, useFindPetsByTagsSuspenseHook } from './pet/useFindPetsByTagsSuspenseHook.ts'
export { getPetByIdQueryKey, getPetByIdQueryOptionsHook, useGetPetByIdHook } from './pet/useGetPetByIdHook.ts'
export { getPetByIdSuspenseQueryKey, getPetByIdSuspenseQueryOptionsHook, useGetPetByIdSuspenseHook } from './pet/useGetPetByIdSuspenseHook.ts'
export { updatePetMutationKey, useUpdatePetHook } from './pet/useUpdatePetHook.ts'
export { updatePetWithFormQueryKey, updatePetWithFormQueryOptionsHook, useUpdatePetWithFormHook } from './pet/useUpdatePetWithFormHook.ts'
export {
updatePetWithFormSuspenseQueryKey,
updatePetWithFormSuspenseQueryOptionsHook,
useUpdatePetWithFormSuspenseHook,
} from './useUpdatePetWithFormSuspenseHook.ts'
export { updateUserMutationKey, useUpdateUserHook } from './useUpdateUserHook.ts'
export { uploadFileMutationKey, useUploadFileHook } from './useUploadFileHook.ts'
} from './pet/useUpdatePetWithFormSuspenseHook.ts'
export { uploadFileMutationKey, useUploadFileHook } from './pet/useUploadFileHook.ts'
export { deleteOrderMutationKey, useDeleteOrderHook } from './store/useDeleteOrderHook.ts'
export { getInventoryQueryKey, getInventoryQueryOptionsHook } from './store/useGetInventoryHook.ts'
export { getInventorySuspenseQueryKey, getInventorySuspenseQueryOptionsHook, useGetInventorySuspenseHook } from './store/useGetInventorySuspenseHook.ts'
export { getOrderByIdQueryKey, getOrderByIdQueryOptionsHook, useGetOrderByIdHook } from './store/useGetOrderByIdHook.ts'
export { getOrderByIdSuspenseQueryKey, getOrderByIdSuspenseQueryOptionsHook, useGetOrderByIdSuspenseHook } from './store/useGetOrderByIdSuspenseHook.ts'
export { placeOrderMutationKey, usePlaceOrderHook } from './store/usePlaceOrderHook.ts'
export { placeOrderPatchMutationKey, usePlaceOrderPatchHook } from './store/usePlaceOrderPatchHook.ts'
export { createUserMutationKey, useCreateUserHook } from './user/useCreateUserHook.ts'
export { createUsersWithListInputMutationKey, useCreateUsersWithListInputHook } from './user/useCreateUsersWithListInputHook.ts'
export { deleteUserMutationKey, useDeleteUserHook } from './user/useDeleteUserHook.ts'
export { getUserByNameQueryKey, getUserByNameQueryOptionsHook, useGetUserByNameHook } from './user/useGetUserByNameHook.ts'
export { getUserByNameSuspenseQueryKey, getUserByNameSuspenseQueryOptionsHook, useGetUserByNameSuspenseHook } from './user/useGetUserByNameSuspenseHook.ts'
export { loginUserQueryKey, loginUserQueryOptionsHook, useLoginUserHook } from './user/useLoginUserHook.ts'
export { loginUserSuspenseQueryKey, loginUserSuspenseQueryOptionsHook, useLoginUserSuspenseHook } from './user/useLoginUserSuspenseHook.ts'
export { logoutUserQueryKey, logoutUserQueryOptionsHook, useLogoutUserHook } from './user/useLogoutUserHook.ts'
export { logoutUserSuspenseQueryKey, logoutUserSuspenseQueryOptionsHook, useLogoutUserSuspenseHook } from './user/useLogoutUserSuspenseHook.ts'
export { updateUserMutationKey, useUpdateUserHook } from './user/useUpdateUserHook.ts'
34 changes: 34 additions & 0 deletions examples/react-query/src/gen/hooks/pet/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
export type { AddPetMutationKey } from './useAddPetHook.ts'
export type { DeletePetMutationKey } from './useDeletePetHook.ts'
export type { FindPetsByStatusQueryKey } from './useFindPetsByStatusHook.ts'
export type { FindPetsByStatusSuspenseQueryKey } from './useFindPetsByStatusSuspenseHook.ts'
export type { FindPetsByTagsQueryKey } from './useFindPetsByTagsHook.ts'
export type { FindPetsByTagsInfiniteQueryKey } from './useFindPetsByTagsInfiniteHook.ts'
export type { FindPetsByTagsSuspenseQueryKey } from './useFindPetsByTagsSuspenseHook.ts'
export type { GetPetByIdQueryKey } from './useGetPetByIdHook.ts'
export type { GetPetByIdSuspenseQueryKey } from './useGetPetByIdSuspenseHook.ts'
export type { UpdatePetMutationKey } from './useUpdatePetHook.ts'
export type { UpdatePetWithFormQueryKey } from './useUpdatePetWithFormHook.ts'
export type { UpdatePetWithFormSuspenseQueryKey } from './useUpdatePetWithFormSuspenseHook.ts'
export type { UploadFileMutationKey } from './useUploadFileHook.ts'
export { addPetMutationKey, useAddPetHook } from './useAddPetHook.ts'
export { deletePetMutationKey, useDeletePetHook } from './useDeletePetHook.ts'
export { findPetsByStatusQueryKey, findPetsByStatusQueryOptionsHook, useFindPetsByStatusHook } from './useFindPetsByStatusHook.ts'
export {
findPetsByStatusSuspenseQueryKey,
findPetsByStatusSuspenseQueryOptionsHook,
useFindPetsByStatusSuspenseHook,
} from './useFindPetsByStatusSuspenseHook.ts'
export { findPetsByTagsQueryKey, findPetsByTagsQueryOptionsHook, useFindPetsByTagsHook } from './useFindPetsByTagsHook.ts'
export { findPetsByTagsInfiniteQueryKey, findPetsByTagsInfiniteQueryOptionsHook, useFindPetsByTagsInfiniteHook } from './useFindPetsByTagsInfiniteHook.ts'
export { findPetsByTagsSuspenseQueryKey, findPetsByTagsSuspenseQueryOptionsHook, useFindPetsByTagsSuspenseHook } from './useFindPetsByTagsSuspenseHook.ts'
export { getPetByIdQueryKey, getPetByIdQueryOptionsHook, useGetPetByIdHook } from './useGetPetByIdHook.ts'
export { getPetByIdSuspenseQueryKey, getPetByIdSuspenseQueryOptionsHook, useGetPetByIdSuspenseHook } from './useGetPetByIdSuspenseHook.ts'
export { updatePetMutationKey, useUpdatePetHook } from './useUpdatePetHook.ts'
export { updatePetWithFormQueryKey, updatePetWithFormQueryOptionsHook, useUpdatePetWithFormHook } from './useUpdatePetWithFormHook.ts'
export {
updatePetWithFormSuspenseQueryKey,
updatePetWithFormSuspenseQueryOptionsHook,
useUpdatePetWithFormSuspenseHook,
} from './useUpdatePetWithFormSuspenseHook.ts'
export { uploadFileMutationKey, useUploadFileHook } from './useUploadFileHook.ts'
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import client from '@kubb/plugin-client/client'
import type { AddPetMutationRequest, AddPetMutationResponse, AddPet405 } from '../models/AddPet.ts'
import type { AddPetMutationRequest, AddPetMutationResponse, AddPet405 } from '../../models/AddPet.ts'
import type { RequestConfig } from '@kubb/plugin-client/client'
import type { UseMutationOptions } from '@tanstack/react-query'
import { useMutation } from '@tanstack/react-query'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import client from '@kubb/plugin-client/client'
import type { DeletePetMutationResponse, DeletePetPathParams, DeletePetHeaderParams, DeletePet400 } from '../models/DeletePet.ts'
import type { DeletePetMutationResponse, DeletePetPathParams, DeletePetHeaderParams, DeletePet400 } from '../../models/DeletePet.ts'
import type { RequestConfig } from '@kubb/plugin-client/client'
import type { UseMutationOptions } from '@tanstack/react-query'
import { useMutation } from '@tanstack/react-query'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import client from '@kubb/plugin-client/client'
import type { FindPetsByStatusQueryResponse, FindPetsByStatusQueryParams, FindPetsByStatus400 } from '../models/FindPetsByStatus.ts'
import type { FindPetsByStatusQueryResponse, FindPetsByStatusQueryParams, FindPetsByStatus400 } from '../../models/FindPetsByStatus.ts'
import type { RequestConfig } from '@kubb/plugin-client/client'
import type { QueryKey, QueryObserverOptions, UseQueryResult } from '@tanstack/react-query'
import { queryOptions, useQuery } from '@tanstack/react-query'
Expand Down
Loading

0 comments on commit 52fb48c

Please sign in to comment.