agent_patch
runs/2026-02-27__21-30-28__gpt-5-1-codex-mini/flux-pr-4568/flux-pr-4568.1-of-1.2026-02-27__21-30-28__gpt-5-1-codex-mini/agent-logs/agent.patch
2301 bytes
diff --git a/tmp/agent-patch-flux-pr-4568.1-of-1.2026-02-27__21-30-28__gpt-5-1-codex-mini/app/packages/zod/src/v4/mini/schemas.ts b/app/packages/zod/src/v4/mini/schemas.ts
index 5cf6d42..a488b75 100644
--- a/tmp/agent-patch-flux-pr-4568.1-of-1.2026-02-27__21-30-28__gpt-5-1-codex-mini/app/packages/zod/src/v4/mini/schemas.ts
+++ b/app/packages/zod/src/v4/mini/schemas.ts
@@ -5,7 +5,7 @@ import * as parse from "./parse.js";
type SomeType = core.$ZodType;
export interface ZodMiniType<out Output = unknown, out Input = unknown> extends core.$ZodType<Output, Input> {
- check(...checks: (core.CheckFn<this["_zod"]["output"]> | core.$ZodCheck<this["_zod"]["output"]>)[]): this;
+ check(...checks: (core.CheckFn<core.output<this>> | core.$ZodCheck<core.output<this>>)[]): this;
clone(def?: this["_zod"]["def"], params?: { parent: boolean }): this;
register<R extends core.$ZodRegistry>(
registry: R,
@@ -1116,7 +1116,7 @@ export function file(params?: string | core.$ZodFileParams): ZodMiniFile {
}
// ZodMiniTransform
-export interface ZodMiniTransform<O = unknown, I = unknown> extends ZodMiniType {
+export interface ZodMiniTransform<O = unknown, I = unknown> extends ZodMiniType<O, I> {
_zod: core.$ZodTransformInternals<O, I>;
}
export const ZodMiniTransform: core.$constructor<ZodMiniTransform> = /*@__PURE__*/ core.$constructor(
@@ -1310,7 +1310,8 @@ export function nan(params?: string | core.$ZodNaNParams): ZodMiniNaN {
}
// ZodMiniPipe
-export interface ZodMiniPipe<A extends SomeType = SomeType, B extends SomeType = SomeType> extends ZodMiniType {
+export interface ZodMiniPipe<A extends SomeType = SomeType, B extends SomeType = SomeType>
+ extends ZodMiniType<core.output<B>, core.input<A>> {
_zod: core.$ZodPipeInternals<A, B>;
}
export const ZodMiniPipe: core.$constructor<ZodMiniPipe> = /*@__PURE__*/ core.$constructor(
@@ -1427,7 +1428,7 @@ export function promise<T extends SomeType>(innerType: T): ZodMiniPromise<T> {
}
// ZodMiniCustom
-export interface ZodMiniCustom<O = unknown, I = unknown> extends ZodMiniType {
+export interface ZodMiniCustom<O = unknown, I = unknown> extends ZodMiniType<O, I> {
_zod: core.$ZodCustomInternals<O, I>;
}
export const ZodMiniCustom: core.$constructor<ZodMiniCustom> = /*@__PURE__*/ core.$constructor(