]>
Commit | Line | Data |
---|---|---|
453e83ea C |
1 | import { ServerModel } from '../../../models/server/server' |
2 | import { PickWith } from '../../utils' | |
3 | import { MAccountBlocklistId } from '../account' | |
4 | ||
5 | export type MServer = Omit<ServerModel, 'Actors' | 'BlockedByAccounts'> | |
6 | ||
7 | export type MServerHost = Pick<MServer, 'host'> | |
8 | ||
9 | export type MServerHostBlocks = MServerHost & | |
10 | PickWith<ServerModel, 'BlockedByAccounts', MAccountBlocklistId[]> |