refactor(SW-556): project specific fixes
This commit is contained in:
9
types/components/blocks/currentRewards.ts
Normal file
9
types/components/blocks/currentRewards.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { ApiReward, Reward } from "@/server/routers/contentstack/reward/output"
|
||||
|
||||
export type CurrentRewardsClientProps = {
|
||||
initialCurrentRewards: {
|
||||
rewards: Reward[]
|
||||
apiRewards: ApiReward[]
|
||||
nextCursor: number | undefined
|
||||
}
|
||||
}
|
||||
5
types/components/blocks/surprises.ts
Normal file
5
types/components/blocks/surprises.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import { ApiReward } from "@/server/routers/contentstack/reward/output"
|
||||
|
||||
export interface SurprisesProps {
|
||||
surprises: ApiReward[]
|
||||
}
|
||||
Reference in New Issue
Block a user