mirror of
https://github.com/zoriya/Kyoo.git
synced 2026-05-21 14:46:29 -04:00
Allow collections to be created with movies or series
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user