Fix categorization method version for plugin api (#18023)

Этот коммит содержится в:
Shota Gvinepadze
2021-07-29 18:25:16 +04:00
коммит произвёл GitHub
родитель fcea39ad36
Коммит 973e008c53

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

@@ -463,19 +463,19 @@ type API interface {
// CreateChannelSidebarCategory creates a new sidebar category for a set of channels. // CreateChannelSidebarCategory creates a new sidebar category for a set of channels.
// //
// @tag ChannelSidebar // @tag ChannelSidebar
// Minimum server version: 5.37 // Minimum server version: 5.38
CreateChannelSidebarCategory(userID, teamID string, newCategory *model.SidebarCategoryWithChannels) (*model.SidebarCategoryWithChannels, *model.AppError) CreateChannelSidebarCategory(userID, teamID string, newCategory *model.SidebarCategoryWithChannels) (*model.SidebarCategoryWithChannels, *model.AppError)
// GetChannelSidebarCategories returns sidebar categories. // GetChannelSidebarCategories returns sidebar categories.
// //
// @tag ChannelSidebar // @tag ChannelSidebar
// Minimum server version: 5.37 // Minimum server version: 5.38
GetChannelSidebarCategories(userID, teamID string) (*model.OrderedSidebarCategories, *model.AppError) GetChannelSidebarCategories(userID, teamID string) (*model.OrderedSidebarCategories, *model.AppError)
// UpdateChannelSidebarCategories updates the channel sidebar categories. // UpdateChannelSidebarCategories updates the channel sidebar categories.
// //
// @tag ChannelSidebar // @tag ChannelSidebar
// Minimum server version: 5.37 // Minimum server version: 5.38
UpdateChannelSidebarCategories(userID, teamID string, categories []*model.SidebarCategoryWithChannels) ([]*model.SidebarCategoryWithChannels, *model.AppError) UpdateChannelSidebarCategories(userID, teamID string, categories []*model.SidebarCategoryWithChannels) ([]*model.SidebarCategoryWithChannels, *model.AppError)
// SearchUsers returns a list of users based on some search criteria. // SearchUsers returns a list of users based on some search criteria.