Chocobozzz/PeerTube

View on GitHub
packages/models/src/moderation/block-status.model.ts

Summary

Maintainability
A
0 mins
Test Coverage
export interface BlockStatus {
  accounts: {
    [ handle: string ]: {
      blockedByServer: boolean
      blockedByUser?: boolean
    }
  }

  hosts: {
    [ host: string ]: {
      blockedByServer: boolean
      blockedByUser?: boolean
    }
  }
}