16 lines
514 B
TypeScript
16 lines
514 B
TypeScript
import type { PlayerPageConfig, PlayerValue } from "./common.js";
|
|
|
|
export const RUNNER_COLUMNS = [
|
|
"rank", "player", "team", "games", "sba", "sb", "cs",
|
|
"sbPct", "oob", "pko",
|
|
] as const;
|
|
|
|
export type RunnerStats = Record<(typeof RUNNER_COLUMNS)[number], PlayerValue>;
|
|
|
|
export const RUNNER_CONFIG: PlayerPageConfig = {
|
|
url: "https://www.koreabaseball.com/Record/Player/Runner/Basic.aspx",
|
|
defaultSortCol: "SB_CN",
|
|
dropdowns: ["ddlSeason", "ddlSeries", "ddlTeam", "ddlPos"],
|
|
columns: RUNNER_COLUMNS,
|
|
};
|