gamebrary/src/constants.js

146 lines
1.6 KiB
JavaScript
Raw Normal View History

2020-08-25 04:23:22 +00:00
export const POPULAR_PLATFORMS = [169, 167, 130, 48, 49, 41];
2020-08-22 18:57:33 +00:00
export const PLATFORM_CATEGORIES = {
1: 'console',
2: 'arcade',
3: 'platform',
4: 'operating_system',
5: 'portable_console',
6: 'computer',
};
2020-08-25 04:23:22 +00:00
export const PLATFORM_FILTER_FIELDS = [
null,
2020-08-26 07:16:49 +00:00
'all',
2020-08-25 04:23:22 +00:00
'console',
// 'arcade',
// 'platform',
'operating_system',
'portable_console',
'computer',
];
export const PLATFORM_SORT_FILEDS = [
'generation',
'name',
];
2020-08-22 18:57:33 +00:00
export const PLATFORM_BG_HEX = {
2020-08-23 07:34:16 +00:00
167: '#222',
166: '#000',
2020-08-22 18:57:33 +00:00
48: '#2e6db4',
49: '#177d3e',
130: '#ce181e',
};
export const LIST_VIEWS = {
single: 'Single',
grid: 'Grid',
compact: 'Compact',
text: 'Text',
};
export const PLATFORM_LOGO_FORMAT = {
2020-08-23 07:34:16 +00:00
164: 'png',
51: 'png',
47: 'png',
36: 'png',
2020-09-01 23:28:23 +00:00
45: 'png',
2020-08-23 07:34:16 +00:00
124: 'png',
132: 'png',
160: 'png',
163: 'png',
161: 'png',
165: 'png',
150: 'png',
};
export const PLATFORM_NAME_OVERRIDES = {
6: 'Windows',
18: 'NES',
19: 'SNES',
21: 'GameCube',
150: 'PC Engine CD',
38: 'PSP',
163: 'Steam VR',
50: '3D0',
99: 'FAMICOM',
51: 'FAMICOM Disk System',
2020-08-22 18:57:33 +00:00
};
export const EXCLUDED_PLATFORMS = [
203,
133,
151,
152,
52, // Arcade
2020-08-25 04:23:22 +00:00
79, // Neogeo
2020-08-22 18:57:33 +00:00
153,
154,
155,
156,
157,
158,
134,
135,
140,
141,
143,
144,
145,
146,
147,
148,
149,
121,
122,
125,
126,
129,
131,
95,
96,
97,
97,
98,
100,
101,
110,
111,
112,
113,
115,
116,
118,
102,
103,
91,
104,
105,
106,
107,
108,
109,
127,
138,
139,
142,
142,
236,
237,
238,
239,
240,
274,
308,
339,
44,
55,
69,
73,
74,
82,
85,
89,
];