Files
outline/server/routes/api/reactions/schema.ts
2024-11-02 10:58:03 -07:00

12 lines
305 B
TypeScript

import { z } from "zod";
import { BaseSchema } from "../schema";
export const ReactionsListSchema = BaseSchema.extend({
body: z.object({
/** Id of the comment to list reactions for. */
commentId: z.string().uuid(),
}),
});
export type ReactionsListReq = z.infer<typeof ReactionsListSchema>;