Open History to see the last commit
1import * as Layer from "effect/Layer";
2import * as BindingLocal from "./BindingLocal.ts";
3import { CreatePullRequestReview } from "./CreatePullRequestReview.ts";
4import { createPullRequestReviewOperation } from "./CreatePullRequestReviewHttp.ts";
5
6/**
7 * Implementation of {@link CreatePullRequestReview} 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.CreatePullRequestReview
13 */
14export const CreatePullRequestReviewLocal = Layer.effect(
15 CreatePullRequestReview,
16 BindingLocal.make(createPullRequestReviewOperation),
17);