wip: upsert things

This commit is contained in:
Zoe Roux
2024-11-30 04:56:53 +01:00
parent 3d20f063e9
commit 55b3f1cc8c
7 changed files with 969 additions and 1 deletions
+13
View File
@@ -16,3 +16,16 @@ export const EntryTranslation = t.Object({
name: t.Nullable(t.String()),
description: t.Nullable(t.String()),
});
// export const SeedEntry = t.Intersect([
// Entry,
// t.Object({ videos: t.Optional(t.Array(Video)) }),
// ]);
// export type SeedEntry = typeof SeedEntry.static;
//
// export const SeedExtra = t.Intersect([
// Extra,
// t.Object({ video: t.Optional(Video) }),
// ]);
// export type SeedExtra = typeof SeedExtra.static;