From c72edf37baf307322b49b7c75c59d077dda9bc83 Mon Sep 17 00:00:00 2001 From: realtradam Date: Sun, 16 Jun 2024 16:49:14 -0400 Subject: updated upload --- src/types.ts | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) (limited to 'src/types.ts') diff --git a/src/types.ts b/src/types.ts index f28148b..0437cb4 100644 --- a/src/types.ts +++ b/src/types.ts @@ -1,5 +1,26 @@ export type ImageRendering = "auto" | "crisp-edges" | "pixelated"; -export type GameType = { id: number, card_img: string, char_img: string, title_img: string, img_rendering: ImageRendering, titleSlug: string }; +export type Tag = { + id: number, + tag_type: string, + name: string, +}; +export type GameType = { + id: number, + title: string, + titleSlug: string, + description: string, + github_link: string, + img_rendering: ImageRendering, + status: string, + order: number, + created_at: string, + updated_at: string, + user_id: number, + tags: Tag[], + card_img: string, + char_img: string, + title_img: string, +}; export type GameCardProps = { link: string, game: GameType }; -- cgit v1.2.3