Versions in this module Expand all Collapse all v1 v1.1.0 Sep 28, 2026 v1.0.0 Sep 22, 2026 Changes in this version + var ErrRecordInputRequired = errors.New("record patch input is required") + var ErrRecordUnauthorized = errors.New("record patch is not authorized") + func NewRecordPatchHandler() xhandler.Contract[RecordInput, RecordOutput] + func NewRecordPatchRuntimeHandler(capabilities xhandler.Capabilities) rhandler.TypedHandler + type AuthOutput struct + Allowed bool + type Components struct + RecordPatch xdatly.Component[RecordInput, RecordOutput] + type IDSet struct + Values []int + type Record struct + CapacityLimit *int + Created *time.Time + CreatedUser *int + Exclusion *string + ExternalRecordID *string + Has *RecordHas + ID int + IsPriority int + LifetimeLimit float64 + ManualAssignment int + Name string + ParentID *int + RateDuration *int + RateLimit *float64 + RateWindow *int + Status int + Target *string + UnitPrice *float64 + Updated *time.Time + UpdatedUser *int + Weight int + type RecordHas struct + CapacityLimit bool + Created bool + CreatedUser bool + Exclusion bool + ExternalRecordID bool + ID bool + IsPriority bool + LifetimeLimit bool + ManualAssignment bool + Name bool + ParentID bool + RateDuration bool + RateLimit bool + RateWindow bool + Status bool + Target bool + UnitPrice bool + Updated bool + UpdatedUser bool + Weight bool + type RecordInput struct + Auth *AuthOutput + CurrentRecords []*Record + JWT *jwt.Claims + Method string + RecordIDs *IDSet + Records []*Record + RequestTime time.Time + Source string + type RecordOutput struct + Data []*Record + Status string + Violations []string + type RecordPatchHandler struct + Logger xhandler.Logger + MessageBus xhandler.MessageBus + Validator xhandler.Validator + func (h *RecordPatchHandler) Exec(ctx context.Context, session xhandler.Session, input *RecordInput, ...) error