added DeleteOrgRepos func

This commit is contained in:
karthikbhandary2
2026-02-24 17:35:38 +05:30
parent a8505269ca
commit fad641befc
3 changed files with 69 additions and 1 deletions
+12
View File
@@ -440,3 +440,15 @@ type UpdateRepoAvatarOption struct {
// image must be base64 encoded
Image string `json:"image" binding:"Required"`
}
type DeleteOrgReposResponse struct {
SuccessCount int `json:"success_count"`
FailureCount int `json:"failure_count"`
Deleted []string `json:"deleted"`
Failed []DeleteRepoFailure `json:"failed"`
}
type DeleteRepoFailure struct {
RepoName string `json:"repo_name"`
Reason string `json:"reason"`
}