Skip to content

Commit

Permalink
fix: remove unstable properties from ModerationResponse type
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinCupela committed Nov 19, 2024
1 parent a8e5fc3 commit 4c0b5a5
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -719,11 +719,6 @@ export type ModerationAction = 'bounce' | 'flag' | 'remove' | 'shadow';
export type ModerationResponse = {
action: ModerationAction;
original_text: string;
blocklist_matched?: string;
image_harms?: string[];
platform_circumvented?: boolean;
semantic_filter_matched?: string;
text_harms?: string[];
};

export type MuteResponse<StreamChatGenerics extends ExtendableGenerics = DefaultGenerics> = {
Expand Down

0 comments on commit 4c0b5a5

Please sign in to comment.