mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Add endpointPrefixes to lists
This commit is contained in:
parent
55e743a1e0
commit
39f665427a
1 changed files with 5 additions and 0 deletions
|
|
@ -59,21 +59,25 @@ class BuildLists {
|
|||
// Main build methods
|
||||
{
|
||||
name: 'app',
|
||||
endpointPrefix: 'app',
|
||||
path: '/static/app-list.json',
|
||||
buildMethod: buildAppList,
|
||||
},
|
||||
{
|
||||
name: 'game',
|
||||
endpointPrefix: 'game',
|
||||
path: '/static/game-list.json',
|
||||
buildMethod: buildGamesList,
|
||||
},
|
||||
{
|
||||
name: 'homebrew',
|
||||
endpointPrefix: 'formula',
|
||||
path: '/static/homebrew-list.json',
|
||||
buildMethod: buildHomebrewList,
|
||||
},
|
||||
{
|
||||
name: 'device',
|
||||
endpointPrefix: 'device',
|
||||
path: '/static/device-list.json',
|
||||
buildMethod: buildDeviceList,
|
||||
},
|
||||
|
|
@ -83,6 +87,7 @@ class BuildLists {
|
|||
// since it depend on them
|
||||
{
|
||||
name: 'video',
|
||||
endpointPrefix: 'tv',
|
||||
path: '/static/video-list.json',
|
||||
buildMethod: async () => {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue