413 lines
14 KiB
HTML
413 lines
14 KiB
HTML
|
<!DOCTYPE html>
|
||
|
<html lang="en">
|
||
|
<head>
|
||
|
<meta charset="utf-8">
|
||
|
<title>JSDoc: Source: frontend/src/module/fake_data.js</title>
|
||
|
|
||
|
<script src="scripts/prettify/prettify.js"> </script>
|
||
|
<script src="scripts/prettify/lang-css.js"> </script>
|
||
|
<!--[if lt IE 9]>
|
||
|
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||
|
<![endif]-->
|
||
|
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
|
||
|
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
|
||
|
</head>
|
||
|
|
||
|
<body>
|
||
|
|
||
|
<div id="main">
|
||
|
|
||
|
<h1 class="page-title">Source: frontend/src/module/fake_data.js</h1>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<section>
|
||
|
<article>
|
||
|
<pre class="prettyprint source linenums"><code>/** @module fake_data */
|
||
|
|
||
|
/**
|
||
|
* Array of players with stats info.
|
||
|
* @type {object[]}
|
||
|
*/
|
||
|
export const fake_players = [
|
||
|
{
|
||
|
"number": 14,
|
||
|
"name": "Andy Dalton",
|
||
|
"position": "Quarterback",
|
||
|
"stats":
|
||
|
{
|
||
|
"Passing Yards": "1" ,
|
||
|
"Rushing Yards": "551 YDS",
|
||
|
"completions": "1",
|
||
|
"TD": "1",
|
||
|
},
|
||
|
"team_name": "Dallas Cowboys",
|
||
|
"image": "https://images.generated.photos/-K9iBY4oOkLsqQfoTA1R8X0EKvR_BCbMXk0KNX4EIIs/rs:fit:128:128/Z3M6Ly9nZW5lcmF0/ZWQtcGhvdG9zL3Yz/XzA0NzY1MjkuanBn.jpg",
|
||
|
"showing_stats": false,
|
||
|
"points": 13,
|
||
|
},
|
||
|
{
|
||
|
"number": 7,
|
||
|
"name": "Ben DiNucci",
|
||
|
"position": "Quarterback",
|
||
|
"stats":
|
||
|
{
|
||
|
"Passing Yards": "1" ,
|
||
|
"Rushing Yards": "551 YDS",
|
||
|
"completions": "1",
|
||
|
"TD": "1",
|
||
|
},
|
||
|
"team_name": "Dallas Cowboys",
|
||
|
"image": "https://images.generated.photos/EUa6Hmnt6682dl03Q5FPIeMqLnS833rfzOJaJXlYxqI/rs:fit:128:128/Z3M6Ly9nZW5lcmF0/ZWQtcGhvdG9zL3Yz/XzAxNTk3OTFfMDU1/Nzg5OF8wMzgzMzIw/LmpwZw.jpg",
|
||
|
"showing_stats": false,
|
||
|
"points": 0,
|
||
|
|
||
|
},
|
||
|
{
|
||
|
"number": 3,
|
||
|
"name": "Garrett Gilbert",
|
||
|
"position": "Quarterback",
|
||
|
"stats":
|
||
|
{
|
||
|
"Passing Yards": "1" ,
|
||
|
"Rushing Yards": "551 YDS",
|
||
|
"completions": "1",
|
||
|
"TD": "1",
|
||
|
},
|
||
|
"team_name": "Dallas Cowboys",
|
||
|
"image": "https://images.generated.photos/eGoWRgqxtahGFDAD81-l8CNxdz1oe-huz3CQ7m3v0VI/rs:fit:128:128/Z3M6Ly9nZW5lcmF0/ZWQtcGhvdG9zL3Yz/XzAzNDA0NDlfMDgz/MDY1Nl8wMTk4NTI4/LmpwZw.jpg",
|
||
|
"showing_stats": false,
|
||
|
"points": 0,
|
||
|
"speed": 0,
|
||
|
"price": "$0.00",
|
||
|
|
||
|
},
|
||
|
{
|
||
|
"number": 34,
|
||
|
"name": "Rico Dowdle",
|
||
|
"position": "Running back",
|
||
|
"stats":
|
||
|
{
|
||
|
"Rushing Yards": "1" ,
|
||
|
"Receiving Yards": "551 YDS",
|
||
|
"Receptions": "1",
|
||
|
"TD": "1",
|
||
|
},
|
||
|
"team_name": "Dallas Cowboys",
|
||
|
"image": "https://images.generated.photos/fd8kkioB4vLw_5MGwQXdDt9Q7Ley2_Ia8Cu390zaNVM/rs:fit:128:128/Z3M6Ly9nZW5lcmF0/ZWQtcGhvdG9zL3Yz/XzA0Nzg2ODEuanBn.jpg",
|
||
|
"showing_stats": false,
|
||
|
"points": 0,
|
||
|
"speed": 0,
|
||
|
"price": "$0.00",
|
||
|
},
|
||
|
{
|
||
|
"number": 21,
|
||
|
"name": "Ezekiel Elliott",
|
||
|
"position": "Running back",
|
||
|
"stats":
|
||
|
{
|
||
|
"Rushing Yards": "1" ,
|
||
|
"Receiving Yards": "551 YDS",
|
||
|
"Receptions": "1",
|
||
|
"TD": "1",
|
||
|
},
|
||
|
"team_name": "Dallas Cowboys",
|
||
|
"image": "https://images.generated.photos/PEBx5b8_iPHU_nJpJbh3geUN8cBFglHVAAR9NktzXsk/rs:fit:128:128/Z3M6Ly9nZW5lcmF0/ZWQtcGhvdG9zL3Yz/XzAxODI1NzlfMDgx/MTA0OV8wNDQzOTM5/LmpwZw.jpg",
|
||
|
"showing_stats": false,
|
||
|
"points": 18,
|
||
|
"speed": 0,
|
||
|
"price": "$0.00",
|
||
|
},
|
||
|
{
|
||
|
"number": 20,
|
||
|
"name": "Tony Pollard",
|
||
|
"position": "Running back",
|
||
|
"stats":
|
||
|
{
|
||
|
"Rushing Yards": "1" ,
|
||
|
"Receiving Yards": "551 YDS",
|
||
|
"Receptions": "1",
|
||
|
"TD": "1",
|
||
|
},
|
||
|
"team_name": "Dallas Cowboys",
|
||
|
"image": "https://images.generated.photos/cb3jAo-GBziFLxs85KJGt7a8bJdhz4sSy76PYAXkeg4/rs:fit:128:128/Z3M6Ly9nZW5lcmF0/ZWQtcGhvdG9zL3Yz/XzA1ODU4MDBfMDMy/NjY2OF8wODEwNTA2/LmpwZw.jpg",
|
||
|
"showing_stats": false,
|
||
|
"points": 6,
|
||
|
"speed": 0,
|
||
|
"price": "$0.00",
|
||
|
},
|
||
|
{
|
||
|
"number": 85,
|
||
|
"name": "Noah Brown",
|
||
|
"position": "Wide receiver",
|
||
|
"stats":
|
||
|
{
|
||
|
"Rushing Yards": "1" ,
|
||
|
"Receiving Yards": "551 YDS",
|
||
|
"Receptions": "1",
|
||
|
"TD": "1",
|
||
|
},
|
||
|
"team_name": "Dallas Cowboys",
|
||
|
"image": "https://images.generated.photos/LLiy3FypH5A1suda78U82t_Kcn9AlJwZt1g3w1p5DwE/rs:fit:128:128/Z3M6Ly9nZW5lcmF0/ZWQtcGhvdG9zL3Yz/XzAzODc0NjlfMDUy/MDc0NF8wNzc3NzQ5/LmpwZw.jpg",
|
||
|
"showing_stats": false,
|
||
|
"points": 0,
|
||
|
"speed": 0,
|
||
|
"price": "$0.00",
|
||
|
},
|
||
|
{
|
||
|
"number": 19,
|
||
|
"name": "Amari Cooper",
|
||
|
"position": "Wide receiver",
|
||
|
"stats":
|
||
|
{
|
||
|
"Rushing Yards": "1" ,
|
||
|
"Receiving Yards": "551 YDS",
|
||
|
"Receptions": "1",
|
||
|
"TD": "1",
|
||
|
},
|
||
|
"team_name": "Dallas Cowboys",
|
||
|
"image": "https://images.generated.photos/dW84LNLE4Kzp73NTTnL68U--dYuq8CCzD-dGTs76U38/rs:fit:128:128/Z3M6Ly9nZW5lcmF0/ZWQtcGhvdG9zL3Yz/XzAyNjE1NjZfMDEz/NDM1NF8wMTg5MjI0/LmpwZw.jpg",
|
||
|
"showing_stats": false,
|
||
|
"points": 19,
|
||
|
"speed": 0,
|
||
|
"price": "$0.00",
|
||
|
},
|
||
|
{
|
||
|
"number": 13,
|
||
|
"name": "Michael Gallup",
|
||
|
"position": "Wide receiver",
|
||
|
"stats":
|
||
|
{
|
||
|
"Rushing Yards": "1" ,
|
||
|
"Receiving Yards": "551 YDS",
|
||
|
"Receptions": "1",
|
||
|
"TD": "1",
|
||
|
},
|
||
|
"team_name": "Dallas Cowboys",
|
||
|
"image": "https://images.generated.photos/erudOopARQnXWNaLqkIPRLLMLAVBr8m70aFC_dtYu1Y/rs:fit:128:128/Z3M6Ly9nZW5lcmF0/ZWQtcGhvdG9zL3Yz/XzAzODA5MTVfMDkx/MzIzN18wNDQxMTk4/LmpwZw.jpg",
|
||
|
"showing_stats": false,
|
||
|
"points": 14,
|
||
|
|
||
|
},
|
||
|
{
|
||
|
"number": 88,
|
||
|
"name": "CeeDee Lamb",
|
||
|
"position": "Wide receiver",
|
||
|
"stats":
|
||
|
{
|
||
|
"Rushing Yards": "1" ,
|
||
|
"Receiving Yards": "551 YDS",
|
||
|
"Receptions": "1",
|
||
|
"TD": "1",
|
||
|
},
|
||
|
"team_name": "Dallas Cowboys",
|
||
|
"image": "https://images.generated.photos/WFV4nHHq5ZaBb1rdmFL5WEZTOanckWHEfkmDA1fOVfw/rs:fit:128:128/Z3M6Ly9nZW5lcmF0/ZWQtcGhvdG9zL3Yz/XzAxNTYzNzNfMDI4/Nzc2N18wNzYxNDY3/LmpwZw.jpg",
|
||
|
"showing_stats": false,
|
||
|
"points": 11,
|
||
|
},
|
||
|
{
|
||
|
"number": 17,
|
||
|
"name": "Malik Turner",
|
||
|
"position": "Wide receiver",
|
||
|
"stats":
|
||
|
{
|
||
|
"Rushing Yards": "1" ,
|
||
|
"Receiving Yards": "551 YDS",
|
||
|
"Receptions": "1",
|
||
|
"TD": "1",
|
||
|
},
|
||
|
"team_name": "Dallas Cowboys",
|
||
|
"image": "https://images.generated.photos/PEBx5b8_iPHU_nJpJbh3geUN8cBFglHVAAR9NktzXsk/rs:fit:128:128/Z3M6Ly9nZW5lcmF0/ZWQtcGhvdG9zL3Yz/XzAxODI1NzlfMDgx/MTA0OV8wNDQzOTM5/LmpwZw.jpg",
|
||
|
"showing_stats": false,
|
||
|
"points": 3,
|
||
|
},
|
||
|
{
|
||
|
"number": 11,
|
||
|
"name": "Cedrick Wilson Jr.",
|
||
|
"position": "Wide receiver",
|
||
|
"stats":
|
||
|
{
|
||
|
"Rushing Yards": "1" ,
|
||
|
"Receiving Yards": "551 YDS",
|
||
|
"Receptions": "1",
|
||
|
"TD": "1",
|
||
|
},
|
||
|
"team_name": "Dallas Cowboys",
|
||
|
"image": "https://images.generated.photos/fd8kkioB4vLw_5MGwQXdDt9Q7Ley2_Ia8Cu390zaNVM/rs:fit:128:128/Z3M6Ly9nZW5lcmF0/ZWQtcGhvdG9zL3Yz/XzA0Nzg2ODEuanBn.jpg",
|
||
|
"showing_stats": false,
|
||
|
"points": 8,
|
||
|
},
|
||
|
{
|
||
|
"number": 80,
|
||
|
"name": "Blake Bell",
|
||
|
"position": "Tight end",
|
||
|
"stats":
|
||
|
{
|
||
|
"Rushing Yards": "1" ,
|
||
|
"Receiving Yards": "551 YDS",
|
||
|
"Receptions": "1",
|
||
|
"TD": "1",
|
||
|
},
|
||
|
"team_name": "Dallas Cowboys",
|
||
|
"image": "https://images.generated.photos/eGoWRgqxtahGFDAD81-l8CNxdz1oe-huz3CQ7m3v0VI/rs:fit:128:128/Z3M6Ly9nZW5lcmF0/ZWQtcGhvdG9zL3Yz/XzAzNDA0NDlfMDgz/MDY1Nl8wMTk4NTI4/LmpwZw.jpg",
|
||
|
"showing_stats": false,
|
||
|
"points": 9,
|
||
|
},
|
||
|
{
|
||
|
"number": 84,
|
||
|
"name": "Sean McKeon",
|
||
|
"position": "Tight end",
|
||
|
"stats":
|
||
|
{
|
||
|
"Rushing Yards": "1" ,
|
||
|
"Receiving Yards": "551 YDS",
|
||
|
"Receptions": "1",
|
||
|
"TD": "1",
|
||
|
},
|
||
|
"team_name": "Dallas Cowboys",
|
||
|
"image": "https://images.generated.photos/EUa6Hmnt6682dl03Q5FPIeMqLnS833rfzOJaJXlYxqI/rs:fit:128:128/Z3M6Ly9nZW5lcmF0/ZWQtcGhvdG9zL3Yz/XzAxNTk3OTFfMDU1/Nzg5OF8wMzgzMzIw/LmpwZw.jpg",
|
||
|
"showing_stats": false,
|
||
|
"points": 0,
|
||
|
},
|
||
|
{
|
||
|
"number": 86,
|
||
|
"name": "Dalton Schultz",
|
||
|
"position": "Tight end",
|
||
|
"stats":
|
||
|
{
|
||
|
"Rushing Yards": "1" ,
|
||
|
"Receiving Yards": "551 YDS",
|
||
|
"Receptions": "1",
|
||
|
"TD": "1",
|
||
|
},
|
||
|
"team_name": "Dallas Cowboys",
|
||
|
"image": "https://images.generated.photos/-K9iBY4oOkLsqQfoTA1R8X0EKvR_BCbMXk0KNX4EIIs/rs:fit:128:128/Z3M6Ly9nZW5lcmF0/ZWQtcGhvdG9zL3Yz/XzA0NzY1MjkuanBn.jpg",
|
||
|
"showing_stats": false,
|
||
|
"points": 13,
|
||
|
},
|
||
|
{
|
||
|
"number": 23,
|
||
|
"name": "Darian Thompson RB",
|
||
|
"position": "Running back",
|
||
|
"stats":
|
||
|
{
|
||
|
"Rushing Yards": "1" ,
|
||
|
"Receiving Yards": "551 YDS",
|
||
|
"Receptions": "1",
|
||
|
"TD": "1",
|
||
|
},
|
||
|
"team_name": "Kansas City Chiefs",
|
||
|
"image": "https://images.generated.photos/cb3jAo-GBziFLxs85KJGt7a8bJdhz4sSy76PYAXkeg4/rs:fit:128:128/Z3M6Ly9nZW5lcmF0/ZWQtcGhvdG9zL3Yz/XzA1ODU4MDBfMDMy/NjY2OF8wODEwNTA2/LmpwZw.jpg",
|
||
|
"showing_stats": false,
|
||
|
"points": 4,
|
||
|
},
|
||
|
{
|
||
|
"number": 2,
|
||
|
"name": "Greg Zuerlein K",
|
||
|
"position": "Special team",
|
||
|
"stats":
|
||
|
{
|
||
|
"XP": "1" ,
|
||
|
"FG": "551 YDS",
|
||
|
},
|
||
|
"team_name": "Dallas Cowboys",
|
||
|
"image": "https://images.generated.photos/fd8kkioB4vLw_5MGwQXdDt9Q7Ley2_Ia8Cu390zaNVM/rs:fit:128:128/Z3M6Ly9nZW5lcmF0/ZWQtcGhvdG9zL3Yz/XzA0Nzg2ODEuanBn.jpg",
|
||
|
"showing_stats": false,
|
||
|
"points": 11,
|
||
|
},
|
||
|
{
|
||
|
"number": "N/A",
|
||
|
"name": "Arizona Cardinals",
|
||
|
"position": "Defense",
|
||
|
"stats":
|
||
|
{
|
||
|
"Fumble": "1" ,
|
||
|
"YDS_Allowed": "551 YDS",
|
||
|
"Sacks": "1",
|
||
|
"INT": "1",
|
||
|
"TD": "0",
|
||
|
},
|
||
|
"team_name": "Arizona Cardinals",
|
||
|
"image": "https://images.generated.photos/fd8kkioB4vLw_5MGwQXdDt9Q7Ley2_Ia8Cu390zaNVM/rs:fit:128:128/Z3M6Ly9nZW5lcmF0/ZWQtcGhvdG9zL3Yz/XzA0Nzg2ODEuanBn.jpg",
|
||
|
"showing_stats": false,
|
||
|
"points": 11,
|
||
|
},
|
||
|
{
|
||
|
"number": "N/A",
|
||
|
"name": "Kansas City Chiefs",
|
||
|
"position": "Defense",
|
||
|
"stats":
|
||
|
{
|
||
|
"Fumble": "1" ,
|
||
|
"YDS_Allowed": "551 YDS",
|
||
|
"Sacks": "1",
|
||
|
"INT": "1",
|
||
|
"TD": "0",
|
||
|
},
|
||
|
"team_name": "Kansas City Chiefs",
|
||
|
"image": "https://images.generated.photos/fd8kkioB4vLw_5MGwQXdDt9Q7Ley2_Ia8Cu390zaNVM/rs:fit:128:128/Z3M6Ly9nZW5lcmF0/ZWQtcGhvdG9zL3Yz/XzA0Nzg2ODEuanBn.jpg",
|
||
|
"showing_stats": false,
|
||
|
"points": 11,
|
||
|
},
|
||
|
{
|
||
|
"number": "N/A",
|
||
|
"name": "Atlanta Falcons",
|
||
|
"position": "Defense",
|
||
|
"stats":
|
||
|
{
|
||
|
"Fumble": "1" ,
|
||
|
"YDS_Allowed": "551 YDS",
|
||
|
"Sacks": "1",
|
||
|
"INT": "1",
|
||
|
"TD": "0",
|
||
|
},
|
||
|
"team_name": "Atlanta Falcons",
|
||
|
"image": "https://images.generated.photos/fd8kkioB4vLw_5MGwQXdDt9Q7Ley2_Ia8Cu390zaNVM/rs:fit:128:128/Z3M6Ly9nZW5lcmF0/ZWQtcGhvdG9zL3Yz/XzA0Nzg2ODEuanBn.jpg",
|
||
|
"showing_stats": false,
|
||
|
"points": 11,
|
||
|
},
|
||
|
{
|
||
|
"number": "N/A",
|
||
|
"name": "Baltimore Ravens",
|
||
|
"position": "Defense",
|
||
|
"stats":
|
||
|
{
|
||
|
"Fumble": "1" ,
|
||
|
"YDS_Allowed": "551 YDS",
|
||
|
"Sacks": "1",
|
||
|
"INT": "1",
|
||
|
"TD": "0",
|
||
|
},
|
||
|
"team_name": "Baltimore Ravens",
|
||
|
"image": "https://images.generated.photos/fd8kkioB4vLw_5MGwQXdDt9Q7Ley2_Ia8Cu390zaNVM/rs:fit:128:128/Z3M6Ly9nZW5lcmF0/ZWQtcGhvdG9zL3Yz/XzA0Nzg2ODEuanBn.jpg",
|
||
|
"showing_stats": false,
|
||
|
"points": 11,
|
||
|
},
|
||
|
]
|
||
|
</code></pre>
|
||
|
</article>
|
||
|
</section>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
</div>
|
||
|
|
||
|
<nav>
|
||
|
<h2><a href="index.html">Home</a></h2><h3>Modules</h3><ul><li><a href="module-fake_data.html">fake_data</a></li><li><a href="module-routing.html">routing</a></li><li><a href="module-util.html">util</a></li></ul><h3>Classes</h3><ul><li><a href="ActiveScope.html">ActiveScope</a></li><li><a href="AddPlayersComponent.html">AddPlayersComponent</a></li><li><a href="DraftBoard.html">DraftBoard</a></li><li><a href="DraftBoardComponent.html">DraftBoardComponent</a></li><li><a href="FrontendUnit.html">FrontendUnit</a></li><li><a href="GenerateMatchupsForWeekPatch.html">GenerateMatchupsForWeekPatch</a></li><li><a href="GenerateWeeklyResultsPatch.html">GenerateWeeklyResultsPatch</a></li><li><a href="GridActionButtonComponent.html">GridActionButtonComponent</a></li><li><a href="GridComponent.html">GridComponent</a></li><li><a href="Home.html">Home</a></li><li><a href="InjectUserTeam.html">InjectUserTeam</a></li><li><a href="LeagueComponent.html">LeagueComponent</a></li><li><a href="Lineup.html">Lineup</a></li><li><a href="LinkComponent.html">LinkComponent</a></li><li><a href="Matchup.html">Matchup</a></li><li><a href="module-routing-Router.html">Router</a></li><li><a href="MyTeamComponent.html">MyTeamComponent</a></li><li><a href="Player.html">Player</a></li><li><a href="ScoresComponent.html">ScoresComponent</a></li><li><a href="ScoresController.html">ScoresController</a></li><li><a href="SeedAPIDataPatch.html">SeedAPIDataPatch</a></li><li><a href="SeedWeeklyPlayerDataPatch.html">SeedWeeklyPlayerDataPatch</a></li><li><a href="SportsDataService.html">SportsDataService</a></li><li><a href="Team.html">Team</a></li><li><a href="Teams.html">Teams</a></li><li><a href="TopLevelComponent.html">TopLevelComponent</a></li><li><a href="User.html">User</a></li><li><a href="WeeklyPlayerStat.html">WeeklyPlayerStat</a></li><li><a href="WeeklyTeamStat.html">WeeklyTeamStat</a></li></ul><h3>Global</h3><ul><li><a href="global.html#GridCellRenderType">GridCellRenderType</a></li></ul>
|
||
|
</nav>
|
||
|
|
||
|
<br class="clear">
|
||
|
|
||
|
<footer>
|
||
|
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.5</a> on Sun Nov 08 2020 14:34:32 GMT-0600 (Central Standard Time)
|
||
|
</footer>
|
||
|
|
||
|
<script> prettyPrint(); </script>
|
||
|
<script src="scripts/linenumber.js"> </script>
|
||
|
</body>
|
||
|
</html>
|