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

Function decodeBinding

packages/plugins/graphql/src/sdk/store.ts:40–43  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

38const encodeBinding = Schema.encodeSync(OperationBinding);
39
40const decodeBinding = (value: unknown): OperationBinding => {
41 if (typeof value === "string") return decodeOperationBindingFromJsonString(value);
42 return decodeOperationBinding(value);
43};
44
45const toJsonRecord = (value: unknown): Record<string, unknown> => value as Record<string, unknown>;
46

Callers 2

rowToOperationFunction · 0.85
rowToOperationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected