]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - server/types/models/account/avatar.ts
provide specific engine boundaries for nodejs and yarn
[github/Chocobozzz/PeerTube.git] / server / types / models / account / avatar.ts
CommitLineData
453e83ea 1import { AvatarModel } from '../../../models/avatar/avatar'
26d6bf65 2import { FunctionProperties } from '@server/types/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'>