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

    Function register

    • Register data with the parser (PLAN-173). One verb rather than a function per registerable thing — the same discriminated-options idiom as info.

      Today the only type is "translations", whose data is the text of a translations file — the format published at @gmb/bitmark-parser/translations, which is also what the CLI's --translations flag reads.

      Semantics are REPLACE: a second call supersedes the first entirely, and the variant's built-in table (if any) stays underneath, so a key your file omits still resolves. State is process-global, like init — the per-consumer axis is language, which stays a per-call option on info.

      Works in every variant, including the lean ones that bake no table at all, and SURVIVES an init variant swap — the data is replayed onto the newly activated module.

      Parameters

      Returns void

      RegisterError if the data is not a valid translations document.