diff options
| author | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2024-11-04 13:47:50 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-04 13:47:50 +0300 |
| commit | eae19bb1b047b3568e7a9a624b50e80886e56331 (patch) | |
| tree | aa3215377fd1a7714e4c5763f9abf9d7dc7def2b /frontend/src/types/Search.ts | |
| parent | fix: remove insert trigger on users, check insert user on login err (#224) (diff) | |
| download | lphub-eae19bb1b047b3568e7a9a624b50e80886e56331.tar.gz lphub-eae19bb1b047b3568e7a9a624b50e80886e56331.tar.bz2 lphub-eae19bb1b047b3568e7a9a624b50e80886e56331.zip | |
feat/frontend: optimizing imports, file extensions (#230)
Co-authored-by: FifthWit <fifthwitbusiness@gmail.com>
Diffstat (limited to 'frontend/src/types/Search.ts')
| -rw-r--r-- | frontend/src/types/Search.ts | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/frontend/src/types/Search.ts b/frontend/src/types/Search.ts new file mode 100644 index 0000000..d218806 --- /dev/null +++ b/frontend/src/types/Search.ts | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | import type { UserShort } from "@customTypes/Profile"; | ||
| 2 | |||
| 3 | export interface Search { | ||
| 4 | players: UserShort[]; | ||
| 5 | maps: SearchMap[]; | ||
| 6 | }; | ||
| 7 | |||
| 8 | interface SearchMap { | ||
| 9 | id: number; | ||
| 10 | game: string; | ||
| 11 | chapter: string; | ||
| 12 | map: string; | ||
| 13 | }; | ||