mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-24 00:28:18 +00:00
081a0b4cb7
* chore(deps): upgrade all go modules This change upgrades all go.mod dependecies. As well as Makefile tools. There where some imports that still used the old and deprecated `github.com/golang/protobuf/ptypes` package. These have been moved to the equivelant `google.golang.org/protobuf/types/known` package. The `internal/proto` package is removed as was only used once. With a simple refactor in the Validator it became completely obsolete. * fix validate unit test * cleanup merge * update otel --------- Co-authored-by: Livio Spring <livio.a@gmail.com>
22 lines
698 B
Go
22 lines
698 B
Go
package model
|
|
|
|
import (
|
|
"google.golang.org/protobuf/types/known/timestamppb"
|
|
)
|
|
|
|
type UserChanges struct {
|
|
Changes []*UserChange
|
|
LastSequence uint64
|
|
}
|
|
|
|
type UserChange struct {
|
|
ChangeDate *timestamppb.Timestamp `json:"changeDate,omitempty"`
|
|
EventType string `json:"eventType,omitempty"`
|
|
Sequence uint64 `json:"sequence,omitempty"`
|
|
ModifierID string `json:"modifierUser,omitempty"`
|
|
ModifierName string `json:"-"`
|
|
ModifierLoginName string `json:"-"`
|
|
ModifierAvatarURL string `json:"-"`
|
|
Data interface{} `json:"data,omitempty"`
|
|
}
|