Skip to content
Myr

drafter.ts

This file

Path

packages/drafting/src/drafter.ts

13 lines · 334 bytes · TypeScript

Last changed by

Merge build/comments-packages-rest into mainoscabrielbefore adoption38cd503

History of this file

Take it

Add the code-browser, policy and drafting contracts, peeled tags and commit times on the port, and the AI bindingoscabrielbefore adoptionfc4691d

lines 1–13why, one step back
1import { Context } from "effect";
2import type { Effect } from "effect";34import type { DraftFailed, DraftedAsk, DraftInput } from "./drafted.ts";56export class Drafter extends Context.Service<7 Drafter,8 {9 readonly draft: (10 input: DraftInput11 ) => Effect.Effect<DraftedAsk, DraftFailed>;12 }13>()("drafting/Drafter") {}