2020-06-25 06:01:13 +00:00
|
|
|
package model
|
|
|
|
|
2021-03-01 07:48:50 +00:00
|
|
|
import (
|
2022-04-26 23:01:45 +00:00
|
|
|
"github.com/zitadel/zitadel/internal/domain"
|
2021-03-01 07:48:50 +00:00
|
|
|
)
|
2020-06-25 06:01:13 +00:00
|
|
|
|
|
|
|
type GeneralSearchRequest struct {
|
|
|
|
Offset uint64
|
|
|
|
Limit uint64
|
|
|
|
SortingColumn GeneralSearchKey
|
|
|
|
Asc bool
|
|
|
|
Queries []*GeneralSearchQuery
|
|
|
|
}
|
|
|
|
|
|
|
|
type GeneralSearchKey int32
|
|
|
|
|
|
|
|
const (
|
|
|
|
GeneralSearchKeyUnspecified GeneralSearchKey = iota
|
|
|
|
)
|
|
|
|
|
|
|
|
type GeneralSearchQuery struct {
|
|
|
|
Key GeneralSearchKey
|
2021-03-01 07:48:50 +00:00
|
|
|
Method domain.SearchMethod
|
2020-06-25 06:01:13 +00:00
|
|
|
Value interface{}
|
|
|
|
}
|