chore: generate

This commit is contained in:
opencode-agent[bot]
2026-04-16 03:57:53 +00:00
parent 5011465c81
commit c8af8f96ce
2 changed files with 2 additions and 10 deletions

View File

@@ -54,11 +54,7 @@ type Init<Parameters extends z.ZodType, M extends Metadata> =
| (() => Effect.Effect<DefWithoutID<Parameters, M>>)
export type InferParameters<T> =
T extends Info<infer P, any>
? z.infer<P>
: T extends Effect.Effect<Info<infer P, any>, any, any>
? z.infer<P>
: never
T extends Info<infer P, any> ? z.infer<P> : T extends Effect.Effect<Info<infer P, any>, any, any> ? z.infer<P> : never
export type InferMetadata<T> =
T extends Info<any, infer M> ? M : T extends Effect.Effect<Info<any, infer M>, any, any> ? M : never