aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/types
diff options
context:
space:
mode:
authorArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2024-11-04 13:47:50 +0300
committerGitHub <noreply@github.com>2024-11-04 13:47:50 +0300
commiteae19bb1b047b3568e7a9a624b50e80886e56331 (patch)
treeaa3215377fd1a7714e4c5763f9abf9d7dc7def2b /frontend/src/types
parentfix: remove insert trigger on users, check insert user on login err (#224) (diff)
downloadlphub-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')
-rw-r--r--frontend/src/types/Chapters.ts (renamed from frontend/src/types/Chapters.tsx)4
-rw-r--r--frontend/src/types/Content.ts (renamed from frontend/src/types/Content.tsx)0
-rw-r--r--frontend/src/types/Game.ts (renamed from frontend/src/types/Game.tsx)2
-rw-r--r--frontend/src/types/Map.ts (renamed from frontend/src/types/Map.tsx)6
-rw-r--r--frontend/src/types/Pagination.ts (renamed from frontend/src/types/Pagination.tsx)0
-rw-r--r--frontend/src/types/Profile.ts (renamed from frontend/src/types/Profile.tsx)2
-rw-r--r--frontend/src/types/Ranking.ts (renamed from frontend/src/types/Ranking.tsx)2
-rw-r--r--frontend/src/types/Search.ts (renamed from frontend/src/types/Search.tsx)2
8 files changed, 9 insertions, 9 deletions
diff --git a/frontend/src/types/Chapters.tsx b/frontend/src/types/Chapters.ts
index 2c0afdd..1d48306 100644
--- a/frontend/src/types/Chapters.tsx
+++ b/frontend/src/types/Chapters.ts
@@ -1,5 +1,5 @@
1import { Game } from "./Game"; 1import type { Game } from "@customTypes/Game";
2import { Map } from "./Map"; 2import type { Map } from "@customTypes/Map";
3 3
4interface Chapter { 4interface Chapter {
5 id: number; 5 id: number;
diff --git a/frontend/src/types/Content.tsx b/frontend/src/types/Content.ts
index 42a6917..42a6917 100644
--- a/frontend/src/types/Content.tsx
+++ b/frontend/src/types/Content.ts
diff --git a/frontend/src/types/Game.tsx b/frontend/src/types/Game.ts
index eb435f6..1a80341 100644
--- a/frontend/src/types/Game.tsx
+++ b/frontend/src/types/Game.ts
@@ -1,4 +1,4 @@
1import { Map } from './Map'; 1import type { Map } from '@customTypes/Map';
2 2
3 3
4export interface Game { 4export interface Game {
diff --git a/frontend/src/types/Map.tsx b/frontend/src/types/Map.ts
index 4669e8b..89c66d5 100644
--- a/frontend/src/types/Map.tsx
+++ b/frontend/src/types/Map.ts
@@ -1,6 +1,6 @@
1import { Category, GameCategoryPortals } from './Game'; 1import type { Category, GameCategoryPortals } from '@customTypes/Game';
2import { Pagination } from './Pagination'; 2import type { Pagination } from '@customTypes/Pagination';
3import { UserShort } from './Profile'; 3import type { UserShort } from '@customTypes/Profile';
4 4
5export interface Map { 5export interface Map {
6 id: number; 6 id: number;
diff --git a/frontend/src/types/Pagination.tsx b/frontend/src/types/Pagination.ts
index ccff04b..ccff04b 100644
--- a/frontend/src/types/Pagination.tsx
+++ b/frontend/src/types/Pagination.ts
diff --git a/frontend/src/types/Profile.tsx b/frontend/src/types/Profile.ts
index 2bb037c..42e5c3e 100644
--- a/frontend/src/types/Profile.tsx
+++ b/frontend/src/types/Profile.ts
@@ -1,4 +1,4 @@
1import { Pagination } from "./Pagination"; 1import type { Pagination } from "@customTypes/Pagination";
2 2
3export interface UserShort { 3export interface UserShort {
4 steam_id: string; 4 steam_id: string;
diff --git a/frontend/src/types/Ranking.tsx b/frontend/src/types/Ranking.ts
index b3b26c6..a143355 100644
--- a/frontend/src/types/Ranking.tsx
+++ b/frontend/src/types/Ranking.ts
@@ -1,4 +1,4 @@
1import { UserShort } from "./Profile"; 1import type { UserShort } from "@customTypes/Profile";
2 2
3export interface RankingType { 3export interface RankingType {
4 placement: number; 4 placement: number;
diff --git a/frontend/src/types/Search.tsx b/frontend/src/types/Search.ts
index 766311a..d218806 100644
--- a/frontend/src/types/Search.tsx
+++ b/frontend/src/types/Search.ts
@@ -1,4 +1,4 @@
1import { UserShort } from "./Profile"; 1import type { UserShort } from "@customTypes/Profile";
2 2
3export interface Search { 3export interface Search {
4 players: UserShort[]; 4 players: UserShort[];