Skip to content

Commit

Permalink
dev-vbl-statistic from API (4c02377b)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gitlab CI Pipeline committed Feb 19, 2024
1 parent 2fb9b8a commit a72d8b4
Show file tree
Hide file tree
Showing 20 changed files with 148 additions and 5 deletions.
1 change: 1 addition & 0 deletions libs/types/src/lib/api/Game/gameList.view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export interface GameListView {
gameType: string | null;
platform: PlatformListView | null;
isActive: boolean;
matchGameNumber: number;
}

export default GameListView;
1 change: 1 addition & 0 deletions libs/types/src/lib/api/Game/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export { GameListViewUnion } from './gameListView.union';
export { LastXGamesByMatchGameView } from './lastXGamesByMatchGame.view';
export { GameRankingView } from './gameRanking.view';
export { GameListView } from './gameList.view';
export { GameDetailView } from './gameDetail.view';
Expand Down
8 changes: 8 additions & 0 deletions libs/types/src/lib/api/Game/lastXGamesByMatchGame.view.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// Generated Interface, do not change manually!

export interface LastXGamesByMatchGameView {
home: any;
away: any;
}

export default LastXGamesByMatchGameView;
1 change: 1 addition & 0 deletions libs/types/src/lib/api/Lineup/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
export { FormationStructureView } from './formationStructure.view';
export { LineupPlayerV2View } from './lineupPlayerV.view';
export { LineupPlayerView } from './lineupPlayer.view';
export { LineupListView } from './lineupList.view';
15 changes: 15 additions & 0 deletions libs/types/src/lib/api/Lineup/lineupPlayerV.view.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// Generated Interface, do not change manually!
import { MediaView } from './../Media/media.view';

export interface LineupPlayerV2View {
fullname: string | null;
firstname: string | null;
lastname: string | null;
club: string | null;
sorting: number;
position: string | null;
rating: number | null;
media: MediaView | null;
}

export default LineupPlayerV2View;
1 change: 1 addition & 0 deletions libs/types/src/lib/api/Match/Game/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { MatchGameLineupRequestData } from './matchGameLineupRequest.data';
11 changes: 11 additions & 0 deletions libs/types/src/lib/api/Match/Game/matchGameLineupRequest.data.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// Generated Interface, do not change manually!

export interface MatchGameLineupRequestData {

/**
* @default false
*/
switchLineups?: boolean;
}

export default MatchGameLineupRequestData;
1 change: 1 addition & 0 deletions libs/types/src/lib/api/Media/media.view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export interface MediaView {
description: string | null;
providerReference: string | null;
path: string | null;
original: string | null;
}

export default MediaView;
2 changes: 2 additions & 0 deletions libs/types/src/lib/api/Overall/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export { StatisticOverallTournamentView } from './statisticOverallTournament.view';
export { StatisticOverallUtCardResultsView } from './statisticOverallUtCardResults.view';
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// Generated Interface, do not change manually!

export interface StatisticOverallTournamentView {
totalMatchGameCount: number;
totalScoreSum: number;
averageScore: number;
}

export default StatisticOverallTournamentView;
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// Generated Interface, do not change manually!
import { MediaMinimalView } from './mediaMinimal.view';

export interface StatisticOverallUtCardResultsView {
goalsShot: number | null;
playerInLineup: number | null;
utCardFirstName: string;
utCardLastName: string;
utCardImage: MediaMinimalView | null;
}

export default StatisticOverallUtCardResultsView;
5 changes: 2 additions & 3 deletions libs/types/src/lib/api/Round/roundWithStageAndGroup.view.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Generated Interface, do not change manually!

import { GroupListView } from '../Group';
import { StageListView } from '../Stage';
import { StageListView } from './stageList.view';
import { GroupListView } from './groupList.view';

