Skip to content

Commit

Permalink
feature: Add MCC+ subscription status
Browse files Browse the repository at this point in the history
Closes #9
  • Loading branch information
kezz authored Dec 13, 2024
1 parent c6f5c0c commit e1ac9f1
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions schema.graphqls
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,18 @@ type CrownLevel {
): TrophyData!
}

"The status of a player's MCC+ subscription."
type MCCPlusStatus {
"The current evolution index for MCC+ icon."
evolution: Int!

"The instant they started their current streak."
streakStart: DateTime!

"The total number of days they have been subscribed for."
totalDays: Int!
}

"A player who has logged in to MCC Island."
type Player {
"The player's Minecraft UUID in dashed format."
Expand All @@ -97,6 +109,9 @@ type Player {
"The ranks which the user is associated with, if any."
ranks: [Rank!]!

"The player's MCC+ status, if currently subscribed."
mccPlusStatus: MCCPlusStatus

"The player's Crown Level and associated trophy data."
crownLevel: CrownLevel!

Expand Down

0 comments on commit e1ac9f1

Please sign in to comment.