PeerTube/server/typings/models/account/avatar.ts

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