about summary refs log tree commit diff
path: root/src/state/modals
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2023-12-07 14:45:50 -0800
committerGitHub <noreply@github.com>2023-12-07 14:45:50 -0800
commit52a0cb8faccd0df8250b4b084005d2fd6d12a9ad (patch)
tree5e15893fc9296d8b3b9ba99ff689143a68f03e2c /src/state/modals
parent794015aef88b4488e9803e76908c00fdb53b0df2 (diff)
downloadvoidsky-52a0cb8faccd0df8250b4b084005d2fd6d12a9ad.tar.zst
Add label appeal tool to posts and accounts (#2124)
* Add label appeal tool to posts and accounts

* Fix translations
Diffstat (limited to 'src/state/modals')
-rw-r--r--src/state/modals/index.tsx11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/state/modals/index.tsx b/src/state/modals/index.tsx
index 94d6d9ec5..bff27f84d 100644
--- a/src/state/modals/index.tsx
+++ b/src/state/modals/index.tsx
@@ -51,6 +51,16 @@ export type ReportModal = {
   | {did: string}
 )
 
+export type AppealLabelModal = {
+  name: 'appeal-label'
+} & (
+  | {
+      uri: string
+      cid: string
+    }
+  | {did: string}
+)
+
 export interface CreateOrEditListModal {
   name: 'create-or-edit-list'
   purpose?: string
@@ -183,6 +193,7 @@ export type Modal =
   // Moderation
   | ModerationDetailsModal
   | ReportModal
+  | AppealLabelModal
 
   // Lists
   | CreateOrEditListModal