add user-level "force content warning" moderation feature
This commit is contained in:
parent
2bf8648ebc
commit
ea89348b62
11 changed files with 534 additions and 407 deletions
|
|
@ -339,6 +339,15 @@ export class MiUser {
|
|||
})
|
||||
public enableRss: boolean;
|
||||
|
||||
/**
|
||||
* Specifies a Content Warning that should be forcibly applied to all notes by this user.
|
||||
* If null (default), then no Content Warning is applied.
|
||||
*/
|
||||
@Column('text', {
|
||||
nullable: true,
|
||||
})
|
||||
public mandatoryCW: string | null;
|
||||
|
||||
constructor(data: Partial<MiUser>) {
|
||||
if (data == null) return;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue