Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boringstack-xyz/boringstack
/ openapi.ts
File
openapi.ts
apps/ui/src/lib/api/openapi.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
createClient, {
type
Middleware } from
"openapi-fetch"
;
2
3
import
{ env } from
"@/lib/env"
;
4
import
{ getErrorMessage } from
"@/lib/errors/getErrorMessage"
;
Callers
nothing calls this directly
Calls
6
getErrorMessage
Function · 0.90
isRefreshableEndpoint
Function · 0.85
performRefresh
Function · 0.85
extractApiErrorBody
Function · 0.85
warn
Method · 0.80
get
Method · 0.45
Tested by
no test coverage detected