import{a as s}from"./redux-vendor-B7uoacJt.js";import{L as o,j as r,h as N}from"./index-Vwb3Bce5.js";const m=s("GET_ANNOUNCEMENT",async(e,{dispatch:t})=>{t(o());const{data:n,status:a}=await r.get("announcements/?total=true");return t(N()),{data:n,status:a}}),A=s("GET_ANNOUNCEMENT",async(e,{dispatch:t})=>{t(o());const{data:n,status:a}=await r.get(`announcements/?role=${e}`);return t(N()),{data:n,status:a}});export{m as a,A as g};
