Skip to content

Commit

Permalink
fixup! feat(generate): handle moderation chunks
Browse files Browse the repository at this point in the history
Signed-off-by: Tomas Dvorak <[email protected]>
  • Loading branch information
Tomas2D committed Oct 24, 2023
1 parent 02da933 commit 9bfb6e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export const GenerateInputSchema = z.union([
]);
export type GenerateInput = z.infer<typeof GenerateInputSchema>;
export type GenerateOutput = ApiTypes.GenerateOutput['results'][number] & {
moderation: ApiTypes.GenerateOutput['moderation'];
moderation?: ApiTypes.GenerateOutput['moderation'];
};

export const GenerateConfigInputSchema = ApiTypes.GenerateConfigInputSchema;
Expand Down

0 comments on commit 9bfb6e5

Please sign in to comment.