Result of diffing two card stream instances.

All keys are composite card identities (scryfall_id + foil + lang) via uniqueCardKey.

interface Diff {
    added: Set<string>;
    changed: Map<string, number>;
    removed: Set<string>;
}
Index

Properties

Properties

added: Set<string>

Card identities present only in the comparison stream.

changed: Map<string, number>

Quantity deltas for card identities present in both streams.

Positive values indicate an increase. Negative values indicate a decrease.

removed: Set<string>

Card identities present only in the baseline stream.