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

Function connectionToResponse

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

Source from the content-addressed store, hash-verified

259});
260
261const connectionToResponse = (connection: ToolkitConnectionRecord) => ({
262 id: connection.id,
263 toolkitId: connection.toolkitId,
264 pattern: connection.pattern,
265 position: connection.position,
266 createdAt: connection.createdAt,
267 updatedAt: connection.updatedAt,
268});
269
270const makeToolkitStorage = (pluginStorage: PluginStorageFacade): ToolkitStorage => ({
271 toolkits: pluginStorage.collection(toolkitsCollection),

Callers 1

createConnectionFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected