package profile import ( "git.k6n.net/mats/go-cart-actor/pkg/actor" ) // NewProfileMutationRegistry creates a mutation registry with all profile // mutation handlers registered. func NewProfileMutationRegistry() actor.MutationRegistry { reg := actor.NewMutationRegistry() reg.RegisterMutations( actor.NewMutation(HandleSetProfile), actor.NewMutation(HandleAddAddress), actor.NewMutation(HandleUpdateAddress), actor.NewMutation(HandleRemoveAddress), actor.NewMutation(HandleLinkCart), actor.NewMutation(HandleLinkCheckout), actor.NewMutation(HandleLinkOrder), ) return reg }