aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/types/models/account/avatar.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/types/models/account/avatar.ts')
-rw-r--r--server/types/models/account/avatar.ts12
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 @@
1import { AvatarModel } from '../../../models/avatar/avatar'
2import { FunctionProperties } from '@server/types/utils'
3
4export type MAvatar = AvatarModel
5
6// ############################################################################
7
8// Format for API or AP object
9
10export type MAvatarFormattable =
11 FunctionProperties<MAvatar> &
12 Pick<MAvatar, 'filename' | 'createdAt' | 'updatedAt'>