adds profile timeline and follows
This commit is contained in:
16
web/src/lib/models/follow.ts
Normal file
16
web/src/lib/models/follow.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
import type { User, UserAnonymous } from "./user";
|
||||
|
||||
export class Follow {
|
||||
id?: string;
|
||||
follower: string;
|
||||
followee: string;
|
||||
expand?: {
|
||||
follower: UserAnonymous,
|
||||
followee: UserAnonymous
|
||||
}
|
||||
|
||||
constructor(follower: string, followee: string) {
|
||||
this.follower = follower;
|
||||
this.followee = followee;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user