mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-02 08:12:41 +00:00
fix: all enums same style (#262)
* fix: all enums same style * fix: rename process to reduce * add some missing enum renaming Co-authored-by: Livio Amstutz <livio.a@gmail.com>
This commit is contained in:
@@ -26,10 +26,10 @@ type ProjectViewSearchRequest struct {
|
||||
type ProjectViewSearchKey int32
|
||||
|
||||
const (
|
||||
PROJECTSEARCHKEY_UNSPECIFIED ProjectViewSearchKey = iota
|
||||
PROJECTSEARCHKEY_NAME
|
||||
PROJECTSEARCHKEY_PROJECTID
|
||||
PROJECTSEARCHKEY_RESOURCE_OWNER
|
||||
ProjectViewSearchKeyUnspecified ProjectViewSearchKey = iota
|
||||
ProjectViewSearchKeyName
|
||||
ProjectViewSearchKeyProjectID
|
||||
ProjectViewSearchKeyResourceOwner
|
||||
)
|
||||
|
||||
type ProjectViewSearchQuery struct {
|
||||
@@ -46,7 +46,7 @@ type ProjectViewSearchResponse struct {
|
||||
}
|
||||
|
||||
func (r *ProjectViewSearchRequest) AppendMyResourceOwnerQuery(orgID string) {
|
||||
r.Queries = append(r.Queries, &ProjectViewSearchQuery{Key: PROJECTSEARCHKEY_RESOURCE_OWNER, Method: model.SEARCHMETHOD_EQUALS, Value: orgID})
|
||||
r.Queries = append(r.Queries, &ProjectViewSearchQuery{Key: ProjectViewSearchKeyResourceOwner, Method: model.SearchMethodEquals, Value: orgID})
|
||||
}
|
||||
|
||||
func (r *ProjectViewSearchRequest) EnsureLimit(limit uint64) {
|
||||
|
||||
Reference in New Issue
Block a user