fixed listAmountSchema

This commit is contained in:
Alex Kraiz
2023-10-02 10:26:42 +04:00
parent de23a73487
commit e4009d297b
2 changed files with 6 additions and 2 deletions

View File

@@ -1,5 +1,9 @@
import { z } from 'zod';
import infoSchema from './info-schema.js';
const listAmountSchema = z.record(z.number(), z.number())
const listAmountSchema = z.object({
result: z.record(z.number()),
info: infoSchema,
});
export default listAmountSchema;