mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 18:29:27 +02:00
Add ability for users to block an account/instance on server side
This commit is contained in:
parent
dffd5d127f
commit
7ad9b9846c
33 changed files with 1344 additions and 56 deletions
9
shared/models/blocklist/server-block.model.ts
Normal file
9
shared/models/blocklist/server-block.model.ts
Normal file
|
@ -0,0 +1,9 @@
|
|||
import { Account } from '../actors'
|
||||
|
||||
export interface ServerBlock {
|
||||
byAccount: Account
|
||||
serverBlocked: {
|
||||
host: string
|
||||
}
|
||||
createdAt: Date | string
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue