import{al as a}from"./index-ktJf6c6X.js";const i=a.injectEndpoints({endpoints:t=>({getPresignedUploadUrl:t.mutation({query:e=>({url:"file-upload/presigned-url",method:"POST",body:e,headers:{entityName:"ArtDesign"}}),invalidatesTags:["FileUpload"]}),completeUpload:t.mutation({query:e=>({url:"file-upload/complete",method:"POST",body:e,headers:{entityName:"ArtDesign"}}),invalidatesTags:["FileUpload"]}),getPreviewUrl:t.query({query:e=>`file-upload/preview/${e}`,providesTags:["FileUpload"]}),deleteFile:t.mutation({query:e=>({url:`file-upload/${e}`,method:"DELETE",headers:{entityName:"ArtDesign"}}),invalidatesTags:["FileUpload"]})})}),{useGetPresignedUploadUrlMutation:o,useCompleteUploadMutation:r,useGetPreviewUrlQuery:s,useLazyGetPreviewUrlQuery:d,useDeleteFileMutation:n}=i;export{r as a,n as b,d as c,o as u};
