1
0
Fork 0
peertube/server/typings/models/account/avatar.ts
2019-08-20 19:23:10 +02:00

11 lines
387 B
TypeScript

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'>