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