Files
outline/server/routes/api/developer/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

11 lines
267 B
TypeScript

import { z } from "zod";
import { BaseSchema } from "../schema";
export const CreateTestUsersSchema = BaseSchema.extend({
body: z.object({
count: z.coerce.number().default(10),
}),
});
export type CreateTestUsersReq = z.infer<typeof CreateTestUsersSchema>;