Function
project
(entry: Entry, connections: IntegrationConnection.Info[])
Source from the content-addressed store, hash-verified
| 301 | } |
| 302 | |
| 303 | const project = (entry: Entry, connections: IntegrationConnection.Info[]) => |
| 304 | new Info({ |
| 305 | id: entry.ref.id, |
| 306 | name: entry.ref.name, |
| 307 | methods: entry.methods, |
| 308 | connections, |
| 309 | }) |
| 310 | |
| 311 | const authorize = <A, E, R>(effect: Effect.Effect<A, E, R>) => |
| 312 | effect.pipe(Effect.mapError((cause) => new AuthorizationError({ cause }))) |
Tested by
no test coverage detected