Files
vexplor_dev/frontend/components/pop/hardcoded/common/useCartSync.ts

27 lines
770 B
TypeScript
Raw Normal View History

/**
* useCartSync - DB (hardcoded re-export)
*
* @/hooks/pop/useCartSync ,
* hardcoded import할 re-export한다.
*
* :
* ```typescript
* import { useCartSync } from "../common/useCartSync";
* const cart = useCartSync("pop-purchase-inbound", "purchase_detail");
* ```
*/
export { useCartSync } from "@/hooks/pop/useCartSync";
export type {
UseCartSyncReturn,
CartChanges,
} from "@/hooks/pop/useCartSync";
// 타입도 함께 re-export (hardcoded 컴포넌트에서 필요할 수 있음)
export type {
CartItem,
CartItemWithId,
CartSyncStatus,
CartItemStatus,
} from "@/lib/registry/pop-components/types";