1
0

merge: branch develop

This commit is contained in:
Mar0xy
2023-10-18 19:56:42 +02:00
97 changed files with 1565 additions and 853 deletions
@@ -45,6 +45,11 @@ export class MiFollowRequest {
})
public requestId: string | null;
@Column('boolean', {
default: false,
})
public withReplies: boolean;
//#region Denormalized fields
@Column('varchar', {
length: 128, nullable: true,
+5
View File
@@ -252,6 +252,11 @@ export class MiMeta {
})
public enableSensitiveMediaDetectionForVideos: boolean;
@Column('boolean', {
default: true,
})
public enableBotTrending: boolean;
@Column('varchar', {
length: 1024,
nullable: true,
+6
View File
@@ -173,6 +173,12 @@ export class MiUser {
})
public isSuspended: boolean;
@Column('boolean', {
default: false,
comment: 'Whether the User is silenced.',
})
public isSilenced: boolean;
@Column('boolean', {
default: false,
comment: 'Whether the User is locked.',
@@ -47,6 +47,10 @@ export const packedUserLiteSchema = {
nullable: false, optional: true,
default: false,
},
isSilenced: {
type: 'boolean',
nullable: false, optional: false,
},
isBot: {
type: 'boolean',
nullable: false, optional: true,
@@ -135,10 +139,6 @@ export const packedUserDetailedNotMeOnlySchema = {
type: 'boolean',
nullable: false, optional: false,
},
isSilenced: {
type: 'boolean',
nullable: false, optional: false,
},
isSuspended: {
type: 'boolean',
nullable: false, optional: false,