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

Function getSourceDefinitionLogo

client/src/sources/definitions.js:81–84  ·  view source on GitHub ↗
(source, isDark)

Source from the content-addressed store, hash-verified

79}
80
81export function getSourceDefinitionLogo(source, isDark) {
82 if (!source) return null;
83 return isDark ? source.assets?.darkLogo : source.assets?.lightLogo;
84}
85
86export function getSourceDefinitionSummaries() {
87 return SOURCE_DEFINITIONS.map((source) => ({

Callers 1

getSourceLogoFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected