chore: generate

This commit is contained in:
opencode-agent[bot] 2026-05-16 00:44:10 +00:00
commit d6b23fd8f6
2 changed files with 7 additions and 6 deletions

View file

@ -79,9 +79,12 @@ export class Unauthorized extends Schema.TaggedErrorClass<Unauthorized>()(
{ httpApiStatus: 401 },
) {}
export class Authorization extends HttpApiMiddleware.Service<Authorization, {
provides: CurrentUser
}>()("app/Authorization", {
export class Authorization extends HttpApiMiddleware.Service<
Authorization,
{
provides: CurrentUser
}
>()("app/Authorization", {
security: { bearer: HttpApiSecurity.bearer },
error: Unauthorized,
}) {}