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

Function removeOperations

packages/plugins/openapi/src/sdk/store.ts:159–166  ·  view source on GitHub ↗
(integration: string)

Source from the content-addressed store, hash-verified

157 );
158
159 const removeOperations = (integration: string) =>
160 Effect.gen(function* () {
161 const rows = yield* listRows(integration);
162 yield* pluginStorage.removeMany({
163 owner: STORE_OWNER,
164 entries: rows.map((row) => ({ collection: OPERATION_COLLECTION, key: row.key })),
165 });
166 });
167
168 const appendOperations = (integration: string, operations: readonly StoredOperation[]) =>
169 pluginStorage.putMany({

Callers 1

makeDefaultOpenapiStoreFunction · 0.70

Calls 1

listRowsFunction · 0.85

Tested by

no test coverage detected