MCPcopy Create free account
hub / github.com/EsperoTech/yaade / mapScriptToSidebarScript

Function mapScriptToSidebarScript

client/src/pages/dashboard/Dashboard.tsx:84–90  ·  view source on GitHub ↗
(s: Script)

Source from the content-addressed store, hash-verified

82}
83
84function mapScriptToSidebarScript(s: Script): SidebarScript {
85 return {
86 id: s.id,
87 collectionId: s.collectionId,
88 name: s.data.name ?? '',
89 };
90}
91
92function mapCollectionToSidebarCollection(
93 c: Collection,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected