@gmb/bitmark-parser - v7.2.0
    Preparing search index...

    Type Alias PatchDocumentEntry

    PatchDocumentEntry:
        | {
            move?: { after: number };
            patch?: PatchEntry[];
            select: BitSelector;
        }
        | { remove: true; select: Exclude<BitSelector, "all"> }
        | { bit: Record<string, unknown>; insert: { after: number } }

    One entry of a PatchDocument: a selection with a patch and/or a move, a remove, or an insert of a whole bit. after names an anchor — a pre-application index of a bit that is neither removed nor moved — or -1 for the document start.