MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / connectionToResponse

Function connectionToResponse

packages/plugins/toolkits/src/server.ts:215–222  ·  view source on GitHub ↗
(connection: ToolkitConnectionRecord)

Source from the content-addressed store, hash-verified

213});
214
215const connectionToResponse = (connection: ToolkitConnectionRecord) => ({
216 id: connection.id,
217 toolkitId: connection.toolkitId,
218 pattern: connection.pattern,
219 position: connection.position,
220 createdAt: connection.createdAt,
221 updatedAt: connection.updatedAt,
222});
223
224const makeToolkitStorage = (pluginStorage: PluginStorageFacade): ToolkitStorage => ({
225 toolkits: pluginStorage.collection(toolkitsCollection),

Callers 1

createConnectionFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected