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

13 lines
239 B
TypeScript

import { Account } from './account.model'
export type FollowState = 'pending' | 'accepted'
export interface AccountFollow {
id: number
follower: Account
following: Account
state: FollowState
createdAt: Date
updatedAt: Date
}