mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-04-14 19:56:23 +00:00
fix(mobile): provide Challenge categories via API
This commit is contained in:
parent
836807aa1e
commit
9948e8ee44
2 changed files with 4 additions and 2 deletions
|
|
@ -17,7 +17,7 @@ import {
|
||||||
} from './constants';
|
} from './constants';
|
||||||
|
|
||||||
import achievements from './achievements';
|
import achievements from './achievements';
|
||||||
|
import categoryOptions from './categoryOptions';
|
||||||
import eggs from './eggs';
|
import eggs from './eggs';
|
||||||
import hatchingPotions from './hatching-potions';
|
import hatchingPotions from './hatching-potions';
|
||||||
import stable from './stable';
|
import stable from './stable';
|
||||||
|
|
@ -85,6 +85,8 @@ api.officialPinnedItems = officialPinnedItems;
|
||||||
|
|
||||||
api.bundles = bundles;
|
api.bundles = bundles;
|
||||||
|
|
||||||
|
api.categoryOptions = categoryOptions;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
---------------------------------------------------------------
|
---------------------------------------------------------------
|
||||||
Unique Rewards: Potion and Armoire
|
Unique Rewards: Potion and Armoire
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ const MOBILE_FILTER = ['achievements', 'questSeriesAchievements', 'animalColorAc
|
||||||
'stableAchievements', 'bundles', 'loginIncentives', 'pets', 'premiumPets', 'specialPets', 'questPets',
|
'stableAchievements', 'bundles', 'loginIncentives', 'pets', 'premiumPets', 'specialPets', 'questPets',
|
||||||
'wackyPets', 'mounts', 'premiumMounts,specialMounts,questMounts', 'events', 'dropEggs', 'questEggs', 'dropHatchingPotions',
|
'wackyPets', 'mounts', 'premiumMounts,specialMounts,questMounts', 'events', 'dropEggs', 'questEggs', 'dropHatchingPotions',
|
||||||
'premiumHatchingPotions', 'wackyHatchingPotions', 'backgroundsFlat', 'questsByLevel', 'gear.tree', 'tasksByCategory',
|
'premiumHatchingPotions', 'wackyHatchingPotions', 'backgroundsFlat', 'questsByLevel', 'gear.tree', 'tasksByCategory',
|
||||||
'userDefaults', 'timeTravelStable', 'gearTypes', 'cardTypes'];
|
'userDefaults', 'timeTravelStable', 'gearTypes', 'cardTypes', 'categoryOptions'];
|
||||||
|
|
||||||
const ANDROID_FILTER = [...MOBILE_FILTER, 'appearances.background'].join(',');
|
const ANDROID_FILTER = [...MOBILE_FILTER, 'appearances.background'].join(',');
|
||||||
const IOS_FILTER = [...MOBILE_FILTER, 'backgrounds'].join(',');
|
const IOS_FILTER = [...MOBILE_FILTER, 'backgrounds'].join(',');
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue