chore(schema): extend changelog schema with isSemver bool

This commit is contained in:
Lars Hampe 2024-10-03 22:46:38 +02:00
parent b45e815f1d
commit ee3faad379

View File

@ -6,6 +6,7 @@ export const ChangelogCreateInput = z
.object({
title: z.string().min(3, 'Title must contain at least 3 charachters.'),
description: z.string(),
isSemver: z.boolean().default(true),
})
.openapi({
required: ['title', 'userId'],