PeerTube/shared/models/actors/follow.model.ts

13 lines
239 B
TypeScript
Raw Normal View History

2017-11-20 11:19:23 +01:00
import { Account } from './account.model'
2017-11-13 17:39:41 +01:00
export type FollowState = 'pending' | 'accepted'
2017-11-15 11:00:25 +01:00
export interface AccountFollow {
id: number
2017-11-20 11:19:23 +01:00
follower: Account
following: Account
state: FollowState
createdAt: Date
updatedAt: Date
2017-11-15 11:00:25 +01:00
}