MM-42268: We add more fields to Channel and Team (#19675)
Also added sessions as part of the user object https://mattermost.atlassian.net/browse/MM-42268 ```release-note NONE ``` Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
9f76cb6b95
Коммит
cf6aa85d28
@@ -48,6 +48,10 @@ type Channel {
|
||||
creatorId: String!
|
||||
schemeId: String
|
||||
team: Team
|
||||
groupConstrained: Boolean
|
||||
shared: Boolean
|
||||
lastPostAt: Float!
|
||||
totalMsgCount: Float!
|
||||
cursor: String
|
||||
}
|
||||
|
||||
@@ -91,6 +95,7 @@ type User {
|
||||
position: String!
|
||||
roles: [Role]!
|
||||
preferences: [Preference!]!
|
||||
sessions: [Session]!
|
||||
}
|
||||
|
||||
type CustomStatus {
|
||||
@@ -127,12 +132,16 @@ type Team {
|
||||
id: String!
|
||||
displayName : String!
|
||||
name : String!
|
||||
updateAt : Float!
|
||||
description : String!
|
||||
email : String!
|
||||
type : String!
|
||||
companyName : String!
|
||||
allowedDomains : String!
|
||||
inviteId : String!
|
||||
lastTeamIconUpdate: Float!
|
||||
groupConstrained: Boolean
|
||||
allowOpenInvite: Boolean!
|
||||
}
|
||||
|
||||
type TeamMember {
|
||||
@@ -155,3 +164,10 @@ type SidebarCategory {
|
||||
collapsed: Boolean!
|
||||
channelIds: [String!]!
|
||||
}
|
||||
|
||||
type Session {
|
||||
id: String!
|
||||
token: String!
|
||||
createAt: Float!
|
||||
expiresAt: Float!
|
||||
}
|
||||
Ссылка в новой задаче
Block a user