Files
anomalyco_opencode/packages/opencode/src/shell-job/schema.ts
T
2026-04-13 19:17:07 -04:00

11 lines
282 B
TypeScript

import { Schema } from "effect"
import { Identifier } from "@/id/id"
import { Newtype } from "@/util/schema"
export class JobID extends Newtype<JobID>()("JobID", Schema.String) {
static ascending(id?: string): JobID {
return this.make(Identifier.ascending("job", id))
}
}