View Source API Reference ash_paper_trail v0.1.0
Modules
Documentation for AshPaperTrail
.
Documentation for AshPaperTrail.Api
.
Adds any version resources to the api for any resources. An alternative to AshPaperTrail.Api.Transfomers.AllowResourceVersions.
Builds a diff of the changeset that is both fairly easy read and includes a complete representation of the changes mades.
A simple attribute change will be represented as a map
Misc helpers for building a full diff of a changeset.
A list of changes represented as a map
A simple attribute change will be represented as a map
A non-embedded union attribute change will be represented as a map
Deprecated in favor of AshPaperTrail.Api
. Extends a registry to include the versions of paper trail resources.
Adds any version resources to the api for any resources
Documentation for AshPaperTrail.Resource
.
Represents a belongs_to_actor relationship on a version resource
Creates a new version whenever a resource is created, deleted, or updated
Introspection helpers for AshPaperTrail.Resource
Creates a version resource for a given resource
Relates the resource to its created version resource
Validates that when multiple belongs_to_actor options are defined that they all allow_nil? true
Adds the CreateNewVersion
change to the resource.