MCPcopy Index your code
hub / github.com/OpenPipe/OpenPipe / typedLoggedCall

Function typedLoggedCall

app/src/types/dbColumns.types.ts:65–69  ·  view source on GitHub ↗
(
  input: T,
)

Source from the content-addressed store, hash-verified

63 .passthrough();
64
65export 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
71const fineTuneTestingEntrySchema = z
72 .object({

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected