forked from mirrors/iceshrimp
Laura Hausmann
03cdf4ec4a
Currently you have to configure these in the web ui, but this will eventually be implemented as well
14 lines
382 B
TypeScript
14 lines
382 B
TypeScript
namespace MastodonEntity {
|
|
export type Filter = {
|
|
id: string;
|
|
title: string;
|
|
context: Array<FilterContext>;
|
|
expires_at: string | null;
|
|
filter_action: 'warn' | 'hide';
|
|
keywords: FilterKeyword[];
|
|
statuses: FilterStatus[];
|
|
};
|
|
|
|
export type FilterContext = 'home' | 'notifications' | 'public' | 'thread' | 'account';
|
|
}
|