MCPcopy
hub / github.com/deepops-ai/deepops / genDynamicFunction

Function genDynamicFunction

ui/src/utils/dashboard/dynamicCall.ts:19–26  ·  view source on GitHub ↗
(ast)

Source from the content-addressed store, hash-verified

17
18// limitations under the License.
19export const genDynamicFunction = (ast) => {
20 try {
21 const f = eval("(" + ast +")")
22 return f
23 } catch (error) {
24 return error
25 }
26}
27
28
29export const commonInteractionEvent= (callback, data) => {

Callers 15

BarGaugeFunction · 0.90
PanelComponentFunction · 0.90
run_http_queryFunction · 0.90
queryHttpVariableValuesFunction · 0.90
GeoMapPanelFunction · 0.90
onActionClickFunction · 0.90
LogPanelFunction · 0.90
LogItem.tsxFile · 0.90
ComplexTable.tsxFile · 0.90
StatGraph.tsxFile · 0.90
ValueTextFunction · 0.90
BarChart.tsxFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected