feat: add avatar urls to groups (#4525)

This commit is contained in:
Jon Ayers
2022-10-17 17:46:01 -05:00
committed by GitHub
parent 9b4ab82044
commit e0a14f68fa
20 changed files with 228 additions and 46 deletions
+3
View File
@@ -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