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

Function asConnectionInput

packages/react/src/api/server-profiles.tsx:78–87  ·  view source on GitHub ↗
(
  connection: ExecutorServerConnection,
)

Source from the content-addressed store, hash-verified

76};
77
78const asConnectionInput = (
79 connection: ExecutorServerConnection,
80): ExecutorServerConnectionInput => ({
81 kind: connection.kind,
82 key: connection.key,
83 origin: connection.origin,
84 apiBaseUrl: connection.apiBaseUrl,
85 displayName: connection.displayName,
86 ...(connection.auth ? { auth: connection.auth } : {}),
87});
88
89export const parseExecutorServerProfilesSnapshot = (
90 raw: string | null | undefined,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected