@taimos/radball-digital-api 0.0.32 → 0.0.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/schema.graphql CHANGED
@@ -221,6 +221,23 @@ type LeagueGroupStatistics @aws_cognito_user_pools {
221
221
  totalGyms: Int!
222
222
  }
223
223
 
224
+ # Ranking types
225
+ type RankingEntry @aws_cognito_user_pools {
226
+ rank: Int!
227
+ team: Team!
228
+ games: Int!
229
+ goalsPlus: Int!
230
+ goalsMinus: Int!
231
+ goalsDiff: Int!
232
+ points: Int!
233
+ }
234
+
235
+ # Calendar types
236
+ type CalendarDate @aws_cognito_user_pools {
237
+ date: AWSDate!
238
+ matchdays: [MatchDay!]!
239
+ }
240
+
224
241
  # Connection types for pagination
225
242
 
226
243
  type PersonConnection @aws_cognito_user_pools {
@@ -564,6 +581,17 @@ type Query {
564
581
 
565
582
  # League Group Manager comprehensive view - returns all relevant information for managing a league group
566
583
  getLeagueGroupView(groupId: ID!): LeagueGroupView @aws_cognito_user_pools
584
+ # Export the season in RBW format
585
+ getSeasonExportRBW(associationId: ID!, seasonId: ID!): String @aws_cognito_user_pools
586
+
587
+ # Ranking
588
+ getLeagueGroupRanking(groupId: ID!, includeNonCompetitive: Boolean): [RankingEntry!]! @aws_cognito_user_pools
589
+
590
+ # Calendar
591
+ getUpcomingMatchdays(associationId: ID!, seasonId: ID!): [CalendarDate!]! @aws_cognito_user_pools
592
+
593
+ # Aggregated queries
594
+ getAllMatchdaysInSeason(seasonId: ID!): [MatchDay!]! @aws_cognito_user_pools
567
595
  }
568
596
 
569
597
  # Mutations
@@ -622,4 +650,7 @@ type Mutation {
622
650
 
623
651
  generateSeasonRegulationUploadUrl (seasonId: ID!, fileName: String!): SeasonRegulationUpload @aws_cognito_user_pools
624
652
  generateMatchdayAttachmentUploadUrl (matchdayId: ID!, fileName: String!): MatchdayAttachmentUpload @aws_cognito_user_pools
653
+
654
+ # Bulk import
655
+ importMatchdayFromRBT(groupId: ID!, data: String!): MatchDay @aws_cognito_user_pools
625
656
  }