(integration: string)
| 106 | |
| 107 | export 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* () { |
no test coverage detected