Type Alias: RemoveRuleWrapper
RemoveRuleWrapper = (
next) =>RemoveRule
Defined in: model/remove-rule.ts:48
How a plugin claims the seam, composing onto the current occupant the way PlaceRuleWrapper does:
ctx.edits.setRemoveRule((next) => (removal) =>
isLocked(removal.entry.id) ? 'api' : next(removal));
That reads: set the remove rule — removal of a locked Entry opens to the API only, else ask the next rule.