refactor: rename product to party-event across frontend modules and types

This commit is contained in:
louiscklaw
2025-06-15 16:33:50 +08:00
parent a88de2f17f
commit 4b64778b59
16 changed files with 93 additions and 77 deletions

View File

@@ -17,13 +17,13 @@ import { NumberInput } from 'src/components/number-input';
import { useRouter } from 'src/routes/hooks';
import { paths } from 'src/routes/paths';
import type { CheckoutContextValue } from 'src/types/checkout';
import type { IProductItem } from 'src/types/party-event';
import type { IPartyEventItem } from 'src/types/party-event';
import { fCurrency, fShortenNumber } from 'src/utils/format-number';
// ----------------------------------------------------------------------
type Props = {
product: IProductItem;
product: IPartyEventItem;
disableActions?: boolean;
items?: CheckoutContextValue['state']['items'];
onAddToCart?: CheckoutContextValue['onAddToCart'];