feat: add 1% low FPS field to benchmark submission wizard
This commit is contained in:
@@ -101,6 +101,7 @@ export const performanceSubmitRoutes = new Elysia({ prefix: "/performance" })
|
||||
hardwareSlug: body.hardwareSlug,
|
||||
userId: guard.user.id,
|
||||
fpsAvg: body.fpsAvg,
|
||||
fpsOnePercentLow: body.fpsOnePercentLow ?? null,
|
||||
fpsLow: body.fpsLow ?? null,
|
||||
fpsHigh: body.fpsHigh ?? null,
|
||||
protonVersion: body.protonVersion ?? null,
|
||||
@@ -129,6 +130,7 @@ export const performanceSubmitRoutes = new Elysia({ prefix: "/performance" })
|
||||
versionId: t.String(),
|
||||
hardwareSlug: t.String(),
|
||||
fpsAvg: t.Number(),
|
||||
fpsOnePercentLow: t.Optional(t.Union([t.Number(), t.Null()])),
|
||||
fpsLow: t.Optional(t.Union([t.Number(), t.Null()])),
|
||||
fpsHigh: t.Optional(t.Union([t.Number(), t.Null()])),
|
||||
protonVersion: t.Optional(t.Union([t.String(), t.Null()])),
|
||||
|
||||
Reference in New Issue
Block a user