@dxos/echo
    Preparing search index...

    Function updateFieldPropertyName

    • Rename a field on a persisted type's schema.

      Parameters

      • type: Type.Type
      • __namedParameters: { after: PropertyKey; before: PropertyKey }

      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.