refactor(LOY-62): implement code review feedback
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
import type { IconProps } from "@/types/components/icon"
|
||||
import type { RESTAURANT_REWARD_IDS, REWARD_IDS } from "@/constants/rewards"
|
||||
import type {
|
||||
COUPON_REWARD_TYPES,
|
||||
RESTAURANT_REWARD_IDS,
|
||||
REWARD_IDS,
|
||||
} from "@/constants/rewards"
|
||||
|
||||
export interface RewardIconProps extends IconProps {
|
||||
rewardId: string
|
||||
@@ -9,3 +13,5 @@ export interface RewardIconProps extends IconProps {
|
||||
export type RewardId = (typeof REWARD_IDS)[keyof typeof REWARD_IDS]
|
||||
|
||||
export type RestaurantRewardId = (typeof RESTAURANT_REWARD_IDS)[number]
|
||||
|
||||
export type CouponRewardType = (typeof COUPON_REWARD_TYPES)[number]
|
||||
|
||||
Reference in New Issue
Block a user