Files
outline/server/routes/api/auth/schema.ts
Tom Moor 428b3c9553 chore: Ensure comment data is validated before persisting (#6322)
Fix flash on render of comment create
2023-12-28 10:46:50 -08:00

15 lines
383 B
TypeScript

import { z } from "zod";
import { BaseSchema } from "../schema";
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>;