This commit is contained in:
@@ -50,3 +50,10 @@ export const ServerSchema = z.object({
|
||||
});
|
||||
|
||||
export type Server = z.infer<typeof ServerSchema>;
|
||||
|
||||
export const ResponseErrorSchema = z.object({
|
||||
error: z.string(),
|
||||
code: z.string(),
|
||||
});
|
||||
|
||||
export type ResponseError = z.infer<typeof ResponseErrorSchema>;
|
||||
|
||||
Reference in New Issue
Block a user