Merge branch 'develop' into schedule-note

This commit is contained in:
かっこかり 2023-11-27 21:21:25 +09:00 committed by GitHub
commit 1a54663956
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
76 changed files with 1820 additions and 1114 deletions

View file

@ -215,7 +215,12 @@ export class MiUserProfile {
@Column('jsonb', {
default: [],
})
public mutedWords: string[][];
public mutedWords: (string[] | string)[];
@Column('jsonb', {
default: [],
})
public hardMutedWords: (string[] | string)[];
@Column('jsonb', {
default: [],

View file

@ -530,6 +530,18 @@ export const packedMeDetailedOnlySchema = {
},
},
},
hardMutedWords: {
type: 'array',
nullable: false, optional: false,
items: {
type: 'array',
nullable: false, optional: false,
items: {
type: 'string',
nullable: false, optional: false,
},
},
},
mutedInstances: {
type: 'array',
nullable: true, optional: false,