mirror of https://github.com/Chocobozzz/PeerTube
13 lines
389 B
TypeScript
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'>
|