mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Generate app variations with fake list
This commit is contained in:
parent
85254fe0f4
commit
2cca34a689
4 changed files with 119 additions and 40 deletions
|
|
@ -185,6 +185,18 @@ export const categories = {
|
|||
},
|
||||
}
|
||||
|
||||
const nonAppCategorySlugs = [
|
||||
'games',
|
||||
'homebrew',
|
||||
'no-category'
|
||||
]
|
||||
|
||||
export const appCategories = Object.fromEntries(
|
||||
Object.entries(categories).filter( ([ slug ]) => {
|
||||
return !nonAppCategorySlugs.includes( slug )
|
||||
})
|
||||
)
|
||||
|
||||
|
||||
export const categoriesById = Object.fromEntries( Object.entries( categories ).map( ([ key, category ]) => [category.id, { ...category, key } ] ) )
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue