feat(protocol): publish package
This commit is contained in:
parent
5e47501b8b
commit
98c09884bf
32 changed files with 231 additions and 65 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import { HttpApiMiddleware } from "effect/unstable/httpapi"
|
||||
import { UnauthorizedError } from "../errors"
|
||||
import { UnauthorizedError } from "../errors.js"
|
||||
|
||||
export class Authorization extends HttpApiMiddleware.Service<Authorization>()("@opencode/HttpApiAuthorization", {
|
||||
error: UnauthorizedError,
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import { HttpApiMiddleware } from "effect/unstable/httpapi"
|
||||
import { InvalidRequestError } from "../errors"
|
||||
import { InvalidRequestError } from "../errors.js"
|
||||
|
||||
export class SchemaErrorMiddleware extends HttpApiMiddleware.Service<SchemaErrorMiddleware>()(
|
||||
"@opencode/HttpApiSchemaError",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue