fix tuype

This commit is contained in:
syuilo
2025-11-07 13:02:46 +09:00
parent ad4751918b
commit edbe30a3df
4 changed files with 9 additions and 0 deletions

View File

@@ -111,6 +111,7 @@ export class ChannelEntityService {
description: channel.description,
userId: channel.userId,
bannerUrl: bannerFile ? this.driveFileEntityService.getPublicUrl(bannerFile) : null,
bannerId: channel.bannerId,
pinnedNoteIds: channel.pinnedNoteIds,
color: channel.color,
isArchived: channel.isArchived,

View File

@@ -40,6 +40,11 @@ export const packedChannelSchema = {
format: 'url',
nullable: true, optional: false,
},
bannerId: {
type: 'string',
nullable: true, optional: false,
format: 'id',
},
pinnedNoteIds: {
type: 'array',
nullable: false, optional: false,