( input: T, )
| 63 | .passthrough(); |
| 64 | |
| 65 | export const typedLoggedCall = <T extends Pick<LoggedCall, "reqPayload">>( |
| 66 | input: T, |
| 67 | ): Omit<T, "reqPayload" | "respPayload"> & z.infer<typeof loggedCall> => |
| 68 | // @ts-expect-error zod doesn't type `passthrough()` correctly. |
| 69 | loggedCall.parse(input); |
| 70 | |
| 71 | const fineTuneTestingEntrySchema = z |
| 72 | .object({ |
no outgoing calls
no test coverage detected