import{bc as t,a7 as a}from"./app-BgLa5dit.js";const c={getSpecialEvents(e,i,l,s){return{url:a.urlBuilder("/api/discover/v1/special-events",{sort:e||"newest",name:i,type:l,cursor:s}),key:`special:events:${e}:${i}:${l}:${s}`}},getSpecialEvent(e){return{url:`/api/discover/v1/special-events/${e}`,key:`special:events:${e}`}},createSpecialEvent(e){return{url:"/api/discover/v1/special-events",key:`create:special:event:${e.name}`,data:e,type:t.POST,invalidationKeys:"special:events"}},editSpecialEvent(e,i){return{url:`/api/discover/v1/special-events/${e}`,key:`edit:special:event:${e}`,data:i,type:t.PUT}},getSpecialEventPolicy(e){return{url:`/api/discover/v1/special-events/policies/${e}`,key:`special:event:policy:${e}`}},addSpecialEventPolicy(e,i){return{url:`/api/discover/v1/special-events/${e}/policies`,key:`add:special:event:policy:${e}:${i.presentationId}`,type:t.POST,data:[i],invalidationKeys:["special:events",`special:events:${e}`]}},editSpecialEventPolicy(e,i,l){return{url:`/api/discover/v1/special-events/policy/${e}`,key:`edit:special:event:policy:${e}`,data:l,type:t.PUT,invalidationKeys:[`special:events:${i}`]}},deleteSpecialEventPolicy(e,i){return{url:`/api/discover/v1/special-events/policy/${e}`,key:`delete:special:event:policy:${e}`,type:t.DELETE,invalidationKeys:[`special:events:${i}`]}}};export{c as C};
//# sourceMappingURL=CdBbWXza.chunk.js.map
