import { getDashboard } from "./api";

// Убран cache() для всегда свежих данных
export const loadDashboard = getDashboard;

export const loadAssistants = () =>
  loadDashboard().then(d => d.assistants || []);

export const loadCompatibility = () =>
  loadDashboard().then(d => d.compatibilityActions || []);

export const loadMeditations = () =>
  loadDashboard().then(d => d.meditations || []);

export const loadPalms = () => loadDashboard().then(d => d.palmActions || []);

export const loadPortraits = () =>
  loadDashboard().then(d => d.partnerPortraits || []);

export const loadVideoGuides = () =>
  loadDashboard().then(d => d.videoGuides || []);
