From 571389d43b8fc8aaf27e77c06f19b320b08dbbc9 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 10 Nov 2017 17:27:49 +0100 Subject: Make it compile at least --- shared/models/activitypub/activity.ts | 2 +- shared/models/pods/pod.model.ts | 1 - shared/models/users/user.model.ts | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) (limited to 'shared/models') 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 { } from './objects' import { ActivityPubSignature } from './activitypub-signature' -export type Activity = ActivityCreate | ActivityUpdate | ActivityFlag +export type Activity = ActivityCreate | ActivityAdd | ActivityUpdate | ActivityFlag // Flag -> report abuse export 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 @@ export interface Pod { id: number, host: string, - email: string, score: number, createdAt: Date } 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 { role: UserRole videoQuota: number createdAt: Date, - author: { + account: { id: number uuid: string } -- cgit v1.2.3