chore(LOY-64): better organisation of reward types and data
This commit is contained in:
39
constants/rewards.ts
Normal file
39
constants/rewards.ts
Normal file
@@ -0,0 +1,39 @@
|
||||
export const REWARD_IDS = {
|
||||
// Food & Beverage
|
||||
TenPercentFood: "tier_10_percent_food_tier",
|
||||
TwoForOneBreakfast: "tier_2_for_one_breakfast",
|
||||
FifteenPercentFood: "tier_15_percent_food",
|
||||
FreeKidsDrink: "tier_free_kids_drink",
|
||||
FreeBreakfast: "tier_free_breakfast",
|
||||
|
||||
// Monetary Vouchers
|
||||
Bonus50SEK: "tier_50_SEK_bonus_voucher",
|
||||
Bonus75SEK: "tier_75_SEK_bonus_voucher",
|
||||
Bonus100SEK: "tier_100_SEK_bonus_voucher",
|
||||
Bonus150SEK: "tier_150_SEK_bonus_voucher",
|
||||
Bonus200SEK: "tier_200_SEK_bonus_voucher",
|
||||
|
||||
// Hotel Perks
|
||||
EarlyCheckin: "tier_early_checkin_tier",
|
||||
LateCheckout: "tier_late_checkout",
|
||||
FreeUpgrade: "tier_free_upgrade",
|
||||
RoomGuarantee48H: "tier_48_h_room_guarantee",
|
||||
// GymAccess: "tier_gym_access",
|
||||
|
||||
// Earning & Points
|
||||
EarnRate25Percent: "tier_25_percent_earn_rate",
|
||||
EarnRate50Percent: "tier_50_percent_earn_rate",
|
||||
StayBoostForKids: "tier_stay_boost_for_kids",
|
||||
MemberRate: "tier_member_rate",
|
||||
|
||||
// Special
|
||||
YearlyExclusiveGift: "tier_yearly_exclusive_gift",
|
||||
} as const
|
||||
|
||||
export const RESTAURANT_REWARD_IDS = [
|
||||
REWARD_IDS.TenPercentFood,
|
||||
REWARD_IDS.TwoForOneBreakfast,
|
||||
REWARD_IDS.FifteenPercentFood,
|
||||
REWARD_IDS.FreeKidsDrink,
|
||||
REWARD_IDS.FreeBreakfast,
|
||||
] as const
|
||||
Reference in New Issue
Block a user