summaryrefslogtreecommitdiffstats
path: root/vendor/code.gitea.io/sdk/gitea/org_team.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/code.gitea.io/sdk/gitea/org_team.go')
-rw-r--r--vendor/code.gitea.io/sdk/gitea/org_team.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/vendor/code.gitea.io/sdk/gitea/org_team.go b/vendor/code.gitea.io/sdk/gitea/org_team.go
index a94a43f6de..eddaa2d60e 100644
--- a/vendor/code.gitea.io/sdk/gitea/org_team.go
+++ b/vendor/code.gitea.io/sdk/gitea/org_team.go
@@ -18,3 +18,10 @@ type CreateTeamOption struct {
Description string `json:"description" binding:"MaxSize(255)"`
Permission string `json:"permission"`
}
+
+// EditTeamOption options when edit team
+type EditTeamOption struct {
+ Name string `json:"name" binding:"Required;AlphaDashDot;MaxSize(30)"`
+ Description string `json:"description" binding:"MaxSize(255)"`
+ Permission string `json:"permission"`
+}