diff options
| author | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2025-10-22 13:59:12 +0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-22 12:59:12 +0300 |
| commit | 69aeb7889ac136a8e4fbe7de1330298e30345479 (patch) | |
| tree | 6b2cd2d420105dc7ffad3c3649df359f634cae77 /frontend/src/types | |
| parent | feat/rankings: update wr for 3 maps (#279) (diff) | |
| download | lphub-69aeb7889ac136a8e4fbe7de1330298e30345479.tar.gz lphub-69aeb7889ac136a8e4fbe7de1330298e30345479.tar.bz2 lphub-69aeb7889ac136a8e4fbe7de1330298e30345479.zip | |
feat/frontend: switch to vite, update node to v22 (#281)
Diffstat (limited to 'frontend/src/types')
| -rw-r--r-- | frontend/src/types/Content.ts | 4 | ||||
| -rw-r--r-- | frontend/src/types/Game.ts | 2 | ||||
| -rw-r--r-- | frontend/src/types/Map.ts | 6 | ||||
| -rw-r--r-- | frontend/src/types/MapNames.ts | 220 |
4 files changed, 114 insertions, 118 deletions
diff --git a/frontend/src/types/Content.ts b/frontend/src/types/Content.ts index 775fab4..accb441 100644 --- a/frontend/src/types/Content.ts +++ b/frontend/src/types/Content.ts | |||
| @@ -13,10 +13,6 @@ export interface MapDiscussionContent { | |||
| 13 | content: string; | 13 | content: string; |
| 14 | }; | 14 | }; |
| 15 | 15 | ||
| 16 | export interface MapDiscussionCommentContent { | ||
| 17 | comment: string; | ||
| 18 | }; | ||
| 19 | |||
| 20 | export interface UploadRunContent { | 16 | export interface UploadRunContent { |
| 21 | host_demo: File | null; | 17 | host_demo: File | null; |
| 22 | partner_demo: File | null; | 18 | partner_demo: File | null; |
diff --git a/frontend/src/types/Game.ts b/frontend/src/types/Game.ts index 1a80341..104d02a 100644 --- a/frontend/src/types/Game.ts +++ b/frontend/src/types/Game.ts | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | import type { Map } from '@customTypes/Map'; | 1 | import type { Map } from "@customTypes/Map"; |
| 2 | 2 | ||
| 3 | 3 | ||
| 4 | export interface Game { | 4 | export interface Game { |
diff --git a/frontend/src/types/Map.ts b/frontend/src/types/Map.ts index 4f8eabf..b12d965 100644 --- a/frontend/src/types/Map.ts +++ b/frontend/src/types/Map.ts | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | import type { Category, GameCategoryPortals } from '@customTypes/Game'; | 1 | import type { Category, GameCategoryPortals } from "@customTypes/Game"; |
| 2 | import type { Pagination } from '@customTypes/Pagination'; | 2 | import type { Pagination } from "@customTypes/Pagination"; |
| 3 | import type { UserShort } from '@customTypes/Profile'; | 3 | import type { UserShort } from "@customTypes/Profile"; |
| 4 | 4 | ||
| 5 | export interface Map { | 5 | export interface Map { |
| 6 | id: number; | 6 | id: number; |
diff --git a/frontend/src/types/MapNames.ts b/frontend/src/types/MapNames.ts index b6313e7..7a408a3 100644 --- a/frontend/src/types/MapNames.ts +++ b/frontend/src/types/MapNames.ts | |||
| @@ -1,127 +1,127 @@ | |||
| 1 | export const MapNames: { [key: string]: number } = { | 1 | export const MapNames: { [key: string]: number } = { |
| 2 | "sp_a1_intro1": 1, | 2 | "sp_a1_intro1": 1, |
| 3 | "sp_a1_intro2": 2, | 3 | "sp_a1_intro2": 2, |
| 4 | "sp_a1_intro3": 3, | 4 | "sp_a1_intro3": 3, |
| 5 | "sp_a1_intro4": 4, | 5 | "sp_a1_intro4": 4, |
| 6 | "sp_a1_intro5": 5, | 6 | "sp_a1_intro5": 5, |
| 7 | "sp_a1_intro6": 6, | 7 | "sp_a1_intro6": 6, |
| 8 | "sp_a1_intro7": 7, | 8 | "sp_a1_intro7": 7, |
| 9 | "sp_a1_wakeup": 8, | 9 | "sp_a1_wakeup": 8, |
| 10 | "sp_a2_intro": 9, | 10 | "sp_a2_intro": 9, |
| 11 | 11 | ||
| 12 | "sp_a2_laser_intro": 10, | 12 | "sp_a2_laser_intro": 10, |
| 13 | "sp_a2_laser_stairs": 11, | 13 | "sp_a2_laser_stairs": 11, |
| 14 | "sp_a2_dual_lasers": 12, | 14 | "sp_a2_dual_lasers": 12, |
| 15 | "sp_a2_laser_over_goo": 13, | 15 | "sp_a2_laser_over_goo": 13, |
| 16 | "sp_a2_catapult_intro": 14, | 16 | "sp_a2_catapult_intro": 14, |
| 17 | "sp_a2_trust_fling": 15, | 17 | "sp_a2_trust_fling": 15, |
| 18 | "sp_a2_pit_flings": 16, | 18 | "sp_a2_pit_flings": 16, |
| 19 | "sp_a2_fizzler_intro": 17, | 19 | "sp_a2_fizzler_intro": 17, |
| 20 | 20 | ||
| 21 | "sp_a2_sphere_peek": 18, | 21 | "sp_a2_sphere_peek": 18, |
| 22 | "sp_a2_ricochet": 19, | 22 | "sp_a2_ricochet": 19, |
| 23 | "sp_a2_bridge_intro": 20, | 23 | "sp_a2_bridge_intro": 20, |
| 24 | "sp_a2_bridge_the_gap": 21, | 24 | "sp_a2_bridge_the_gap": 21, |
| 25 | "sp_a2_turret_intro": 22, | 25 | "sp_a2_turret_intro": 22, |
| 26 | "sp_a2_laser_relays": 23, | 26 | "sp_a2_laser_relays": 23, |
| 27 | "sp_a2_turret_blocker": 24, | 27 | "sp_a2_turret_blocker": 24, |
| 28 | "sp_a2_laser_vs_turret": 25, | 28 | "sp_a2_laser_vs_turret": 25, |
| 29 | "sp_a2_pull_the_rug": 26, | 29 | "sp_a2_pull_the_rug": 26, |
| 30 | 30 | ||
| 31 | "sp_a2_column_blocker": 27, | 31 | "sp_a2_column_blocker": 27, |
| 32 | "sp_a2_laser_chaining": 28, | 32 | "sp_a2_laser_chaining": 28, |
| 33 | "sp_a2_triple_laser": 29, | 33 | "sp_a2_triple_laser": 29, |
| 34 | "sp_a2_bts1": 30, | 34 | "sp_a2_bts1": 30, |
| 35 | "sp_a2_bts2": 31, | 35 | "sp_a2_bts2": 31, |
| 36 | 36 | ||
| 37 | "sp_a2_bts3": 32, | 37 | "sp_a2_bts3": 32, |
| 38 | "sp_a2_bts4": 33, | 38 | "sp_a2_bts4": 33, |
| 39 | "sp_a2_bts5": 34, | 39 | "sp_a2_bts5": 34, |
| 40 | "sp_a2_core": 35, | 40 | "sp_a2_core": 35, |
| 41 | 41 | ||
| 42 | "sp_a3_01": 36, | 42 | "sp_a3_01": 36, |
| 43 | "sp_a3_03": 37, | 43 | "sp_a3_03": 37, |
| 44 | "sp_a3_jump_intro": 38, | 44 | "sp_a3_jump_intro": 38, |
| 45 | "sp_a3_bomb_flings": 39, | 45 | "sp_a3_bomb_flings": 39, |
| 46 | "sp_a3_crazy_box": 40, | 46 | "sp_a3_crazy_box": 40, |
| 47 | "sp_a3_transition01": 41, | 47 | "sp_a3_transition01": 41, |
| 48 | 48 | ||
| 49 | "sp_a3_speed_ramp": 42, | 49 | "sp_a3_speed_ramp": 42, |
| 50 | "sp_a3_speed_flings": 43, | 50 | "sp_a3_speed_flings": 43, |
| 51 | "sp_a3_portal_intro": 44, | 51 | "sp_a3_portal_intro": 44, |
| 52 | "sp_a3_end": 45, | 52 | "sp_a3_end": 45, |
| 53 | 53 | ||
| 54 | "sp_a4_intro": 46, | 54 | "sp_a4_intro": 46, |
| 55 | "sp_a4_tb_intro": 47, | 55 | "sp_a4_tb_intro": 47, |
| 56 | "sp_a4_tb_trust_drop": 48, | 56 | "sp_a4_tb_trust_drop": 48, |
| 57 | "sp_a4_tb_wall_button": 49, | 57 | "sp_a4_tb_wall_button": 49, |
| 58 | "sp_a4_tb_polarity": 50, | 58 | "sp_a4_tb_polarity": 50, |
| 59 | "sp_a4_tb_catch": 51, | 59 | "sp_a4_tb_catch": 51, |
| 60 | "sp_a4_stop_the_box": 52, | 60 | "sp_a4_stop_the_box": 52, |
| 61 | "sp_a4_laser_catapult": 53, | 61 | "sp_a4_laser_catapult": 53, |
| 62 | "sp_a4_laser_platform": 54, | 62 | "sp_a4_laser_platform": 54, |
| 63 | "sp_a4_speed_tb_catch": 55, | 63 | "sp_a4_speed_tb_catch": 55, |
| 64 | "sp_a4_jump_polarity": 56, | 64 | "sp_a4_jump_polarity": 56, |
| 65 | 65 | ||
| 66 | "sp_a4_finale1": 57, | 66 | "sp_a4_finale1": 57, |
| 67 | "sp_a4_finale2": 58, | 67 | "sp_a4_finale2": 58, |
| 68 | "sp_a4_finale3": 59, | 68 | "sp_a4_finale3": 59, |
| 69 | "sp_a4_finale4": 60, | 69 | "sp_a4_finale4": 60, |
| 70 | 70 | ||
| 71 | "mp_coop_start": 61, | 71 | "mp_coop_start": 61, |
| 72 | "mp_coop_lobby_3": 62, | 72 | "mp_coop_lobby_3": 62, |
| 73 | 73 | ||
| 74 | "mp_coop_doors": 63, | 74 | "mp_coop_doors": 63, |
| 75 | "mp_coop_race_2": 64, | 75 | "mp_coop_race_2": 64, |
| 76 | "mp_coop_laser_2": 65, | 76 | "mp_coop_laser_2": 65, |
| 77 | "mp_coop_rat_maze": 66, | 77 | "mp_coop_rat_maze": 66, |
| 78 | "mp_coop_laser_crusher": 67, | 78 | "mp_coop_laser_crusher": 67, |
| 79 | "mp_coop_teambts": 68, | 79 | "mp_coop_teambts": 68, |
| 80 | 80 | ||
| 81 | "mp_coop_fling_3": 69, | 81 | "mp_coop_fling_3": 69, |
| 82 | "mp_coop_infinifling_train": 70, | 82 | "mp_coop_infinifling_train": 70, |
| 83 | "mp_coop_come_along": 71, | 83 | "mp_coop_come_along": 71, |
| 84 | "mp_coop_fling_1": 72, | 84 | "mp_coop_fling_1": 72, |
| 85 | "mp_coop_catapult_1": 73, | 85 | "mp_coop_catapult_1": 73, |
| 86 | "mp_coop_multifling_1": 74, | 86 | "mp_coop_multifling_1": 74, |
| 87 | "mp_coop_fling_crushers": 75, | 87 | "mp_coop_fling_crushers": 75, |
| 88 | "mp_coop_fan": 76, | 88 | "mp_coop_fan": 76, |
| 89 | 89 | ||
| 90 | "mp_coop_wall_intro": 77, | 90 | "mp_coop_wall_intro": 77, |
| 91 | "mp_coop_wall_2": 78, | 91 | "mp_coop_wall_2": 78, |
| 92 | "mp_coop_catapult_wall_intro": 79, | 92 | "mp_coop_catapult_wall_intro": 79, |
| 93 | "mp_coop_wall_block": 80, | 93 | "mp_coop_wall_block": 80, |
| 94 | "mp_coop_catapult_2": 81, | 94 | "mp_coop_catapult_2": 81, |
| 95 | "mp_coop_turret_walls": 82, | 95 | "mp_coop_turret_walls": 82, |
| 96 | "mp_coop_turret_ball": 83, | 96 | "mp_coop_turret_ball": 83, |
| 97 | "mp_coop_wall_5": 84, | 97 | "mp_coop_wall_5": 84, |
| 98 | 98 | ||
| 99 | "mp_coop_tbeam_redirect": 85, | 99 | "mp_coop_tbeam_redirect": 85, |
| 100 | "mp_coop_tbeam_drill": 86, | 100 | "mp_coop_tbeam_drill": 86, |
| 101 | "mp_coop_tbeam_catch_grind_1": 87, | 101 | "mp_coop_tbeam_catch_grind_1": 87, |
| 102 | "mp_coop_tbeam_laser_1": 88, | 102 | "mp_coop_tbeam_laser_1": 88, |
| 103 | "mp_coop_tbeam_polarity": 89, | 103 | "mp_coop_tbeam_polarity": 89, |
| 104 | "mp_coop_tbeam_polarity2": 90, | 104 | "mp_coop_tbeam_polarity2": 90, |
| 105 | "mp_coop_tbeam_polarity3": 91, | 105 | "mp_coop_tbeam_polarity3": 91, |
| 106 | "mp_coop_tbeam_maze": 92, | 106 | "mp_coop_tbeam_maze": 92, |
| 107 | "mp_coop_tbeam_end": 93, | 107 | "mp_coop_tbeam_end": 93, |
| 108 | 108 | ||
| 109 | "mp_coop_paint_come_along": 94, | 109 | "mp_coop_paint_come_along": 94, |
| 110 | "mp_coop_paint_redirect": 95, | 110 | "mp_coop_paint_redirect": 95, |
| 111 | "mp_coop_paint_bridge": 96, | 111 | "mp_coop_paint_bridge": 96, |
| 112 | "mp_coop_paint_walljumps": 97, | 112 | "mp_coop_paint_walljumps": 97, |
| 113 | "mp_coop_paint_speed_fling": 98, | 113 | "mp_coop_paint_speed_fling": 98, |
| 114 | "mp_coop_paint_red_racer": 99, | 114 | "mp_coop_paint_red_racer": 99, |
| 115 | "mp_coop_paint_speed_catch": 100, | 115 | "mp_coop_paint_speed_catch": 100, |
| 116 | "mp_coop_paint_longjump_intro": 101, | 116 | "mp_coop_paint_longjump_intro": 101, |
| 117 | 117 | ||
| 118 | "mp_coop_separation_1": 102, | 118 | "mp_coop_separation_1": 102, |
| 119 | "mp_coop_tripleaxis": 103, | 119 | "mp_coop_tripleaxis": 103, |
| 120 | "mp_coop_catapult_catch": 104, | 120 | "mp_coop_catapult_catch": 104, |
| 121 | "mp_coop_2paints_1bridge": 105, | 121 | "mp_coop_2paints_1bridge": 105, |
| 122 | "mp_coop_paint_conversion": 106, | 122 | "mp_coop_paint_conversion": 106, |
| 123 | "mp_coop_bridge_catch": 107, | 123 | "mp_coop_bridge_catch": 107, |
| 124 | "mp_coop_laser_tbeam": 108, | 124 | "mp_coop_laser_tbeam": 108, |
| 125 | "mp_coop_paint_rat_maze": 109, | 125 | "mp_coop_paint_rat_maze": 109, |
| 126 | "mp_coop_paint_crazy_box": 110, | 126 | "mp_coop_paint_crazy_box": 110, |
| 127 | }; | 127 | }; |