import{w as a,i as s,W as r}from"./index-Dbk1Plmn.js";import{l as n,k as u,m as c,n as m}from"./use_mutations-BiggAKwe.js";function t(){return a({queryKey:["schemas"],queryFn:()=>n(),placeholderData:r,enabled:s()})}function h(e){return a({queryKey:["schema",e],queryFn:()=>u(e),enabled:s()&&!!e})}function i(e){return a({queryKey:["schema-candidates",e],queryFn:()=>c(e?{entity_type:e}:void 0),placeholderData:r,enabled:!1})}function l(e){return a({queryKey:["schema-recommendations",e],queryFn:()=>m(e),placeholderData:r,enabled:s()&&!!e})}export{t as a,l as b,i as c,h as u};
