test de déploiement du build depuis gitlab
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

1 lines
562 B

import{r as e}from"./axios-DIFBeL1S.js";import{a as t}from"./ctiAxios-CFpkMDWI.js";import{t as n}from"./queryOptions-Cg9orY1Y.js";var r=async()=>{let e=await t(`api/logs`,`get`);if(!e)throw Error(`Failed to fetch logs`);return e.data},i=async()=>{let e=await t(`api/exploit-status`,`get`);if(!e)throw Error(`Failed to fetch exploit status`);return e.data},a={all:[`logs`],logs:()=>[...a.all,`logs`],exploit:()=>[...a.all,`exploit`]},o=()=>n({queryKey:a.logs(),queryFn:r}),s=()=>n({queryKey:a.exploit(),queryFn:i}),c=()=>e(o()),l=()=>e(s());export{c as n,l as t};