Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • P platform-next
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 9
    • Issues 9
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • codia
  • platform-next
  • Issues
  • #12
Closed
Open
Created Jun 01, 2022 by Qingyang Mao@Double680Maintainer

数据-用户分组功能接口

群组业务接口

原platform版本中的群组功能在现platform-next版本中尚无接口。(字段名待商榷)

type User {
  joinedGroups: UserJoinedGroupConnection
}

type UserJoinedGroupConnection {
  nodes: [Group]
  edges: [UserJoinedGroupEdge]
  pageInfo: PageInfo
  totalCount: Int
}

type UserJoinedGroupEdge {
  node: Group
  cursor: String
}

type Group {
  id: String
  name: String
  shortDesc: String
  description: String
  content: String
  requiredFields: [String]
  members: GroupMemberConnection
  public: Boolean
  visible: Boolean
  createdAt: DateTime
  updatedAt: DateTime
  owner: User
}

type GroupMemberConnection {
  nodes: [User]
  edges: [GroupMemberEdge]
  pageInfo: PageInfo
  totalCount: Int
}

type GroupMemberEdge {
  node: User
  cursor: String
}
Edited Jun 01, 2022 by Qingyang Mao
Assignee
Assign to
Time tracking