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[] };
}
-
Parameters
- base: any
- mine: any
- theirs: any
- options: any
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
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.