mirror of
https://github.com/seerr-team/seerr.git
synced 2025-12-23 23:58:07 -05:00
10 lines
274 B
TypeScript
10 lines
274 B
TypeScript
import { MediaType } from '@server/constants/media';
|
|
import { z } from 'zod';
|
|
|
|
export const watchlistCreate = z.object({
|
|
ratingKey: z.coerce.string().optional(),
|
|
tmdbId: z.coerce.number(),
|
|
mediaType: z.nativeEnum(MediaType),
|
|
title: z.coerce.string().optional(),
|
|
});
|