@getontime/cli
Version:
Time keeping for live events
2 lines • 1.13 kB
JavaScript
(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`f14ad0099eab1969fdd065b56af5fdd3cf530de6`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`d3ed61c6-5065-4208-a5ee-7783f29a0654`,e._sentryDebugIdIdentifier=`sentry-dbid-d3ed61c6-5065-4208-a5ee-7783f29a0654`)}catch{}})();import{o as e}from"./useIsSmallScreen-Db4lRgi0.js";import{_n as t,b as n,l as r,vn as i}from"./constants-8b9Q9Bj6.js";var a=`${n}/custom-fields`;async function o(e){return(await t.get(a,{signal:e?.signal})).data}async function s(e){return(await t.post(a,{...e})).data}async function c(e,n){return(await t.put(`${a}/${e}`,{...n})).data}async function l(e){return(await t.delete(`${a}/${e}`)).data}var u={};function d(){let{data:t,status:n,isFetching:a,isError:s,refetch:c}=i({queryKey:r,queryFn:({signal:e})=>o({signal:e}),placeholderData:(e,t)=>e,refetchInterval:e});return{data:t??u,status:n,isFetching:a,isError:s,refetch:c}}export{s as i,l as n,c as r,d as t};
//# sourceMappingURL=useCustomFields-BMD3tm-0.js.map