proposit-core
    Preparing search index...

    Function emptyClaimConnectionLookup

    • Returns an empty claim-connection lookup. Use this in tests and contexts that need the lookup contract but have no actual data. Each call returns a fresh empty implementation; values are stateless.

      Type Parameters

      • TConn extends {
            checksum: string;
            claimId: string;
            claimVersion: number;
            id: string;
            supportingClaimId: string;
            supportingClaimVersion: number;
        } = {
            checksum: string;
            claimId: string;
            claimVersion: number;
            id: string;
            supportingClaimId: string;
            supportingClaimVersion: number;
        }

      Returns TClaimConnectionLookup<TConn>

      const emptyCitations = emptyClaimConnectionLookup<TCoreClaimConnection>()
      const emptyAxioms = emptyClaimConnectionLookup<TCoreClaimConnection>()