работаем бля работаем
This commit is contained in:
7
server/plugins/schemas/common.ts
Normal file
7
server/plugins/schemas/common.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import { Type } from 'typebox'
|
||||
|
||||
export const ResponseErrorSchema = Type.Object({
|
||||
statusCode: Type.Number(),
|
||||
error: Type.String(),
|
||||
message: Type.String(),
|
||||
}, { $id: 'ResponseError' })
|
||||
Reference in New Issue
Block a user