fix(web): preserve historical backtests with null configuration (CL25)

This commit is contained in:
Boki 2026-10-28 15:50:32 -04:00
parent 731acc41db
commit ed7429cfbc
10 changed files with 41 additions and 23 deletions

View file

@ -17,7 +17,7 @@ export const backtestResponseSchema = z.object({
startDate: date,
endDate: date,
initialCapital: z.number().finite(),
config: z.record(z.unknown()),
config: z.record(z.unknown()).nullable(),
createdAt: date,
updatedAt: date,
archivedAt: date.nullable(),