- reducePayloads<
T extends
DeepRestrictToStringKeys<{ schema: string }> = DeepRestrictToStringKeys<
{ schema: string },
>,
>(
payloads: DeepRestrictToStringKeys<{ schema: string }>[],
payloadTransformers: SchemaToPayloadTransformersDictionary,
destinationSchema: string,
excludeSources?: boolean,
): Promise<T> Returns Promise<T>