1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-29 18:44:40 +02:00
This commit is contained in:
syuilo
2023-10-02 15:37:09 +09:00
parent 6f17993cba
commit 35e743c955
24 changed files with 135 additions and 97 deletions

View File

@@ -9,6 +9,7 @@ import { MiUser } from './User.js';
@Entity('following')
@Index(['followerId', 'followeeId'], { unique: true })
@Index(['followeeId', 'followerHost'])
export class MiFollowing {
@PrimaryColumn(id())
public id: string;
@@ -45,6 +46,12 @@ export class MiFollowing {
@JoinColumn()
public follower: MiUser | null;
// タイムラインにその人のリプライまで含めるかどうか
@Column('boolean', {
default: false,
})
public withReplies: boolean;
@Index()
@Column('varchar', {
length: 32,