Type 'ZodObject<{ visualizationType: ZodEnum<["table", "bar", "line", "area", "radar", "text"]>; formattedData: ZodUnion<[ZodRecord<ZodString, ZodUnknown>, ZodArray<...>, ZodString]>; summary: ZodString; }, "strip", ZodTypeAny, { ...; }, { ...; }>' is not assignable to type 'OutputSchema'. Type 'ZodObject<{ visualizationType: ZodEnum<["table", "bar", "line", "area", "radar", "text"]>; formattedData: ZodUnion<[ZodRecord<ZodString, ZodUnknown>, ZodArray<...>, ZodString]>; summary: ZodString; }, "strip", ZodTypeAny, { ...; }, { ...; }>' is not assignable to type 'ZodType<any, ZodTypeDef, any>'. The types returned by '_refinement(...)' are incompatible between these types. Type 'ZodEffects<ZodObject<{ visualizationType: ZodEnum<["table", "bar", "line", "area", "radar", "text"]>; formattedData: ZodUnion<[ZodRecord<ZodString, ZodUnknown>, ZodArray<...>, ZodString]>; summary: ZodString; }, "strip", ZodTypeAny, { ...; }, { ...; }>, { ...; }, { ...; }>' is missing the following properties from type 'ZodEffects<ZodType<any, ZodTypeDef, any>, any, any>': _type, _output, _input, _def, and 33 more.ts(2322)
Type 'ZodObject<{ visualizationType: ZodEnum<["table", "bar", "line", "area", "radar", "text"]>; formattedData: ZodUnion<[ZodRecord<ZodString, ZodUnknown>, ZodArray<...>, ZodString]>; summary: ZodString; }, "strip", ZodTypeAny, { ...; }, { ...; }>' is not assignable to type 'OutputSchema'. Type 'ZodObject<{ visualizationType: ZodEnum<["table", "bar", "line", "area", "radar", "text"]>; formattedData: ZodUnion<[ZodRecord<ZodString, ZodUnknown>, ZodArray<...>, ZodString]>; summary: ZodString; }, "strip", ZodTypeAny, { ...; }, { ...; }>' is not assignable to type 'ZodType<any, ZodTypeDef, any>'. The types returned by '_refinement(...)' are incompatible between these types. Type 'ZodEffects<ZodObject<{ visualizationType: ZodEnum<["table", "bar", "line", "area", "radar", "text"]>; formattedData: ZodUnion<[ZodRecord<ZodString, ZodUnknown>, ZodArray<...>, ZodString]>; summary: ZodString; }, "strip", ZodTypeAny, { ...; }, { ...; }>, { ...; }, { ...; }>' is missing the following properties from type 'ZodEffects<ZodType<any, ZodTypeDef, any>, any, any>': _type, _output, _input, _def, and 33 more.ts(2322)