import { z } from 'zod';
export const PlatformSchema = z.enum(['gitlab', 'github']);
export const ReviewRequestStateSchema = z.enum([
    'open',
    'closed',
    'merged',
]);
export const ReviewRequestSchema = z.object({
    platform: PlatformSchema,
    projectPath: z.string().min(1),
    reviewRequestNumber: z.number().int().positive(),
    title: z.string(),
    description: z.string().optional(),
    sourceBranch: z.string(),
    targetBranch: z.string(),
    state: ReviewRequestStateSchema,
    isDraft: z.boolean(),
    author: z.string(),
    assignedReviewer: z.string().optional(),
    webUrl: z.string().url(),
    createdAt: z.string(),
    updatedAt: z.string(),
});
//# sourceMappingURL=reviewRequest.entity.js.map