2020-06-25 08:01:13 +02:00
|
|
|
package model
|
|
|
|
|
2021-03-01 08:48:50 +01:00
|
|
|
import (
|
2022-04-27 01:01:45 +02:00
|
|
|
"github.com/zitadel/zitadel/internal/domain"
|
2021-03-01 08:48:50 +01:00
|
|
|
)
|
2020-06-25 08:01:13 +02: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 08:48:50 +01:00
|
|
|
Method domain.SearchMethod
|
2020-06-25 08:01:13 +02:00
|
|
|
Value interface{}
|
|
|
|
}
|