chore: schema for api/auth (#5481)

This commit is contained in:
Apoorv Mishra
2023-06-26 18:37:18 +05:30
committed by GitHub
parent 7314a71bf1
commit a234a92f80
4 changed files with 45 additions and 24 deletions

View 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>;