Skip to content

Commit

Permalink
Add information about trophies and donations
Browse files Browse the repository at this point in the history
  • Loading branch information
kezz authored Dec 6, 2024
1 parent a135778 commit b7ed2a8
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion schema.graphqls
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ type Social {
type Collections {
"The player's earned currency."
currency: Currency!

"Returns the ownership state of all cosmetics, optionally in a category and/or collection."
cosmetics(

Check notice on line 147 in schema.graphqls

View workflow job for this annotation

GitHub Actions / GraphQL Inspector

Field 'cosmetics' was added to object type 'Collections'

Field 'cosmetics' was added to object type 'Collections'
category: CosmeticCategory = null,
Expand All @@ -161,6 +161,9 @@ type CosmeticOwnershipState {

"The Chroma Packs that have applied to this cosmetic, if it is colorable."
chromaPacks: [String!]

"The number of Royal Reputation donations that have been made of this cosmetic, if it can be donated."
donationsMade: Int
}

"A player's earned currency."
Expand Down Expand Up @@ -417,6 +420,19 @@ type Cosmetic {

"If this cosmetic can be colored using Chroma Packs."
colorable: Boolean!

"The number of trophies this cosmetic awards."
trophies: Int!

"""
If this cosmetic awards bonus trophies.
This will be `null` if the cosmetic does not award any trophies.
"""
isBonusTrophies: Boolean

"If this cosmetic can be donated for Royal Reputation."
canBeDonated: Boolean!
}

"Available queries."
Expand Down

0 comments on commit b7ed2a8

Please sign in to comment.