mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Add context to category map
This commit is contained in:
parent
0adcade0be
commit
9e940d0662
1 changed files with 8 additions and 1 deletions
|
|
@ -7,6 +7,8 @@ export function makeCategorySlug ( categoryName ) {
|
||||||
return makeSlug( categoryName )
|
return makeSlug( categoryName )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// Maps iTunes Genres titles to Category IDs
|
||||||
const categoryMap = new Map([
|
const categoryMap = new Map([
|
||||||
[ 'Business', 2 ],
|
[ 'Business', 2 ],
|
||||||
[ 'Entertainment', 5 ],
|
[ 'Entertainment', 5 ],
|
||||||
|
|
@ -20,7 +22,12 @@ const categoryMap = new Map([
|
||||||
// [ 'Name', 1 ],
|
// [ 'Name', 1 ],
|
||||||
|
|
||||||
// Needs work before apps can be assigned games category
|
// Needs work before apps can be assigned games category
|
||||||
// so for now 'Games' genre is Entertainment
|
// Games will be assigned to the "Games" category
|
||||||
|
// but need to be put into games kind/list
|
||||||
|
// so the solution may be to separate games from apps
|
||||||
|
// during app list build and then merge "Game from Apps"
|
||||||
|
// into the "Games" list
|
||||||
|
// but for now 'Games' genre is Entertainment
|
||||||
// [ 'Games', 100 ],
|
// [ 'Games', 100 ],
|
||||||
[ 'Games', 5 ],
|
[ 'Games', 5 ],
|
||||||
])
|
])
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue