about summary refs log tree commit diff
path: root/src/components/Pills.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/Pills.tsx')
-rw-r--r--src/components/Pills.tsx11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/components/Pills.tsx b/src/components/Pills.tsx
index 2fff99937..742a11667 100644
--- a/src/components/Pills.tsx
+++ b/src/components/Pills.tsx
@@ -13,6 +13,15 @@ import {
 } from '#/components/moderation/ModerationDetailsDialog'
 import {Text} from '#/components/Typography'
 
+export type AppModerationCause =
+  | ModerationCause
+  | {
+      type: 'reply-hidden'
+      source: {type: 'user'; did: string}
+      priority: 6
+      downgraded?: boolean
+    }
+
 export type CommonProps = {
   size?: 'sm' | 'lg'
 }
@@ -40,7 +49,7 @@ export function Row({
 }
 
 export type LabelProps = {
-  cause: ModerationCause
+  cause: AppModerationCause
   disableDetailsDialog?: boolean
   noBg?: boolean
 } & CommonProps