- 313 new markdown files created - 30 relationships embedded - 313 entries indexed - State initialized with usage data
13 lines
700 B
Markdown
13 lines
700 B
Markdown
---
|
|
id: db7b8cba-1884-4def-ae36-033fdf1b70db
|
|
type: solution
|
|
title: "RosterLink refactor for bench players"
|
|
tags: [strat-gameplay-webapp, python, vue, refactor, rosterlink, bench-players]
|
|
importance: 0.7
|
|
confidence: 0.8
|
|
created: "2026-01-18T04:15:29.580857+00:00"
|
|
updated: "2026-01-18T04:15:29.580857+00:00"
|
|
---
|
|
|
|
Refactored bench player storage from Lineup table (position=BN) to RosterLink table with player_positions JSONB column. Added player_data JSONB to cache name/image/headshot at lineup submission, eliminating runtime API calls. Added is_pitcher/is_batter computed properties supporting two-way players. Key fix: CP (Closer Pitcher) must be in PITCHER_POSITIONS set alongside P, SP, RP, CL.
|