Creates a new claim at version 0. The version, frozen, and
checksum fields are assigned automatically. The id field is
auto-generated when omitted. The type field is required and is
immutable across the claim's lifetime.
The created claim entity with all fields populated.
Returns a claim by ID and version, or undefined if not found.
The claim ID.
The claim version number.
The claim entity, or undefined.
Returns all claim entities across all IDs and versions.
An array of all claim entities.
Returns the latest version of a claim, or undefined if not found.
The claim ID.
The latest claim entity, or undefined.
Returns all versions of a claim sorted by version number ascending.
The claim ID.
An array of claim entities, or an empty array if the ID does not exist.
Returns a serializable snapshot of all claims in the library.
The claim library snapshot.
Updates mutable fields on the current (latest, unfrozen) version of a
claim. System-managed fields (id, version, frozen, checksum)
cannot be updated.
The claim ID.
The fields to update.
The updated claim entity.
Run invariant validation on the claim library.
The invariant validation result.
Full management interface for a versioned claim library. Extends
TClaimLookupwith mutation, query, and snapshot methods.