Drop unused small ID Zod statics (#26908)

This commit is contained in:
Kit Langton
2026-05-11 13:22:59 -04:00
committed by GitHub
parent c7e084c32c
commit 8d9b9719be
6 changed files with 1 additions and 13 deletions

View File

@@ -1,13 +1,10 @@
import { Schema } from "effect"
import { Identifier } from "@/id/id"
import { zod } from "@opencode-ai/core/effect-zod"
import { Newtype } from "@opencode-ai/core/schema"
export class QuestionID extends Newtype<QuestionID>()("QuestionID", Schema.String.check(Schema.isStartsWith("que"))) {
static ascending(id?: string): QuestionID {
return this.make(Identifier.ascending("question", id))
}
static readonly zod = zod(this)
}