2019-08-15 05:53:26 -04:00
|
|
|
import { AvatarModel } from '../../../models/avatar/avatar'
|
2019-08-20 13:05:31 -04:00
|
|
|
import { FunctionProperties } from '@server/typings/utils'
|
2019-08-15 05:53:26 -04:00
|
|
|
|
|
|
|
export type MAvatar = AvatarModel
|
2019-08-20 13:05:31 -04:00
|
|
|
|
|
|
|
// ############################################################################
|
|
|
|
|
|
|
|
// Format for API or AP object
|
|
|
|
|
|
|
|
export type MAvatarFormattable = FunctionProperties<MAvatar> &
|
|
|
|
Pick<MAvatar, 'filename' | 'createdAt' | 'updatedAt'>
|