iya-sts
    Preparing search index...
    merge: (
        base: any,
        mine: any,
        theirs: any,
        options: any,
    ) => {
        displaced: number;
        lost: any[];
        orphaned: string[];
        published: any[];
        row: { issuedKeyPairs: any[] };
    } = merge

    Type Declaration

      • (
            base: any,
            mine: any,
            theirs: any,
            options: any,
        ): {
            displaced: number;
            lost: any[];
            orphaned: string[];
            published: any[];
            row: { issuedKeyPairs: any[] };
        }
      • Merges three copies of a PKI row: a revocation or issued serial is never lost, tiers and certificate slots are first writer wins, and everything else is a plain three-way merge.

        Parameters

        • base: any

          the row as this process last read or wrote it

        • mine: any

          the row this process wants to write

        • theirs: any

          the row the store holds now

        • options: any

          optional; now overrides the clock in milliseconds

        Returns {
            displaced: number;
            lost: any[];
            orphaned: string[];
            published: any[];
            row: { issuedKeyPairs: any[] };
        }

        { row, lost, displaced, published, orphaned }: the row to write, the tier members lost, the count of displaced records kept, the revocations of live tiers dropped and the orphaned slots