MM-61375: Update file handling for bookmarks (#30034)

Этот коммит содержится в:
Caleb Roseland
2025-02-13 17:11:13 -06:00
коммит произвёл GitHub
родитель 2182b1eaf9
Коммит 68c11e9ecb
8 изменённых файлов: 200 добавлений и 14 удалений

Просмотреть файл

@@ -1059,7 +1059,7 @@ type PostPersistentNotificationStore interface {
DeleteByTeam(teamIds []string) error
}
type ChannelBookmarkStore interface {
ErrorIfBookmarkFileInfoAlreadyAttached(fileID string) error
ErrorIfBookmarkFileInfoAlreadyAttached(fileID string, channelID string) error
Get(Id string, includeDeleted bool) (b *model.ChannelBookmarkWithFileInfo, err error)
Save(bookmark *model.ChannelBookmark, increaseSortOrder bool) (b *model.ChannelBookmarkWithFileInfo, err error)
Update(bookmark *model.ChannelBookmark) error