@dxos/echo
    Preparing search index...

    Function addFields

    • Add fields to a persisted type's schema.

      Parameters

      Returns void

      if the type is not persisted.

      O(schema size); rebuilds and re-encodes the whole JSON schema, then writes it in one change.