refactor(SW-556): project specific fixes

This commit is contained in:
Christian Andolf
2024-10-15 10:50:14 +02:00
parent 3206319254
commit e5b4b6f82e
4 changed files with 44 additions and 31 deletions

View 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
}
}

View File

@@ -0,0 +1,5 @@
import { ApiReward } from "@/server/routers/contentstack/reward/output"
export interface SurprisesProps {
surprises: ApiReward[]
}