MCPcopy Index your code
hub / github.com/dataease/SQLBot / swagger_client

Function swagger_client

frontend/public/swagger-ui-bundle.js:56512–56548  ·  view source on GitHub ↗
({ configs: s, getConfigs: o })

Source from the content-addressed store, hash-verified

56510 }
56511 return result
56512 }
56513 function swagger_client({ configs: s, getConfigs: o }) {
56514 return {
56515 fn: {
56516 fetch:
56517 ((i = http_http),
56518 (a = s.preFetch),
56519 (u = s.postFetch),
56520 (u = u || ((s) => s)),
56521 (a = a || ((s) => s)),
56522 (s) => (
56523 'string' == typeof s && (s = { url: s }),
56524 (s = serializeRequest(s)),
56525 get_token() && (s.headers['x-sqlbot-token'] = `Bearer ${get_token()}`),
56526 (s = a(s)),
56527 u(i(s))
56528 )),
56529 buildRequest: execute_buildRequest,
56530 execute: execute_execute,
56531 resolve: makeResolve({ strategies: [Tx, _u, vu, gu] }),
56532 resolveSubtree: async (s, i, a = {}) => {
56533 const u = o(),
56534 _ = {
56535 modelPropertyMacro: u.modelPropertyMacro,
56536 parameterMacro: u.parameterMacro,
56537 requestInterceptor: u.requestInterceptor,
56538 responseInterceptor: u.responseInterceptor,
56539 strategies: [Tx, _u, vu, gu],
56540 }
56541 return makeResolveSubtree(_)(s, i, a)
56542 },
56543 serializeRes: serializeResponse,
56544 opId,
56545 },
56546 statePlugins: { configs: { wrapActions: { loaded: Qx } } },
56547 }
56548 var i, a, u
56549 }
56550 function util() {
56551 return { fn: { shallowEqualKeys, sanitizeUrl } }

Callers

nothing calls this directly

Calls 8

serializeRequestFunction · 0.85
get_tokenFunction · 0.85
makeResolveFunction · 0.85
makeResolveSubtreeFunction · 0.85
aFunction · 0.70
uFunction · 0.70
iFunction · 0.70
oFunction · 0.70

Tested by

no test coverage detected