add info relative to levelups in shopitem
This commit is contained in:
parent
be3f38e715
commit
b8981ad8ec
19
shop_item.go
19
shop_item.go
@ -1,16 +1,27 @@
|
||||
package sorare
|
||||
|
||||
import (
|
||||
"time"
|
||||
)
|
||||
|
||||
type ShopItem struct {
|
||||
TypeName string `graphql:"__typename"`
|
||||
ShopItemInterface struct {
|
||||
Id string `graphql:"id"`
|
||||
Name string `graphql:"name"`
|
||||
Price int `graphql:"price"`
|
||||
Id string `graphql:"id"`
|
||||
Name string `graphql:"name"`
|
||||
Price int `graphql:"price"`
|
||||
MyBalance int `graphql:"myBalance"`
|
||||
LimitPerUser int `graphql:"limitPerUser"`
|
||||
MyLimitResetAt time.Time `graphql:"myLimitResetAt"`
|
||||
MyPurchasesCount int `graphql:"myPurchasesCount"`
|
||||
} `graphql:"... on ShopItemInterface"`
|
||||
JerseyShopItem struct {
|
||||
CurrentStockCount int `graphql:"currentStockCount"`
|
||||
InitialStockCount int `graphql:"initialStockCount"`
|
||||
LimitPerUser int `graphql:"limitPerUser"`
|
||||
} `graphql:"... on JerseyShopItem"`
|
||||
LevelUpShopItem struct {
|
||||
Rarity string `graphql:"rarity"`
|
||||
} `graphql:"... on LevelUpShopItem"`
|
||||
}
|
||||
|
||||
type ShopItemType string
|
||||
|
Loading…
Reference in New Issue
Block a user