]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - server/typings/models/account/avatar.ts
Apply the fix to both expanded and not expanded, using convention
[github/Chocobozzz/PeerTube.git] / server / typings / models / account / avatar.ts
CommitLineData
453e83ea 1import { AvatarModel } from '../../../models/avatar/avatar'
1ca9f7c3 2import { FunctionProperties } from '@server/typings/utils'
453e83ea
C
3
4export type MAvatar = AvatarModel
1ca9f7c3
C
5
6// ############################################################################
7
8// Format for API or AP object
9
a1587156
C
10export type MAvatarFormattable =
11 FunctionProperties<MAvatar> &
1ca9f7c3 12 Pick<MAvatar, 'filename' | 'createdAt' | 'updatedAt'>