aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/typings/models/account/avatar.ts
blob: 21b47180f7f75e2895b2481a6a07eb5878ce6ed8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
import { AvatarModel } from '../../../models/avatar/avatar'
import { FunctionProperties } from '@server/typings/utils'

export type MAvatar = AvatarModel

// ############################################################################

// Format for API or AP object

export type MAvatarFormattable =
  FunctionProperties<MAvatar> &
  Pick<MAvatar, 'filename' | 'createdAt' | 'updatedAt'>