aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-11-10 17:27:49 +0100
committerChocobozzz <florian.bigard@gmail.com>2017-11-27 19:40:51 +0100
commit571389d43b8fc8aaf27e77c06f19b320b08dbbc9 (patch)
treee57173bcd0590d939c28952a29258fd02a281e35 /shared/models
parent38fa2065831b5f55be0d7f30f19a62c967397208 (diff)
downloadPeerTube-571389d43b8fc8aaf27e77c06f19b320b08dbbc9.tar.gz
PeerTube-571389d43b8fc8aaf27e77c06f19b320b08dbbc9.tar.zst
PeerTube-571389d43b8fc8aaf27e77c06f19b320b08dbbc9.zip
Make it compile at least
Diffstat (limited to 'shared/models')
-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 }