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

    Type Alias PatchEntry

    PatchEntry:
        | { find?: string; op: PatchOp; path: string; value?: unknown }
        | Record<string, unknown>

    A patch entry. Either the verbose form { path, op, value?, find? } or the shorthand single-key object { "<path>": value } (which means add).

    path is in one of two languages, told apart by its first character:

    • a JSON path addresses the bit JSON directly (id, cards[2].question.instruction, id[-1]) and value is a JSON value;
    • a bitmark path (PLAN-209) addresses the bit as an author writes it — it starts with $ or with [ followed by a non-digit: [@id], [!], [&image][@width], $card[1][0][!], $card[2]$body, $raw, $footer — and value is bitmark source (a string, breakscaped as an author would write it; null for a valueless tag). Bitmark paths need bitmark input.

    Every entry of one transform call must be in the same language.