-import { FunctionProperties, PickWith } from '@shared/core-utils'
+import { FunctionProperties, PickWith } from '@shared/typescript-utils'
import { AccountModel } from '../../../models/account/account'
import {
MActor,
MActorDefault,
MActorDefaultLight,
MActorFormattable,
+ MActorHost,
MActorId,
- MActorServer,
MActorSummary,
MActorSummaryFormattable,
MActorUrl
export type MAccount =
Omit<AccountModel, 'Actor' | 'User' | 'Application' | 'VideoChannels' | 'VideoPlaylists' |
- 'VideoComments' | 'BlockedAccounts'>
+ 'VideoComments' | 'BlockedBy'>
// ############################################################################
MAccount &
Use<'Actor', MActor>
-// Full actor with server
-export type MAccountServer =
+export type MAccountHost =
MAccount &
- Use<'Actor', MActorServer>
+ Use<'Actor', MActorHost>
// ############################################################################
export type MAccountSummaryBlocks =
MAccountSummary &
- Use<'BlockedAccounts', MAccountBlocklistId[]>
+ Use<'BlockedBy', MAccountBlocklistId[]>
export type MAccountAPI =
MAccount &