The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 21, 04:45 UTC
| 1 | import * as Domain from "@alchemy.run/domain"; |
| 2 | import * as Schema from "effect/Schema"; |
| 3 | import { UserId } from "./User.id.ts"; |
| 4 | |
| 5 | /** The signed-in user behind a request. */ |
| 6 | export class CurrentUser extends Domain.RequestContext<CurrentUser>()( |
| 7 | "Notes/CurrentUser", |
| 8 | Schema.Struct({ userId: UserId, name: Schema.String }), |
| 9 | ) {} |