mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 15:37:33 +00:00
Add sorting for ListUsersByMetadata
This commit is contained in:
@@ -254,3 +254,18 @@ enum UserState {
|
|||||||
USER_STATE_LOCKED = 4;
|
USER_STATE_LOCKED = 4;
|
||||||
USER_STATE_INITIAL = 5;
|
USER_STATE_INITIAL = 5;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
enum UsersByMetadataSorting {
|
||||||
|
USERS_BY_METADATA_SORT_BY_METADATA_KEY = 0;
|
||||||
|
USERS_BY_METADATA_SORT_BY_METADATA_VALUE = 1;
|
||||||
|
USERS_BY_METADATA_SORT_BY_USER_ID = 2;
|
||||||
|
USERS_BY_METADATA_SORT_BY_EMAIL = 3;
|
||||||
|
USERS_BY_METADATA_SORT_BY_FIRST_NAME = 4;
|
||||||
|
USERS_BY_METADATA_SORT_BY_LAST_NAME = 5;
|
||||||
|
USERS_BY_METADATA_SORT_BY_DISPLAY_NAME = 6;
|
||||||
|
USERS_BY_METADATA_SORT_BY_USER_NAME = 7;
|
||||||
|
USERS_BY_METADATA_SORT_BY_STATE = 8;
|
||||||
|
USERS_BY_METADATA_SORT_BY_TYPE = 9;
|
||||||
|
USERS_BY_METADATA_SORT_BY_NICK_NAME = 10;
|
||||||
|
USERS_BY_METADATA_SORT_BY_UNSPECIFIED = 11;
|
||||||
|
}
|
||||||
|
@@ -1985,6 +1985,7 @@ message ListUsersByMetadataRequest {
|
|||||||
|
|
||||||
// Pagination and sorting.
|
// Pagination and sorting.
|
||||||
zitadel.filter.v2.PaginationRequest pagination = 2;
|
zitadel.filter.v2.PaginationRequest pagination = 2;
|
||||||
|
UsersByMetadataSorting sorting_column = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
message ListUsersByMetadataResponse {
|
message ListUsersByMetadataResponse {
|
||||||
|
Reference in New Issue
Block a user