Skip to content

Commit

Permalink
Better fish documentation and fishing level
Browse files Browse the repository at this point in the history
  • Loading branch information
kezz authored Dec 17, 2024
1 parent 12b6469 commit 48b2c39
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions schema.graphqls
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,15 @@ scalar DateTime
type Fish {

Check notice on line 12 in schema.graphqls

View workflow job for this annotation

GitHub Actions / GraphQL Inspector

Type 'Fish' was added

Type 'Fish' was added
"The name of the fish."
name: String!
@spectaql(options: [{ key: "example", value: "Midnight Tang" }])

"The climate this fish can be found in."
climate: String!
@spectaql(options: [{ key: "example", value: "Temperate" }])

"The collection this fish can be found in."
collection: String!
@spectaql(options: [{ key: "example", value: "Dark Grove" }])

"The time this fish can be caught."
catchTime: FishCatchTime!
Expand Down Expand Up @@ -141,19 +144,44 @@ type TrophyData {
bonus: Int!
}

"Data relating to a level."
type LevelData {

Check notice on line 148 in schema.graphqls

View workflow job for this annotation

GitHub Actions / GraphQL Inspector

Type 'LevelData' was added

Type 'LevelData' was added
"The overall level."
level: Int!

"The zero-indexed evolution of the level."
evolution: Int!

"The next level that will have an evolution, if any."
nextEvolutionLevel: Int

"The progress the player is making towards their next level, if any."
nextLevelProgress: ProgressionData
}

"A Crown Level and associated trophy data."
type CrownLevel {
"The overall Crown Level."
level: Int!

Check notice on line 165 in schema.graphqls

View workflow job for this annotation

GitHub Actions / GraphQL Inspector

Field 'CrownLevel.level' is deprecated

Field 'CrownLevel.level' is deprecated

Check notice on line 165 in schema.graphqls

View workflow job for this annotation

GitHub Actions / GraphQL Inspector

Field 'CrownLevel.level' has deprecation reason 'Use levelData instead.'

Field 'CrownLevel.level' has deprecation reason 'Use levelData instead.'
@deprecated(reason: "Use levelData instead.")

"The zero-indexed evolution of the crown."
evolution: Int!

Check notice on line 169 in schema.graphqls

View workflow job for this annotation

GitHub Actions / GraphQL Inspector

Field 'CrownLevel.evolution' is deprecated

Field 'CrownLevel.evolution' is deprecated

Check notice on line 169 in schema.graphqls

View workflow job for this annotation

GitHub Actions / GraphQL Inspector

Field 'CrownLevel.evolution' has deprecation reason 'Use levelData instead.'

Field 'CrownLevel.evolution' has deprecation reason 'Use levelData instead.'
@deprecated(reason: "Use levelData instead.")

"The next level that the crown will evolve, if any."
nextEvolutionLevel: Int

Check notice on line 173 in schema.graphqls

View workflow job for this annotation

GitHub Actions / GraphQL Inspector

Field 'CrownLevel.nextEvolutionLevel' is deprecated

Field 'CrownLevel.nextEvolutionLevel' is deprecated

Check notice on line 173 in schema.graphqls

View workflow job for this annotation

GitHub Actions / GraphQL Inspector

Field 'CrownLevel.nextEvolutionLevel' has deprecation reason 'Use levelData instead.'

Field 'CrownLevel.nextEvolutionLevel' has deprecation reason 'Use levelData instead.'
@deprecated(reason: "Use levelData instead.")

"The progress the player is making towards their next level, if any."
nextLevelProgress: ProgressionData

Check notice on line 177 in schema.graphqls

View workflow job for this annotation

GitHub Actions / GraphQL Inspector

Field 'CrownLevel.nextLevelProgress' is deprecated

Field 'CrownLevel.nextLevelProgress' is deprecated

Check notice on line 177 in schema.graphqls

View workflow job for this annotation

GitHub Actions / GraphQL Inspector

Field 'CrownLevel.nextLevelProgress' has deprecation reason 'Use levelData instead.'

Field 'CrownLevel.nextLevelProgress' has deprecation reason 'Use levelData instead.'
@deprecated(reason: "Use levelData instead.")

"The overall level data."
levelData: LevelData

Check notice on line 181 in schema.graphqls

View workflow job for this annotation

GitHub Actions / GraphQL Inspector

Field 'levelData' was added to object type 'CrownLevel'

Field 'levelData' was added to object type 'CrownLevel'

"The fishing level data."
fishingLevelData: LevelData

Check notice on line 184 in schema.graphqls

View workflow job for this annotation

GitHub Actions / GraphQL Inspector

Field 'fishingLevelData' was added to object type 'CrownLevel'

Field 'fishingLevelData' was added to object type 'CrownLevel'

"The amount of trophies the player has."
trophies(
Expand Down Expand Up @@ -247,6 +275,7 @@ type Collections {
"Returns the record data for all fish, optionally in a specific collection."
fish(

Check notice on line 276 in schema.graphqls

View workflow job for this annotation

GitHub Actions / GraphQL Inspector

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

Field 'fish' was added to object type 'Collections'
collection: String = null
@spectaql(options: [{ key: "example", value: "Dark Grove" }])
): [FishRecord!]!
}

Expand Down

0 comments on commit 48b2c39

Please sign in to comment.