@welldot/utils

getRetractedIds

Returns the ids retracted by any corrects field among entries (.well v2.3 ledger corrections). A retracted entry stays in the file but is excluded from every derivation. In a chain (C corrects B, which corrected A) both A and B are retracted; only C counts.

getRetractedIds(entries): Set<string>

Returns the ids retracted by any corrects field among entries (.well v2.3 ledger corrections). A retracted entry stays in the file but is excluded from every derivation. In a chain (C corrects B, which corrected A) both A and B are retracted; only C counts.

Parameters

entries

readonly object

Returns

Set<string>