1
0

upd: completely change handling of indexable

This commit is contained in:
Mar0xy
2023-11-17 15:05:58 +01:00
parent 902e5a81f9
commit 55ef4c4d93
12 changed files with 40 additions and 25 deletions
+3 -3
View File
@@ -189,10 +189,10 @@ export class MiUser {
public isSilenced: boolean;
@Column('boolean', {
default: true,
comment: 'Whether the User\'s notes get indexed.',
default: false,
comment: 'Whether the User\'s notes dont get indexed.',
})
public isIndexable: boolean;
public noindex: boolean;
@Column('boolean', {
default: false,
@@ -79,7 +79,7 @@ export const packedUserLiteSchema = {
type: 'boolean',
nullable: false, optional: false,
},
isIndexable: {
noindex: {
type: 'boolean',
nullable: false, optional: false,
},