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

Function connectionToResponse

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

Source from the content-addressed store, hash-verified

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

Callers 1

createConnectionFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected