@taimos/radball-digital-api 0.0.0
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/README.md +129 -0
- package/aws.graphql +24 -0
- package/docs/.nojekyll +1 -0
- package/docs/assets/hierarchy.js +1 -0
- package/docs/assets/highlight.css +92 -0
- package/docs/assets/icons.js +18 -0
- package/docs/assets/icons.svg +1 -0
- package/docs/assets/main.js +60 -0
- package/docs/assets/navigation.js +1 -0
- package/docs/assets/search.js +1 -0
- package/docs/assets/style.css +1640 -0
- package/docs/classes/ValidationCheckResult.html +11 -0
- package/docs/enums/PreferenceStatus.html +3 -0
- package/docs/functions/checkAddress.html +1 -0
- package/docs/functions/checkAssociation.html +1 -0
- package/docs/functions/checkClub.html +1 -0
- package/docs/functions/checkGym.html +1 -0
- package/docs/functions/checkLeague.html +1 -0
- package/docs/functions/checkLeagueGroup.html +1 -0
- package/docs/functions/checkPerson.html +1 -0
- package/docs/functions/checkSeason.html +1 -0
- package/docs/functions/checkTeam.html +1 -0
- package/docs/functions/validateAddress.html +1 -0
- package/docs/functions/validateAssociation.html +1 -0
- package/docs/functions/validateClub.html +1 -0
- package/docs/functions/validateGym.html +1 -0
- package/docs/functions/validateLeague.html +1 -0
- package/docs/functions/validateLeagueGroup.html +1 -0
- package/docs/functions/validatePerson.html +1 -0
- package/docs/functions/validateSeason.html +1 -0
- package/docs/functions/validateTeam.html +1 -0
- package/docs/hierarchy.html +1 -0
- package/docs/index.html +65 -0
- package/docs/interfaces/components.html +7 -0
- package/docs/interfaces/operations.html +4 -0
- package/docs/interfaces/paths.html +118 -0
- package/docs/modules.html +1 -0
- package/docs/types/AddGameInput.html +4 -0
- package/docs/types/Address.html +6 -0
- package/docs/types/AddressInput.html +5 -0
- package/docs/types/Association.html +13 -0
- package/docs/types/AuditLogEntry.html +8 -0
- package/docs/types/Club.html +11 -0
- package/docs/types/Exact.html +1 -0
- package/docs/types/Game.html +13 -0
- package/docs/types/Gym.html +7 -0
- package/docs/types/Incremental.html +1 -0
- package/docs/types/InputMaybe.html +1 -0
- package/docs/types/League.html +13 -0
- package/docs/types/LeagueGroup.html +11 -0
- package/docs/types/MakeEmpty.html +1 -0
- package/docs/types/MakeMaybe.html +1 -0
- package/docs/types/MakeOptional.html +1 -0
- package/docs/types/MatchDay.html +15 -0
- package/docs/types/MatchdayTeam.html +6 -0
- package/docs/types/Maybe.html +1 -0
- package/docs/types/ModifyAssociationInput.html +10 -0
- package/docs/types/ModifyClubInput.html +7 -0
- package/docs/types/ModifyGameInput.html +10 -0
- package/docs/types/ModifyGymInput.html +5 -0
- package/docs/types/ModifyLeagueGroupInput.html +7 -0
- package/docs/types/ModifyLeagueInput.html +9 -0
- package/docs/types/ModifyMatchDayInput.html +10 -0
- package/docs/types/ModifyMatchDayTeamInput.html +3 -0
- package/docs/types/ModifyPersonInput.html +12 -0
- package/docs/types/ModifyPreferredMatchdayDateInput.html +6 -0
- package/docs/types/ModifySeasonInput.html +7 -0
- package/docs/types/ModifyTeamInput.html +10 -0
- package/docs/types/Mutation.html +39 -0
- package/docs/types/MutationAddAssociationArgs.html +2 -0
- package/docs/types/MutationAddClubArgs.html +2 -0
- package/docs/types/MutationAddGameToMatchDayArgs.html +4 -0
- package/docs/types/MutationAddGymArgs.html +2 -0
- package/docs/types/MutationAddLeagueArgs.html +2 -0
- package/docs/types/MutationAddLeagueGroupArgs.html +2 -0
- package/docs/types/MutationAddMatchDayArgs.html +2 -0
- package/docs/types/MutationAddMatchDayTeamArgs.html +2 -0
- package/docs/types/MutationAddPersonArgs.html +2 -0
- package/docs/types/MutationAddPreferredDateForLeagueArgs.html +2 -0
- package/docs/types/MutationAddSeasonArgs.html +2 -0
- package/docs/types/MutationAddTeamArgs.html +2 -0
- package/docs/types/MutationModifyAssociationArgs.html +2 -0
- package/docs/types/MutationModifyClubArgs.html +2 -0
- package/docs/types/MutationModifyGameInMatchDayArgs.html +4 -0
- package/docs/types/MutationModifyGymArgs.html +2 -0
- package/docs/types/MutationModifyLeagueArgs.html +2 -0
- package/docs/types/MutationModifyLeagueGroupArgs.html +2 -0
- package/docs/types/MutationModifyMatchDayArgs.html +2 -0
- package/docs/types/MutationModifyMatchDayTeamArgs.html +3 -0
- package/docs/types/MutationModifyPersonArgs.html +2 -0
- package/docs/types/MutationModifyPreferredDateForLeagueArgs.html +2 -0
- package/docs/types/MutationModifySeasonArgs.html +2 -0
- package/docs/types/MutationModifyTeamArgs.html +2 -0
- package/docs/types/MutationRegisterTeamsForSeasonArgs.html +2 -0
- package/docs/types/MutationRemoveAssociationArgs.html +2 -0
- package/docs/types/MutationRemoveClubArgs.html +2 -0
- package/docs/types/MutationRemoveGameFromMatchDayArgs.html +4 -0
- package/docs/types/MutationRemoveGymArgs.html +2 -0
- package/docs/types/MutationRemoveLeagueArgs.html +2 -0
- package/docs/types/MutationRemoveLeagueGroupArgs.html +2 -0
- package/docs/types/MutationRemoveMatchDayArgs.html +2 -0
- package/docs/types/MutationRemoveMatchDayTeamArgs.html +2 -0
- package/docs/types/MutationRemovePersonArgs.html +2 -0
- package/docs/types/MutationRemovePreferredDateForLeagueArgs.html +4 -0
- package/docs/types/MutationRemoveSeasonArgs.html +2 -0
- package/docs/types/MutationRemoveTeamArgs.html +2 -0
- package/docs/types/Person.html +14 -0
- package/docs/types/PersonPermission.html +6 -0
- package/docs/types/PreferredMatchdayDate.html +8 -0
- package/docs/types/Query.html +36 -0
- package/docs/types/QueryGetAllGamesOfTeamInSeasonArgs.html +3 -0
- package/docs/types/QueryGetAllMatchdaysOfTeamInSeasonArgs.html +3 -0
- package/docs/types/QueryGetAllPlayersOfClubInSeasonArgs.html +3 -0
- package/docs/types/QueryGetAllTeamsOfClubInSeasonArgs.html +3 -0
- package/docs/types/QueryGetAssociationByIdArgs.html +2 -0
- package/docs/types/QueryGetAuditLogEntriesForActorArgs.html +4 -0
- package/docs/types/QueryGetAuditLogEntriesForResourceArgs.html +5 -0
- package/docs/types/QueryGetAvailableDatesForSeasonArgs.html +3 -0
- package/docs/types/QueryGetClubByIdArgs.html +2 -0
- package/docs/types/QueryGetGameByIdArgs.html +3 -0
- package/docs/types/QueryGetGymByIdArgs.html +2 -0
- package/docs/types/QueryGetLeagueByIdArgs.html +2 -0
- package/docs/types/QueryGetLeagueGroupByIdArgs.html +2 -0
- package/docs/types/QueryGetListOfClubsByAssociationArgs.html +2 -0
- package/docs/types/QueryGetListOfClubsByLeagueArgs.html +2 -0
- package/docs/types/QueryGetListOfClubsByLeagueGroupArgs.html +2 -0
- package/docs/types/QueryGetListOfGroupsInLeagueArgs.html +2 -0
- package/docs/types/QueryGetListOfGymsArgs.html +2 -0
- package/docs/types/QueryGetListOfLeagueInSeasonArgs.html +2 -0
- package/docs/types/QueryGetListOfMatchdaysArgs.html +4 -0
- package/docs/types/QueryGetListOfMatchdaysInSeasonArgs.html +2 -0
- package/docs/types/QueryGetListOfPeopleArgs.html +2 -0
- package/docs/types/QueryGetListOfSeasonsArgs.html +2 -0
- package/docs/types/QueryGetListOfTeamsForLeagueArgs.html +2 -0
- package/docs/types/QueryGetListOfTeamsForLeagueGroupArgs.html +3 -0
- package/docs/types/QueryGetMatchdayByIdArgs.html +2 -0
- package/docs/types/QueryGetPersonByIdArgs.html +2 -0
- package/docs/types/QueryGetPersonByUciCodeArgs.html +2 -0
- package/docs/types/QueryGetPersonPermissionsArgs.html +2 -0
- package/docs/types/QueryGetPreferredDatesForClubArgs.html +3 -0
- package/docs/types/QueryGetSeasonByIdArgs.html +2 -0
- package/docs/types/QueryGetTeamByIdArgs.html +2 -0
- package/docs/types/RefereeInfo.html +4 -0
- package/docs/types/RefereeInfoInput.html +3 -0
- package/docs/types/RegisterTeamInput.html +8 -0
- package/docs/types/RegisterTeamsForSeasonInput.html +5 -0
- package/docs/types/SaveAssociationInput.html +9 -0
- package/docs/types/SaveClubInput.html +7 -0
- package/docs/types/SaveGymInput.html +5 -0
- package/docs/types/SaveLeagueGroupInput.html +7 -0
- package/docs/types/SaveLeagueInput.html +9 -0
- package/docs/types/SaveMatchDayInput.html +11 -0
- package/docs/types/SaveMatchDayTeamInput.html +4 -0
- package/docs/types/SavePersonInput.html +11 -0
- package/docs/types/SavePreferredMatchdayDateInput.html +6 -0
- package/docs/types/SaveSeasonInput.html +7 -0
- package/docs/types/SaveTeamInput.html +10 -0
- package/docs/types/Scalars.html +18 -0
- package/docs/types/Season.html +10 -0
- package/docs/types/Team.html +12 -0
- package/docs/types/_defs.html +1 -0
- package/docs/types/webhooks.html +1 -0
- package/graphql-codegen.yml +21 -0
- package/lib/generated/graphql.model.generated.d.ts +808 -0
- package/lib/generated/graphql.model.generated.js +9 -0
- package/lib/generated/rest.model.generated.d.ts +333 -0
- package/lib/generated/rest.model.generated.js +7 -0
- package/lib/index.d.ts +3 -0
- package/lib/index.js +20 -0
- package/lib/validation.d.ts +34 -0
- package/lib/validation.js +413 -0
- package/package.json +128 -0
- package/rest.yaml +260 -0
- package/schema.graphql +541 -0
package/schema.graphql
ADDED
|
@@ -0,0 +1,541 @@
|
|
|
1
|
+
# Type defintions
|
|
2
|
+
|
|
3
|
+
enum PreferenceStatus {
|
|
4
|
+
PREFERRED
|
|
5
|
+
AVAILABLE
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
type PreferredMatchdayDate @aws_cognito_user_pools {
|
|
9
|
+
club: Club!
|
|
10
|
+
season: Season!
|
|
11
|
+
league: League!
|
|
12
|
+
preferenceDate: AWSDate!
|
|
13
|
+
status: PreferenceStatus!
|
|
14
|
+
notes: String
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
type Association @aws_cognito_user_pools {
|
|
18
|
+
id: ID!
|
|
19
|
+
name: String!
|
|
20
|
+
shortName: String!
|
|
21
|
+
address: Address!
|
|
22
|
+
contactName: String!
|
|
23
|
+
contactEmail: AWSEmail!
|
|
24
|
+
website: AWSURL
|
|
25
|
+
phone: String
|
|
26
|
+
coordinators: [Person]!
|
|
27
|
+
groupLeaders: [Person]!
|
|
28
|
+
seasons: [Season]
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
type Season @aws_cognito_user_pools {
|
|
32
|
+
id: ID!
|
|
33
|
+
name: String!
|
|
34
|
+
startDate: AWSDate!
|
|
35
|
+
endDate: AWSDate!
|
|
36
|
+
registrationStart: AWSDate
|
|
37
|
+
registrationEnd: AWSDate!
|
|
38
|
+
association: Association!
|
|
39
|
+
leagues: [League]
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
type League @aws_cognito_user_pools {
|
|
43
|
+
id: ID!
|
|
44
|
+
name: String!
|
|
45
|
+
association: Association!
|
|
46
|
+
season: Season!
|
|
47
|
+
additionalEligibleAssociations: [Association]
|
|
48
|
+
shortName: String
|
|
49
|
+
description: String!
|
|
50
|
+
minAge: Int
|
|
51
|
+
maxAge: Int
|
|
52
|
+
matchdayDates: [AWSDate!]
|
|
53
|
+
groups: [LeagueGroup]
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
type LeagueGroup @aws_cognito_user_pools {
|
|
57
|
+
id: ID!
|
|
58
|
+
association: Association!
|
|
59
|
+
season: Season!
|
|
60
|
+
league: League!
|
|
61
|
+
number: Int!
|
|
62
|
+
name: String!
|
|
63
|
+
shortName: String!
|
|
64
|
+
leader: Person!
|
|
65
|
+
regulation: String!
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
type Club @aws_cognito_user_pools {
|
|
69
|
+
id: ID!
|
|
70
|
+
name: String!
|
|
71
|
+
shortName: String
|
|
72
|
+
address: Address
|
|
73
|
+
website: AWSURL
|
|
74
|
+
contact: Person
|
|
75
|
+
association: Association!
|
|
76
|
+
teams: [Team]
|
|
77
|
+
players: [Person]
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
type Team @aws_cognito_user_pools {
|
|
81
|
+
id: ID!
|
|
82
|
+
club: Club!
|
|
83
|
+
name: String!
|
|
84
|
+
players: [Person]!
|
|
85
|
+
league: League!
|
|
86
|
+
leagueGroup: LeagueGroup
|
|
87
|
+
withoutCompetition: Boolean
|
|
88
|
+
secondRightToPlay: Boolean
|
|
89
|
+
sgClub: Club
|
|
90
|
+
exemptionRequest: String
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
type Gym @aws_cognito_user_pools {
|
|
94
|
+
id: ID!
|
|
95
|
+
name: String!
|
|
96
|
+
club: Club!
|
|
97
|
+
address: Address!
|
|
98
|
+
availableFields: String!
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
type MatchDay @aws_cognito_user_pools {
|
|
102
|
+
id: ID!
|
|
103
|
+
group: LeagueGroup!
|
|
104
|
+
matchDayNumber: String!
|
|
105
|
+
startDate: AWSDateTime!
|
|
106
|
+
endDate: AWSDateTime!
|
|
107
|
+
gym: Gym!
|
|
108
|
+
streamingLink: AWSURL
|
|
109
|
+
teams: [MatchdayTeam]!
|
|
110
|
+
games: [Game]!
|
|
111
|
+
commissioners: RefereeInfo
|
|
112
|
+
secretary: String!
|
|
113
|
+
report: String
|
|
114
|
+
pin: String
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
type Address @aws_cognito_user_pools{
|
|
118
|
+
street: String
|
|
119
|
+
zip: String
|
|
120
|
+
city: String
|
|
121
|
+
country: String
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
type Person @aws_cognito_user_pools{
|
|
125
|
+
id: ID!
|
|
126
|
+
firstName: String!
|
|
127
|
+
lastName: String!
|
|
128
|
+
subjectId: ID
|
|
129
|
+
club: Club
|
|
130
|
+
gender: String
|
|
131
|
+
dateOfBirth: AWSDate
|
|
132
|
+
uciCode: String
|
|
133
|
+
nationality: String
|
|
134
|
+
email: AWSEmail
|
|
135
|
+
phone: String
|
|
136
|
+
address: Address
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
type MatchdayTeam @aws_cognito_user_pools {
|
|
140
|
+
id: ID!
|
|
141
|
+
team: Team!
|
|
142
|
+
substitutePlayer: Person
|
|
143
|
+
present: Boolean!
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
type Game @aws_cognito_user_pools {
|
|
147
|
+
gameNumber: Int!
|
|
148
|
+
team1: MatchdayTeam!
|
|
149
|
+
team2: MatchdayTeam!
|
|
150
|
+
halftimeGoalsTeam1: Int
|
|
151
|
+
halftimeGoalsTeam2: Int
|
|
152
|
+
finalGoalsTeam1: Int
|
|
153
|
+
finalGoalsTeam2: Int
|
|
154
|
+
pointsTeam1: Int
|
|
155
|
+
pointsTeam2: Int
|
|
156
|
+
bothLost: Boolean
|
|
157
|
+
nonCompetitive: Boolean
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
type RefereeInfo @aws_cognito_user_pools {
|
|
161
|
+
chiefReferee: Person
|
|
162
|
+
additionalReferees: [Person]!
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
type AuditLogEntry @aws_cognito_user_pools {
|
|
166
|
+
resourceType: String!
|
|
167
|
+
resourceId: String!
|
|
168
|
+
timestamp: AWSDateTime!
|
|
169
|
+
actorId: String!
|
|
170
|
+
actorName: String!
|
|
171
|
+
description: String!
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
type PersonPermission @aws_cognito_user_pools {
|
|
175
|
+
personId: ID!
|
|
176
|
+
resourceType: String!
|
|
177
|
+
resourceId: ID!
|
|
178
|
+
permission: String!
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
# Input types
|
|
182
|
+
|
|
183
|
+
input SaveAssociationInput {
|
|
184
|
+
name: String!
|
|
185
|
+
shortName: String!
|
|
186
|
+
address: AddressInput!
|
|
187
|
+
contactName: String!
|
|
188
|
+
contactEmail: AWSEmail!
|
|
189
|
+
website: AWSURL
|
|
190
|
+
phone: String
|
|
191
|
+
coordinators: [ID]!
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
input ModifyAssociationInput {
|
|
195
|
+
id: ID!
|
|
196
|
+
name: String!
|
|
197
|
+
shortName: String!
|
|
198
|
+
address: AddressInput!
|
|
199
|
+
contactName: String!
|
|
200
|
+
contactEmail: AWSEmail!
|
|
201
|
+
website: AWSURL
|
|
202
|
+
phone: String
|
|
203
|
+
coordinators: [ID]!
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
input AddressInput {
|
|
207
|
+
street: String
|
|
208
|
+
zip: String
|
|
209
|
+
city: String
|
|
210
|
+
country: String
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
input SaveClubInput {
|
|
214
|
+
name: String!
|
|
215
|
+
shortName: String
|
|
216
|
+
address: AddressInput!
|
|
217
|
+
contactId: ID!
|
|
218
|
+
website: AWSURL
|
|
219
|
+
associationId: ID!
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
input ModifyClubInput {
|
|
223
|
+
id: ID!
|
|
224
|
+
name: String!
|
|
225
|
+
shortName: String
|
|
226
|
+
address: AddressInput!
|
|
227
|
+
contactId: ID!
|
|
228
|
+
website: AWSURL
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
input SaveSeasonInput {
|
|
232
|
+
name: String!
|
|
233
|
+
startDate: AWSDate!
|
|
234
|
+
endDate: AWSDate!
|
|
235
|
+
associationId: ID!
|
|
236
|
+
registrationStart: AWSDate
|
|
237
|
+
registrationEnd: AWSDate!
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
input ModifySeasonInput {
|
|
241
|
+
id: ID!
|
|
242
|
+
name: String!
|
|
243
|
+
startDate: AWSDate!
|
|
244
|
+
endDate: AWSDate!
|
|
245
|
+
registrationStart: AWSDate
|
|
246
|
+
registrationEnd: AWSDate!
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
input SaveLeagueInput {
|
|
250
|
+
seasonId: ID!
|
|
251
|
+
name: String!
|
|
252
|
+
shortName: String
|
|
253
|
+
description: String!
|
|
254
|
+
additionalEligibleAssociations: [ID]!
|
|
255
|
+
minAge: Int
|
|
256
|
+
maxAge: Int
|
|
257
|
+
matchdayDates: [AWSDate!]
|
|
258
|
+
}
|
|
259
|
+
input ModifyLeagueInput {
|
|
260
|
+
id: ID!
|
|
261
|
+
name: String!
|
|
262
|
+
shortName: String
|
|
263
|
+
description: String!
|
|
264
|
+
additionalEligibleAssociations: [ID]!
|
|
265
|
+
minAge: Int
|
|
266
|
+
maxAge: Int
|
|
267
|
+
matchdayDates: [AWSDate!]
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
input SaveLeagueGroupInput {
|
|
271
|
+
leagueId: ID!
|
|
272
|
+
number: Int!
|
|
273
|
+
name: String!
|
|
274
|
+
shortName: String!
|
|
275
|
+
groupLeaderId: ID!
|
|
276
|
+
regulation: String!
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
input ModifyLeagueGroupInput {
|
|
280
|
+
id: ID!
|
|
281
|
+
number: Int!
|
|
282
|
+
name: String!
|
|
283
|
+
shortName: String!
|
|
284
|
+
groupLeaderId: ID!
|
|
285
|
+
regulation: String!
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
input SavePersonInput {
|
|
289
|
+
firstName: String!
|
|
290
|
+
lastName: String!
|
|
291
|
+
gender: String
|
|
292
|
+
dateOfBirth: AWSDate
|
|
293
|
+
clubId: ID!
|
|
294
|
+
uciCode: String
|
|
295
|
+
nationality: String
|
|
296
|
+
email: AWSEmail
|
|
297
|
+
phone: String
|
|
298
|
+
address: AddressInput
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
input ModifyPersonInput {
|
|
302
|
+
id: ID!
|
|
303
|
+
firstName: String!
|
|
304
|
+
lastName: String!
|
|
305
|
+
gender: String
|
|
306
|
+
dateOfBirth: AWSDate
|
|
307
|
+
clubId: ID!
|
|
308
|
+
uciCode: String
|
|
309
|
+
nationality: String
|
|
310
|
+
email: AWSEmail
|
|
311
|
+
phone: String
|
|
312
|
+
address: AddressInput
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
input SaveTeamInput {
|
|
316
|
+
name: String!
|
|
317
|
+
clubId: ID!
|
|
318
|
+
playerIds: [ID]!
|
|
319
|
+
leagueId: ID!
|
|
320
|
+
leagueGroupId: ID
|
|
321
|
+
withoutCompetition: Boolean
|
|
322
|
+
secondRightToPlay: Boolean
|
|
323
|
+
sgClubId: ID
|
|
324
|
+
exemptionRequest: String
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
input ModifyTeamInput {
|
|
328
|
+
id: ID!
|
|
329
|
+
name: String
|
|
330
|
+
playerIds: [ID]
|
|
331
|
+
leagueId: ID
|
|
332
|
+
leagueGroupId: ID
|
|
333
|
+
withoutCompetition: Boolean
|
|
334
|
+
secondRightToPlay: Boolean
|
|
335
|
+
sgClubId: ID
|
|
336
|
+
exemptionRequest: String
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
input SaveMatchDayTeamInput {
|
|
340
|
+
teamId: ID!
|
|
341
|
+
substitutePlayerId: ID
|
|
342
|
+
present: Boolean!
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
input ModifyMatchDayTeamInput {
|
|
346
|
+
substitutePlayerId: ID
|
|
347
|
+
present: Boolean!
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
input AddGameInput{
|
|
351
|
+
gameNumber: Int!
|
|
352
|
+
team1Id: ID!
|
|
353
|
+
team2Id: ID!
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
input ModifyGameInput {
|
|
357
|
+
id: ID!
|
|
358
|
+
halftimeGoalsTeam1: Int
|
|
359
|
+
halftimeGoalsTeam2: Int
|
|
360
|
+
finalGoalsTeam1: Int
|
|
361
|
+
finalGoalsTeam2: Int
|
|
362
|
+
pointsTeam1: Int
|
|
363
|
+
pointsTeam2: Int
|
|
364
|
+
bothLost: Boolean
|
|
365
|
+
nonCompetitive: Boolean
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
input SaveGymInput {
|
|
369
|
+
name: String!
|
|
370
|
+
clubId: ID!
|
|
371
|
+
address: AddressInput!
|
|
372
|
+
availableFields: String!
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
input ModifyGymInput {
|
|
376
|
+
name: String!
|
|
377
|
+
id: ID!
|
|
378
|
+
address: AddressInput!
|
|
379
|
+
availableFields: String!
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
input SaveMatchDayInput {
|
|
383
|
+
groupId: ID!
|
|
384
|
+
matchDayNumber: String!
|
|
385
|
+
startDate: AWSDateTime!
|
|
386
|
+
endDate: AWSDateTime!
|
|
387
|
+
gymId: ID!
|
|
388
|
+
streamingLink: AWSURL
|
|
389
|
+
teamIds: [ID]!
|
|
390
|
+
commissioners: RefereeInfoInput
|
|
391
|
+
secretary: String!
|
|
392
|
+
report: String
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
input RefereeInfoInput {
|
|
396
|
+
chiefRefereeId: ID
|
|
397
|
+
additionalRefereeIds: [ID]!
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
input ModifyMatchDayInput {
|
|
401
|
+
id: ID!
|
|
402
|
+
matchDayNumber: String!
|
|
403
|
+
startDate: AWSDateTime!
|
|
404
|
+
endDate: AWSDateTime!
|
|
405
|
+
gymId: ID!
|
|
406
|
+
streamingLink: AWSURL
|
|
407
|
+
commissioners: RefereeInfoInput
|
|
408
|
+
secretary: String!
|
|
409
|
+
report: String
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
input SavePreferredMatchdayDateInput {
|
|
413
|
+
clubId: ID!
|
|
414
|
+
leagueId: ID!
|
|
415
|
+
preferenceDate: AWSDate!
|
|
416
|
+
status: PreferenceStatus!
|
|
417
|
+
notes: String
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
input ModifyPreferredMatchdayDateInput {
|
|
421
|
+
clubId: ID!
|
|
422
|
+
leagueId: ID!
|
|
423
|
+
preferenceDate: AWSDate!
|
|
424
|
+
status: PreferenceStatus!
|
|
425
|
+
notes: String
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
input RegisterTeamInput {
|
|
429
|
+
name: String!
|
|
430
|
+
playerIds: [ID!]!
|
|
431
|
+
leagueId: ID!
|
|
432
|
+
withoutCompetition: Boolean
|
|
433
|
+
secondRightToPlay: Boolean
|
|
434
|
+
sgClubId: ID
|
|
435
|
+
exemptionRequest: String
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
input RegisterTeamsForSeasonInput {
|
|
439
|
+
clubId: ID!
|
|
440
|
+
seasonId: ID!
|
|
441
|
+
teams: [RegisterTeamInput!]!
|
|
442
|
+
preferredDates: [SavePreferredMatchdayDateInput]
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
# Queries
|
|
446
|
+
type Query {
|
|
447
|
+
getAssociationById(id: ID!): Association @aws_cognito_user_pools
|
|
448
|
+
getSeasonById(id: ID!): Season @aws_cognito_user_pools
|
|
449
|
+
getLeagueById(id: ID!): League @aws_cognito_user_pools
|
|
450
|
+
getLeagueGroupById(id: ID!): LeagueGroup @aws_cognito_user_pools
|
|
451
|
+
getClubById(id: ID!): Club @aws_cognito_user_pools
|
|
452
|
+
getTeamById(id: ID!): Team @aws_cognito_user_pools
|
|
453
|
+
getPersonById(id: ID!): Person @aws_cognito_user_pools
|
|
454
|
+
getPersonByUciCode(uciCode: String!): Person @aws_cognito_user_pools
|
|
455
|
+
getGymById(id: ID!): Gym @aws_cognito_user_pools
|
|
456
|
+
getMatchdayById(id: ID!): MatchDay @aws_cognito_user_pools
|
|
457
|
+
getGameById(matchDayId: ID!, gameId: ID!): Game @aws_cognito_user_pools
|
|
458
|
+
|
|
459
|
+
getListOfAssociations: [Association] @aws_cognito_user_pools
|
|
460
|
+
getListOfSeasons(associationId: ID!): [Season] @aws_cognito_user_pools
|
|
461
|
+
getListOfLeagueInSeason(seasonId: ID!): [League] @aws_cognito_user_pools
|
|
462
|
+
getListOfGroupsInLeague (leagueId: ID!): [LeagueGroup] @aws_cognito_user_pools
|
|
463
|
+
getListOfMatchdaysInSeason (seasonId: ID!): [MatchDay] @aws_cognito_user_pools
|
|
464
|
+
getListOfMatchdays(associationId: ID, leagueId: ID, groupId: ID): [MatchDay] @aws_cognito_user_pools
|
|
465
|
+
getListOfClubs: [Club] @aws_cognito_user_pools
|
|
466
|
+
getListOfClubsByAssociation(associationId: ID!): [Club] @aws_cognito_user_pools
|
|
467
|
+
getListOfClubsByLeague(leagueId: ID!): [Club] @aws_cognito_user_pools
|
|
468
|
+
getListOfClubsByLeagueGroup(groupId: ID!): [Club] @aws_cognito_user_pools
|
|
469
|
+
getListOfGyms(clubId: ID): [Gym] @aws_cognito_user_pools
|
|
470
|
+
getListOfPeople(clubId: ID): [Person] @aws_cognito_user_pools
|
|
471
|
+
|
|
472
|
+
getListOfTeamsForLeague(leagueId: ID!): [Team] @aws_cognito_user_pools
|
|
473
|
+
getListOfTeamsForLeagueGroup(leagueId: ID!, groupId: ID!): [Team] @aws_cognito_user_pools
|
|
474
|
+
|
|
475
|
+
getAllGamesOfTeamInSeason(seasonId: ID!, teamId: ID!): [Game] @aws_cognito_user_pools
|
|
476
|
+
getAllMatchdaysOfTeamInSeason (seasonId: ID!, teamId: ID!): [MatchDay] @aws_cognito_user_pools
|
|
477
|
+
getAllTeamsOfClubInSeason (seasonId: ID!, clubId: ID!): [Team] @aws_cognito_user_pools
|
|
478
|
+
getAllPlayersOfClubInSeason (seasonId: ID!, clubId: ID!): [Person] @aws_cognito_user_pools
|
|
479
|
+
|
|
480
|
+
getAuditLogEntriesForActor(actorId: ID!, startDate: AWSDateTime, endDate: AWSDateTime): [AuditLogEntry] @aws_cognito_user_pools(cognito_groups: ["admin"])
|
|
481
|
+
getAuditLogEntriesForResource(resourceType: String!, resourceId: ID!, startDate: AWSDateTime, endDate: AWSDateTime): [AuditLogEntry] @aws_cognito_user_pools(cognito_groups: ["admin"])
|
|
482
|
+
|
|
483
|
+
getPreferredDatesForClub(clubId: ID!, seasonId: ID!): [PreferredMatchdayDate] @aws_cognito_user_pools
|
|
484
|
+
getAvailableDatesForSeason(seasonId: ID!, leagueId: ID): [PreferredMatchdayDate] @aws_cognito_user_pools
|
|
485
|
+
|
|
486
|
+
getPersonPermissions(personId: ID!): [PersonPermission] @aws_cognito_user_pools(cognito_groups: ["admin"])
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
# Mutations
|
|
490
|
+
type Mutation {
|
|
491
|
+
|
|
492
|
+
addAssociation (association: SaveAssociationInput!): Association @aws_cognito_user_pools(cognito_groups: ["admin"])
|
|
493
|
+
modifyAssociation (association: ModifyAssociationInput!): Association @aws_cognito_user_pools
|
|
494
|
+
removeAssociation (associationId: ID!): Boolean @aws_cognito_user_pools
|
|
495
|
+
|
|
496
|
+
addClub (club: SaveClubInput!): Club @aws_cognito_user_pools
|
|
497
|
+
modifyClub(club: ModifyClubInput!): Club @aws_cognito_user_pools
|
|
498
|
+
removeClub (clubId: ID!): Boolean @aws_cognito_user_pools
|
|
499
|
+
|
|
500
|
+
addSeason (season: SaveSeasonInput!): Season @aws_cognito_user_pools
|
|
501
|
+
modifySeason(season: ModifySeasonInput!): Season @aws_cognito_user_pools
|
|
502
|
+
removeSeason (seasonId: ID!): Boolean @aws_cognito_user_pools
|
|
503
|
+
|
|
504
|
+
addLeague (league: SaveLeagueInput!): League @aws_cognito_user_pools
|
|
505
|
+
modifyLeague (league: ModifyLeagueInput!): League @aws_cognito_user_pools
|
|
506
|
+
removeLeague (leagueId: ID!): Boolean @aws_cognito_user_pools
|
|
507
|
+
|
|
508
|
+
addLeagueGroup (leagueGroup: SaveLeagueGroupInput!): LeagueGroup @aws_cognito_user_pools
|
|
509
|
+
modifyLeagueGroup (leagueGroup: ModifyLeagueGroupInput!): LeagueGroup @aws_cognito_user_pools
|
|
510
|
+
removeLeagueGroup (leagueGroupId: ID!): Boolean @aws_cognito_user_pools
|
|
511
|
+
|
|
512
|
+
addPerson (person: SavePersonInput!): Person @aws_cognito_user_pools
|
|
513
|
+
modifyPerson (person: ModifyPersonInput!): Person @aws_cognito_user_pools
|
|
514
|
+
removePerson (personId: ID!): Boolean @aws_cognito_user_pools
|
|
515
|
+
|
|
516
|
+
addTeam (team: SaveTeamInput!): Team @aws_cognito_user_pools
|
|
517
|
+
modifyTeam (team: ModifyTeamInput!): Team @aws_cognito_user_pools
|
|
518
|
+
removeTeam (teamId: ID!): Boolean @aws_cognito_user_pools
|
|
519
|
+
|
|
520
|
+
addMatchDayTeam (matchDayTeam: SaveMatchDayTeamInput!): MatchdayTeam @aws_cognito_user_pools
|
|
521
|
+
modifyMatchDayTeam (matchDayTeam: ModifyMatchDayTeamInput!, pin: String): MatchdayTeam @aws_cognito_user_pools
|
|
522
|
+
removeMatchDayTeam (matchDayTeamId: ID!): Boolean @aws_cognito_user_pools
|
|
523
|
+
|
|
524
|
+
addGameToMatchDay (matchDayId: ID!, game: AddGameInput!, pin: String): Game @aws_cognito_user_pools
|
|
525
|
+
modifyGameInMatchDay (matchDayId: ID!, game: ModifyGameInput!, pin: String): Game @aws_cognito_user_pools
|
|
526
|
+
removeGameFromMatchDay (matchDayId: ID!, gameId: ID!, pin: String): Boolean @aws_cognito_user_pools
|
|
527
|
+
|
|
528
|
+
addGym (gym: SaveGymInput!): Gym @aws_cognito_user_pools
|
|
529
|
+
modifyGym (gym: ModifyGymInput!): Gym @aws_cognito_user_pools
|
|
530
|
+
removeGym (gymId: ID!): Boolean @aws_cognito_user_pools
|
|
531
|
+
|
|
532
|
+
addMatchDay (matchDay: SaveMatchDayInput!): MatchDay @aws_cognito_user_pools
|
|
533
|
+
modifyMatchDay (matchDay: ModifyMatchDayInput!): MatchDay @aws_cognito_user_pools
|
|
534
|
+
removeMatchDay (matchDayId: ID!): Boolean @aws_cognito_user_pools
|
|
535
|
+
|
|
536
|
+
addPreferredDateForLeague (date: SavePreferredMatchdayDateInput!): PreferredMatchdayDate @aws_cognito_user_pools
|
|
537
|
+
modifyPreferredDateForLeague (date: ModifyPreferredMatchdayDateInput!): PreferredMatchdayDate @aws_cognito_user_pools
|
|
538
|
+
removePreferredDateForLeague (clubId: ID!, leagueId: ID!, preferenceDate: AWSDate): Boolean @aws_cognito_user_pools
|
|
539
|
+
|
|
540
|
+
registerTeamsForSeason (registration: RegisterTeamsForSeasonInput!): [Team] @aws_cognito_user_pools
|
|
541
|
+
}
|