about summary refs log tree commit diff
path: root/src/lib/labeling/types.ts
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2023-05-04 00:55:33 -0500
committerGitHub <noreply@github.com>2023-05-04 00:55:33 -0500
commitab3074fdee44103424a58577f5c81c9d2436fc68 (patch)
treea494ee4fc5d07cf5ec4f162e4f5e0c23a449c13f /src/lib/labeling/types.ts
parent33bf9c38695c24ede28d68810d1f6b2e68f86f5f (diff)
downloadvoidsky-ab3074fdee44103424a58577f5c81c9d2436fc68.tar.zst
Add the !filter and !warn imperative labels (#580)
Diffstat (limited to 'src/lib/labeling/types.ts')
-rw-r--r--src/lib/labeling/types.ts7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/labeling/types.ts b/src/lib/labeling/types.ts
index 20ecaa5b5..123c5d1f3 100644
--- a/src/lib/labeling/types.ts
+++ b/src/lib/labeling/types.ts
@@ -4,7 +4,12 @@ import {LabelPreferencesModel} from 'state/models/ui/preferences'
 export type Label = ComAtprotoLabelDefs.Label
 
 export interface LabelValGroup {
-  id: keyof LabelPreferencesModel | 'illegal' | 'unknown'
+  id:
+    | keyof LabelPreferencesModel
+    | 'illegal'
+    | 'always-filter'
+    | 'always-warn'
+    | 'unknown'
   title: string
   imagesOnly: boolean
   subtitle?: string