]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - server/typings/models/server/server.ts
Fix tests
[github/Chocobozzz/PeerTube.git] / server / typings / models / server / server.ts
CommitLineData
453e83ea
C
1import { ServerModel } from '../../../models/server/server'
2import { PickWith } from '../../utils'
3import { MAccountBlocklistId } from '../account'
4
5export type MServer = Omit<ServerModel, 'Actors' | 'BlockedByAccounts'>
6
7export type MServerHost = Pick<MServer, 'host'>
8
9export type MServerHostBlocks = MServerHost &
10 PickWith<ServerModel, 'BlockedByAccounts', MAccountBlocklistId[]>