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

Function getExtensions

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

Source from the content-addressed store, hash-verified

31241 escapeDeepLinkPath = (s) => Et()(createDeepLinkPath(s).replace(/%20/g, '_')),
31242 isExtension = (s) => /^x-/.test(s),
31243 getExtensions = (s) =>
31244 ze.Map.isMap(s)
31245 ? s.filter((s, o) => isExtension(o))
31246 : Object.keys(s).filter((s) => isExtension(s)),
31247 getCommonExtensions = (s) =>
31248 s.filter((s, o) => /^pattern|maxLength|minLength|maximum|minimum/.test(o))
31249 function deeplyStripKey(s, o, i = () => !0) {

Callers 8

renderMethod · 0.85
renderMethod · 0.85
renderMethod · 0.85
renderMethod · 0.85
renderMethod · 0.85
keywords_XmlFunction · 0.85
keywords_ExternalDocsFunction · 0.85

Calls 3

isExtensionFunction · 0.85
filterMethod · 0.45
keysMethod · 0.45

Tested by

no test coverage detected