feat: remove estimatedBatteryMin references from 11 files (Tasks 3.1-3.14)

This commit is contained in:
2026-05-10 05:07:25 +08:00
parent aa4509ede8
commit 6d906f0bbf
11 changed files with 1 additions and 42 deletions
-1
View File
@@ -74,7 +74,6 @@ export const adminPerformanceRoutes = new Elysia({ prefix: "/admin" })
launchOptions: performanceEntries.launchOptions,
settingsJson: performanceEntries.settingsJson,
userNotes: performanceEntries.userNotes,
estimatedBatteryMin: performanceEntries.estimatedBatteryMin,
customSystem: performanceEntries.customSystem,
isRemoved: performanceEntries.isRemoved,
removedReason: performanceEntries.removedReason,
-1
View File
@@ -169,7 +169,6 @@ export const compareRoutes = new Elysia({ prefix: "/compare" })
osVersion: performanceEntries.osVersion,
loadTimeSsd: performanceEntries.loadTimeSsd,
loadTimeSd: performanceEntries.loadTimeSd,
estimatedBatteryMin: performanceEntries.estimatedBatteryMin,
settingsJson: performanceEntries.settingsJson,
launchOptions: performanceEntries.launchOptions,
hardwareSlug: performanceEntries.hardwareSlug,
-2
View File
@@ -125,7 +125,6 @@ export const performanceSubmitRoutes = new Elysia({ prefix: "/performance" })
osVersion: body.osVersion ?? null,
upscalerType: body.upscalerType ?? "none",
upscalerVersion: body.upscalerVersion ?? null,
estimatedBatteryMin: body.estimatedBatteryMin ?? null,
customSystem: body.customSystem ?? false,
frameGenMethod: body.frameGenMethod ?? "none",
loadTimeSsd: body.loadTimeSsd ?? null,
@@ -209,7 +208,6 @@ export const performanceSubmitRoutes = new Elysia({ prefix: "/performance" })
]),
),
upscalerVersion: t.Optional(t.Union([t.String(), t.Null()])),
estimatedBatteryMin: t.Optional(t.Union([t.Number(), t.Null()])),
customSystem: t.Optional(t.Boolean()),
frameGenMethod: t.Optional(
t.Union([