mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-12 11:04:25 +00:00
3c07a186fc
* fix: pub sub in new eventstore * fix: todos * fix: todos * fix: todos * fix: todos * fix: todos
48 lines
924 B
Go
48 lines
924 B
Go
package model
|
|
|
|
import (
|
|
"github.com/caos/zitadel/internal/domain"
|
|
"time"
|
|
)
|
|
|
|
type OrgIAMPolicyView struct {
|
|
AggregateID string
|
|
UserLoginMustBeDomain bool
|
|
IAMDomain string
|
|
Default bool
|
|
|
|
CreationDate time.Time
|
|
ChangeDate time.Time
|
|
Sequence uint64
|
|
}
|
|
|
|
type OrgIAMPolicySearchRequest struct {
|
|
Offset uint64
|
|
Limit uint64
|
|
SortingColumn OrgIAMPolicySearchKey
|
|
Asc bool
|
|
Queries []*OrgIAMPolicySearchQuery
|
|
}
|
|
|
|
type OrgIAMPolicySearchKey int32
|
|
|
|
const (
|
|
OrgIAMPolicySearchKeyUnspecified OrgIAMPolicySearchKey = iota
|
|
OrgIAMPolicySearchKeyAggregateID
|
|
)
|
|
|
|
type OrgIAMPolicySearchQuery struct {
|
|
Key OrgIAMPolicySearchKey
|
|
Method domain.SearchMethod
|
|
Value interface{}
|
|
}
|
|
|
|
type OrgIAMPolicySearchResponse struct {
|
|
Offset uint64
|
|
Limit uint64
|
|
TotalResult uint64
|
|
Result []*OrgIAMPolicyView
|
|
Sequence uint64
|
|
Timestamp time.Time
|
|
}
|