MM-44101: GraphQL: Add sidebar categories at the top level (#20178)

Also, add a negate parameter to the team members to get
all sidebarcategories except the default team.

```release-note
NONE
```
Этот коммит содержится в:
Agniva De Sarker
2022-05-12 20:03:47 +05:30
коммит произвёл GitHub
родитель 3c625743e5
Коммит acae0031d1
21 изменённых файлов: 210 добавлений и 43 удалений

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

@@ -7,7 +7,8 @@ type Query {
config(): StringMap!
license(): StringMap!
teamMembers(userId: String!,
teamId: String = ""): [TeamMember]!
teamId: String = "",
excludeTeam: Boolean = false): [TeamMember]!
channels(userId: String!,
teamId: String = "",
includeDeleted: Boolean = false,
@@ -24,6 +25,8 @@ type Query {
first: Int = 60,
after: String = "",
lastUpdateAt: Float = 0): [ChannelMember]!
sidebarCategories(userId: String!,
teamId: String!): [SidebarCategory]!
}
scalar ChannelType