chore: move types

This commit is contained in:
Arvid Norlin
2024-05-21 14:30:54 +02:00
parent 6b016ce0e0
commit 14904e004a
2 changed files with 55 additions and 43 deletions

View File

@@ -42,3 +42,43 @@ export type LevelCardProps = {
logo: string
}
}
export type ComparisonLevel = {
tier: number
name: string
description: string
requirement: string
icon: string
benefits: [
{
name: string
description: string
unlocked: boolean
value?: string
valueDetails?: string
},
]
}
export type LevelSummaryProps = {
level: ComparisonLevel
}
export type BenefitCardProps = {
comparedValues: {
a: { unlocked: boolean; value?: string; valueDetails?: string }
b: { unlocked: boolean; value?: string; valueDetails?: string }
}
title: string
description: string
}
type BenefitValueInformation = {
unlocked: boolean
value?: string
valueDetails?: string
}
export type BenefitValueProps = {
benefit: BenefitValueInformation
}