@devries-cameron20 / t3code Mirror · read-only
Fork 0

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

main
ts 17 lines 572 Bytes
Raw
1 import * as Layer from "effect/Layer";
2 import * as BindingLocal from "./BindingLocal.ts";
3 import { MergePullRequest } from "./MergePullRequest.ts";
4 import { mergePullRequestOperation } from "./MergePullRequestHttp.ts";
5
6 /**
7 * Implementation of {@link MergePullRequest} with the provider's current credentials.
8 * Provide it on an `Action` or another deploy-time Effect.
9 *
10 * @layer
11 * @product Pull Request
12 * @provides GitHub.MergePullRequest
13 */
14 export const MergePullRequestLocal = Layer.effect(
15 MergePullRequest,
16 BindingLocal.make(mergePullRequestOperation),
17 );