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
|
// Main build methods
|
||||||
{
|
{
|
||||||
name: 'app',
|
name: 'app',
|
||||||
|
endpointPrefix: 'app',
|
||||||
path: '/static/app-list.json',
|
path: '/static/app-list.json',
|
||||||
buildMethod: buildAppList,
|
buildMethod: buildAppList,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'game',
|
name: 'game',
|
||||||
|
endpointPrefix: 'game',
|
||||||
path: '/static/game-list.json',
|
path: '/static/game-list.json',
|
||||||
buildMethod: buildGamesList,
|
buildMethod: buildGamesList,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'homebrew',
|
name: 'homebrew',
|
||||||
|
endpointPrefix: 'formula',
|
||||||
path: '/static/homebrew-list.json',
|
path: '/static/homebrew-list.json',
|
||||||
buildMethod: buildHomebrewList,
|
buildMethod: buildHomebrewList,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'device',
|
name: 'device',
|
||||||
|
endpointPrefix: 'device',
|
||||||
path: '/static/device-list.json',
|
path: '/static/device-list.json',
|
||||||
buildMethod: buildDeviceList,
|
buildMethod: buildDeviceList,
|
||||||
},
|
},
|
||||||
|
|
@ -83,6 +87,7 @@ class BuildLists {
|
||||||
// since it depend on them
|
// since it depend on them
|
||||||
{
|
{
|
||||||
name: 'video',
|
name: 'video',
|
||||||
|
endpointPrefix: 'tv',
|
||||||
path: '/static/video-list.json',
|
path: '/static/video-list.json',
|
||||||
buildMethod: async () => {
|
buildMethod: async () => {
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue