Allow collections to be created with movies or series

This commit is contained in:
Zoe Roux
2025-03-02 01:03:38 +01:00
parent dbfe836ce3
commit fc9afa5ede
5 changed files with 54 additions and 6 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ export const Collection = t.Intersect([
export type Collection = Prettify<typeof Collection.static>;
export const SeedCollection = t.Intersect([
t.Omit(BaseCollection, ["createdAt", "nextRefresh"]),
t.Omit(BaseCollection, ["startAir", "endAir", "createdAt", "nextRefresh"]),
t.Object({
slug: t.String({ format: "slug" }),
translations: TranslationRecord(