Drop unused domain Zod statics (#26927)
This commit is contained in:
@@ -7,8 +7,6 @@ import { mergeDeep } from "remeda"
|
||||
import { Config } from "@/config/config"
|
||||
import * as Log from "@opencode-ai/core/util/log"
|
||||
import * as Formatter from "./formatter"
|
||||
import { zod } from "@opencode-ai/core/effect-zod"
|
||||
import { withStatics } from "@opencode-ai/core/schema"
|
||||
|
||||
const log = Log.create({ service: "format" })
|
||||
|
||||
@@ -16,9 +14,7 @@ export const Status = Schema.Struct({
|
||||
name: Schema.String,
|
||||
extensions: Schema.Array(Schema.String),
|
||||
enabled: Schema.Boolean,
|
||||
})
|
||||
.annotate({ identifier: "FormatterStatus" })
|
||||
.pipe(withStatics((s) => ({ zod: zod(s) })))
|
||||
}).annotate({ identifier: "FormatterStatus" })
|
||||
export type Status = Schema.Schema.Type<typeof Status>
|
||||
|
||||
export interface Interface {
|
||||
|
||||
Reference in New Issue
Block a user