Merged in fix/hide-cs-rewards-flag (pull request #1065)
fix: hide new cs rewards model behind feature flag Approved-by: Michael Zetterberg Approved-by: Chuma Mcphoy (We Ahead)
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
import { z } from "zod"
|
||||
|
||||
import { blocksSchema } from "@/server/routers/contentstack/accountPage/output"
|
||||
import { Reward } from "@/server/routers/contentstack/reward/output"
|
||||
import {
|
||||
Reward,
|
||||
RewardWithRedeem,
|
||||
} from "@/server/routers/contentstack/reward/output"
|
||||
|
||||
import { DynamicContent } from "@/types/trpc/routers/contentstack/blocks"
|
||||
|
||||
@@ -21,13 +24,13 @@ export type ContentProps = {
|
||||
}
|
||||
|
||||
export interface CurrentRewardsClientProps {
|
||||
rewards: Reward[]
|
||||
rewards: (Reward | RewardWithRedeem)[]
|
||||
pageSize: number
|
||||
showRedeem: boolean
|
||||
}
|
||||
|
||||
export interface Redeem {
|
||||
reward: Reward
|
||||
export interface RedeemProps {
|
||||
reward: RewardWithRedeem
|
||||
}
|
||||
|
||||
export type RedeemModalState = "unmounted" | "hidden" | "visible"
|
||||
|
||||
Reference in New Issue
Block a user