UNPKG

@dcl.ru/dtos

Version:

dcl.ru API v3 data transfer objects — types, enums and zod schemas

8 lines 281 B
import { z } from 'zod'; export declare const APIErrorSchema: z.ZodObject<{ requestId: z.ZodString; code: z.ZodCoercedNumber<unknown>; error: z.ZodString; }, z.core.$strip>; export type APIErrorType = z.infer<typeof APIErrorSchema>; //# sourceMappingURL=errors.d.ts.map