Teams: Refactor most functionality to use hooks (#113713)

This commit is contained in:
Tom Ratcliffe
2025-11-28 12:42:36 +00:00
committed by GitHub
parent 43c3322caf
commit 3c76e9ee72
31 changed files with 384 additions and 596 deletions
+5 -5
View File
@@ -47,11 +47,11 @@ type CreateTeamCommand struct {
}
type UpdateTeamCommand struct {
ID int64
Name string
Email string
ExternalUID string
OrgID int64 `json:"-"`
ID int64 `json:"-"`
Name string `json:"name"`
Email string `json:"email"`
ExternalUID string `json:"-"`
OrgID int64 `json:"-"`
}
type DeleteTeamCommand struct {
+4
View File
@@ -312,6 +312,10 @@ type GetTeamByIDParams struct {
// in:path
// required:true
TeamID string `json:"team_id"`
// in:query
// required:false
// default: false
AccessControl bool `json:"accesscontrol"`
}
// swagger:parameters deleteTeamByID