From a65d6d9127c3fa7f6a8ecaec5d1ffd1f47c2bc98 Mon Sep 17 00:00:00 2001 From: Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> Date: Tue, 3 Sep 2024 00:08:53 +0300 Subject: refactor: port to typescript --- frontend/src/types/Search.tsx | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 frontend/src/types/Search.tsx (limited to 'frontend/src/types/Search.tsx') diff --git a/frontend/src/types/Search.tsx b/frontend/src/types/Search.tsx new file mode 100644 index 0000000..766311a --- /dev/null +++ b/frontend/src/types/Search.tsx @@ -0,0 +1,13 @@ +import { UserShort } from "./Profile"; + +export interface Search { + players: UserShort[]; + maps: SearchMap[]; +}; + +interface SearchMap { + id: number; + game: string; + chapter: string; + map: string; +}; -- cgit v1.2.3