diff options
author | Chocobozzz <me@florianbigard.com> | 2017-12-14 17:38:41 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2017-12-19 10:53:16 +0100 |
commit | 50d6de9c286abcb34ff4234d56d9cbb803db7665 (patch) | |
tree | f1732b27edcd05c7877a8358b8312f1e38c287ed /shared/models/accounts | |
parent | fadf619ad61a016c1c7fc53de5a8f398a4f77519 (diff) | |
download | PeerTube-50d6de9c286abcb34ff4234d56d9cbb803db7665.tar.gz PeerTube-50d6de9c286abcb34ff4234d56d9cbb803db7665.tar.zst PeerTube-50d6de9c286abcb34ff4234d56d9cbb803db7665.zip |
Begin moving video channel to actor
Diffstat (limited to 'shared/models/accounts')
-rw-r--r-- | shared/models/accounts/account.model.ts | 13 | ||||
-rw-r--r-- | shared/models/accounts/follow.model.ts | 12 | ||||
-rw-r--r-- | shared/models/accounts/index.ts | 2 |
3 files changed, 0 insertions, 27 deletions
diff --git a/shared/models/accounts/account.model.ts b/shared/models/accounts/account.model.ts deleted file mode 100644 index d14701317..000000000 --- a/shared/models/accounts/account.model.ts +++ /dev/null | |||
@@ -1,13 +0,0 @@ | |||
1 | import { Avatar } from '../avatars/avatar.model' | ||
2 | |||
3 | export interface Account { | ||
4 | id: number | ||
5 | uuid: string | ||
6 | name: string | ||
7 | host: string | ||
8 | followingCount: number | ||
9 | followersCount: number | ||
10 | createdAt: Date | ||
11 | updatedAt: Date | ||
12 | avatar: Avatar | ||
13 | } | ||
diff --git a/shared/models/accounts/follow.model.ts b/shared/models/accounts/follow.model.ts deleted file mode 100644 index cdc3da560..000000000 --- a/shared/models/accounts/follow.model.ts +++ /dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | import { Account } from './account.model' | ||
2 | |||
3 | export type FollowState = 'pending' | 'accepted' | ||
4 | |||
5 | export interface AccountFollow { | ||
6 | id: number | ||
7 | follower: Account | ||
8 | following: Account | ||
9 | state: FollowState | ||
10 | createdAt: Date | ||
11 | updatedAt: Date | ||
12 | } | ||
diff --git a/shared/models/accounts/index.ts b/shared/models/accounts/index.ts deleted file mode 100644 index 8fe437b81..000000000 --- a/shared/models/accounts/index.ts +++ /dev/null | |||
@@ -1,2 +0,0 @@ | |||
1 | export * from './account.model' | ||
2 | export * from './follow.model' | ||