Files
wehub-resource-sync 2114b14ee0
Sync main into demo / sync (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:35:26 +08:00

19 lines
701 B
TypeScript

import defaults from './defaults.json';
import { SEARCH_CATEGORIES, SPOTIFY_CONSTANTS } from '../constants';
import type { HomeTabItem } from '../types';
import { resolveSpotifyAssetsDeep } from './assets';
const resolvedDefaults = resolveSpotifyAssetsDeep(defaults);
export const SPOTIFY_CONFIG = {
...resolveSpotifyAssetsDeep(SPOTIFY_CONSTANTS),
...resolvedDefaults,
searchCategories: resolveSpotifyAssetsDeep(SEARCH_CATEGORIES),
};
export const PODCAST_DATA = resolvedDefaults.podcastData as HomeTabItem[];
export const WRAPPED_DATA = resolvedDefaults.wrappedData as HomeTabItem[];
export { PREMIUM_PLANS } from '../constants';
export type { PremiumPlan, PremiumPlanId } from '../types';