mirror of
https://github.com/coder/coder.git
synced 2026-10-24 01:26:25 +08:00
feat: add avatar urls to groups (#4525)
This commit is contained in:
@@ -169,6 +169,7 @@ export interface CreateFirstUserResponse {
|
||||
// From codersdk/groups.go
|
||||
export interface CreateGroupRequest {
|
||||
readonly name: string
|
||||
readonly avatar_url: string
|
||||
}
|
||||
|
||||
// From codersdk/users.go
|
||||
@@ -376,6 +377,7 @@ export interface Group {
|
||||
readonly name: string
|
||||
readonly organization_id: string
|
||||
readonly members: User[]
|
||||
readonly avatar_url: string
|
||||
}
|
||||
|
||||
// From codersdk/workspaceapps.go
|
||||
@@ -491,6 +493,7 @@ export interface PatchGroupRequest {
|
||||
readonly add_users: string[]
|
||||
readonly remove_users: string[]
|
||||
readonly name: string
|
||||
readonly avatar_url?: string
|
||||
}
|
||||
|
||||
// From codersdk/provisionerdaemons.go
|
||||
|
||||
Reference in New Issue
Block a user