feat: zod v4 with backwards compatibility for v3.25+ #2262
main.yml
on: pull_request
Matrix: test
build
16s
publish
0s
Annotations
10 errors
|
build:
src/client/v3/index.v3.test.ts#L639
Property 'method' is missing in type 'Record<string, unknown>' but required in type '{ method: string; params?: { [x: string]: unknown; _meta?: { [x: string]: unknown; progressToken?: string | number | undefined; } | undefined; } | undefined; }'.
|
|
build:
src/client/v3/index.v3.test.ts#L636
Type 'ZodObject<{ _meta: ZodOptional<ZodRecord<ZodString, ZodUnknown>>; temperature: ZodNumber; conditions: ZodString; }, $loose>' is missing the following properties from type 'ZodType<any, any, any>': _type, _parse, _getType, _getOrReturnCtx, and 7 more.
|
|
build:
src/client/v3/index.v3.test.ts#L635
Type 'ZodObject<{ [x: string]: any; method?: SomeType | undefined; params?: SomeType | undefined; }, $strip>' is missing the following properties from type 'ZodType<any, any, any>': _type, _parse, _getType, _getOrReturnCtx, and 7 more.
|
|
build:
src/client/v3/index.v3.test.ts#L634
Type 'ZodUnion<[ZodObject<{ [x: string]: any; method?: SomeType | undefined; params?: SomeType | undefined; }, $strip>, ZodObject<{ [x: string]: any; method?: SomeType | undefined; params?: SomeType | undefined; }, $strip>]>' is missing the following properties from type 'ZodType<any, any, any>': _type, _parse, _getType, _getOrReturnCtx, and 7 more.
|
|
build:
src/client/v3/index.v3.test.ts#L621
Property '_zod' is missing in type 'ZodObject<{ severity: ZodEnum<["warning", "watch"]>; message: ZodString; }, "strip", ZodTypeAny, { severity: "warning" | "watch"; message: string; }, { ...; }>' but required in type 'SomeType'.
|
|
build:
src/client/v3/index.v3.test.ts#L620
Property '_zod' is missing in type 'ZodLiteral<"weather/alert">' but required in type 'SomeType'.
|
|
build:
src/client/v3/index.v3.test.ts#L613
Property '_zod' is missing in type 'ZodObject<{ city: ZodString; days: ZodNumber; }, "strip", ZodTypeAny, { city: string; days: number; }, { city: string; days: number; }>' but required in type 'SomeType'.
|
|
build:
src/client/v3/index.v3.test.ts#L612
Property '_zod' is missing in type 'ZodLiteral<"weather/forecast">' but required in type 'SomeType'.
|
|
build:
src/client/v3/index.v3.test.ts#L606
Property '_zod' is missing in type 'ZodObject<{ city: ZodString; }, "strip", ZodTypeAny, { city: string; }, { city: string; }>' but required in type 'SomeType'.
|
|
build:
src/client/v3/index.v3.test.ts#L605
Property '_zod' is missing in type 'ZodLiteral<"weather/get">' but required in type 'SomeType'.
|