MCPcopy Create free account
hub / github.com/chartbrew/chartbrew / getTemplateSources

Function getTemplateSources

server/modules/ai/orchestrator/sourceSupport.js:65–69  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

63}
64
65function getTemplateSources() {
66 return getSources().filter((source) => {
67 return source && isSourceServerEnabled(source) && sourceSupportsDashboardTemplates(source);
68 });
69}
70
71function getSupportedConnectionTypes() {
72 return [...new Set(getOrchestratorSources().map((source) => source.type))];

Callers 1

getTemplateSourceIdsFunction · 0.85

Calls 4

getSourcesFunction · 0.85
isSourceServerEnabledFunction · 0.85
filterMethod · 0.80

Tested by

no test coverage detected