commit for 58fdfb1
This commit is contained in:
parent
58fdfb1ed9
commit
b0e7624cd9
@ -2,15 +2,11 @@ import ValuesSchema from 'config/schema/values';
|
||||
import { z } from 'zod';
|
||||
|
||||
export const GetQuoteDataInputSchema = z.object({
|
||||
values: z
|
||||
.object({
|
||||
quote: ValuesSchema.shape.quote.unwrap(),
|
||||
})
|
||||
.merge(
|
||||
ValuesSchema.pick({
|
||||
recalcWithRevision: true,
|
||||
})
|
||||
),
|
||||
values: ValuesSchema.pick({
|
||||
recalcWithRevision: true,
|
||||
}).extend({
|
||||
quote: ValuesSchema.shape.quote.unwrap(),
|
||||
}),
|
||||
});
|
||||
export type GetQuoteDataInput = z.infer<typeof GetQuoteDataInputSchema>;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user