diff options
Diffstat (limited to 'server/types/models/account/avatar.ts')
-rw-r--r-- | server/types/models/account/avatar.ts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/server/types/models/account/avatar.ts b/server/types/models/account/avatar.ts new file mode 100644 index 000000000..6eba59ee4 --- /dev/null +++ b/server/types/models/account/avatar.ts | |||
@@ -0,0 +1,12 @@ | |||
1 | import { AvatarModel } from '../../../models/avatar/avatar' | ||
2 | import { FunctionProperties } from '@server/types/utils' | ||
3 | |||
4 | export type MAvatar = AvatarModel | ||
5 | |||
6 | // ############################################################################ | ||
7 | |||
8 | // Format for API or AP object | ||
9 | |||
10 | export type MAvatarFormattable = | ||
11 | FunctionProperties<MAvatar> & | ||
12 | Pick<MAvatar, 'filename' | 'createdAt' | 'updatedAt'> | ||