import{c as a}from"./CVq-Ik9t.js";async function n(t=!1){const s=await a.get(`/dashboard/notifications${t?"?force=true":""}`);return[...s.notifications?.dashboard??[],...s.notifications?.feed??[]]}async function o(t=!1){return(await a.get(`/dashboard/notifications${t?"?force=true":""}`)).notifications?.top??[]}async function i(){return a.get("/dashboard/stats")}async function r(){return a.get("/dashboard/popularity")}async function c(t=!1){return a.get(`/dashboard/feed${t?"?force=true":""}`)}async function f(){const t=await a.get("/system/backups");return Array.isArray(t)?t:t.backups??[]}async function u(t=!1){return a.get("/gpm/updates",t?{flush:"true"}:void 0)}async function d(){return a.get("/systeminfo")}export{i as a,n as b,r as c,c as d,f as e,d as f,u as g,o as h};
