UNPKG
@dcl.ru/dtos
Version:
latest (3.9.1)
3.9.1
3.9.0
3.8.0
3.7.2
3.7.1
3.6.0
3.5.1
3.5.0
3.4.0
3.3.0
3.2.0
dcl.ru API v3 data transfer objects — types, enums and zod schemas
docs.dcl.ru
dcl-ru/api.js.dtos
@dcl.ru/dtos
/
dist
/
dtos
/
errors.d.ts
8 lines
•
281 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
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