aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/typings/models/server/server.ts
blob: 6be7bf9bb5344a8c2458f29258136013169ec242 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
import { ServerModel } from '../../../models/server/server'
import { PickWith } from '../../utils'
import { MAccountBlocklistId } from '../account'

export type MServer = Omit<ServerModel, 'Actors' | 'BlockedByAccounts'>

export type MServerHost = Pick<MServer, 'host'>

export type MServerHostBlocks = MServerHost &
  PickWith<ServerModel, 'BlockedByAccounts', MAccountBlocklistId[]>