import { FunctionProperties, PickWith } from '@shared/typescript-utils' import { ServerModel } from '../../../models/server/server' import { MAccountBlocklistId } from '../account' type Use = PickWith // ############################################################################ export type MServer = Omit // ############################################################################ export type MServerHost = Pick export type MServerRedundancyAllowed = Pick export type MServerHostBlocks = MServerHost & Use<'BlockedBy', MAccountBlocklistId[]> // ############################################################################ // Format for API or AP object export type MServerFormattable = FunctionProperties & Pick