feat: add temporary rendering for workflows and their threads #176
Annotations
8 errors
lint
Type '{ "": z.ZodUndefined; "/": z.ZodUndefined; "/agents": z.ZodUndefined; "/agents/:agent": z.ZodObject<{ threadId: z.ZodOptional<z.ZodString>; from: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { ...; }, { ...; }>; ... 6 more ...; "/users": z.ZodUndefined; }' does not satisfy the expected type 'Record<keyof Routes, ZodType<any, ZodTypeDef, any> | null>'.
|
lint
Type 'T' cannot be used to index type '{ "": ZodUndefined; "/": ZodUndefined; "/agents": ZodUndefined; "/agents/:agent": ZodObject<{ threadId: ZodOptional<ZodString>; from: ZodOptional<...>; }, "strip", ZodTypeAny, { ...; }, { ...; }>; ... 6 more ...; "/users": ZodUndefined; }'.
|
lint
Property 'safeParse' does not exist on type 'NonNullable<{ "": ZodUndefined; "/": ZodUndefined; "/agents": ZodUndefined; "/agents/:agent": ZodObject<{ threadId: ZodOptional<ZodString>; from: ZodOptional<...>; }, "strip", ZodTypeAny, { ...; }, { ...; }>; ... 6 more ...; "/users": ZodUndefined; }[T]>'.
|
lint
Type '{ "": ZodUndefined; "/": ZodUndefined; "/agents": ZodUndefined; "/agents/:agent": ZodObject<{ threadId: ZodOptional<ZodString>; from: ZodOptional<...>; }, "strip", ZodTypeAny, { ...; }, { ...; }>; ... 6 more ...; "/users": ZodUndefined; }[T]' does not satisfy the constraint 'ZodType<any, any, any>'.
|
lint
Type 'T' cannot be used to index type '{ "": ZodUndefined; "/": ZodUndefined; "/agents": ZodUndefined; "/agents/:agent": ZodObject<{ threadId: ZodOptional<ZodString>; from: ZodOptional<...>; }, "strip", ZodTypeAny, { ...; }, { ...; }>; ... 6 more ...; "/users": ZodUndefined; }'.
|
lint
Type '{ "": ZodUndefined; "/": ZodUndefined; "/agents": ZodUndefined; "/agents/:agent": ZodObject<{ threadId: ZodOptional<ZodString>; from: ZodOptional<...>; }, "strip", ZodTypeAny, { ...; }, { ...; }>; ... 6 more ...; "/users": ZodUndefined; }[T]' does not satisfy the constraint 'ZodType<any, any, any>'.
|
lint
Type 'T' cannot be used to index type '{ "": ZodUndefined; "/": ZodUndefined; "/agents": ZodUndefined; "/agents/:agent": ZodObject<{ threadId: ZodOptional<ZodString>; from: ZodOptional<...>; }, "strip", ZodTypeAny, { ...; }, { ...; }>; ... 6 more ...; "/users": ZodUndefined; }'.
|
lint
Process completed with exit code 2.
|