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

Function getSnippetGenerators

frontend/public/swagger-ui-bundle.js:35227–35234  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

35225 return !o || o.isEmpty() ? i : i.filter((s, i) => o.includes(i))
35226 }),
35227 getSnippetGenerators =
35228 (s) =>
35229 ({ fn: o }) =>
35230 Un(s)
35231 .map((s, i) => {
35232 const a = ((s) => o[`requestSnippetGenerator_${s}`])(i)
35233 return 'function' != typeof a ? null : s.set('fn', a)
35234 })
35235 .filter((s) => s),
35236 Vn = Ut(request_snippets_selectors_state, (s) => s.get('activeLanguage')),
35237 zn = Ut(request_snippets_selectors_state, (s) => s.get('defaultExpanded'))

Callers

nothing calls this directly

Calls 4

UnFunction · 0.50
filterMethod · 0.45
mapMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected