add xp, inseason & levelup applied info on football cards

This commit is contained in:
Laurent Le Houerou 2024-04-16 15:00:11 +04:00
parent 8041f6835f
commit 546d610e4e

View File

@ -9,13 +9,19 @@ import (
)
type Card struct {
Token tokens.Token `graphql:"token"`
Power decimal.Decimal `graphql:"power"`
PowerMalusAfterTransfer decimal.Decimal `graphql:"powerMalusAfterTransfer"`
RivalsPower decimal.Decimal `graphql:"rivalsPower"`
Grade int `graphql:"grade"`
GradeAfterTransfer int `graphql:"gradeAfterTransfer"`
Xp int `graphql:"xp"`
Token tokens.Token `graphql:"token"`
XpAfterTransfer int `graphql:"xpAfterTransfer"`
XpNeededForNextGrade int `graphql:"xpNeededForNextGrade"`
XpNeededForCurrentGrade int `graphql:"xpNeededForCurrentGrade"`
InSeasonEligible bool `graphql:"inSeasonEligible"`
LevelUpAppliedCount int `graphql:"levelUpAppliedCount"`
MaxLevelUpAppliedCount int `graphql:"maxLevelUpAppliedCount"`
}
type CardsParams struct {