fix(mobile): provide Challenge categories via API

This commit is contained in:
Kalista Payne
2025-06-04 14:28:27 -05:00
parent 836807aa1e
commit 9948e8ee44
2 changed files with 4 additions and 2 deletions

View File

@@ -17,7 +17,7 @@ import {
} from './constants';
import achievements from './achievements';
import categoryOptions from './categoryOptions';
import eggs from './eggs';
import hatchingPotions from './hatching-potions';
import stable from './stable';
@@ -85,6 +85,8 @@ api.officialPinnedItems = officialPinnedItems;
api.bundles = bundles;
api.categoryOptions = categoryOptions;
/*
---------------------------------------------------------------
Unique Rewards: Potion and Armoire

View File

@@ -10,7 +10,7 @@ const MOBILE_FILTER = ['achievements', 'questSeriesAchievements', 'animalColorAc
'stableAchievements', 'bundles', 'loginIncentives', 'pets', 'premiumPets', 'specialPets', 'questPets',
'wackyPets', 'mounts', 'premiumMounts,specialMounts,questMounts', 'events', 'dropEggs', 'questEggs', 'dropHatchingPotions',
'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 IOS_FILTER = [...MOBILE_FILTER, 'backgrounds'].join(',');