chore: schema for api/auth (#5481)
This commit is contained in:
14
server/routes/api/auth/schema.ts
Normal file
14
server/routes/api/auth/schema.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import { z } from "zod";
|
||||
import BaseSchema from "../BaseSchema";
|
||||
|
||||
export const AuthConfigSchema = BaseSchema;
|
||||
|
||||
export type AuthConfigReq = z.infer<typeof AuthConfigSchema>;
|
||||
|
||||
export const AuthInfoSchema = BaseSchema;
|
||||
|
||||
export type AuthInfoReq = z.infer<typeof AuthInfoSchema>;
|
||||
|
||||
export const AuthDeleteSchema = BaseSchema;
|
||||
|
||||
export type AuthDeleteReq = z.infer<typeof AuthDeleteSchema>;
|
||||
Reference in New Issue
Block a user