CFD small schema update

This commit is contained in:
Mikhail Gladchenko
2023-02-02 12:49:05 +00:00
parent 24d23e0784
commit 42eb66c594

View File

@@ -44,6 +44,7 @@ export const orderUpdateSchema = z.object({
id: o.I,
settledAmount: o.A,
status: o.S,
liquidated: o.l,
subOrders: o.c.map((so) => ({
pair: so.P,
exchange: so.e,
@@ -82,6 +83,7 @@ export const fullOrderSchema = z.object({
settledAmount: o.A,
feeAsset: o.F,
fee: o.f,
liquidated: o.l,
status: o.S,
date: o.T,
clientOrdId: o.O,