fix(web): preserve historical backtests with null configuration (CL25)
This commit is contained in:
parent
731acc41db
commit
ed7429cfbc
10 changed files with 41 additions and 23 deletions
|
|
@ -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(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue