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

Function rowToOperation

packages/plugins/graphql/src/sdk/store.ts:63–72  ·  view source on GitHub ↗
(row: PluginStorageEntry)

Source from the content-addressed store, hash-verified

61});
62
63const rowToOperation = (row: PluginStorageEntry): StoredOperation | null => {
64 const decoded = decodeOperationStorage(row.data);
65 if (Option.isNone(decoded)) return null;
66 const operation = decoded.value;
67 return {
68 toolName: operation.toolName,
69 integration: operation.integration,
70 binding: decodeBinding(operation.binding),
71 };
72};
73
74/** Blob key for an introspection snapshot's content hash. Content-addressed
75 * so re-puts are idempotent and identical schemas share one blob per

Callers 2

listOperationRowsFunction · 0.70
makeDefaultGraphqlStoreFunction · 0.70

Calls 1

decodeBindingFunction · 0.85

Tested by

no test coverage detected