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 S from "effect/Schema"; |
| 2 | |
| 3 | export type JobId = S.Schema.Type<typeof JobId>; |
| 4 | export const JobId = S.String.annotate({ |
| 5 | description: "The ID of the job", |
| 6 | }); |
| 7 | |
| 8 | export class Job extends S.Class<Job>("Job")({ |
| 9 | id: JobId, |
| 10 | content: S.String, |
| 11 | }) {} |
| 12 | |
| 13 | export const decodeJob = S.decodeEffect(Job); |