aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/types
diff options
context:
space:
mode:
authorArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2024-11-21 20:06:15 +0300
committerGitHub <noreply@github.com>2024-11-21 20:06:15 +0300
commit53337bad0623a5f32c87d760bc03efb3cfe4eab6 (patch)
tree7a542d6ba9c453c8df60ef1d05781cf1ac75b6a0 /frontend/src/types
parentfeat/backend: gdrive to backblaze migration, improve create record (#237) (diff)
downloadlphub-53337bad0623a5f32c87d760bc03efb3cfe4eab6.tar.gz
lphub-53337bad0623a5f32c87d760bc03efb3cfe4eab6.tar.bz2
lphub-53337bad0623a5f32c87d760bc03efb3cfe4eab6.zip
feat/frontend: remove map select from upload run dialog (#239)
Diffstat (limited to 'frontend/src/types')
-rw-r--r--frontend/src/types/Content.ts1
-rw-r--r--frontend/src/types/MapNames.ts127
2 files changed, 127 insertions, 1 deletions
diff --git a/frontend/src/types/Content.ts b/frontend/src/types/Content.ts
index 42a6917..775fab4 100644
--- a/frontend/src/types/Content.ts
+++ b/frontend/src/types/Content.ts
@@ -18,7 +18,6 @@ export interface MapDiscussionCommentContent {
18}; 18};
19 19
20export interface UploadRunContent { 20export interface UploadRunContent {
21 map_id: number;
22 host_demo: File | null; 21 host_demo: File | null;
23 partner_demo: File | null; 22 partner_demo: File | null;
24}; 23};
diff --git a/frontend/src/types/MapNames.ts b/frontend/src/types/MapNames.ts
new file mode 100644
index 0000000..b6313e7
--- /dev/null
+++ b/frontend/src/types/MapNames.ts
@@ -0,0 +1,127 @@
1export const MapNames: { [key: string]: number } = {
2 "sp_a1_intro1": 1,
3 "sp_a1_intro2": 2,
4 "sp_a1_intro3": 3,
5 "sp_a1_intro4": 4,
6 "sp_a1_intro5": 5,
7 "sp_a1_intro6": 6,
8 "sp_a1_intro7": 7,
9 "sp_a1_wakeup": 8,
10 "sp_a2_intro": 9,
11
12 "sp_a2_laser_intro": 10,
13 "sp_a2_laser_stairs": 11,
14 "sp_a2_dual_lasers": 12,
15 "sp_a2_laser_over_goo": 13,
16 "sp_a2_catapult_intro": 14,
17 "sp_a2_trust_fling": 15,
18 "sp_a2_pit_flings": 16,
19 "sp_a2_fizzler_intro": 17,
20
21 "sp_a2_sphere_peek": 18,
22 "sp_a2_ricochet": 19,
23 "sp_a2_bridge_intro": 20,
24 "sp_a2_bridge_the_gap": 21,
25 "sp_a2_turret_intro": 22,
26 "sp_a2_laser_relays": 23,
27 "sp_a2_turret_blocker": 24,
28 "sp_a2_laser_vs_turret": 25,
29 "sp_a2_pull_the_rug": 26,
30
31 "sp_a2_column_blocker": 27,
32 "sp_a2_laser_chaining": 28,
33 "sp_a2_triple_laser": 29,
34 "sp_a2_bts1": 30,
35 "sp_a2_bts2": 31,
36
37 "sp_a2_bts3": 32,
38 "sp_a2_bts4": 33,
39 "sp_a2_bts5": 34,
40 "sp_a2_core": 35,
41
42 "sp_a3_01": 36,
43 "sp_a3_03": 37,
44 "sp_a3_jump_intro": 38,
45 "sp_a3_bomb_flings": 39,
46 "sp_a3_crazy_box": 40,
47 "sp_a3_transition01": 41,
48
49 "sp_a3_speed_ramp": 42,
50 "sp_a3_speed_flings": 43,
51 "sp_a3_portal_intro": 44,
52 "sp_a3_end": 45,
53
54 "sp_a4_intro": 46,
55 "sp_a4_tb_intro": 47,
56 "sp_a4_tb_trust_drop": 48,
57 "sp_a4_tb_wall_button": 49,
58 "sp_a4_tb_polarity": 50,
59 "sp_a4_tb_catch": 51,
60 "sp_a4_stop_the_box": 52,
61 "sp_a4_laser_catapult": 53,
62 "sp_a4_laser_platform": 54,
63 "sp_a4_speed_tb_catch": 55,
64 "sp_a4_jump_polarity": 56,
65
66 "sp_a4_finale1": 57,
67 "sp_a4_finale2": 58,
68 "sp_a4_finale3": 59,
69 "sp_a4_finale4": 60,
70
71 "mp_coop_start": 61,
72 "mp_coop_lobby_3": 62,
73
74 "mp_coop_doors": 63,
75 "mp_coop_race_2": 64,
76 "mp_coop_laser_2": 65,
77 "mp_coop_rat_maze": 66,
78 "mp_coop_laser_crusher": 67,
79 "mp_coop_teambts": 68,
80
81 "mp_coop_fling_3": 69,
82 "mp_coop_infinifling_train": 70,
83 "mp_coop_come_along": 71,
84 "mp_coop_fling_1": 72,
85 "mp_coop_catapult_1": 73,
86 "mp_coop_multifling_1": 74,
87 "mp_coop_fling_crushers": 75,
88 "mp_coop_fan": 76,
89
90 "mp_coop_wall_intro": 77,
91 "mp_coop_wall_2": 78,
92 "mp_coop_catapult_wall_intro": 79,
93 "mp_coop_wall_block": 80,
94 "mp_coop_catapult_2": 81,
95 "mp_coop_turret_walls": 82,
96 "mp_coop_turret_ball": 83,
97 "mp_coop_wall_5": 84,
98
99 "mp_coop_tbeam_redirect": 85,
100 "mp_coop_tbeam_drill": 86,
101 "mp_coop_tbeam_catch_grind_1": 87,
102 "mp_coop_tbeam_laser_1": 88,
103 "mp_coop_tbeam_polarity": 89,
104 "mp_coop_tbeam_polarity2": 90,
105 "mp_coop_tbeam_polarity3": 91,
106 "mp_coop_tbeam_maze": 92,
107 "mp_coop_tbeam_end": 93,
108
109 "mp_coop_paint_come_along": 94,
110 "mp_coop_paint_redirect": 95,
111 "mp_coop_paint_bridge": 96,
112 "mp_coop_paint_walljumps": 97,
113 "mp_coop_paint_speed_fling": 98,
114 "mp_coop_paint_red_racer": 99,
115 "mp_coop_paint_speed_catch": 100,
116 "mp_coop_paint_longjump_intro": 101,
117
118 "mp_coop_separation_1": 102,
119 "mp_coop_tripleaxis": 103,
120 "mp_coop_catapult_catch": 104,
121 "mp_coop_2paints_1bridge": 105,
122 "mp_coop_paint_conversion": 106,
123 "mp_coop_bridge_catch": 107,
124 "mp_coop_laser_tbeam": 108,
125 "mp_coop_paint_rat_maze": 109,
126 "mp_coop_paint_crazy_box": 110,
127};