feat: remove estimatedBatteryMin references from 11 files (Tasks 3.1-3.14)
This commit is contained in:
@@ -33,7 +33,6 @@ interface PerformanceEntry {
|
||||
launchOptions: string | null
|
||||
settingsJson: string | null
|
||||
userNotes: string | null
|
||||
estimatedBatteryMin: number | null
|
||||
customSystem: string | null
|
||||
isRemoved: boolean
|
||||
removedReason: string | null
|
||||
|
||||
@@ -137,7 +137,6 @@ interface Preset {
|
||||
launchOptions: string | null
|
||||
loadTimeSsd: number | null
|
||||
loadTimeSd: number | null
|
||||
estimatedBatteryMin: number | null
|
||||
tdpWatts: number | null
|
||||
youtubeVideoId: string | null
|
||||
screenshots: Array<{
|
||||
@@ -233,7 +232,6 @@ interface StatsResponse {
|
||||
id: string
|
||||
hardwareSlug: string
|
||||
tdpWatts: number
|
||||
estimatedBatteryMin: number
|
||||
estimatedBatteryHours: number
|
||||
wattHours: number | null
|
||||
tdpMax: number | null
|
||||
|
||||
@@ -178,7 +178,6 @@ export default async function GamePage({
|
||||
launchOptions: performanceEntries.launchOptions,
|
||||
loadTimeSsd: performanceEntries.loadTimeSsd,
|
||||
loadTimeSd: performanceEntries.loadTimeSd,
|
||||
estimatedBatteryMin: performanceEntries.estimatedBatteryMin,
|
||||
tdpWatts: performanceEntries.tdpWatts,
|
||||
youtubeVideoId: performanceEntries.youtubeVideoId,
|
||||
customSystem: performanceEntries.customSystem,
|
||||
@@ -281,7 +280,6 @@ export default async function GamePage({
|
||||
launchOptions: p.launchOptions,
|
||||
loadTimeSsd: p.loadTimeSsd ?? null,
|
||||
loadTimeSd: p.loadTimeSd ?? null,
|
||||
estimatedBatteryMin: p.estimatedBatteryMin ?? null,
|
||||
tdpWatts: p.tdpWatts ?? null,
|
||||
youtubeVideoId: p.youtubeVideoId ?? null,
|
||||
screenshots: null as Array<{ id: string; url: string; width: number; height: number; orderIndex: number }> | null,
|
||||
|
||||
@@ -42,7 +42,6 @@ interface Preset {
|
||||
launchOptions: string | null
|
||||
loadTimeSsd: number | null
|
||||
loadTimeSd: number | null
|
||||
estimatedBatteryMin: number | null
|
||||
tdpWatts: number | null
|
||||
youtubeVideoId: string | null
|
||||
screenshots: Array<{ id: string; url: string; width: number; height: number }> | null
|
||||
@@ -535,9 +534,7 @@ export function PresetDetailModal({
|
||||
{preset.loadTimeSd !== null && (
|
||||
<MetaItem label="Load Time (SD)" value={`${preset.loadTimeSd}s`} />
|
||||
)}
|
||||
{preset.estimatedBatteryMin !== null && (
|
||||
<MetaItem label="Battery Life" value={`${preset.estimatedBatteryMin} min`} />
|
||||
)}
|
||||
|
||||
{preset.customSystem && (
|
||||
<MetaItem label="Custom System" value="Yes" />
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user