Files
wanderer/web/src/lib/models/follow.ts
2024-12-14 21:14:02 +01:00

16 lines
351 B
TypeScript

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;
}
}