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

Function listOperationRows

packages/plugins/graphql/src/sdk/store.ts:108–118  ·  view source on GitHub ↗
(integration: string)

Source from the content-addressed store, hash-verified

106
107export const makeDefaultGraphqlStore = ({ pluginStorage, blobs }: StorageDeps): GraphqlStore => {
108 const listOperationRows = (integration: string) =>
109 pluginStorage
110 .list({
111 collection: OPERATION_COLLECTION,
112 keyPrefix: `${integration}.`,
113 })
114 .pipe(
115 Effect.map((rows) =>
116 rows.filter((row) => rowToOperation(row)?.integration === integration),
117 ),
118 );
119
120 const removeOperations = (integration: string) =>
121 Effect.gen(function* () {

Callers 2

removeOperationsFunction · 0.85
makeDefaultGraphqlStoreFunction · 0.85

Calls 2

rowToOperationFunction · 0.70
listMethod · 0.65

Tested by

no test coverage detected