-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #92 from paulmojicatech/updated-charts
Updated charts
- Loading branch information
Showing
8 changed files
with
310 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
apps/fantalytic-mobile/src/app/fantasy-football/const/fantasy-football.const.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
import { PositionTypes } from '../../../../../../libs/fantalytic-shared/src/index'; | ||
|
||
export const FANTASY_FOOTBALL_STAT_HEADER_MAP = { | ||
[PositionTypes.QB]: { | ||
passingYds: 'Yds', | ||
ints: 'Ints', | ||
passingYdsPerAttempt: 'Yds Per Att', | ||
tds: 'TDs' | ||
}, | ||
[PositionTypes.RB]: { | ||
rushingYds: 'Yds', | ||
rushAttempts: 'Attempts', | ||
rushingTds: 'TDs', | ||
rushing20Yds: '20+ Yd' | ||
}, | ||
[PositionTypes.WR]: { | ||
receptions: 'Rec', | ||
receivingYds: ' Yds', | ||
receivingTds: 'TDs', | ||
receiving20Plus: '20+ Yd', | ||
receiving40Plus: '40+ Yd', | ||
receivingTargets: 'Targets' | ||
}, | ||
[PositionTypes.DEF]: { | ||
rushYdsAllowed: 'Rush Yds', | ||
ydsPerCarry: 'Yds / Carry', | ||
rushTdsAllowed: 'Rush TDs', | ||
completionPctAllowed: 'Comp %', | ||
passYdsAllowed: 'Pass Yds', | ||
ints: 'Ints', | ||
sacks: 'Sacks' | ||
} | ||
}; |
16 changes: 11 additions & 5 deletions
16
apps/fantalytic-mobile/src/app/fantasy-football/fantasy-football.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.