MCPcopy Create free account
hub / github.com/ArrowM/Queue-Bot / formatEntryDescription

Function formatEntryDescription

src/utils/string.utils.ts:170–177  ·  view source on GitHub ↗
(entry: T)

Source from the content-addressed store, hash-verified

168 }
169
170 function formatEntryDescription(entry: T): string {
171 const descriptionProperties = omit(entry, [...GLOBAL_HIDDEN_PROPERTIES, ...hiddenProperties, entryLabelProperty]);
172 const descriptionLines = Object.keys(descriptionProperties)
173 .map(property => formatDescriptionProperty(entry, property as string))
174 .filter(Boolean);
175
176 return descriptionLines.join("\n");
177 }
178
179 function formatEntry(entry: T): { name: string, value: string } {
180 return {

Callers 1

formatEntryFunction · 0.85

Calls 2

joinMethod · 0.80

Tested by

no test coverage detected