mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-02 15:36:06 +02:00
@@ -70,6 +70,12 @@ export class Channel {
|
||||
})
|
||||
public color: string;
|
||||
|
||||
@Index()
|
||||
@Column('boolean', {
|
||||
default: false,
|
||||
})
|
||||
public isArchived: boolean;
|
||||
|
||||
@Index()
|
||||
@Column('integer', {
|
||||
default: 0,
|
||||
|
||||
@@ -30,6 +30,10 @@ export const packedChannelSchema = {
|
||||
format: 'url',
|
||||
nullable: true, optional: false,
|
||||
},
|
||||
isArchived: {
|
||||
type: 'boolean',
|
||||
optional: false, nullable: false,
|
||||
},
|
||||
notesCount: {
|
||||
type: 'number',
|
||||
nullable: false, optional: false,
|
||||
|
||||
Reference in New Issue
Block a user