add: speakAsCat extension

This commit is contained in:
Mar0xy 2023-10-04 04:35:58 +02:00
parent 736c80c39e
commit 89924b587a
No known key found for this signature in database
GPG key ID: 56569BBE47D2C828
16 changed files with 46 additions and 1 deletions

View file

@ -174,6 +174,12 @@ export class MiUser {
})
public isCat: boolean;
@Column('boolean', {
default: false,
comment: 'Whether the User speaks in nya.',
})
public speakAsCat: boolean;
@Column('boolean', {
default: false,
comment: 'Whether the User is the root.',

View file

@ -55,6 +55,10 @@ export const packedUserLiteSchema = {
type: 'boolean',
nullable: false, optional: true,
},
speakAsCat: {
type: 'boolean',
nullable: false, optional: true,
},
onlineStatus: {
type: 'string',
format: 'url',