+import { FunctionProperties, PickWith } from '@shared/core-utils'
import { AccountModel } from '../../../models/account/account'
+import { MChannelDefault } from '../video/video-channels'
+import { MAccountBlocklistId } from './account-blocklist'
import {
MActor,
- MActorAP,
+ MActorAPAccount,
MActorAPI,
MActorAudience,
MActorDefault,
MActorSummaryFormattable,
MActorUrl
} from './actor'
-import { FunctionProperties, PickWith } from '@shared/core-utils'
-import { MAccountBlocklistId } from './account-blocklist'
-import { MChannelDefault } from '../video/video-channels'
type Use<K extends keyof AccountModel, M> = PickWith<AccountModel, K, M>
export type MAccountAP =
Pick<MAccount, 'name' | 'description'> &
- Use<'Actor', MActorAP>
+ Use<'Actor', MActorAPAccount>