Skip to content

Commit bd6efb3

Browse files
committed
feat: Add blur enum value for FilterAction type
1 parent bf908c4 commit bd6efb3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/mastodon/entities/v2/filter.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export type FilterContext = keyof FilterContextRegistry;
1414
export interface FilterActionRegistry {
1515
warn: never;
1616
hide: never;
17+
blur: never;
1718
}
1819

1920
export type FilterAction = keyof FilterActionRegistry;
@@ -37,6 +38,8 @@ export interface Filter {
3738
* `warn` = show a warning that identifies the matching filter by title, and allow the user to expand the filtered status. This is the default (and unknown values should be treated as equivalent to warn).
3839
*
3940
* `hide` = do not show this status if it is received
41+
*
42+
* `blur` = hide/blur media attachments with a warning identifying the matching filter by `title`
4043
*/
4144
filterAction: FilterAction;
4245
/** The keywords grouped under this filter. */

0 commit comments

Comments
 (0)