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

13 lines
389 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'>