[fix] negodata/front: 상품·협력사·견적 목록 연동 + 배송형태 서버 enum 코드 전송

- orval 실제 타입(ItemData/SupplierData/QuotationData/QuotationSettingData) 사용,
  응답 봉투 과중첩(.data.data) 제거 → 목록 정상 렌더
- 배송형태(delivery_type) 자유텍스트 → 서버 /v1/enums 코드 select 로 전환
- orval 클라이언트 재생성 (enums 훅, companyData 등)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
minaChoiandClaude Opus 4.8 committed 2026-06-17 15:58:57 +09:00
1 parent 1f778ab975
commit 2470183e0f
30 files changed
+564 -592

No files matched your search

@@ -19,19 +19,11 @@ import type {
import { customFetch } from "../../mutator/custom-fetch";
type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
/**
* @summary Healthz
*/
export const healthzHealthzGet = (
options?: SecondParameter<typeof customFetch>,
signal?: AbortSignal,
) => {
return customFetch<unknown>(
{ url: `/healthz`, method: "GET", signal },
options,
);
export const healthzHealthzGet = (signal?: AbortSignal) => {
return customFetch<unknown>({ url: `/healthz`, method: "GET", signal });
};
export const getHealthzHealthzGetQueryKey = () => {
@@ -49,15 +41,14 @@ export const getHealthzHealthzGetQueryOptions = <
TData
>
>;
request?: SecondParameter<typeof customFetch>;
}) => {
const { query: queryOptions, request: requestOptions } = options ?? {};
const { query: queryOptions } = options ?? {};
const queryKey = queryOptions?.queryKey ?? getHealthzHealthzGetQueryKey();
const queryFn: QueryFunction<
Awaited<ReturnType<typeof healthzHealthzGet>>
> = ({ signal }) => healthzHealthzGet(requestOptions, signal);
> = ({ signal }) => healthzHealthzGet(signal);
return { queryKey, queryFn, ...queryOptions } as UseQueryOptions<
Awaited<ReturnType<typeof healthzHealthzGet>>,
@@ -91,7 +82,6 @@ export function useHealthzHealthzGet<
>,
"initialData"
>;
request?: SecondParameter<typeof customFetch>;
},
queryClient?: QueryClient,
): DefinedUseQueryResult<TData, TError> & {
@@ -117,7 +107,6 @@ export function useHealthzHealthzGet<
>,
"initialData"
>;
request?: SecondParameter<typeof customFetch>;
},
queryClient?: QueryClient,
): UseQueryResult<TData, TError> & {
@@ -135,7 +124,6 @@ export function useHealthzHealthzGet<
TData
>
>;
request?: SecondParameter<typeof customFetch>;
},
queryClient?: QueryClient,
): UseQueryResult<TData, TError> & {
@@ -157,7 +145,6 @@ export function useHealthzHealthzGet<
TData
>
>;
request?: SecondParameter<typeof customFetch>;
},
queryClient?: QueryClient,
): UseQueryResult<TData, TError> & {