aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/actors/follow.model.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2017-12-14 17:38:41 +0100
committerChocobozzz <me@florianbigard.com>2017-12-19 10:53:16 +0100
commit50d6de9c286abcb34ff4234d56d9cbb803db7665 (patch)
treef1732b27edcd05c7877a8358b8312f1e38c287ed /shared/models/actors/follow.model.ts
parentfadf619ad61a016c1c7fc53de5a8f398a4f77519 (diff)
downloadPeerTube-50d6de9c286abcb34ff4234d56d9cbb803db7665.tar.gz
PeerTube-50d6de9c286abcb34ff4234d56d9cbb803db7665.tar.zst
PeerTube-50d6de9c286abcb34ff4234d56d9cbb803db7665.zip
Begin moving video channel to actor
Diffstat (limited to 'shared/models/actors/follow.model.ts')
-rw-r--r--shared/models/actors/follow.model.ts12
1 files changed, 12 insertions, 0 deletions
diff --git a/shared/models/actors/follow.model.ts b/shared/models/actors/follow.model.ts
new file mode 100644
index 000000000..cdc3da560
--- /dev/null
+++ b/shared/models/actors/follow.model.ts
@@ -0,0 +1,12 @@
1import { Account } from './account.model'
2
3export type FollowState = 'pending' | 'accepted'
4
5export interface AccountFollow {
6 id: number
7 follower: Account
8 following: Account
9 state: FollowState
10 createdAt: Date
11 updatedAt: Date
12}