Optionaloptions: { checksumConfig?: TCoreChecksumConfig }Creates a claim connection. Implementations validate that both the
supported and supporting claims exist in the underlying claim library
and that the supporting-side claim has the type required by this
specialization (e.g. 'citation' for ClaimCitationLibrary,
'axiomatic' for ClaimAxiomLibrary). Citation libraries also
reject any edge that would introduce a cycle in the global
claim-citation graph.
The created connection with checksum populated.
Returns all connections matching the predicate.
A filter function applied to each connection.
An array of matching connections.
Returns a connection by ID, or undefined if not found.
The connection ID.
The connection entity, or undefined.
Returns all connections where the given claim is the supported
endpoint (i.e. the claimId side of the edge).
The supported claim ID to filter by.
An array of matching connections.
Removes a claim connection by ID.
The connection ID to remove.
The removed connection entity.
Returns a serializable snapshot of all connections in the library.
The claim-connection library snapshot.
Run invariant validation on the claim-connection library.
The invariant validation result.
StaticfromRestores a claim-axiom library from a snapshot, re-indexing all axioms.
Optionaloptions: { checksumConfig?: TCoreChecksumConfig }
Manages axiom-invocation edges between claims. Each connection goes from a dependent
claimId(which must be a'normal'claim) to a supportingsupportingClaimId(which must be an'axiomatic'claim).Cycle detection is omitted because axiomatic claims cannot appear on the supported (
claimId) side —AXIOM_CLAIM_NOT_NORMAL_TYPEblocks that — so cycles are structurally impossible.