rudeshark.net/packages/megalodon/src/entities/filter.ts

13 lines
229 B
TypeScript

namespace Entity {
export type Filter = {
id: string;
phrase: string;
context: Array<FilterContext>;
expires_at: string | null;
irreversible: boolean;
whole_word: boolean;
};
export type FilterContext = string;
}