Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddRoleCommand ¶
type AddRoleCommand struct { eventstore.BaseCommand Role string `json:"role" validate:"required"` }
func NewAddRole ¶
func NewAddRole(objectID, tenant, userId, role string) *AddRoleCommand
type LinkJobRoleCommand ¶
type LinkJobRoleCommand struct { eventstore.BaseCommand JobRoleId string }
func NewLinkJobRoleCommand ¶
func NewLinkJobRoleCommand(objectID, tenant, jobRoleId string) *LinkJobRoleCommand
TODO add userId
type RemoveRoleCommand ¶
type RemoveRoleCommand struct { eventstore.BaseCommand Role string }
func NewRemoveRole ¶
func NewRemoveRole(objectID, tenant, userId, role string) *RemoveRoleCommand
type UpsertUserCommand ¶
type UpsertUserCommand struct { eventstore.BaseCommand IsCreateCommand bool DataFields models.UserDataFields Source cmnmod.Source ExternalSystem cmnmod.ExternalSystem CreatedAt *time.Time UpdatedAt *time.Time }
func NewUpsertUserCommand ¶
func NewUpsertUserCommand(objectID, tenant, userId string, source cmnmod.Source, externalSystem cmnmod.ExternalSystem, dataFields models.UserDataFields, createdAt, updatedAt *time.Time) *UpsertUserCommand
Click to show internal directories.
Click to hide internal directories.