The best way to control Claude Code, Codex and more from any computer or phone

main
ts 13 lines 302 Bytes
Raw
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);