aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared
diff options
context:
space:
mode:
Diffstat (limited to 'shared')
-rw-r--r--shared/models/activitypub/activity.ts2
-rw-r--r--shared/models/pods/pod.model.ts1
-rw-r--r--shared/models/users/user.model.ts2
3 files changed, 2 insertions, 3 deletions
diff --git a/shared/models/activitypub/activity.ts b/shared/models/activitypub/activity.ts
index dc562c00a..a2494da25 100644
--- a/shared/models/activitypub/activity.ts
+++ b/shared/models/activitypub/activity.ts
@@ -4,7 +4,7 @@ import {
4} from './objects' 4} from './objects'
5import { ActivityPubSignature } from './activitypub-signature' 5import { ActivityPubSignature } from './activitypub-signature'
6 6
7export type Activity = ActivityCreate | ActivityUpdate | ActivityFlag 7export type Activity = ActivityCreate | ActivityAdd | ActivityUpdate | ActivityFlag
8 8
9// Flag -> report abuse 9// Flag -> report abuse
10export type ActivityType = 'Create' | 'Add' | 'Update' | 'Flag' 10export type ActivityType = 'Create' | 'Add' | 'Update' | 'Flag'
diff --git a/shared/models/pods/pod.model.ts b/shared/models/pods/pod.model.ts
index d25421936..ff9e8f2f5 100644
--- a/shared/models/pods/pod.model.ts
+++ b/shared/models/pods/pod.model.ts
@@ -1,7 +1,6 @@
1export interface Pod { 1export interface Pod {
2 id: number, 2 id: number,
3 host: string, 3 host: string,
4 email: string,
5 score: number, 4 score: number,
6 createdAt: Date 5 createdAt: Date
7} 6}
diff --git a/shared/models/users/user.model.ts b/shared/models/users/user.model.ts
index ee2147590..a8012734c 100644
--- a/shared/models/users/user.model.ts
+++ b/shared/models/users/user.model.ts
@@ -9,7 +9,7 @@ export interface User {
9 role: UserRole 9 role: UserRole
10 videoQuota: number 10 videoQuota: number
11 createdAt: Date, 11 createdAt: Date,
12 author: { 12 account: {
13 id: number 13 id: number
14 uuid: string 14 uuid: string
15 } 15 }