Implement routes in /shows

This commit is contained in:
Zoe Roux
2025-03-09 20:52:29 +01:00
parent 8d7d5f3e7e
commit 7e6592fa2e
3 changed files with 46 additions and 9 deletions
+2 -2
View File
@@ -3,7 +3,7 @@ import { DbMetadata, ExternalId, Image, Resource } from "./utils";
export const Character = t.Object({
name: t.String(),
latinName: t.String(),
latinName: t.Nullable(t.String()),
image: t.Nullable(Image),
});
export type Character = typeof Character.static;
@@ -25,7 +25,7 @@ export const Staff = t.Intersect([
Resource(),
t.Object({
name: t.String(),
latinName: t.String(),
latinName: t.Nullable(t.String()),
image: t.Nullable(Image),
externalId: ExternalId(),
}),