Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

CreateIssueLocal.ts

14 lines513 Bytes

1import * as Layer from "effect/Layer";
2import * as BindingLocal from "./BindingLocal.ts";
3import { CreateIssue } from "./CreateIssue.ts";
4import { createIssueOperation } from "./CreateIssueHttp.ts";
5​
6/**
7 * Implementation of {@link CreateIssue} 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.CreateIssue
13 */
14export const CreateIssueLocal = Layer.effect(CreateIssue, BindingLocal.make(createIssueOperation));