export interface RoundWithStageAndGroupView {
id: string;
Expand Down
2 changes: 2 additions & 0 deletions libs/types/src/lib/api/Statistic/HeadToHead/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export { StatisticPlayerView } from './statisticPlayer.view';
export { StatisticClubView } from './statisticClub.view';
29 changes: 29 additions & 0 deletions libs/types/src/lib/api/Statistic/HeadToHead/statisticClub.view.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
// Generated Interface, do not change manually!
import { TeamParticipantViewUnion } from './../../Participant/teamParticipantView.union';

export interface StatisticClubView {
id: string;
statisticConfigurationId: string;
identityId: string;
participant: TeamParticipantViewUnion;
matchesPlayed: number;
gamesPlayed: number;
wonSum: number | null;
lostSum: number | null;
tieSum: number | null;
scoreSum: number | null;
scoreDifference: number | null;
averagePointsPerMatch: number | null;
gamesPlayedOneVsOne: number;
gamesPlayedTwoVsTwo: number;
averagePointsOneVsOnePerGame: number | null;
averagePointsTwoVsTwoPerGame: number | null;
averageGoalsPerGame: number | null;
placement: number | null;
efficiency: number | null;
trendPoints: number | null;
trendPointsZone: string | null;
createdAt: string;
}

export default StatisticClubView;
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
// Generated Interface, do not change manually!
import { PlayerParticipantView } from './../../Participant/playerParticipant.view';
import { PlayerListViewUnion } from './../../Player/playerListView.union';

export interface StatisticPlayerView {
id: string;
statisticConfigurationId: string;
identityId: string;
participant: PlayerParticipantView | null;
player: PlayerListViewUnion | null;
gamesPlayed: number;
wonSum: number | null;
lostSum: number | null;
tieSum: number | null;
scoreSum: number | null;
scoreDifference: number | null;
averageGoalsPerGame: number | null;
averageEnemyGoalsPerGame: number | null;
averagePointsPerGame: number | null;
averageShotsPerGoal: number | null;
averageBallRecoveryTimePerGame: number | null;
efficiency: number | null;
trendPoints: number | null;
trendPointsZone: string | null;
averageExpectedScorePerGame: number | null;
createdAt: string;
}

export default StatisticPlayerView;
2 changes: 1 addition & 1 deletion libs/types/src/lib/api/Statistic/statisticValue.view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

export interface StatisticValueView {
value: number | null;
totalMatchGames: number;
totalMatchesOrMatchGames: number;
}

export default StatisticValueView;
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Generated Interface, do not change manually!
import { MediaView } from '../../Media';
import { CheckInStatus } from './../../Registration/checkIn.status';
import { MediaView } from './media.view';

export interface UserTournamentRegistrationView {
id: string;
Expand Down
1 change: 1 addition & 0 deletions libs/types/src/lib/api/Weekly/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { StatisticWeeklyUtCardResultsView } from './statisticWeeklyUtCardResults.view';
13 changes: 13 additions & 0 deletions libs/types/src/lib/api/Weekly/statisticWeeklyUtCardResults.view.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// Generated Interface, do not change manually!
import { MediaMinimalView } from './mediaMinimal.view';

export interface StatisticWeeklyUtCardResultsView {
goalsShot: number | null;
playerInLineup: number | null;
utCardFirstName: string;
utCardLastName: string;
utCardImage: MediaMinimalView | null;
week: number;
}

export default StatisticWeeklyUtCardResultsView;
8 changes: 8 additions & 0 deletions libs/types/src/lib/api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,24 @@ export { StatisticValueView } from './Statistic/statisticValue.view';
export { StatisticListView } from './Statistic/statisticList.view';
export { RoundWithStageAndGroupView } from './Round/roundWithStageAndGroup.view';
export { StageListView } from './Stage/stageList.view';
export { LineupPlayerVView } from './Lineup/lineupPlayerV.view';
export { FormationStructureView } from './Lineup/formationStructure.view';
export { PaginationView } from './pagination.view';
export { FormViolationView } from './Form/formViolation.view';
export { StatisticClubView } from './Statistic/HeadToHead/statisticClub.view';
export { StatisticPlayerView } from './Statistic/HeadToHead/statisticPlayer.view';
export { GroupedStatisticListView } from './Statistic/groupedStatisticList.view';
export { ListTournamentSearchRequestData } from './Season/listTournamentSearchRequest.data';
export { SeasonWithTournamentGroupsView } from './Season/seasonWithTournamentGroups.view';
export { BaseSeasonView } from './Season/baseSeason.view';
export { RoundStageStructureWithMatchesView } from './Round/Match/roundStageStructureWithMatches.view';
export { RoundWithMatchesView } from './Round/Match/roundWithMatches.view';
export { RoundListView } from './Round/roundList.view';
export { StatisticWeeklyUtCardResultsView } from './Weekly/statisticWeeklyUtCardResults.view';
export { MatchListViewUnion } from './Match/matchListView.union';
export { DetailedMatchListView } from './Match/detailedMatchList.view';
export { MatchRankingView } from './Match/matchRanking.view';
export { MatchGameLineupRequestData } from './Match/Game/matchGameLineupRequest.data';
export { ListUpcomingMatchesForUserSearchRequestData } from './Match/listUpcomingMatchesForUserSearchRequest.data';
export { MatchStreamDetailView } from './Match/Stream/matchStreamDetail.view';
export { MatchStreamListView } from './Match/Stream/matchStreamList.view';
Expand Down Expand Up @@ -55,6 +60,9 @@ export { GroupStageStageStructureView } from './Tournament/groupStageStageStruct
export { ListSearchRequestData } from './Tournament/listSearchRequest.data';
export { BaseStageStageStructureView } from './Tournament/baseStageStageStructure.view';
export { IdentityView } from './Identity/identity.view';
export { StatisticOverallTournamentView } from './Overall/statisticOverallTournament.view';
export { StatisticOverallUtCardResultsView } from './Overall/statisticOverallUtCardResults.view';
export { LastXGamesByMatchGameView } from './Game/lastXGamesByMatchGame.view';
export { GameListView } from './Game/gameList.view';
export { GameRankingView } from './Game/gameRanking.view';
export { SubstitutionEventView } from './Game/Event/substitutionEvent.view';
Expand Down

0 comments on commit a72d8b4

Please sign in to comment.