The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 21, 04:45 UTC
| 1 | import * as Layer from "effect/Layer"; |
| 2 | import * as BindingLocal from "./BindingLocal.ts"; |
| 3 | import { SearchIssues } from "./SearchIssues.ts"; |
| 4 | import { searchIssuesOperation } from "./SearchIssuesHttp.ts"; |
| 5 | |
| 6 | /** |
| 7 | * Implementation of {@link SearchIssues} with the provider's current credentials. |
| 8 | * Provide it on an `Action` or another deploy-time Effect. |
| 9 | * |
| 10 | * @layer |
| 11 | * @product Issue |
| 12 | * @provides GitHub.SearchIssues |
| 13 | */ |
| 14 | export const SearchIssuesLocal = Layer.effect( |
| 15 | SearchIssues, |
| 16 | BindingLocal.make(searchIssuesOperation), |
| 17 | ); |