2022-05-12 15:07:10 +00:00
|
|
|
export const CATEGORIES = {
|
|
|
|
politics: 'Politics',
|
|
|
|
technology: 'Technology',
|
|
|
|
sports: 'Sports',
|
2022-05-12 15:18:44 +00:00
|
|
|
gaming: 'Gaming',
|
|
|
|
manifold: 'Manifold',
|
2022-05-12 15:07:10 +00:00
|
|
|
science: 'Science',
|
|
|
|
world: 'World',
|
2022-05-12 15:18:44 +00:00
|
|
|
fun: 'Fun',
|
2022-05-12 15:07:10 +00:00
|
|
|
personal: 'Personal',
|
|
|
|
economics: 'Economics',
|
|
|
|
crypto: 'Crypto',
|
|
|
|
health: 'Health',
|
|
|
|
// entertainment: 'Entertainment',
|
|
|
|
// society: 'Society',
|
|
|
|
// friends: 'Friends / Community',
|
|
|
|
// business: 'Business',
|
|
|
|
// charity: 'Charities / Non-profits',
|
|
|
|
} as { [category: string]: string }
|
|
|
|
|
|
|
|
export const TO_CATEGORY = Object.fromEntries(
|
|
|
|
Object.entries(CATEGORIES).map(([k, v]) => [v, k])
|
|
|
|
)
|
|
|
|
|
|
|
|
export const CATEGORY_LIST = Object.keys(CATEGORIES)
|